[Bug 38431] Portal 2 Coop-Launcher (.NET app) fails to start, reporting 'Unhandled Exception: System.EntryPointNotFoundException: GetTimeZoneInformation'
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Apr 19 06:43:35 CDT 2015
https://bugs.winehq.org/show_bug.cgi?id=38431
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |focht at gmx.net
Component|-unknown |mscoree
Resolution|--- |INVALID
Summary|Portal 2 Coop-Launcher |Portal 2 Coop-Launcher
|fails to start with Wine |(.NET app) fails to start,
|Mono |reporting 'Unhandled
| |Exception:
| |System.EntryPointNotFoundEx
| |ception:
| |GetTimeZoneInformation'
--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello Luke,
--- quote ---
Seems to be a missing function in Mono.
--- quote ---
Unlikely, if the Wine version you specified is correct.
The support for using 'GetTimeZoneInformation' was added with Wine-Mono 4.5.6
Wine-Mono supergit:
https://github.com/madewokherd/wine-mono/tree/wine-mono-4.5.6
Submodule:
https://github.com/mono/mono/commit/8a91a10
--- snip ---
$ git show 8a91a10
commit 8a91a102e477b1c136d9b83b43437a7a70ce8b5b
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Fri Feb 27 16:41:41 2015 -0600
Use GetTimeZoneInformation to find the current timezone.
For wine bug 37760.
diff --git a/mcs/class/System.Core/System/TimeZoneInfo.cs
b/mcs/class/System.Core/System/TimeZoneInfo.cs
index b01072b..bcdb7afa 100644
--- snip ---
https://github.com/mono/mono/blob/8a91a102e477b1c136d9b83b43437a7a70ce8b5b/mcs/class/System.Core/System/TimeZoneInfo.cs#L137
--- snip ---
[DllImport ("kernel32.dll", CallingConvention=CallingConvention.StdCall)]
private extern static uint GetTimeZoneInformation(out TIME_ZONE_INFORMATION
tzi);
...
--- snip ---
Works fine here:
--- snip ---
$ WINE_MONO_TRACE=wrapper MONO_LOG_LEVEL=debug wine ./Coop-Launcher.exe | grep
GetTimeZoneInformation
...
Mono: Searching for 'GetTimeZoneInformation'.
Mono: Probing 'GetTimeZoneInformation'.
Mono: Found as 'GetTimeZoneInformation'.
[00000009: 0.50693 0] ENTER: (wrapper managed-to-native)
System.TimeZoneInfo:GetTimeZoneInformation
(System.TimeZoneInfo/TIME_ZONE_INFORMATION&)([BYREF:0033EF38], )
[00000009: 0.50713 0] LEAVE: (wrapper managed-to-native)
System.TimeZoneInfo:GetTimeZoneInformation
(System.TimeZoneInfo/TIME_ZONE_INFORMATION&)result=2
...
--- snip ---
It's very likely that you're using native Linux Mono runtime and not Wine-Mono
here, making the bug report invalid.
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