http://bugs.winehq.org/show_bug.cgi?id=24782
Summary: GTA: San Andreas crashes when playing intro videos Product: Wine Version: 1.3.5 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: aric@codeweavers.com
Created an attachment (id=31332) --> (http://bugs.winehq.org/attachment.cgi?id=31332) terminal output including a backtrace
Grand Theft Auto: San Andreas crashes while trying to play the intro videos (they're in MPEG-1 format). Note that the videos were not played correctly in the earlier versions of Wine either: a blank screen was shown and you had to press the space bar or LMB to skip the intros and get to the main menu. Now Wine crashes.
This is caused by the following commit:
7602829c4f5d255c1ecd7ecef386b4b2011e6137 is the first bad commit commit 7602829c4f5d255c1ecd7ecef386b4b2011e6137 Author: Aric Stewart aric@codeweavers.com Date: Wed Oct 13 11:02:08 2010 -0500
strmbase: Add GetMediaType and GetMediaTypeVersion to BasePin function table.
Allows for more widespread use of the BasePinImpl version of EnumMediaTypes.
:040000 040000 cbcd286305743c70a30e3fc8eb95a958938150be 31732d19b6a643847cec3b5e6f6f9c3a922b89e1 M dlls :040000 040000 36289eb489280cadbad68e0fab1ccbb6b1ae2fbc c18866116743e5aca0fac51925ba25884eb78a71 M include
The patch cannot be reverted cleanly on Wine-1.3.5, but after git checkout 7602829c4f5d255c1ecd7ecef386b4b2011e6137 Wine crashes git revert 7602829c4f5d255c1ecd7ecef386b4b2011e6137 restores the previous state (no crash but no videos played, either)
Workaround: installing native quartz.dll and devenum.dll or rename/remove the video files.
Author of the patch added to CC. No demo available.
http://bugs.winehq.org/show_bug.cgi?id=24782
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
--- Comment #1 from GyB gyebro69@gmail.com 2010-10-17 07:28:49 CDT --- Added the keyword: regression. Seeing Aric Stewart's work on the strmbase thing, it might be a work in progress, instead.
http://bugs.winehq.org/show_bug.cgi?id=24782
maclover490@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |maclover490@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=24782
Robert Walker robert_mt_walker@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robert_mt_walker@yahoo.co.u | |k
--- Comment #2 from Robert Walker robert_mt_walker@yahoo.co.uk 2010-10-25 03:32:07 CDT --- Just to reiterate I've got the intro videos working OK in WINE 1.3.5.
http://bugs.winehq.org/show_bug.cgi?id=24782
--- Comment #3 from GyB gyebro69@gmail.com 2010-10-28 13:22:33 CDT --- Since wine-1.3.5-345-g9b1839a the games: GTA-SA (and Vice City, too) don't crash on startup... now they simply hang (when the intro movies are supposed to be played).
http://bugs.winehq.org/show_bug.cgi?id=24782
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |austinenglish@gmail.com Ever Confirmed|0 |1
--- Comment #4 from Austin English austinenglish@gmail.com 2010-10-28 14:24:27 CDT --- Breaks Fallout 3 for me on gentoo. Regression test points to same commit.
http://bugs.winehq.org/show_bug.cgi?id=24782
GatoLoko@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |GatoLoko@gmail.com
--- Comment #5 from GatoLoko@gmail.com 2010-11-02 08:09:11 CDT --- *** Bug 24988 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24782
--- Comment #6 from Ruslan b7.10110111@gmail.com 2010-11-05 14:25:48 CDT --- Created an attachment (id=31739) --> (http://bugs.winehq.org/attachment.cgi?id=31739) Wine log when repeating sound is heard
As of wine 1.3.6 the games still hang instead of crash now like in comment #3. But i can hear repeating first part of sound from the intro video. Pressing keys doesn't skip the video, so the game isn't playable.
http://bugs.winehq.org/show_bug.cgi?id=24782
Ruslan b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b7.10110111@gmail.com
--- Comment #7 from Ruslan b7.10110111@gmail.com 2010-11-06 13:34:02 CDT --- On another system without gstreamer i still get the same crash as in original bug report.
http://bugs.winehq.org/show_bug.cgi?id=24782
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ehoover@mines.edu
http://bugs.winehq.org/show_bug.cgi?id=24782
Erich Hoover ehoover@mines.edu changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ehoover@mines.edu
--- Comment #9 from GyB gyebro69@gmail.com 2010-11-09 14:25:13 CST --- In Wine-1.3.6-335-gd5fa2ce and gstreamer-plugins-ugly installed GTA-San Andreas is playing the intro movies correctly (which never worked before using the built-in quartz.dll).
GTA-Vice City behaves differently: it begins to play the videos but Wine crashes when the movie ends (or you skip the video by pressing <Esc>).
Without the 'ugly-plugins' installed the symptom is the same as originally reported: the games crash when trying to play the videos.
http://bugs.winehq.org/show_bug.cgi?id=24782
--- Comment #10 from Ruslan b7.10110111@gmail.com 2010-11-10 17:51:39 CST --- (In reply to comment #8)
Created an attachment (id=31770)
--> (http://bugs.winehq.org/attachment.cgi?id=31770) [details]
Fix for pin enumeration/construction bug
Please try the attached patch and see if it fixes the problem. I've tested this on Fallout 3 using Wine 1.3.5 (to avoid potentially hitting any of the rumored gstreamer issues) and the latest git without gstreamer (./configure doesn't find the 32-bit version for me for some reason).
This patch doesn't change anything on my system. GTAVC & GTASA still crash in the same way (gstreamer is disabled).
Though, while gstreamer is disabled, winegstreamer shows up in backtrace for some reason:
Backtrace: =>0 0x7c11db41 BasePinImpl_EnumMediaTypes+0x7f() in winegstreamer (0x0032f6c8) 1 0x7c6355ed BaseOutputPinImpl_Connect+0x369() in quartz (0x0032f758) 2 0x7c5c18ec FilterGraph2_Render+0xdb5() in quartz (0x0032fa28) 3 0x7c5c1e0e FilterGraph2_RenderFile+0x172() in quartz (0x0032fab8) 4 0x00600871 in gta-vc (+0x200870) (0x006de5ac)
http://bugs.winehq.org/show_bug.cgi?id=24782
--- Comment #11 from GyB gyebro69@gmail.com 2010-11-11 13:53:26 CST --- Status report using wine-1.3.6-421-gc138970 (clean prefix, only built-in dlls used):
1) when gst-plugins-ugly is *not* installed there are no videos played; several gstreamer fixmes in the terminal, one of them warns me about the missing codecs/plugins required to play the videos. Pressing <space> or LMB on the blank screen leads me to the main menu. No crash, no freeze. Fine, that was the state before the regression.
2) when gst-plugins-ugly *is* installed the videos are playing: if you don't interrupt by pressing <space> or LMB and let the game play the videos until the end you will finally reach the menu. A crash does occur if you try to skip the intros.
As per 1) it should be considered fixed. I guess the crash when skipping the videos should be reported in a different bugreport.
Marking it as FIXED now.
http://bugs.winehq.org/show_bug.cgi?id=24782
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #12 from GyB gyebro69@gmail.com 2010-11-11 14:09:34 CST --- ...and thanks to all those who worked on this bug. (Now I managed to set the 'fixed' flag ;)
http://bugs.winehq.org/show_bug.cgi?id=24782
--- Comment #13 from GyB gyebro69@gmail.com 2010-11-12 12:11:57 CST --- For the sake of completeness: the remaining issue in GTA:San Andreas is now fixed with today's git (wine-1.3.6-466-g32bbb0b). The game doesn't crash any more when you skip the intro videos.
http://bugs.winehq.org/show_bug.cgi?id=24782
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #14 from Alexandre Julliard julliard@winehq.org 2010-11-12 13:34:57 CST --- Closing bugs fixed in 1.3.7.
http://bugs.winehq.org/show_bug.cgi?id=24782
--- Comment #15 from Ruslan b7.10110111@gmail.com 2010-11-12 15:20:19 CST --- After upgrade to wine 1.3.7 --without-gstreamer result is the same as in comment 10. So, the bug is still not fixed.
http://bugs.winehq.org/show_bug.cgi?id=24782
--- Comment #16 from Austin English austinenglish@gmail.com 2010-11-12 15:23:58 CST --- (In reply to comment #15)
After upgrade to wine 1.3.7 --without-gstreamer result is the same as in comment 10. So, the bug is still not fixed.
That should probably be a separate bug.
http://bugs.winehq.org/show_bug.cgi?id=24782
--- Comment #17 from Ruslan b7.10110111@gmail.com 2010-11-12 15:40:38 CST --- (In reply to comment #16)
(In reply to comment #15)
After upgrade to wine 1.3.7 --without-gstreamer result is the same as in comment 10. So, the bug is still not fixed.
That should probably be a separate bug.
Do you think so? The backtrace is just the same.
http://bugs.winehq.org/show_bug.cgi?id=24782
--- Comment #18 from Austin English austinenglish@gmail.com 2010-11-12 15:43:48 CST --- (In reply to comment #17)
(In reply to comment #16)
(In reply to comment #15)
After upgrade to wine 1.3.7 --without-gstreamer result is the same as in comment 10. So, the bug is still not fixed.
That should probably be a separate bug.
Do you think so? The backtrace is just the same.
Yes, but you're building without gstreamer support, the bug is fixed with gstreamer support enabled.
The bug may be related to =>0 0x7c11db41 BasePinImpl_EnumMediaTypes+0x7f() in winegstreamer (0x0032f6c8)
still appearing even when --without-gstreamer is used, but that's only a guess.
http://bugs.winehq.org/show_bug.cgi?id=24782
--- Comment #19 from Ruslan b7.10110111@gmail.com 2010-11-12 16:01:06 CST --- OK, here's the new report: Bug 25136
http://bugs.winehq.org/show_bug.cgi?id=24782
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |97393cd557e6d5154029d916943 | |a5ec7b515756e CC| |adys.wh@gmail.com Regression SHA1| |7602829c4f5d255c1ecd7ecef38 | |6b4b2011e6137