[Scummvm-tracker] [ScummVM :: Bugs] #12930: NEVERHOOD: Demo can crash when pressing Esc
ScummVM :: Bugs
trac at scummvm.org
Tue Sep 14 05:54:33 UTC 2021
#12930: NEVERHOOD: Demo can crash when pressing Esc
--------------------------+-------------------------------
Reporter: eriktorbjorn | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: Neverhood
Version: | Keywords:
Game: The Neverhood |
--------------------------+-------------------------------
If I walk around outside near the monster cave in the big demo, pressing
Esc causes the game to segfault. This is what the backtrace shows:
{{{
#0 0x00005555578fe585 in
Neverhood::SoundItem::setPlayOnceAfterCountdown(bool)
(this=0x0, playOnceAfterCountdown=false) at
./engines/neverhood/sound.h:110
#1 0x00005555578fca63 in Neverhood::SoundMan::setSoundThreePlayFlag(bool)
(this=0x55555cbc33d0, playOnceAfterCountdown=false)
at engines/neverhood/sound.cpp:490
#2 0x00005555579919ae in Neverhood::NavigationScene::~NavigationScene()
(this=0x55555cca6920, __in_chrg=<optimized out>)
at engines/neverhood/navigationscene.cpp:62
#3 0x00005555579919d6 in Neverhood::NavigationScene::~NavigationScene()
(this=0x55555cca6920, __in_chrg=<optimized out>)
at engines/neverhood/navigationscene.cpp:63
#4 0x0000555557916d6b in Neverhood::Module::~Module()
(this=0x55555c7eae80, __in_chrg=<optimized out>)
at engines/neverhood/module_scene.cpp:40
#5 0x000055555796e31c in Neverhood::Module2600::~Module2600()
(this=0x55555c7eae80, __in_chrg=<optimized out>)
at engines/neverhood/modules/module2600.cpp:53
#6 0x000055555796e338 in Neverhood::Module2600::~Module2600()
(this=0x55555c7eae80, __in_chrg=<optimized out>)
at engines/neverhood/modules/module2600.cpp:55
#7 0x000055555790c0e5 in Neverhood::GameModule::~GameModule()
(this=0x55555c80d7b0, __in_chrg=<optimized out>)
at engines/neverhood/gamemodule.cpp:88
#8 0x000055555790c11c in Neverhood::GameModule::~GameModule()
(this=0x55555c80d7b0, __in_chrg=<optimized out>)
at engines/neverhood/gamemodule.cpp:90
#9 0x00005555578f57d2 in Neverhood::NeverhoodEngine::run() (this=
0x55555cda32d0) at engines/neverhood/neverhood.cpp:135
#10 0x0000555555d64817 in runGame(Plugin const*, Plugin const*, OSystem&,
Common::String const&)
(plugin=0x55555bbe31f0, enginePlugin=0x55555ba56960, system=...,
debugLevels=...) at base/main.cpp:311
#11 0x0000555555d66100 in scummvm_main(int, char const* const*)
(argc=1, argv=0x7fffffffe678) at base/main.cpp:621
#12 0x0000555555d61d27 in main(int, char**) (argc=1, argv=0x7fffffffe678)
at backends/platform/sdl/posix/posix-main.cpp:45
}}}
I'm guessing this is because in the demos, pressing Esc calls
_vm->quitGame(). See GameModule::handleEscapeKey()
I'm guessing that the engine needs to be properly shut down.
--
Ticket URL: <https://bugs.scummvm.org/ticket/12930>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list