http://bugs.winehq.org/show_bug.cgi?id=35163
Bug ID: 35163 Summary: Victoria 2 crashes on start with built-in quartz Product: Wine Version: 1.7.8 Hardware: x86 URL: http://www.gamershell.com/download_85888.shtml OS: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: quartz Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Classification: Unclassified
Created attachment 46906 --> http://bugs.winehq.org/attachment.cgi?id=46906 terminal output
The game crashes shortly after starting with Wine's built-in quartz.dll. 'winetricks quartz' is a workaround. Lots of
fixme:quartz:parse_header Not a valid header: ff:ff:ff:ff
are preceding the crash. They're probably the game music files (mp3 format) that causing the problem.
Fedora 19 wine-1.7.8-114-g1928d61 (compiled from source without gstreamer support) Alsa 1.0.27 (Pulseaudio is not running)
http://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #1 from GyB gyebro69@gmail.com --- Created attachment 46907 --> http://bugs.winehq.org/attachment.cgi?id=46907 +quartz log
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 50912 --> https://bugs.winehq.org/attachment.cgi?id=50912 terminal output Wine 1.7.37
Still present in wine-1.7.37-143-g3b2cf06
https://bugs.winehq.org/show_bug.cgi?id=35163
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com --- Created attachment 52328 --> https://bugs.winehq.org/attachment.cgi?id=52328 ignore support for mpeg1 audio
Please try this hack, at least should allow the game to start.
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #4 from Bruno Jesus 00cpxxx@gmail.com --- It looks like wine wrongly recognizes the file as mpeg audio layer 1 instead of layer 3 due to a problem in the header parser. If you copy other mp3 file (from other game or any music) over the file music/thecoronation_titletheme.mp3 does it play correctly?
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 52331 --> https://bugs.winehq.org/attachment.cgi?id=52331 +quartz log (hack applied)
(In reply to Bruno Jesus from comment #3)
Created attachment 52328 [details] ignore support for mpeg1 audio
Please try this hack, at least should allow the game to start.
The hack doesn't work, the game still crashes when trying to play the music file. The crash looks different though, there's no assert in the log. Could it be a different issue?
(In reply to Bruno Jesus from comment #4)
It looks like wine wrongly recognizes the file as mpeg audio layer 1 instead of layer 3 due to a problem in the header parser. If you copy other mp3 file (from other game or any music) over the file music/thecoronation_titletheme.mp3 does it play correctly?
I tried the game with several mp3 files (faked as thecoronation_titletheme.mp3), but the crash remained.
The attached +quartz log was created with your hack applied, and using the original 'thecoronation_titletheme.mp3'. Let me know if you need further logs or infos.
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- Thanks for the tests, the thread that crashes is actually from dsound so I have no idea what is going on.
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com --- This bug is interesting and it helped me find a bug in quartz but it is not related to the issue here. I exhausted all my debug skills by now, quartz with all it's connections is just too complex.
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #8 from super_man@post.com --- http://source.winehq.org/git/wine.git/blob/65d699eb5f7fc151197f3dc9f36499ee3...
I changed the return code from return E_NOINTERFACE; to S_OK
and the crash location seem to move forward.
Could it be that it needs interface that it is missing?
This change doesnt really fix anything.
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #9 from super_man@post.com --- Could it be it's somehow related to this?
37d84f60-42cb-11ce-8135-00aa004bb851
I get different output with wine 1.9.13 and staging 1.9.13
This is from staging.
fixme:gstreamer:GST_QueryInterface No interface for {37d84f60-42cb-11ce-8135-00aa004bb851}! fixme:gstreamer:GST_Connect Could not make source filter, are gstreamer-plugins-* installed for 32 bits?
(wine:15936): GStreamer-CRITICAL **: gst_element_set_bus: assertion 'GST_IS_ELEMENT (element)' failed
=>0 0x7ba1441f gst_pad_unlink+0x1f() in libgstreamer-1.0.so.0 (0x0033d178)
I quess I need to install some files.
The issue is still valid.
https://bugs.winehq.org/show_bug.cgi?id=35163
zbrojny120@protonmail.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zbrojny120@protonmail.ch
--- Comment #10 from zbrojny120@protonmail.ch --- Looks like it works in wine 2.2 on a clean prefix, could anyone confirm this?
https://bugs.winehq.org/show_bug.cgi?id=35163
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Victoria 2 crashes on start |Victoria 2: A House Divided |with built-in quartz |crashes on start with | |built-in quartz
--- Comment #11 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to zbrojny120 from comment #10)
Looks like it works in wine 2.2 on a clean prefix, could anyone confirm this?
Which game version did you test with?
I just realized that the crash doesn't occur when only the base game is installed (Victoria 2 v1.x). I have the "A House Divided" expansion installed as well, and the crash does occur with that (Victoria 2 v2.x). I don't own the "Heart of Darkness" expansion which brings the game to version 3.x.
Mea culpa for not realizing this sooner, and I kindly ask an admin/maintainer on Appdb to remove this bug from the following game versions: https://appdb.winehq.org/objectManager.php?sClass=version&iId=21110 https://appdb.winehq.org/objectManager.php?sClass=version&iId=28071 https://appdb.winehq.org/objectManager.php?sClass=version&iId=21079
The demo in the url field still can be used to reproduce the crash (Victoria 2: A House Divided demo).
Wine 2.2
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #12 from zbrojny120@protonmail.ch --- (In reply to Béla Gyebrószki from comment #11)
Which game version did you test with?
Steam version with all the expansions. However, I have done some more testing, and found out that the crash occurs only when using proprietary nvidia drivers (legacy 340.101, kernel 4.4.49). Nouveau works without any problems (mesa git, kernel 4.9.6). My GPU is Nvidia GeForce GTS 250.
https://bugs.winehq.org/show_bug.cgi?id=35163
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #13 from joaopa jeremielapuree@yahoo.fr --- Download link is burst. Does the bug still occur with wine-5.0-rc1?
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #14 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.10?
https://bugs.winehq.org/show_bug.cgi?id=35163
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #46907|0 |1 is obsolete| | Attachment #52331|0 |1 is obsolete| |
--- Comment #15 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 67365 --> https://bugs.winehq.org/attachment.cgi?id=67365 quartz log (Wine 5.10)
Still present in Wine-5.10.
Download link to the demo has been changed to a working one. The demo needs native d3dcompiler_42 and d3dx9_42.
V2IIDemoSetup.exe md5sum: 76f0bb3580a90b77c431ea81e43a84cf
https://bugs.winehq.org/show_bug.cgi?id=35163
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.gamershell.com/d |https://www.gamepressure.co |ownload_85888.shtml |m/download.asp?ID=38204
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #16 from Gijs Vermeulen gijsvrm@gmail.com --- Created attachment 68675 --> https://bugs.winehq.org/attachment.cgi?id=68675 log
Still present with wine-5.22. I got to the main menu, but when going to "Tutorial" and then clicking "Introduction" I get a crash.
Attached is a +seh,+tid,+devenum,+gstreamer,+quartz,+strmbase log.
https://bugs.winehq.org/show_bug.cgi?id=35163
lizhenbo litimetal@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |litimetal@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #17 from Gijs Vermeulen gijsvrm@gmail.com --- It seems to work fine for me with wine-9.12-332-g34b16060199 and only d3dcompiler_47 set to native. Béla, can you confirm?
https://bugs.winehq.org/show_bug.cgi?id=35163
--- Comment #18 from joaopa jeremielapuree@yahoo.fr --- I confirm that with wine-9.12, only native d3dcompiler_47 is needed.
https://bugs.winehq.org/show_bug.cgi?id=35163
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #19 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Gijs Vermeulen from comment #17)
It seems to work fine for me with wine-9.12-332-g34b16060199 and only d3dcompiler_47 set to native. Béla, can you confirm?
Yes, it works for me as well, thanks for re-testing.
Marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=35163
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.13.