https://bugs.winehq.org/show_bug.cgi?id=44696
Bug ID: 44696 Summary: Dark Souls: Prepare to Die Edition 2.0 - Crash When Returning to the Title Screen Product: Wine Version: 3.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: escomk3@hotmail.com Distribution: ---
Created attachment 60703 --> https://bugs.winehq.org/attachment.cgi?id=60703 Terminal Output with Backtrace
Sometimes, not always, the game crashes when returning to the title screen (either via the in-game quit option, or by backing out after selecting 'New Game', which sometimes seems to trigger the crash more often-like).
The game has been also seen to crash every time when entering the title screen, after it had crashed once before, but this was 'fixed' by making sure the Wine processes were terminated ('wineserver -k' for example), although that may have been experienced in a not-so-clean Wine prefix.
Both bug 38490 and bug 43398 seem different enough (and somewhat abandoned) for this to be a separate issue (though they are very similar; perhaps the root cause is not very different).
https://bugs.winehq.org/show_bug.cgi?id=44696
--- Comment #1 from Chiitoo escomk3@hotmail.com --- Created attachment 60706 --> https://bugs.winehq.org/attachment.cgi?id=60706 Terminal Output with Backtrace (+tid,+quartz)
Perhaps this is 'quartz' related after all, as I initially suspected.
While looking into the audio stutter during the opening cinematics with 'WINEDEBUG="quartz"', I noticed the page fault happens on the thread where quartz starts a message loop:
00d3:trace:quartz:MessageLoop Starting message loop wine: Unhandled page fault on read access to 0x7b3af7cf at address 0x7b3af7cf (thread 00d3), starting debugger...
https://bugs.winehq.org/show_bug.cgi?id=44696
Chiitoo escomk3@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Gentoo
--- Comment #2 from Chiitoo escomk3@hotmail.com --- After some more pondering and testing, this might indeed be more of a dupe of one or both of the two bugs I mentioned earlier.
The backtraces looked pretty different (in part perhaps due to the other being from macOS?), but it certainly seems related to 'quartz' and the fact that the main title screen plays a 11 second 'wmv' file each time it's entered.
Removing the file (or renaming, as mentioned in bug 43398) seems to work around the possible crash since there's nothing to play.
Why it crashes only sometimes, I can only guess it's some sort of a sync-issue (also related to 'user32'?). I haven't been able to see the crash with the actual opening and/or ending movies, though they do occasionally drop audio (bug 44697).
https://bugs.winehq.org/show_bug.cgi?id=44696
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- Could you please attach a log with +quartz,+strmbase,+gstreamer,+win,+msg? Thanks.
https://bugs.winehq.org/show_bug.cgi?id=44696
--- Comment #4 from Chiitoo escomk3@hotmail.com --- Created attachment 60764 --> https://bugs.winehq.org/attachment.cgi?id=60764 Trace (+quartz,+strmbase,+gstreamer,+win,+msg)
Certainly!
Thanks.
https://bugs.winehq.org/show_bug.cgi?id=44696
--- Comment #5 from Zebediah Figura z.figura12@gmail.com --- It's trying to call the window proc for the quartz window, but for some reason instead it's calling into an unloaded address...
Once more, with +module?
https://bugs.winehq.org/show_bug.cgi?id=44696
--- Comment #6 from Chiitoo escomk3@hotmail.com --- Created attachment 60767 --> https://bugs.winehq.org/attachment.cgi?id=60767 Trace (+quartz,+strmbase,+gstreamer,+win,+ms,+module)
I'm not entirely sure if terminal output with just '+module' is more interesting without the all the noise, or if I should add it to the previous channels so that there's better context.
As such, I'll attach both.
https://bugs.winehq.org/show_bug.cgi?id=44696
--- Comment #7 from Chiitoo escomk3@hotmail.com --- Created attachment 60768 --> https://bugs.winehq.org/attachment.cgi?id=60768 Trace (+module)
https://bugs.winehq.org/show_bug.cgi?id=44696
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=44696
--- Comment #8 from Zebediah Figura z.figura12@gmail.com --- Ugh, unfortunately that doesn't seem to have helped. I'll have to defer to someone like Focht who will be able to tell immediately what's wrong...
https://bugs.winehq.org/show_bug.cgi?id=44696
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE
--- Comment #9 from Zebediah Figura z.figura12@gmail.com --- The crash was clearly due to quartz.dll being unloaded while used, so resolving duplicate of 48734, which is already CLOSED FIXED.
*** This bug has been marked as a duplicate of bug 48734 ***
https://bugs.winehq.org/show_bug.cgi?id=44696
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Closing Duplicate