[ scummvm-Bugs-884712 ] Assertion failure when trying to escape post-Airport Cutaway

SourceForge.net noreply at sourceforge.net
Mon Jan 26 13:13:29 CET 2004


Bugs item #884712, was opened at 2004-01-26 13:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=884712&group_id=37116

Category: Unknown Crash/Other
Group: Flight of the Amazon Queen
Status: Open
Resolution: None
Priority: 5
Submitted By: Joost Peters (joostp)
Assigned to: Joost Peters (joostp)
Summary: Assertion failure when trying to escape post-Airport Cutaway

Initial Comment:
When <ESC>aping past the "LATER.. High above the amazon 
Jungle" Cutaway the game crashes with an assertion failure:

queen/graphics.cpp:402: failed assertion `index < 
MAX_BOBS_NUMBER'

'index' was '79' in this case.

Backtrace:

Program received signal SIGABRT, Aborted.
0x90042aac in kill ()
(gdb) bt
#0  0x90042aac in kill ()
#1  0x9009ec5c in abort ()
#2  0x000af280 in __eprintf () at common/str.h:69
#3  0x0001efc4 in Queen::Graphics::bob(int) (this=0x25, 
index=0) at queen/graphics.cpp:402
#4  0x0002792c in Queen::Cutaway::stop() 
(this=0x1ad1c00) at queen/queen.h:66
#5  0x00027470 in Queen::Cutaway::run(char*) 
(this=0x1ad1c00, nextFilename=0xbfffe6b0 "") at queen/
cutaway.cpp:947
#6  0x00025684 in Queen::Cutaway::run(char const*, char*, 
Queen::QueenEngine*) (filename=0xbfffe6b0 "", 
nextFilename=0xbfffe6b0 "", vm=0x135c3d0) at queen/
cutaway.cpp:57
#7  0x0001311c in Queen::Logic::playCutaway(char const*, 
char*) (this=0x1876000, cutFile=0xbfffe6b0 "", 
next=0xbfffe6b0 "") at queen/logic.cpp:855
#8  0x00019c48 in Queen::Command::
executeIfCutaway(char const*) (this=0x136dd70, 
description=0x4bb0919 "c74a.CUT") at queen/queen.h:66
#9  0x000190cc in Queen::Command::
executeCommand(unsigned short, short) (this=0x136dd70, 
comId=311, condResult=394) at queen/command.cpp:344
#10 0x00018660 in Queen::Command::
executeCurrentAction() (this=0x136dd70) at queen/
command.cpp:188
#11 0x0000d204 in Queen::QueenEngine::go() 
(this=0x135c3d0) at queen/queen.cpp:329


A workaround patch is attached, but the *real* problem may 
lie elsewhere (findBob()/findPerson()?).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=884712&group_id=37116




More information about the Scummvm-tracker mailing list