Opened 16 years ago

Closed 16 years ago

#730 closed defect (wontfix)

ZAK256: Seg. fault after loading save game

Reported by: SF/yarrt Owned by: fingolfin
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game: Zak McKracken

Description

hi

(I am not sure, but i think i tested it also with the 9 Mar
Build before I installed the newest CVS)

Tested on:
ScummVM 0.3.2cvs
Built on Mar 31 2003 10:16:59

Windows 2000 SP3
2xP3-833 MHz
Dual Processor System (if u are using threads)
512 MB RAM...

I'll attach the savegame which was saved using an
earlier revision (probably CVS) and
logs with debug level 6 and level 7.

The debug console is a cool thing, never noticed it
before. I never modified the game's data - the savegame
should be ok. Is there a way to start an arbitrary script
via debug console ? I would really appreciate that.

I read about some other strange crash situations ...
perhaps this segmentation fault overwrites some vars in
other situations.

Good luck tracking the bug.

Ticket imported from: #713627. Ticket imported from: bugs/730.

Attachments (4)

zak256.s05 (36.9 KB) - added by SF/yarrt 16 years ago.
Savegame Crashs 1-5 sec after loading
zak256.2.s05 (36.9 KB) - added by SF/yarrt 16 years ago.
Savegame Crashs 1-5 sec after loading
level6.txt (14.6 KB) - added by SF/yarrt 16 years ago.
debug level 6 log
level7.txt (169.2 KB) - added by SF/yarrt 16 years ago.
debug level 7 log

Download all attachments as: .zip

Change History (10)

Changed 16 years ago by SF/yarrt

Attachment: zak256.s05 added

Savegame Crashs 1-5 sec after loading

Changed 16 years ago by SF/yarrt

Attachment: zak256.2.s05 added

Savegame Crashs 1-5 sec after loading

Changed 16 years ago by SF/yarrt

Attachment: level6.txt added

debug level 6 log

Changed 16 years ago by SF/yarrt

Attachment: level7.txt added

debug level 7 log

comment:1 Changed 16 years ago by fingolfin

Hum, we don't necessarily gurantee that old save games will work in newer versions of the game. Even though we now mostly will keep the save game format compatible, certain bug fixes we introduced in newer versions can render old save games unusable.

Does this save game work for you in 0.3.0b ?

comment:2 Changed 16 years ago by SF/yarrt

ok ... my fault then, 0.3.0b states invalid save game...

comment:3 Changed 16 years ago by fingolfin

The fact that it doesn't load in 0.3.0b doesn't necessarily mean anything, if you really created the save game with a post-0.3.0b version - the save game version may have changed since then.

comment:4 Changed 16 years ago by SF/yarrt

Yes, the savegame should be post-0.3.0b ...
Is the ScummVM version stored in a savegame ?
Can anyone except me confirm this bug ?
Perhaps I have a corrupt file.
On the other hand even a corrupt file should not cause a
segmentation fault (assuming robust implementation)...

comment:5 Changed 16 years ago by fingolfin

Owner: set to fingolfin
Resolution: wontfix
Status: newclosed

comment:6 Changed 16 years ago by fingolfin

Nothin we can do about this one. A lot of older save games don't work
anymore with the latest ScummVM builds. The segfaults occur deep in the
engine, not in the save/load code. We need to add more assert's all over the
place.

Note: See TracTickets for help on using tickets.