[Scummvm-tracker] [ScummVM :: Bugs] #12762: The longest Journey crashes
ScummVM :: Bugs
trac at scummvm.org
Mon Jul 26 21:48:50 UTC 2021
#12762: The longest Journey crashes
-------------------+----------------------------------
Reporter: toby63 | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Stark
Version: | Resolution:
Keywords: | Game: The Longest Journey
-------------------+----------------------------------
Changes (by criezy):
* component: --Unset-- => Engine: Stark
Comment:
Crash confirmed on macOS as well.
It used to be working in ScummVM, so this is a regression.
Address sanitizer reports a stack buffer overflow in the SDL backend:
{{{
READ of size 9 at 0x00016d776d90 thread T0
#1 0x102ce623c in SdlGraphicsManager::setState(SdlGraphicsManager::State
const&) sdl-graphics.cpp:89
#2 0x102747390 in OSystem_SDL::setGraphicsMode(int, unsigned int)
sdl.cpp:790
#3 0x1029df75c in initGraphics3d(int, int) engine.cpp:399
#4 0x1027a7040 in Stark::Gfx::Driver::create() driver.cpp:48
#5 0x10292b81c in Stark::StarkEngine::run() stark.cpp:98
Address 0x00016d776d90 is located in stack of thread T0 at offset 80 in
frame
#0 0x102ce5d84 in SdlGraphicsManager::setState(SdlGraphicsManager::State
const&) sdl-graphics.cpp:79
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/12762#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list