[Bug 41086] New: Unimplemented function msvcp140.dll.??0? $codecvt@_WDU_Mbstatet@@@std@@QAE@I@Z needed by Battle.net
https://bugs.winehq.org/show_bug.cgi?id=41086 Bug ID: 41086 Summary: Unimplemented function msvcp140.dll.??0?$codecvt(a)_WDU_Mbstatet@@@std@@QAE(a)I@Z needed by Battle.net Product: Wine Version: 1.9.16 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcp Assignee: wine-bugs(a)winehq.org Reporter: audiger(a)live.fr Distribution: --- With the new version of Battle.net which needed msvcp140, there is a function not implemented and this caused an error during the launching: wine: Call from 0x7b43bfac to unimplemented function msvcp140.dll.??0?$codecvt(a)_WDU_Mbstatet@@@std@@QAE(a)I@Z, aborting wine: Unimplemented function msvcp140.dll.??0?$codecvt(a)_WDU_Mbstatet@@@std@@QAE(a)I@Z called at address 0x7b43bfac (thread 0023), starting debugger... -- 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=41086 audiger(a)live.fr changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |41085 -- 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=41086 audiger(a)live.fr changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on|41085 | -- 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=41086 audiger(a)live.fr changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |41085 -- 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=41086 Ker noa <blue-t(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |blue-t(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=41086 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy(a)gmail.com Keywords| |download URL| |http://us.battle.net/en/app | |/ -- 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=41086 Caio César Gallo <caio.gallo(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caio.gallo(a)gmail.com --- Comment #1 from Caio César Gallo <caio.gallo(a)gmail.com> --- Confirmed as of wine-1.9.16-329-g04ed94f -- 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=41086 Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |o.dierick(a)piezo-forte.be --- Comment #2 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- Created attachment 55505 --> https://bugs.winehq.org/attachment.cgi?id=55505 add missing function Made this patch. Got Unhandled page fault with it. -- 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=41086 --- Comment #3 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- Created attachment 55506 --> https://bugs.winehq.org/attachment.cgi?id=55506 terminal output (wine 1.9.17 with patch) -- 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=41086 Bug 41086 depends on bug 41085, which changed state. Bug 41085 Summary: Unimplemented function msvcp140.dll._Thrd_id needed by Battle.net https://bugs.winehq.org/show_bug.cgi?id=41085 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- 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=41086 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #4 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> --- Confirmed in wine-1.9.18-121-g4e9cc30 -- 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=41086 --- Comment #5 from audiger(a)live.fr --- (In reply to Olivier F. R. Dierick from comment #2)
Created attachment 55505 [details] add missing function
Made this patch. Got Unhandled page fault with it.
I didn't test with your patch but I'll do it. Currently the bug is still here for Wine 1.9.19-nightly. -- 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=41086 --- Comment #6 from audiger(a)live.fr --- Created attachment 55689 --> https://bugs.winehq.org/attachment.cgi?id=55689 Console output with the patch I made a test with Olivier F. R. Dierick's patch and I didn't get an unhandled page fault but I got something else. It's in the attachment. After that the program ended prematurely. -- 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=41086 sworddragon2(a)aol.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sworddragon2(a)aol.com -- 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=41086 --- Comment #7 from audiger(a)live.fr --- Created attachment 55735 --> https://bugs.winehq.org/attachment.cgi?id=55735 Console output with msvcp debug channel activated This time I did the test with a a debug channel. As you can see, the exception comes from a bad allocation. -- 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=41086 wine-devel(a)hurrikhan.eu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine-devel(a)hurrikhan.eu --- Comment #8 from wine-devel(a)hurrikhan.eu --- Created attachment 55744 --> https://bugs.winehq.org/attachment.cgi?id=55744 With stack trace locale__Locimp__Locimp_Addfac is called with 'id' set to 4125123688 = 0xF5E06468 void __cdecl locale__Locimp__Locimp_Addfac(locale__Locimp *locimp, locale_facet *facet, MSVCP_size_t id) If id is bigger than what is currently supported in 'facet', it tries to grow 'facet' to that size ... and of course it blows up. Actually the math overflows before the call, which may result in successful allocation of a (bogus) very small size (ie: 0x0007fffe 00000001, truncated into 00000001) One may want to add something like "if( ( <MSVCP_size_t_MAX> / sizeof(locale_facet*)) < new_size ) { complain }" -- 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=41086 --- Comment #9 from audiger(a)live.fr --- This bug seems to be resolved with this commits: http://source.winehq.org/git/wine.git/commit/dd6b7239c997bd56a8b64c0b4400e60... The next error is: wine: Call from 0x7b43c14c to unimplemented function msvcp140.dll._Cnd_destroy_in_situ, aborting But a commit has already been created: http://source.winehq.org/git/wine.git/commit/42cfb0ab0e42aeae3e55bb2d75e4fe9... I need to test it right now! -- 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=41086 audiger(a)live.fr changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #10 from audiger(a)live.fr --- I can now launched Battle.net with the last Wine nightly version (currently af37b187ad86191110b80bef814d25ce3ac350db). Can anyone confirm me if it's working elsewhere? -- 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=41086 --- Comment #11 from Olivier F. R. Dierick <o.dierick(a)piezo-forte.be> --- Created attachment 55767 --> https://bugs.winehq.org/attachment.cgi?id=55767 crash backtrace wine-1.9.19-161-gaf37b18 Not this bug but still crashing for me. -- 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=41086 --- Comment #12 from audiger(a)live.fr --- It's weird. I thought I did something wrong yesterday. That's why I just create a clean 32-bit wineprefix and install Battle.net on it but again seems to work. I am now able to at least see the login screen of Battle.net -- 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=41086 --- Comment #13 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> --- (In reply to Olivier F. R. Dierick from comment #11)
Created attachment 55767 [details] crash backtrace wine-1.9.19-161-gaf37b18
Not this bug but still crashing for me.
Created bug 41409 for this new issue. -- 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=41086 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.9.20. -- 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=41086 Wylda <wylda(a)volny.cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda(a)volny.cz Fixed by SHA1| |dd6b7239c997bd56a8b64c0b440 | |0e60fdbbc0bfb -- 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