Opened 14 years ago

Closed 14 years ago

#5130 closed defect (fixed)

QFG3: Crash on Save/Load

Reported by: SF/abevi Owned by: wjp
Priority: normal Component: Engine: SCI
Version: Keywords:
Cc: Game: Quest for Glory 3

Description

QG3 (DOS/English v1.1) via scummvm1.2.0svn51727 (--disable-all-engines --enable-sci) on Ubuntu 10.04 (x86)

Trying to save a game anywhere causes a segmentation fault. The game appears to save, but if you try to load it errors out to the console with:

Unknown SegmentObj type 173113072!

or if you try to restore that game after restarting the engine:

Unknown SegmentObj type -1307564776!

Ticket imported from: #3039285. Ticket imported from: bugs/5130.

Attachments (1)

qfg3.001 (16.0 KB ) - added by SF/abevi 14 years ago.
save file

Download all attachments as: .zip

Change History (5)

by SF/abevi, 14 years ago

Attachment: qfg3.001 added

save file

comment:1 by SF/abevi, 14 years ago

Summary: SCI: QG3 Crash on Save/LoadQFG3: Crash on Save/Load

comment:2 by SF/abevi, 14 years ago

Not sure if this helps, but here's the stack trace from the failed save:

scummvm (qfg3) [C/C++ Application]
gdb/mi (8/4/10 7:47 AM) (Suspended) Thread [1] (Suspended: Signal 'SIGSEGV' received. Description: Segmentation fault.) 327467 crc32() 0x00294ffe
327466 <symbol is not available> 0x0029785b
327465 <symbol is not available> 0x002991bb
327464 deflate() 0x00297b17
327463 Common::GZipWriteStream::processData() /home/maximus/workspaces/cpp/scummvm/common/zlib.cpp:225 0x081f5a07 327462 Common::GZipWriteStream::write() /home/maximus/workspaces/cpp/scummvm/common/zlib.cpp:302 0x081f5f00
327461 Common::WriteStream::writeUint32LE() /home/maximus/workspaces/cpp/scummvm/common/stream.h:116 0x080975a1
327460 Common::WriteStream::writeSint32LE() /home/maximus/workspaces/cpp/scummvm/common/stream.h:134 0x08098412
327459 Common::Serializer::syncAsSint32LE<int>() /home/maximus/workspaces/cpp/scummvm/common/serializer.h:108 0x08098412
327458 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:244 0x080956bf
327457 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327456 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327455 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327454 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327453 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327452 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327451 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327450 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327449 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327448 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327447 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327446 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327445 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327444 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327443 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327442 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327441 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327440 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327439 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327438 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327437 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327436 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327435 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327434 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327433 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327432 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327431 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327430 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327429 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327428 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327427 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327426 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327425 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327424 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327423 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327422 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327421 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327420 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327419 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327418 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327417 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327416 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327415 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327414 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327413 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327412 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327411 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327410 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327409 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327408 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327407 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327406 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327405 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327404 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327403 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327402 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327401 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327400 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327399 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327398 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327397 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327396 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327395 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327394 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327393 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327392 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327391 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327390 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327389 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327388 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327387 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327386 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327385 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327384 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327383 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327382 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327381 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327380 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327379 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327378 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327377 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327376 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327375 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327374 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327373 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327372 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327371 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327370 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
327369 Sci::syncWithSerializer<Sci::Table<Sci::Object>::Entry>() /home/maximus/workspaces/cpp/scummvm/engines/sci/engine/savegame.cpp:246 0x080956d1
Thread [3] (Suspended)
Thread [4] (Suspended)
gdb (8/4/10 7:47 AM)
/home/maximus/workspaces/cpp/scummvm/scummvm (8/4/10 7:47 AM)

comment:3 by wjp, 14 years ago

Owner: set to wjp
Resolution: fixed
Status: newclosed

comment:4 by wjp, 14 years ago

Thanks. This should be fixed in r51731.

Note: See TracTickets for help on using tickets.