https://bugs.winehq.org/show_bug.cgi?id=46369
Bug ID: 46369 Summary: 将棋所(Shogidokoro) doesn't start. Product: Wine Version: 4.0-rc3 Hardware: x86 URL: http://shogidokoro.starfree.jp/download/Shogidokoro.zi p OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: sagawa.aki+winebugs@gmail.com CC: madewokherd@gmail.com Distribution: Ubuntu
.Net application 将棋所 (Shogidokoro -- a Shogi, Japanese chess, game application), doesn't start in Japanese locale. From my point of view, this is due to my recent change which introduces localized time zone name in GetTimeZoneInformation function.
In detail, it emits following exception on start up: Unhandled Exception: System.TimeZoneNotFoundException: Exception of type 'System.TimeZoneNotFoundException' was thrown. at System.TimeZoneInfo.FindSystemTimeZoneById (System.String id) [0x00039] in <773ec02b42f74a918ccd74911c8063c9>:0 (snip)
Following WINE_MONO_TRACE=all's output is very suspicious: [0000003C: 1.55709 27] ENTER: System.TimeZoneInfo:FindSystemTimeZoneById (string)([STRING:00C371B0:東京 (標準時)], )
* "東京 (標準時)" is a localized time zone name of "Tokyo Standard Time"
https://bugs.winehq.org/show_bug.cgi?id=46369
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |94c3cd2fe37a9d8d38c393ecf73 | |2812dca6c78c3
--- Comment #1 from Sagawa sagawa.aki+winebugs@gmail.com --- To fix this issue properly, it needs to update wine-mono.
My investigation shows wine-mono introduces a hack in commit 8a91a102e477b1c136d9b83b43437a7a70ce8b5b to fix bug 37760. And, it uses tzi.StandardName as a Time Zone registry key name. This way is not valid now.
https://bugs.winehq.org/show_bug.cgi?id=46369
--- Comment #2 from Sagawa sagawa.aki+winebugs@gmail.com --- Created attachment 63110 --> https://bugs.winehq.org/attachment.cgi?id=63110 proposed patch
Here is a proposed patch. I'll send a pull request later.
https://bugs.winehq.org/show_bug.cgi?id=46369
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=46369
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #3 from Sagawa sagawa.aki+winebugs@gmail.com --- I sent a pull request, https://github.com/madewokherd/mono/pull/1
https://bugs.winehq.org/show_bug.cgi?id=46369
--- Comment #4 from Vincent Povirk madewokherd@gmail.com --- We'll need a bugfix release in the 4.7 series to fix this during code freeze. In 4.8 we should just remove the hack.
https://bugs.winehq.org/show_bug.cgi?id=46369
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |0ff7fd12591a5b3daae4f4bcb79 | |da239bd544a9b
--- Comment #5 from Sagawa sagawa.aki+winebugs@gmail.com --- Fixed by updating Wine Mono to 4.7.5.
https://bugs.winehq.org/show_bug.cgi?id=46369
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.0-rc6.