[Scummvm-tracker] [ScummVM :: Bugs] #11954: Scummvm compiled on Centos 8 crashes coredump when playing myst ME
ScummVM :: Bugs
trac at scummvm.org
Fri Nov 13 07:30:38 UTC 2020
#11954: Scummvm compiled on Centos 8 crashes coredump when playing myst ME
-------------------------------------------------+-------------------------
Reporter: naatje80 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine:
Keywords: scummvm copyRectToScreen core dump | Mohawk
myst | Game:
-------------------------------------------------+-------------------------
I recently migrated to Centos8. I manually generate rpms for the software
that is not supplied within the default repositories of the OS. I also
compiled an rpm for scummvm using the current master branch (pre-2.3.0
release at the moment). Until know, most of my supported games seem to be
working correctly. However, Myst seems to crash at versions points in the
game with the error:
scummvm: backends/graphics/surfacesdl/surfacesdl-graphics.cpp:1489:
virtual void SurfaceSdlGraphicsManager::copyRectToScreen(const void*, int,
int, int, int, int): Assertion `h > 0 && y + h <= _videoMode.screenHeight'
failed.
Aborted (core dumped)
For example, I'm already receiving this error if I go to the projector
room located on the left just at the first screen of the beginning of
Myst.
I've debugged scummvm using gdb, and noticed that the game crashed if the
value of height and width is lower than zero. Two examples are (first is
when entering the project room. Second is when entering the forest towards
the clock tower)
hread 1 "scummvm" hit Breakpoint 1,
SurfaceSdlGraphicsManager::copyRectToScreen (this=0x55555a171f90,
buf=0x55555d1f9fa0, pitch=176, x=0, y=0, w=-1492, h=-5096)
Thread 1 "scummvm" hit Breakpoint 1,
SurfaceSdlGraphicsManager::copyRectToScreen (this=0x55555a123c80,
buf=0x55555d0044c0, pitch=1104, x=0, y=0, w=-6108, h=-6020)
In both cases it seems to be at a point a video should be embedded inside
the screen. I first assumed that a certain dependency was missing (because
it looked like the size of the video could not be determined), however the
intro videos are working correctly. Also, I could not find a dependency
that seems to be missing for this game.
At first I was still using SDL1. However, switching to SDL2 did not make
any difference.
My scummvm build currently supports:
ScummVM 2.3.0git (Nov 12 2020 13:32:27)
Features compiled in: TAINTED Vorbis FLAC MP3 ALSA SEQ TiMidity RGB zLib
MPEG2 A/52 FreeType2 JPEG PNG TinyGL OpenGL
I did not encountered this issue before on Centos7 (although I compiled an
older release of scummvm, so not sure if something has changed in the mean
time).
I'm using the Myst Masterpiece edition (DVD version).
Thank you in advance for your help!
--
Ticket URL: <https://bugs.scummvm.org/ticket/11954>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list