Opened 3 years ago

Closed 3 years ago

#12808 closed defect (fixed)

SCI: Police Quest: SWAT crashes in DEV version

Reported by: heavysink Owned by: bluegr
Priority: blocker Component: Engine: SCI
Version: Keywords:
Cc: Game: Police Quest: SWAT


ScummVM 2.3.0git (Aug 16 2021 14:31:31)
Features compiled in: TAINTED Vorbis FLAC MP3 ALSA SEQ TiMidity RGB zLib MPEG2 FluidSynth Theora AAC A/52 FreeType2 FriBiDi JPEG PNG GIF cloud (servers, local) TinyGL OpenGL (with shaders) GLEW

ScummVM crashes with SIGABRT when starting Police Quest: SWAT (DOS,English) with the following message:

scummvm: ./common/memstream.h:261: virtual bool Common::MemoryWriteStreamDynamic::seek(int64, int): Assertion `_pos <= _size' failed.

Way to reproduce
Just start the game, and it will crash

Version 2.2 does not have such problem.

Change History (3)

comment:1 by sev-, 3 years ago

Priority: normalblocker

This is a release critical bug.

comment:2 by sev-, 3 years ago

Component: --Unset--Engine: SCI
Summary: Police Quest: SWAT crashes in DEV versionSCI: Police Quest: SWAT crashes in DEV version

comment:3 by bluegr, 3 years ago

Owner: set to bluegr
Resolution: fixed
Status: newclosed

This is a regression from the changes to savegame streams.
Fixed in 4241d3fae4642ccf6daa96797460bee74d4ac1b3:

The fix will be available in the next daily version

Note: See TracTickets for help on using tickets.