[Scummvm-tracker] [ScummVM :: Bugs] #14257: GLK: SCOTT: fatal() and GlkExit() do return

ScummVM :: Bugs trac at scummvm.org
Tue Feb 21 03:53:54 UTC 2023


#14257: GLK: SCOTT: fatal() and GlkExit() do return
-----------------------+--------------------------------
Reporter:  angstsmurf  |      Owner:  (none)
    Type:  defect      |     Status:  new
Priority:  normal      |  Component:  Engine: GLK: Scott
 Version:              |   Keywords:
    Game:              |
-----------------------+--------------------------------
 The `Scott::fatal()` method is supposed to print an error message and then
 exit, but seems to return after calling `GlkExit()`, which is also not
 supposed to return.

 This causes an assert: "Assertion failed: (idx < _size), function
 operator[], file array.h, line 234" after showing the "Unsupported game!
 [press any key to exit]" message when trying to run an unsupported game.

 The expected behaviour would be to either return to the launcher or exit
 ScummVM cleanly.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14257>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list