http://bugs.winehq.org/show_bug.cgi?id=29664
Bug #: 29664 Summary: RC Cars hangs after the intro video Product: Wine Version: 1.3.37 Platform: x86 URL: http://www.fileplanet.com/131248/130000/fileinfo/R.C.- Cars-Demo OS/Version: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: winegstreamer AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: aric@codeweavers.com Classification: Unclassified Regression SHA1: b32b1a924eb00b568ebb758fcf5afa12f80d984a
Created attachment 38469 --> http://bugs.winehq.org/attachment.cgi?id=38469 terminal output
This problem occurs in many games which use quartz/winegstreamer to play the intro videos.
The problem: the intro video is playing fine, but as soon as it ends (or when I skip the video) the game freezes. Shortly after, Wine crashes (without a usable backtrace). The following message is printed in the terminal: err:ntdll:RtlpWaitForCriticalSection section 0x197c78 "transform.c: TransformFilter.csFilter" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)
The problem appeared recently and regression testing resulted:
b32b1a924eb00b568ebb758fcf5afa12f80d984a is the first bad commit commit b32b1a924eb00b568ebb758fcf5afa12f80d984a Author: Aric Stewart aric@codeweavers.com Date: Mon Jan 16 14:14:23 2012 -0600
strmbase: In the TransformFilter add a critical section that protects the streaming state.
:040000 040000 ed8d2ee7fc9af0bfed1cf57b2a56ed5bc0eb5dc8 caae83d68cc5f6d9625e02626f66a77573fefe61 M dlls :040000 040000 f6ad2556bebc8ed15364d4b003dd5b3231083950 bc29446443465aeedb28d790436e0deff40cb768 M include
The reverted patch fixed the issue (wine-1.3.37-254-g14b790a).
Steps to reproduce the problem with RC Cars demo: 1. Unpack, then install the demo with 'wine msiexec /i RCCarsDemo_Full.msi'. 2. Start the demo with RCCarsDemo.exe. In the launcher click on <Continue>. The intro video begins to play. The video is nearly 2 minutes long, you can skip it by pressing <Esc>. The game freezes at this point.
Fedora 16 x86 Nvidia 250 / driver 290.10 X.Org X Server 1.11.3 gstreamer-0.10.35-1.fc16.i686 + plugins (base, good, bad, ugly, ffmpeg) installed
Please let me know if you need a log with debug channels enabled.
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #1 from Aric Stewart aric@codeweavers.com 2012-01-20 14:45:20 CST --- yes, just became aware of this bug, working to fix it.
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #2 from Aric Stewart aric@codeweavers.com 2012-01-20 14:46:38 CST --- Created attachment 38470 --> http://bugs.winehq.org/attachment.cgi?id=38470 possible fix
Working to get a test environment to verify this, but i believe this is the patch to fix this issue.
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #3 from GyB gyebro69@gmail.com 2012-01-20 15:39:45 CST --- (In reply to comment #2)
Created attachment 38470 [details] possible fix
Working to get a test environment to verify this, but i believe this is the patch to fix this issue.
I received errors while compiling Wine with your patch applied:
gsttffilter.c: In function ‘Gstreamer_transform_ProcessData’: gsttffilter.c:228:42: error: ‘BaseFilter’ has no member named ‘csReceive’ gsttffilter.c:232:46: error: ‘BaseFilter’ has no member named ‘csReceive’ gsttffilter.c:254:42: error: ‘BaseFilter’ has no member named ‘csReceive’ gsttffilter.c: In function ‘Gstreamer_transform_ProcessEnd’: gsttffilter.c:271:42: error: ‘BaseFilter’ has no member named ‘csReceive’ gsttffilter.c:273:42: error: ‘BaseFilter’ has no member named ‘csReceive’ make[1]: *** [gsttffilter.o] Error 1
http://bugs.winehq.org/show_bug.cgi?id=29664
Aric Stewart aric@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #38470|0 |1 is obsolete| |
--- Comment #4 from Aric Stewart aric@codeweavers.com 2012-01-20 20:08:52 CST --- Created attachment 38476 --> http://bugs.winehq.org/attachment.cgi?id=38476 possible fix
Sorry, my mistake. Try this one.
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #5 from GyB gyebro69@gmail.com 2012-01-21 04:11:59 CST --- (In reply to comment #4)
Created attachment 38476 [details] possible fix
Sorry, my mistake. Try this one.
This patch works and fixes the problem in all those games which were affected.
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #6 from GyB gyebro69@gmail.com 2012-01-21 09:23:08 CST --- After some more testing I found that at least 2 of my games don't fit in that pattern (they behave differently), although they are affected by commit b32b1a. The games are Fallout 3:GOTY and Fallout: New Vegas.
Fallout 3:GOTY loads to the menu but freezes immediately when a new game is started (or a saved game is loaded). Fallout: New Vegas loads to the menu and can start a new game, but it always crashes after ~1 minute.
The patch in comment #4 doesn't help in the case of those games.
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #7 from Aric Stewart aric@codeweavers.com 2012-01-21 18:22:56 CST --- (In reply to comment #6)
After some more testing I found that at least 2 of my games don't fit in that pattern (they behave differently), although they are affected by commit b32b1a. The games are Fallout 3:GOTY and Fallout: New Vegas.
Fallout 3:GOTY loads to the menu but freezes immediately when a new game is started (or a saved game is loaded). Fallout: New Vegas loads to the menu and can start a new game, but it always crashes after ~1 minute.
The patch in comment #4 doesn't help in the case of those games.
And both of those games worked before b32b1a and do not work after even with the patch?
Could you give me +quartz,+tid,+gstreamer log?
thanks -aric
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #8 from GyB gyebro69@gmail.com 2012-01-21 22:54:31 CST --- Created attachment 38487 --> http://bugs.winehq.org/attachment.cgi?id=38487 7zipped +tid,+quartz,+gstreamer log (uncompressed 4 MB) - Fallout 3
And both of those games worked before b32b1a and do not work after even with the patch?
Yes, and the reverted patch fixed the problem in both games.
The attached log was created with wine-1.3.37-254-g14b790a.
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #9 from GyB gyebro69@gmail.com 2012-01-21 23:29:37 CST --- Created attachment 38488 --> http://bugs.winehq.org/attachment.cgi?id=38488 7zipped +tid,+quartz,+gstreamer log (uncompressed 38 MB) - Fallout:New Vegas
Fallout: New Vegas behaves a little differently than Fallout 3. The message in the terminal
err:ntdll:RtlpWaitForCriticalSection section 0x11397df8 "transform.c: TransformFilter.csReceive" >wait timed out in thread 0060, blocked by 006e, retrying (60 sec)
appears immediately after a new game started, but the game keeps running for about 1 minute until the crash occurs.
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #10 from Aric Stewart aric@codeweavers.com 2012-01-22 21:40:29 CST --- Created attachment 38507 --> http://bugs.winehq.org/attachment.cgi?id=38507 More fixes
Please try this patch in addition to the other. I think it should help
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #11 from GyB gyebro69@gmail.com 2012-01-22 22:09:48 CST --- (In reply to comment #10)
Created attachment 38507 [details] More fixes
Please try this patch in addition to the other. I think it should help
Nothing has changed when both patches were applied: these 2 games still hang/crash as before.
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #12 from Aric Stewart aric@codeweavers.com 2012-01-23 07:03:03 CST --- same crash, same logs?
I will look. Thanks.
http://bugs.winehq.org/show_bug.cgi?id=29664
--- Comment #13 from GyB gyebro69@gmail.com 2012-01-23 09:33:08 CST --- Hi Aric,
I see you submitted some more patches. This one works for Fallout 3 and Fallout-New Vegas: http://source.winehq.org/patches/data/83077
Thanks for your effort!
http://bugs.winehq.org/show_bug.cgi?id=29664
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |cb2d40275b4d3e7407130f29749 | |a2decb53a48cf Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #14 from GyB gyebro69@gmail.com 2012-01-23 13:48:10 CST --- Fixed by http://source.winehq.org/git/wine.git/commit/cb2d40275b4d3e7407130f29749a2de... and http://source.winehq.org/git/wine.git/commit/e2200b31d6d61f83b55e8062c13d7c5...
http://bugs.winehq.org/show_bug.cgi?id=29664
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2012-01-27 14:16:31 CST --- Closing bugs fixed in 1.4-rc1.