https://bugs.winehq.org/show_bug.cgi?id=38564
Bug ID: 38564 Summary: Rush for Berlin Gold crashes after starting Product: Wine Version: 1.7.42 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com Distribution: ---
Created attachment 51449 --> https://bugs.winehq.org/attachment.cgi?id=51449 terminal output
DRM-free version from Gamersgate. The game shows the loading screen for a brief moment then Wine crashes somewhere in avifil32. Installing ffdshow or xvid doesn't make it any better.
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com --- The demo crashes randomly for me so it can't be used to reproduce the issue I think.
The function AVIStreamInfo has some null parameter protection so the crash that is happening is weird to me, please attach a +avifile log to check if there is any better info.
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 51461 --> https://bugs.winehq.org/attachment.cgi?id=51461 +avifile log
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 51463 --> https://bugs.winehq.org/attachment.cgi?id=51463 test application
Attached test replicates the problem. It looks like its source is in the COM apartment vs. multi-threaded mode mismatch. Both CoCreateInstance and AVIFileOpen calls in the test succeed under Windows but fail under Wine. Commenting out AVIFileInit() call has no effect under Windows, the calls still succeed.
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #4 from Dmitry Timoshkov dmitry@baikal.ru --- avifil32 in Wine is missing implementation of IAVIStrem/IAVIFile proxy in its class factory which is required for multi-threaded apartments support. This involves adding appropriate registry keys (ProxyStubClsid32) along with IAVIStrem/IAVIFile proxy support in the avifil32 class factory.
Component: avifil32 Workaround: avifil32=n
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Best way to do that is probably to convert to proper idl first.
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #6 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Dmitry Timoshkov from comment #4)
avifil32 in Wine is missing implementation of IAVIStrem/IAVIFile proxy in its class factory which is required for multi-threaded apartments support. This involves adding appropriate registry keys (ProxyStubClsid32) along with IAVIStrem/IAVIFile proxy support in the avifil32 class factory.
Component: avifil32 Workaround: avifil32=n
I installed native avifil32 via winetricks yet it still crashes on start: http://pastebin.com/X4uZDxte
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #7 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Béla Gyebrószki from comment #6)
I installed native avifil32 via winetricks yet it still crashes on start: http://pastebin.com/X4uZDxte
Adding appropriate registry keys (ProxyStubClsid32) is also required, I can't provide more details at the moment since I'm traveling.
Adding something like this should work, please consult similar registry entries for proper format: http://www.windowrdb.com/w.php?w=hkcr-interface-00020020-0000-0000-c000-0000...
https://bugs.winehq.org/show_bug.cgi?id=38564
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry@baikal.ru, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=38564
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=38564
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/avifil32-AVIFi | |le_Proxies
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #8 from Michael Müller michael@fds-team.de --- Béla could you try whether the bug is gone after applying the staged patchset or by using Wine Staging 1.9.3?
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Michael Müller from comment #8)
Béla could you try whether the bug is gone after applying the staged patchset or by using Wine Staging 1.9.3?
The patch works and the intro videos are playing fine, now the game crashes afterwards (when loading to the menu).
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #10 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Béla Gyebrószki from comment #9)
(In reply to Michael Müller from comment #8)
Béla could you try whether the bug is gone after applying the staged patchset or by using Wine Staging 1.9.3?
The patch works and the intro videos are playing fine, now the game crashes afterwards (when loading to the menu).
Thanks for testing Béla. Please open a separate bug report for new crash.
https://bugs.winehq.org/show_bug.cgi?id=38564
--- Comment #11 from Gijs Vermeulen gijsvrm@gmail.com --- The staging patch was upstreamed as: https://source.winehq.org/git/wine.git/commit/57a8a33a7cfdf9f52c03f6407a0831... so this should be fixed.
https://bugs.winehq.org/show_bug.cgi?id=38564
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |57a8a33a7cfdf9f52c03f6407a0 | |831538a662cee Status|STAGED |RESOLVED Resolution|--- |FIXED
--- Comment #12 from Béla Gyebrószki gyebro69@gmail.com --- Marking fixed.
https://bugs.winehq.org/show_bug.cgi?id=38564
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |avifil32
https://bugs.winehq.org/show_bug.cgi?id=38564
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.5.
https://bugs.winehq.org/show_bug.cgi?id=38564
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=38564
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #14 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.2.