[Scummvm-tracker] [ScummVM] #9551: SDL2/WIN10: Segfault after locking/unlocking the computer
Lothar Serra Mari
trac at scummvm.org
Sun Aug 28 08:27:06 CEST 2016
#9551: SDL2/WIN10: Segfault after locking/unlocking the computer
-----------------------------+--------------------
Reporter: rootfather | Owner:
Type: defect | Status: new
Priority: normal | Component: Ports
Version: | Resolution:
Keywords: windows 10, sdl2 | Game:
-----------------------------+--------------------
Comment (by rootfather):
I managed to compile the latest SDL2 codebase and I attached both the 64-
and 32 Bit binaries.
First, this is not a bug in ScummVM, but in SDL2 that got recently fixed.
[https://bugzilla.libsdl.org/show_bug.cgi?id=3147].
There are two reports in the SDL forums that show similar issues, see
https://forums.libsdl.org/viewtopic.php?p=51329#51329 and
https://forums.libsdl.org/viewtopic.php?t=11913.
The bug got fixed with SDL2 revision 17e0ded12e6f.
[https://hg.libsdl.org/SDL/rev/17e0ded12e6f]
Using the HG DLLs I attached fixed the problem for me. However, there is a
very small issue: After unlocking in windowed mode, the ScummVM window is
black until you move the mouse cursor. I *assume* that this "black state"
was what caused the crash in 2.0.4, because it seems that the fix in
17e0ded12e6f is more of a workaround.
I read something about "unsupported pixel formats" being the cause for the
crash, but due to my limited knowledge, I cannot confirm if this applies
for ScummVM or if there is something we can fix.
'''Conclusion: Not a ScummVM bug. Bug in SDL2 2.0.4. Fixed in later
revisions.'''
--
Ticket URL: <https://bugs.scummvm.org/ticket/9551#comment:5>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list