[Bug 43527] New: Magic Online (Magic The Gathering: Online) Crashes when displaying token cards
https://bugs.winehq.org/show_bug.cgi?id=43527 Bug ID: 43527 Summary: Magic Online (Magic The Gathering: Online) Crashes when displaying token cards Product: Wine Version: 2.14 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: theli.ua(a)gmail.com Distribution: --- Created attachment 58923 --> https://bugs.winehq.org/attachment.cgi?id=58923 ingame .net stack trace Happens when it tries to display/load token card. I can easily reproduce it but ingame crash log (attached) does not point to any wine component, so not sure how to debug. Nothing peculiar in wine's output either. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43527 --- Comment #1 from Anton Romanov <theli.ua(a)gmail.com> --- So, the game crashes when converting double.NaN to string since the string is empty and game does: bool isCropIfTall = str != null && (int) str[str.Length - 1] == 63; Now, mscorlib uses msvcr120_clro400.dll _ecvt to do the convertion. I am not sure where in wine that lands as that dll does conversion by itself? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43527 --- Comment #2 from Anton Romanov <theli.ua(a)gmail.com> --- So this is since a default NaN symbol is undefined/empty . when lib calls GetLocaleInfo(LOCALE_SNAN (0x69)) wine will just return empty string while on Windows by default it'll be "NaN" -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43527 Anton Romanov <theli.ua(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |kernel32 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43527 Anton Romanov <theli.ua(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, testcase --- Comment #3 from Anton Romanov <theli.ua(a)gmail.com> --- Just confirmed that adding LOCALE_SNAN "NaN" to dlls/kernel32/nls/enu.nls fixed ingame crash for me in Magic The Gathering Online One can test this by just calling GetLocaleInfo(0x69) and making sure it returns "NaN" -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43527 Anton Romanov <theli.ua(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Magic Online (Magic The |Magic Online (Magic The |Gathering: Online) Crashes |Gathering: Online) Crashes |when displaying token cards |due to LOCALE_SNAN | |returning empty string -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43527 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43527 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |5afac01eecb39b70fec24af689b | |b0674ec19eadf Status|UNCONFIRMED |RESOLVED --- Comment #4 from Nikolay Sivov <bunglehead(a)gmail.com> --- I added them all with 5afac01eecb39b70fec24af689bb0674ec19eadf. Please test. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43527 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 2.15. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43527 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43527 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |--- --- Comment #6 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 2.0.x milestone from bugs included in 2.0.4. -- 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.
participants (1)
-
wine-bugs@winehq.org