[Bug 45748] Halo SPV3 installer (.NET 4.5 app) fails to run, reports ' System.Windows.Markup.XamlReader.RewrapException'

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 1 09:20:28 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45748

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
           Keywords|                            |dotnet, download, Installer
            Summary|System.Windows.Markup.XamlP |Halo SPV3 installer (.NET
                   |arseException               |4.5 app) fails to run,
                   |                            |reports
                   |                            |'System.Windows.Markup.Xaml
                   |                            |Reader.RewrapException'
                URL|                            |https://www.reddit.com/r/ha
                   |                            |lospv3/comments/6umz3f/spv3
                   |                            |1_released_all_new_install_
                   |                            |method_11_missions/

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

the installer runs further for me here, albeit in different problems.

@Fabin

--- quote ---
Are you using wine-mono or native .NET?
--- quote ---

That's pretty obvious from the console output.
Only native .NET Framework (CLR) prints the managed exception in that way.

--- snip ---
...
0054:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub
0054:fixme:advapi:ReportEventW 
(0xcafe4242,0x0001,0x0000,0x00000402,(nil),0x0001,0x00000000,0x33dea8,(nil)):
stub
0054:err:eventlog:ReportEventW L"Application: experience.exe\nFramework
Version: 
v4.0.30319\nDescription: The process was terminated due to an unhandled 
exception.\nException Info: System.Windows.Markup.XamlParseException\nStack:\n 
 at 
System.Windows.Markup.XamlReader.RewrapException(System.Exception, 
System.Xaml.IXamlLineInfo, Sys"...
0054:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
wine: Unhandled exception 0xe0434352 in thread 54 at address
0x110023:0x7b437c0a 
(thread 0054), starting debugger...
--- snip ---

Sadly OP didn't provide any more details, for example which version and how
.NET Framework was installed. Also which application binary did he run.

--- snip ---
nathan at gentoodesktop ~/Downloads/New Folder $ wine ./*.exe
--- snip ---

This is not very useful, always specify the application name explicitly.
I guess he probably run 'SPV3-xxx.exe' which in turn run the extracted
'experience.exe' but well.

Anyway I'm pretty sure OP didn't bother to check the actual installer
requirements and only installed .NET Framework 4.0 in the WINEPREFIX.

With .NET 4.0 installed only, the (inner) XAML exception is exactly what you
get:

--- snip ---
0009:fixme:shell:URL_ParseUrl failed to parse L"System.Xml"
...
Unhandled Exception: System.Windows.Markup.XamlParseException: Set property
'System.Windows.ResourceDictionary.Source' threw an exception. --->
System.TypeLoadException: Could not load type
'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
   at System.ModuleHandle.ResolveMethod(RuntimeModule module, Int32
methodToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs,
Int32 methodInstCount)
   at System.ModuleHandle.ResolveMethodHandleInternalCore(RuntimeModule module,
Int32 methodToken, IntPtr[] typeInstantiationContext, Int32 typeInstCount,
IntPtr[] methodInstantiationContext, Int32 methodInstCount)
   at System.ModuleHandle.ResolveMethodHandleInternal(RuntimeModule module,
Int32 methodToken, RuntimeTypeHandle[] typeInstantiationContext,
RuntimeTypeHandle[] methodInstantiationContext)
   at System.Reflection.CustomAttributeData..ctor(RuntimeModule scope,
CustomAttributeRecord caRecord)
   at System.Reflection.CustomAttributeData.GetCustomAttributes(RuntimeModule
module, Int32 tkTarget)
   at
System.Reflection.CustomAttributeData.GetCustomAttributesInternal(RuntimeAssembly
target)
   at System.Reflection.RuntimeAssembly.GetCustomAttributesData()
   at System.Reflection.CustomAttributeData.GetCustomAttributes(Assembly
target)
   at
System.Resources.ManifestBasedResourceGroveler.GetNeutralResourcesLanguage(Assembly
a, UltimateResourceFallbackLocation& fallbackLocation)
   at System.Resources.ResourceManager.CommonSatelliteAssemblyInit()
   at System.Resources.ResourceManager..ctor(String baseName, Assembly
assembly)
   at MS.Internal.Resources.ResourceManagerWrapper.get_ResourceManager()
   at MS.Internal.Resources.ResourceManagerWrapper.GetStream(String name)
   at MS.Internal.AppModel.ResourcePart.EnsureResourceLocationSet()
   at MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess
access)
   at System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess
access)
   at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream()
   at System.IO.Packaging.PackWebResponse.GetResponseStream()
   at System.IO.Packaging.PackWebResponse.get_ContentType()
   at MS.Internal.WpfWebRequestHelper.GetContentType(WebResponse response)
   at System.Windows.ResourceDictionary.set_Source(Uri value)
   at
System.Windows.Baml2006.WpfSharedBamlSchemaContext.<Create_BamlProperty_ResourceDictionary_Source>b__1c4(Object
target, Object value)
   at System.Windows.Baml2006.WpfKnownMemberInvoker.SetValue(Object instance,
Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(XamlMember member,
Object obj, Object value)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.SetValue(Object inst,
XamlMember property, Object value)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlReader.RewrapException(Exception e,
IXamlLineInfo lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader,
IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object
rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader,
Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel
accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext
parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri
resourceLocator)
   at Experience.GUI.App.InitializeComponent()
   at Experience.GUI.App.Main()
--- snip ---

This is expected since .NET 4.5 is not installed.

$ du -sh SPV3.1.0f.exe
2.2G    SPV3.1.0f.exe

$ sha1sum SPV3.1.0f.exe
3a407b221070f9fd560d81cb1687850667650585  SPV3.1.0f.exe

$ wine --version
wine-3.15

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list