Opened 14 years ago

Closed 14 years ago

Last modified 12 months ago

#2311 closed defect (fixed)

ITE: Crash when loading old saved game

Reported by: SF/fancia Owned by: sev-
Priority: normal Component: Engine: SAGA
Keywords: Cc:
Game: Inherit the Earth


I don't know if this is a known problem or a result of a change in the
save format, but on recent nightly builds, ScummVM crashes when
attempting to load any older savegames of mine, while newer ones
work properly. It gives the error message:

scummvm(2651,0xa000ef98) malloc: *** vm_allocate
(size=2684354560) failed (error code=3)
scummvm(2651,0xa000ef98) malloc: *** error: can't allocate region
scummvm(2651,0xa000ef98) malloc: *** set a breakpoint in
szone_error to debug
Fatal signal: Bus Error (SDL Parachute Deployed)

I'm using the latest nightly compiled with GCC 4.0 on Mac OS X
10.4.2. One of the savegames in question is attached.

Ticket imported from: #1338596. Ticket imported from: bugs/2311.

Attachments (1)

ite.s07 (2.3 KB ) - added by SF/fancia 14 years ago.

Download all attachments as: .zip

Change History (4)

by SF/fancia, 14 years ago

Attachment: ite.s07 added

comment:1 by sev-, 14 years ago

Yes, we had to broke that recently. The problem was that we
wrote our saves in native endianness. We fixed that but
since there is no way to tell at which endianness it was
written, we show up a warning.

Though, I just looked at the code and see that there was
another problem which made ScummVM think that those broken
saves were written super-advanced format number 0x30000000
(instead of 3), and it tried to read wrong header.

I fixed that and most probably it'll fix your save. I.e.
there is no way to be sure. But at least it will show up
this warning:

WARNING: This savegame is not endian-safe. There may be

comment:2 by sev-, 14 years ago

Owner: set to sev-
Resolution: fixed
Status: newclosed

comment:3 by digitall, 12 months ago

Component: Engine: SAGA
Game: Inherit the Earth
Note: See TracTickets for help on using tickets.