https://bugs.winehq.org/show_bug.cgi?id=48715
Bug ID: 48715 Summary: a freeze by waiting Product: Wine Version: 5.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winegstreamer Assignee: wine-bugs@winehq.org Reporter: galtgendo@o2.pl Distribution: ---
Created attachment 66587 --> https://bugs.winehq.org/attachment.cgi?id=66587 WINEDEBUG log (ole,strmbase,gstreamer,quartz,mfplat)
Something odd is happening here. A WolfRPG game that works fine for the most part, but in one place it freezes. This happens upon a map transition, which implies a BGM change. The freeze is a never ending MediaEvent_WaitForCompletion.
Odd part is that upon disabling winegstreamer via WINEDLLOVERRIDES, the sounds continues to work (probably going through dsound filter), but the freeze is averted.
The last log entry before sequence that triggers the freeze in the log is 'is being unloaded while mapped' line.
https://bugs.winehq.org/show_bug.cgi?id=48715
Rafał Mużyło galtgendo@o2.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|a freeze by waiting |a game freeze by waiting | |for media event completion
https://bugs.winehq.org/show_bug.cgi?id=48715
James Tabor james.tabor@reactos.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |james.tabor@reactos.org
https://bugs.winehq.org/show_bug.cgi?id=48715
--- Comment #1 from James Tabor james.tabor@reactos.org --- Created attachment 66651 --> https://bugs.winehq.org/attachment.cgi?id=66651 Spider from ReactOS
ReactOS Spider fails also.
https://bugs.winehq.org/show_bug.cgi?id=48715
--- Comment #2 from James Tabor james.tabor@reactos.org --- Sorry wrong report.
https://bugs.winehq.org/show_bug.cgi?id=48715
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|a game freeze by waiting |A Wolf RPG game freezes on |for media event completion |map transition CC| |z.figura12@gmail.com
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- The game calls IGraphBuilder::Render(), but then traverses the filter graph, disconnects the audio renderer, and puts the null renderer in its place. There are two renderers in the graph, but only one sends an EOS, so the graph never propagates EC_COMPLETE.
https://bugs.winehq.org/show_bug.cgi?id=48715
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=48715
--- Comment #4 from Rafał Mużyło galtgendo@o2.pl --- ...so, a positive change may have been made, but I'm holding back on saying it's fixed, as I've imported 191607-191611 series into 5.16, which may or may not matter in this context. Going by the old log, the engine isn't using mfplat, but I could simply be wrong about that.
https://bugs.winehq.org/show_bug.cgi?id=48715
--- Comment #5 from Rafał Mużyło galtgendo@o2.pl --- ...OK, I don't know what did I see before the previous comment, but it seems I tested it wrong, the freeze still happened in 5.16 and with 5.17 nothing changed.
https://bugs.winehq.org/show_bug.cgi?id=48715
--- Comment #6 from Rafał Mużyło galtgendo@o2.pl --- Well, there should be nothing new to report, as under 5.20 the freeze still happens, yet a recent chat conversation prompted another test.
So, it's as follows:
normal run: - freeze happens, game can be exited normally
WINEDLLOVERRIDES=winegstreamer= - freeze is avoided, game can be exited normally
WINEDLLOVERRIDES=quartz= - freeze is avoided, (probably) infinite 'err:ntdll:RtlpWaitForCriticalSection section 7BCC3820 "/mnt/buildbox/builds/portage/app-emulation/wine-5.20/work/wine-5.20/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0440, blocked by 03a4, retrying (60 sec)' happens on exit
WINEDLLOVERRIDES=winegstreamer,quartz= - same as above
In all of the disabled cases, sound is still being played...probably it's another lib that controls it.
https://bugs.winehq.org/show_bug.cgi?id=48715
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|winegstreamer |quartz Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |dfa4c07941322dbcad54507cd0a | |cf271a6c719ab
--- Comment #7 from Zebediah Figura z.figura12@gmail.com --- Should be fixed by https://source.winehq.org/git/wine.git/commitdiff/dfa4c07941322dbcad54507cd0acf271a6c719ab; please file new bug reports for remaining bugs.
https://bugs.winehq.org/show_bug.cgi?id=48715
--- Comment #8 from Rafał Mużyło galtgendo@o2.pl --- (In reply to Zebediah Figura from comment #7)
Should be fixed by https://source.winehq.org/git/wine.git/commitdiff/ dfa4c07941322dbcad54507cd0acf271a6c719ab; please file new bug reports for remaining bugs.
Do you think the recent series of patches from Paul Gofman (195356-195359) might help with the loader lock, if it goes in ?
As for your change, I'll see it once it's out (cause it's likely to be this weekend).
https://bugs.winehq.org/show_bug.cgi?id=48715
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- (In reply to Rafał Mużyło from comment #8)
(In reply to Zebediah Figura from comment #7)
Should be fixed by https://source.winehq.org/git/wine.git/commitdiff/ dfa4c07941322dbcad54507cd0acf271a6c719ab; please file new bug reports for remaining bugs.
Do you think the recent series of patches from Paul Gofman (195356-195359) might help with the loader lock, if it goes in ?
I don't know, and I'm not particularly interested in the native DLL case.
https://bugs.winehq.org/show_bug.cgi?id=48715
--- Comment #10 from Rafał Mużyło galtgendo@o2.pl --- (In reply to Zebediah Figura from comment #9)
I don't know, and I'm not particularly interested in the native DLL case.
...huh ? Which native dlls ? Those overrides where empty, meaning disabled.
https://bugs.winehq.org/show_bug.cgi?id=48715
--- Comment #11 from Zebediah Figura z.figura12@gmail.com --- (In reply to Rafał Mużyło from comment #10)
(In reply to Zebediah Figura from comment #9)
I don't know, and I'm not particularly interested in the native DLL case.
...huh ? Which native dlls ? Those overrides where empty, meaning disabled.
Sorry, I misread. Still, that case isn't interesting either.
https://bugs.winehq.org/show_bug.cgi?id=48715
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.21.