[Scummvm-tracker] [ScummVM] #10534: MADE: RTZ - assertion on game start

Adrian Frühwirth trac at scummvm.org
Sun May 20 13:06:45 CEST 2018


#10534: MADE: RTZ - assertion on game start
-----------------------------+--------------------------
  Reporter:  raziel-         |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  normal          |  Component:  Engine: MADE
Resolution:                  |   Keywords:
      Game:  Return to Zork  |
-----------------------------+--------------------------

Comment (by bonki):

 {{{b file.cpp:137 if (!_handle)}}} is {{{gdb}}} syntax for "set a
 breakpoint on file.cpp (common/file.cpp) line 137 but trigger only if
 _handle is null".

 The screenshot is useful but is the backtrace really from right before the
 assert happens or from the first time the breakpoint on {{{file.cpp:137}}}
 triggered? If it's the former I would find this strange because right
 before the call to {{{sourceS.skip(20)}}} (which does a {{{seek()}}} under
 the hood which is why it triggers the breakpoint) there's a
 {{{sourceS.read(...)}}} which has an identical assert on {{{_handle}}}. I
 don't see how {{{_handle}}} can be valid on L609 and L613 but not L615.
 Can you double check and provide a screenshot from right before the assert
 triggers?

--
Ticket URL: <https://bugs.scummvm.org/ticket/10534#comment:5>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list