Opened 7 months ago

Closed 6 weeks ago

#15094 closed defect (fixed)

SWORD1: Sound related crash at the hotel

Reported by: theMealena Owned by: AndywinXp
Priority: normal Component: Engine: Sword1
Version: Keywords: crash
Cc: Game: Broken Sword 1

Description (last modified by theMealena)

OS is Win 10 19045.4291
Instant crash, quitting ScummVm with scummvm-2.8.1-win32-x86_64
Fault Warning with version 2.9.0git under retroarch, error can be ignored and game goes on.
Game is French version, files extracted from genuine 2CDs version as recommended in scummVm documentation.
To create that error : speak to the lady at the piano. Use the gruber card in conversation and wait for the scene to go. The game crashes short after the character put the roll in his vest.

Attachments (2)

sword1_crash.png (249.5 KB ) - added by theMealena 7 months ago.
sword1.001 (24.3 KB ) - added by theMealena 7 months ago.
Save game short before crash

Download all attachments as: .zip

Change History (7)

by theMealena, 7 months ago

Attachment: sword1_crash.png added

by theMealena, 7 months ago

Attachment: sword1.001 added

Save game short before crash

comment:1 by theMealena, 7 months ago

Description: modified (diff)

comment:2 by theMealena, 7 months ago

in source file scummvm/audio/decoders/raw.cpp from line 205 :

const bool isStereo      = (flags & Audio::FLAG_STEREO) != 0;
	const int bytesPerSample = (flags & Audio::FLAG_24BITS ? 3 : (flags & Audio::FLAG_16BITS ? 2 : 1));
	const bool isUnsigned    = (flags & Audio::FLAG_UNSIGNED) != 0;
	const bool isLE          = (flags & Audio::FLAG_LITTLE_ENDIAN) != 0;

	assert(stream->size() % (bytesPerSample * (isStereo ? 2 : 1)) == 0);

comment:3 by AndywinXp, 7 months ago

Owner: set to AndywinXp
Resolution: fixed
Status: newclosed
Summary: crash at the hotelSWORD1: Sound related crash at the hotel

Thank you, I fixed it!

comment:4 by Gounitas, 6 weeks ago

Resolution: fixed
Status: closednew

Hello everyone,

same crash experienced on SCUMMVM 2.8.1.1 on Android in the exact same conditions (French version, genuine 2CDs version)

comment:5 by AndywinXp, 6 weeks ago

Resolution: fixed
Status: newclosed

Hi, thank you for your message.

Please do not reopen tickets unless you're seeing the error in the latest daily build. The bug is already fixed on the development version 2.9.0.

Note: See TracTickets for help on using tickets.