http://bugs.winehq.org/show_bug.cgi?id=33278
Bug #: 33278 Summary: Torchlight 2 hangs on menu with builtin msvcr90 Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: blog@pozimski.eu Classification: Unclassified
Tested with wine git, revision fbe7ab5c5af9b7ca3decc82ae986be2c78fa6165. Torchlight 2 now starts with bultin msvcr90, plays background sound but doesn't show the menu (but a load or blank screen instead). On the console the last error message ist the following:
err:ntdll:RtlpWaitForCriticalSection section 0x7e9c5d40 "(\x88\x9c$X\x01" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)
Git bisect shows the following:
5d88f780dd4bbbde0ff27075b58321d7347f6d4b is the first bad commit commit 5d88f780dd4bbbde0ff27075b58321d7347f6d4b Author: Piotr Caban piotr@codeweavers.com Date: Mon Feb 18 10:26:01 2013 +0100
msvcr90: Prefer builtin version.
:040000 040000 09577625ae5788cd73d4a3cd6c5c6f82ea7d9807 aef32f8a1984759761461627f3e53a1e9d81204c M dlls
Again setting msvcr90 to native successfully works around this issue.
A debug trace for +msvcrt can be found here:
http://dl.dropbox.com/u/898079/msvcr_torchlight2.log.gz
http://bugs.winehq.org/show_bug.cgi?id=33278
blog@pozimski.eu changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |blog@pozimski.eu, | |piotr.caban@gmail.com Regression SHA1| |5d88f780dd4bbbde0ff27075b58 | |321d7347f6d4b
http://bugs.winehq.org/show_bug.cgi?id=33278
--- Comment #1 from Piotr Caban piotr.caban@gmail.com 2013-03-27 10:18:25 CDT --- The application is calling RtlpWaitForCriticalSection on memory inside _iob table. I don't know yet why it happens.
http://bugs.winehq.org/show_bug.cgi?id=33278
--- Comment #2 from Piotr Caban piotr.caban@gmail.com 2013-03-28 06:56:34 CDT --- I've sent a patch that fixes this issue: http://source.winehq.org/patches/data/95207
http://bugs.winehq.org/show_bug.cgi?id=33278
--- Comment #3 from blog@pozimski.eu 2013-03-28 14:54:00 CDT --- Thanks. I can confirm that this patch fixes the issue.
http://bugs.winehq.org/show_bug.cgi?id=33278
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |280f8237b579a5a1140b96585cc | |be0bf4f0bc474 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from Piotr Caban piotr.caban@gmail.com 2013-03-28 15:37:31 CDT --- Patch is in wine. Marking as fixed.
http://bugs.winehq.org/show_bug.cgi?id=33278
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2013-03-29 13:32:59 CDT --- Closing bugs fixed in 1.5.27.