https://bugs.winehq.org/show_bug.cgi?id=42626
Bug ID: 42626 Summary: unimplemented function msvcr110.dll.__crtUnhandledException Product: Wine Version: 2.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcp Assignee: wine-bugs@winehq.org Reporter: gamiljydcome@gmail.com Distribution: ---
when i run Titan Quest - Immortal Throne, choice custom missions, got abort error, message is:
wine: Call from 0x7b43b72d to unimplemented function msvcr110.dll.__crtUnhandledException, aborting err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.
does it mean wine need to implement function crtUnhandledException in msvcr110.dll?
if i copy 32bit native msvcr110.dll and msvcp110.dll to the game root directory, wine still load buildin so with message 'wrong architecture' or tips nothing.
play as single user, normal missions is ok.
debian 8, wine 2.3.
https://bugs.winehq.org/show_bug.cgi?id=42626
fjfrackiewicz@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fjfrackiewicz@gmail.com
--- Comment #1 from fjfrackiewicz@gmail.com --- (In reply to gamiljydcome from comment #0)
when i run Titan Quest - Immortal Throne, choice custom missions, got abort error, message is:
wine: Call from 0x7b43b72d to unimplemented function msvcr110.dll.__crtUnhandledException, aborting err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.
does it mean wine need to implement function crtUnhandledException in msvcr110.dll?
if i copy 32bit native msvcr110.dll and msvcp110.dll to the game root directory, wine still load buildin so with message 'wrong architecture' or tips nothing.
play as single user, normal missions is ok.
debian 8, wine 2.3.
Does running "winetricks vcrun2012" work around the problem?
https://bugs.winehq.org/show_bug.cgi?id=42626
--- Comment #2 from gamiljydcome@gmail.com --- yes 'winetricks vcrun2012' wine can load native *110.dll. how about builtin msvcr110.dll.so function crtUnhandledException? is it Unimplement?
https://bugs.winehq.org/show_bug.cgi?id=42626
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #3 from Piotr Caban piotr.caban@gmail.com --- I've sent implementation of __crtUnhandledException to wine. This function is only called when application is about to exit due to an error. Because of that, most probably, your application will still not work.
Does the game have a demo that can be used to reproduce the problem? If not, could you please attach a WINEDEBUG=tid,pid,seh,relay log? If it's to big I can also look on WINEDEBUG=tid,pid,seh,msvcrt,msvcp log but I don't know if it will contain needed information (you can compress the log, upload it somewhere and post a link here).
https://bugs.winehq.org/show_bug.cgi?id=42626
--- Comment #4 from gamiljydcome@gmail.com --- Created attachment 57604 --> https://bugs.winehq.org/attachment.cgi?id=57604 WINEDEBUG=tid,pid,seh,relay log part1, 200M uncompressed
thanks for reply, i hope the debug log is useful to you. the game demo version dont know where it is.
the totally debug log is about 560M, so i spilt it to 3 parts (command: split debug.log -b 280m -d), each 200M. you can uncompress one of them to search what you interested in. if you want to merge 3 uncompressed files to single one, command is: cat x0* > debug.log.
https://bugs.winehq.org/show_bug.cgi?id=42626
--- Comment #5 from gamiljydcome@gmail.com --- Created attachment 57605 --> https://bugs.winehq.org/attachment.cgi?id=57605 WINEDEBUG=tid,pid,seh,relay log part2
https://bugs.winehq.org/show_bug.cgi?id=42626
--- Comment #6 from gamiljydcome@gmail.com --- Created attachment 57606 --> https://bugs.winehq.org/attachment.cgi?id=57606 WINEDEBUG=tid,pid,seh,relay log part3
https://bugs.winehq.org/show_bug.cgi?id=42626
--- Comment #7 from Piotr Caban piotr.caban@gmail.com --- I think that the crash may be related to this part of log: 0035:0036:Call msvcr110.fopen(0be17560 "C:\users\jiangyd\\xce\xd2\xb5\xc4\xce\xc4\xb5\xb5/My Games/Titan Quest - Immortal Throne/SaveData/User/PlayMenu.mnu",005557d0 "rb") ret=00524170 0035:0036:Call ntdll.RtlAllocateHeap(026e0000,00000000,000000b8) ret=7e0eaac8 0035:0036:Ret ntdll.RtlAllocateHeap() retval=0be175e0 ret=7e0eaac8 0035:0036:Call KERNEL32.MultiByteToWideChar(00000000,00000001,0be17560 "C:\users\jiangyd\\xce\xd2\xb5\xc4\xce\xc4\xb5\xb5/My Games/Titan Quest - Immortal Throne/SaveData/User/PlayMenu.mnu",0000005c,0be175e0,0000005c) ret=7e0d3685 0035:0036:Ret KERNEL32.MultiByteToWideChar() retval=00000058 ret=7e0d3685 0035:0036:Call ntdll.RtlAllocateHeap(026e0000,00000000,00000006) ret=7e0eaac8 0035:0036:Ret ntdll.RtlAllocateHeap() retval=0be172e0 ret=7e0eaac8 0035:0036:Call KERNEL32.MultiByteToWideChar(00000000,00000001,005557d0 "rb",00000003,0be172e0,00000003) ret=7e0d3685 0035:0036:Ret KERNEL32.MultiByteToWideChar() retval=00000003 ret=7e0d3685 0035:0036:Call KERNEL32.CreateFileW(0be175e0 L"C:\users\jiangyd\\6211\7684\6587\6863/My Games/Titan Quest - Immortal Throne/SaveData/User/PlayMenu.mnu",80000000,00000003,0033f444,00000003,00000001,00000000) ret=7e0e2f19 0035:0036:Ret KERNEL32.CreateFileW() retval=ffffffff ret=7e0e2f19
What's the language of your system? Is the PlayMenu.mnu file present?
https://bugs.winehq.org/show_bug.cgi?id=42626
--- Comment #8 from Piotr Caban piotr.caban@gmail.com --- It might be also some kind of copy protection/anti-cheat system. If so the patch that implements __crtUnhandledException may help.
https://bugs.winehq.org/show_bug.cgi?id=42626
--- Comment #9 from fjfrackiewicz@gmail.com --- (In reply to gamiljydcome from comment #0)
when i run Titan Quest - Immortal Throne, choice custom missions, got abort error, message is:
wine: Call from 0x7b43b72d to unimplemented function msvcr110.dll.__crtUnhandledException, aborting err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.
does it mean wine need to implement function crtUnhandledException in msvcr110.dll?
if i copy 32bit native msvcr110.dll and msvcp110.dll to the game root directory, wine still load buildin so with message 'wrong architecture' or tips nothing.
play as single user, normal missions is ok.
debian 8, wine 2.3.
This function has this commit now: https://source.winehq.org/git/wine.git/commit/a5031391f40c6196b9baccbf69f5cc... which is part of Wine 2.4. Is the issue fixed in Wine 2.4?
https://bugs.winehq.org/show_bug.cgi?id=42626
--- Comment #10 from gamiljydcome@gmail.com ---
This function has this commit now: https://source.winehq.org/git/wine.git/commit/ a5031391f40c6196b9baccbf69f5ccbe3b59e17c which is part of Wine 2.4. Is the issue fixed in Wine 2.4?
yes it does. the game still error abort just same as native msvc*110.dll, it should be another cause. anyway crtUnhandledException is fixed.
What's the language of your system? Is the PlayMenu.mnu file present?
SaveData/User/PlayMenu.mnu does not exist, but i don't think it's cause, it shoube be created if the game can play into custom missions. with wine 2.4 new error info is: No process loaded, cannot execute 'echo Modules:' Cannot get info on module while no process is loaded No process loaded, cannot execute 'echo Threads:'
if it is wine bug i will sumbit a new bug report.
so this bug is fixed, thanks guys.
https://bugs.winehq.org/show_bug.cgi?id=42626
--- Comment #11 from fjfrackiewicz@gmail.com --- (In reply to gamiljydcome from comment #10)
This function has this commit now: https://source.winehq.org/git/wine.git/commit/ a5031391f40c6196b9baccbf69f5ccbe3b59e17c which is part of Wine 2.4. Is the issue fixed in Wine 2.4?
yes it does. the game still error abort just same as native msvc*110.dll, it should be another cause. anyway crtUnhandledException is fixed.
What's the language of your system? Is the PlayMenu.mnu file present?
SaveData/User/PlayMenu.mnu does not exist, but i don't think it's cause, it shoube be created if the game can play into custom missions. with wine 2.4 new error info is: No process loaded, cannot execute 'echo Modules:' Cannot get info on module while no process is loaded No process loaded, cannot execute 'echo Threads:'
if it is wine bug i will sumbit a new bug report.
so this bug is fixed, thanks guys.
The best thing to do, in my opinion, in this case is to resolve this bug as FIXED in the Status section and put this has a5031391f40c6196b9baccbf69f5ccbe3b59e17c in the "Fixed by" field. After that, file a new bug report for the other issue(s) you are experiencing with this application :)
https://bugs.winehq.org/show_bug.cgi?id=42626
gamiljydcome@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #12 from gamiljydcome@gmail.com --- "Fixed by" a5031391f40c6196b9baccbf69f5ccbe3b59e17c
https://bugs.winehq.org/show_bug.cgi?id=42626
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a5031391f40c6196b9baccbf69f | |5ccbe3b59e17c
https://bugs.winehq.org/show_bug.cgi?id=42626
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.5.
https://bugs.winehq.org/show_bug.cgi?id=42626
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=42626
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #14 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.2.