[Bug 49634] VersionCheckerPlus (.NET 4.0 app) crashes with 'NorthwoodLib.OperatingSystem threw an exception. Could not load type System.Runtime.InteropServices.OSPlatform' since Wine 5.12
WineHQ Bugzilla
wine-bugs at winehq.org
Mon Feb 22 05:35:09 CST 2021
https://bugs.winehq.org/show_bug.cgi?id=49634
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|.NET Framework exe crashes |VersionCheckerPlus (.NET
|on DllImport on Wine 5.13, |4.0 app) crashes with
|works on 5.0.1 |'NorthwoodLib.OperatingSyst
| |em threw an exception.
| |Could not load type
| |System.Runtime.InteropServi
| |ces.OSPlatform' since Wine
| |5.12
Version|5.13 |5.12
Regression SHA1| |8a169390c9ef4d8a43b604558c4
| |194a052473c0c
Keywords| |dotnet, regression
CC| |focht at gmx.net
Severity|major |normal
Component|-unknown |ntdll
--- Comment #5 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
filling some fields.
The regression was introduced by commit
https://source.winehq.org/git/wine.git/commitdiff/8a169390c9ef4d8a43b604558c4194a052473c0c
("ntdll: Build with msvcrt.").
Tested with example app from attachment.
--- snip ---
$ wine --version
wine-5.11-235-g8a169390c9e
$ wine ./VersionTesterPlus.exe
...
0024:err:eventlog:ReportEventW L"Application: VersionTesterPlus.exe\nFramework
Version: v4.0.30319\nDescription: The process was terminated due to an
unhandled exception.\nException Info:
System.TypeInitializationException\nStack:\n at
VersionTester.Program.Main(System.String[])\n"
0024:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Unhandled Exception: System.TypeInitializationException: The type initializer
for 'NorthwoodLib.OperatingSystem' threw an exception. --->
System.TypeLoadException: Could not load type
'System.Runtime.InteropServices.OSPlatform' from assembly 'mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
at NorthwoodLib.OperatingSystem..cctor()
--- End of inner exception stack trace ---
at VersionTester.Program.Main(String[] args)
wine: Unhandled exception 0xe0434352 in thread 24 at address 7B00E9E1 (thread
0024), starting debugger...
--- snip ---
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