[Scummvm-tracker] [ScummVM] #10737: AGI: Fan Game DG: The AGIMouse Adventure freeze

digitall trac at scummvm.org
Wed Oct 10 13:03:04 CEST 2018


#10737: AGI: Fan Game DG: The AGIMouse Adventure freeze
--------------------------+-------------------------
  Reporter:  raziel-      |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  normal       |  Component:  Engine: AGI
Resolution:               |   Keywords:
      Game:  AGI Fanmade  |
--------------------------+-------------------------

Comment (by digitall):

 Whether this is an engine crash / lockup, it should not lock up exiting
 via ScummVM GMM. This is because there is a tight loop somewhere in the
 AGI engine without a shouldQuit() check.

 Replicated under GDB and then broke the lockup from the suitcase using
 CTRL-C and got a backtrace:
 {{{
 #0  0x00005555555db5e2 in Agi::GfxMgr::getColor (this=0x5555564f25d0,
 x=124,
     y=63) at engines/agi/graphics.cpp:474
 #1  0x00005555555e8f20 in Agi::PictureMgr::draw_FillCheck (
     this=0x555555a99060, x=124, y=63) at engines/agi/picture.cpp:892
 #2  0x00005555555e8da9 in Agi::PictureMgr::draw_Fill (this=0x555555a99060,
     x=59, y=107) at engines/agi/picture.cpp:861
 #3  0x00005555555e8c28 in Agi::PictureMgr::draw_Fill (this=0x555555a99060)
     at engines/agi/picture.cpp:832
 #4  0x00005555555e8245 in Agi::PictureMgr::drawPictureV2
 (this=0x555555a99060)
     at engines/agi/picture.cpp:552
 #5  0x00005555555e7c7f in Agi::PictureMgr::drawPicture
 (this=0x555555a99060)
     at engines/agi/picture.cpp:350
 #6  0x00005555555e9158 in Agi::PictureMgr::decodePicture
 (this=0x555555a99060,
     resourceNr=97, clearScreen=true, agi256=false, pic_width=160,
     pic_height=168) at engines/agi/picture.cpp:939
 #7  0x0000555555618d18 in Agi::cmdDrawPic (state=0x55555659b5b8,
     vm=0x55555659b510, parameter=0x7ffffffb7d54 "")
     at engines/agi/op_cmd.cpp:1158
 #8  0x000055555561cf53 in Agi::AgiEngine::runLogic (this=0x55555659b510,
     logicNr=97) at engines/agi/op_cmd.cpp:2413
 #9  0x0000555555618ae6 in Agi::cmdCall (state=0x55555659b5b8,
     vm=0x55555659b510, parameter=0x7ffffffb7e55 "a")
     at engines/agi/op_cmd.cpp:1122
 #10 0x0000555555618b97 in Agi::cmdCallF (state=0x55555659b5b8,
     vm=0x55555659b510, parameter=0x7ffffffb7eb4 "")
     at engines/agi/op_cmd.cpp:1133
 #11 0x000055555561cf53 in Agi::AgiEngine::runLogic (this=0x55555659b510,
     logicNr=0) at engines/agi/op_cmd.cpp:2413
 #12 0x000055555561024a in Agi::AgiEngine::interpretCycle
 (this=0x55555659b510)
     at engines/agi/cycle.cpp:149
 }}}

 Will investigate and see if I can patch this lockup...

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


More information about the Scummvm-tracker mailing list