http://bugs.winehq.org/show_bug.cgi?id=29920
Bug #: 29920 Summary: Edge of Chaos crashes on main screen Product: Wine Version: 1.4-rc3 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: winegstreamer AssignedTo: wine-bugs@winehq.org ReportedBy: adys.wh@gmail.com Classification: Unclassified
Created attachment 38930 --> http://bugs.winehq.org/attachment.cgi?id=38930 Crash log
Regression tracked down to http://source.winehq.org/git/wine.git/commit/9526499b88b9fbc051b1f9415997460... winegstreamer: Set bmiHeader.biSizeImage in the transform filter.
http://bugs.winehq.org/show_bug.cgi?id=29920
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |9526499b88b9fbc051b1f941599 | |7460f06f1ad79
http://bugs.winehq.org/show_bug.cgi?id=29920
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #1 from Aric Stewart aric@codeweavers.com 2012-02-20 10:25:24 CST --- the crash appears to be inside of gstreamer. Probably the plug-in.
could i get a +gstreamer log?
http://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #2 from Jerome Leclanche adys.wh@gmail.com 2012-02-20 13:38:58 CST --- Created attachment 38993 --> http://bugs.winehq.org/attachment.cgi?id=38993 WINEDEBUG=+gstreamer log
http://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #3 from Aric Stewart aric@codeweavers.com 2012-02-20 14:53:32 CST --- humm, thanks, could you revert the commit and upload a log with that please?
thanks!
-aric
http://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #4 from Jerome Leclanche adys.wh@gmail.com 2012-02-20 15:13:58 CST --- Odd... now it's crashing even with the commit reverted.
http://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #5 from Aric Stewart aric@codeweavers.com 2012-02-20 19:00:30 CST --- (In reply to comment #4)
Odd... now it's crashing even with the commit reverted.
I am suspicious that it is caused by your gstreamer plugin install. Not sure what plug-in packages you have installed but maybe your install changed recently?
If you are using 64-bit gstreamer it will not work reliably at all.
http://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #6 from Jerome Leclanche adys.wh@gmail.com 2012-02-21 04:50:56 CST --- (In reply to comment #5) WINEARCH=win32 WINEPREFIX=~/new WINEDEBUG=+gstreamer ~/src/wine/build32/wine IW2EoCGS.exe&> ~/gstreamer.txt
This works better. But there is no gstreamer output at all:
... err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1680x1050x32 @0! (XRandR) err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\windows\system32\winegstreamer.dll" err:ole:CoGetClassObject no class object {f9d8d64e-a144-47dc-8ee0-f53498372c29} could be created for context 0x1 err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\windows\system32\winegstreamer.dll" err:ole:CoGetClassObject no class object {728dcf55-128f-4dd1-ad22-becfa66ce7aa} could be created for context 0x1 fixme:quartz:ACMWrapper_SetMediaType acmStreamOpen returned 512 err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\windows\system32\winegstreamer.dll" err:ole:CoGetClassObject no class object {334b2ec9-f2b5-40b9-8432-4a00e00386a8} could be created for context 0x1 err:wgl:internal_SetPixelFormat Invalid operation on root_window err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 1680x1050x32 @0! (XRandR
http://bugs.winehq.org/show_bug.cgi?id=29920
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #7 from joaopa jeremielapuree@yahoo.fr 2013-04-14 01:08:39 CDT --- still a bug in current wine?
http://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #8 from Jerome Leclanche adys.wh@gmail.com 2013-08-18 21:26:51 CDT --- Created attachment 45657 --> http://bugs.winehq.org/attachment.cgi?id=45657 Backtrace
Ok, so this is still an issue but only if lib32-gstreamer0.10-base is installed.
Backtrace attached.
http://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #9 from Jerome Leclanche adys.wh@gmail.com 2013-08-18 21:29:01 CDT --- Further up: fixme:win:EnumDisplayDevicesW ((null),0,0x33ea18,0x00000000), stub! fixme:win:EnumDisplayDevicesW ((null),0,0x33e788,0x00000000), stub! fixme:d3d:resource_check_usage Unhandled usage flags 0x8. ALSA lib seq_hw.c:457:(snd_seq_hw_open) open /dev/snd/seq failed: No such device
(wine:22883): GLib-ERROR **: gmem.c:421: overflow allocating 1699872870*4 bytes
http://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #10 from Jerome Leclanche adys.wh@gmail.com 2013-08-18 22:16:30 CDT --- Created attachment 45658 --> http://bugs.winehq.org/attachment.cgi?id=45658 +ole,+gstreamer
Here's a +ole,+gstreamer of the last few seconds. It seems to crash when loading winegstreamer.dll...
http://bugs.winehq.org/show_bug.cgi?id=29920
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |30557
http://bugs.winehq.org/show_bug.cgi?id=29920
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |27437
http://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #11 from Jerome Leclanche adys.wh@gmail.com 2013-08-19 14:51:24 CDT --- disable_sound = 1 gets rid of the issue
http://bugs.winehq.org/show_bug.cgi?id=29920
Sylvain Petreolle spetreolle@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |spetreolle@yahoo.fr
https://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #12 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=29920 Bug 29920 depends on bug 30557, which changed state.
Bug 30557 Summary: winegstreamer broken with >=glib-2.32.0 https://bugs.winehq.org/show_bug.cgi?id=30557
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=29920
Andrew Eikum aeikum@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum@codeweavers.com
--- Comment #13 from Andrew Eikum aeikum@codeweavers.com --- winegstreamer has been updated to use gstreamer-1.0. If you can, please check your 32-bit gstreamer-1.0 packages and then retest this bug.
https://bugs.winehq.org/show_bug.cgi?id=29920
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jerome@leclan.ch, | |winetest@luukku.com
https://bugs.winehq.org/show_bug.cgi?id=29920
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexhenrie24@gmail.com
--- Comment #14 from Alex Henrie alexhenrie24@gmail.com --- Created attachment 56126 --> https://bugs.winehq.org/attachment.cgi?id=56126 Wine 1.9.23 output
I can reproduce the problem pretty consistently on my machine, but it is intermittent. Strangely, the crash never occurs when WINEDEBUG=+gstreamer is set.
I'm not sure what exactly I did that caused the problem to start appearing. I uninstalled lib32-gst-plugins-bad, lib32-gst-plugins-ugly, and the regular gst-plugins-ugly, and I can still reproduce the problem.
https://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #15 from winetest@luukku.com --- The commit doesnt look that hard, it's only few lines.
Any idea what it supposed to do and what's wrong with it? Multiplying by 3 looks weird.
https://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #16 from Andrew Eikum aeikum@codeweavers.com --- (In reply to Alex Henrie from comment #14)
Created attachment 56126 [details] Wine 1.9.23 output
I can reproduce the problem pretty consistently on my machine, but it is intermittent. Strangely, the crash never occurs when WINEDEBUG=+gstreamer is set.
I'm not sure what exactly I did that caused the problem to start appearing. I uninstalled lib32-gst-plugins-bad, lib32-gst-plugins-ugly, and the regular gst-plugins-ugly, and I can still reproduce the problem.
Looks like gstreamer can't decode MP3 and either our error handling crashes, or the game can't handle this kind of failure:
fixme:gstreamer:unknown_type Could not find a filter for caps: audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true
https://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #17 from Alex Henrie alexhenrie24@gmail.com --- (In reply to Andrew Eikum from comment #16)
Looks like gstreamer can't decode MP3 and either our error handling crashes, or the game can't handle this kind of failure
Yeah, that's a good hypothesis. The weird thing is that the "Could not find a filter" message kept appearing even after I successfully installed lib32-gst-plugins-good, lib32-gst-plugins-bad, and lib32-gst-plugins-ugly. I don't know what else to try installing.
https://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #18 from winetest@luukku.com --- Could it be that also needs 32bit versions? Ubuntu based distros they are like this
sudo apt-get install file sudo apt-get install file:i386
https://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #19 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Alex Henrie from comment #17)
(In reply to Andrew Eikum from comment #16)
Looks like gstreamer can't decode MP3 and either our error handling crashes, or the game can't handle this kind of failure
Yeah, that's a good hypothesis. The weird thing is that the "Could not find a filter" message kept appearing even after I successfully installed lib32-gst-plugins-good, lib32-gst-plugins-bad, and lib32-gst-plugins-ugly. I don't know what else to try installing.
Copying myself from other bug, maybe it will help:
At least in Debian for other games not playing mp3 this package fixed it for me: gstreamer1.0-fluendo-mp3:i386
https://bugs.winehq.org/show_bug.cgi?id=29920
Aaron Franke arnfranke@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arnfranke@yahoo.com
--- Comment #20 from Aaron Franke arnfranke@yahoo.com --- Does this issue still occur on Wine 2.22 or higher?
Does the game run if winegstreamer is set to disabled?
https://bugs.winehq.org/show_bug.cgi?id=29920
--- Comment #21 from joaopa jeremielapuree@yahoo.fr --- Is still a bug in current wine(3.20)?
https://bugs.winehq.org/show_bug.cgi?id=29920
Alex Henrie alexhenrie24@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=34302 Resolution|--- |INVALID Status|NEW |RESOLVED
--- Comment #22 from Alex Henrie alexhenrie24@gmail.com --- This is not a bug in current Wine. In fact, I think the problem all along was that it was difficult to install the 32-bit GStreamer MP3 codec. I remember that after fiddling with a bunch of packages, I was able to get the music to play on the main screen (and not crash) at least once back in 2016. Now that the MP3 codec has been moved to GStreamer's "good" plugin distribution, it's easy to install. And since the MP3 codec is never missing from Windows, we can't expect the game to work without it. Therefore I am resolving this bug as INVALID.
There is, unfortunately, still an unrelated audio bug in Wine's builtin ADPCM codec that makes the game unplayable (Bug 34302).
https://bugs.winehq.org/show_bug.cgi?id=29920
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #23 from Gijs Vermeulen gijsvrm@gmail.com --- Closing.