Opened 21 years ago

Closed 21 years ago

#1520 closed defect (fixed)

BS1: Crash when loading certain savegames

Reported by: eriktorbjorn Owned by: lavosspawn
Priority: normal Component: Engine: Sword1
Version: Keywords:
Cc: Game: Broken Sword 1

Description

March 1 CVS branch snapshot Broken Sword 1, English "Sold-Out Software" version.

(Note that this bug also happens with the original interpreter, but it would be nice if ScummVM could work around it.)

In Ireland, if I save after pouring water on the plaster to make an impression of the back of the statue, ScummVM crashes when loading that savegame. Here's the stack trace:

#0 0x08125888 in Sword1::ResMan::resHandle(unsigned) (this=0x0, id=0) at sword1/resman.cpp:246 #1 0x081255f5 in Sword1::ResMan::resOpen(unsigned) (this=0x837cc58, id=0) at sword1/resman.cpp:191 #2 0x08125432 in Sword1::ResMan::openFetchRes(unsigned) (this=0x837cc58, id=0) at sword1/resman.cpp:140 #3 0x08129d46 in Sword1::Screen::processImage(unsigned) (this=0x83a5bb8, id=1638407) at sword1/screen.cpp:363 #4 0x08129b8e in Sword1::Screen::draw() (this=0x83a5bb8) at sword1/screen.cpp:333 #5 0x0811c1f5 in Sword1::SwordEngine::mainLoop() (this=0x836b5a0) at sword1/sword1.cpp:1146 #6 0x0811c07c in Sword1::SwordEngine::go() (this=0x836b5a0) at sword1/sword1.cpp:1090 #7 0x08054688 in runGame (detector=@0xbffffb00, system=0x8355328) at base/main.cpp:258 #8 0x080549ea in main (argc=2, argv=0xbffffbb4) at base/main.cpp:369

You can reach this scene by using boot param 25, so I'm not including a savegame.

Ticket imported from: #911508. Ticket imported from: bugs/1520.

Change History (3)

comment:1 by eriktorbjorn, 21 years ago

Owner: set to lavosspawn

comment:2 by lavosspawn, 21 years ago

Resolution: fixed
Status: newclosed

comment:3 by lavosspawn, 21 years ago

Ok. Added a workaround.

Note: See TracTickets for help on using tickets.