Opened 16 years ago

Closed 16 years ago

Last modified 10 years ago

#3481 closed defect (fixed)

PUTTMOON: Crash on reading a sound file (3DO)

Reported by: raziel- Owned by: cyxx
Priority: normal Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Putt-Putt Goes to the Moon

Description

ScummVM 0.11.0svn (Dec 3 2007 15:35:57) Features compiled in: Vorbis FLAC MP3 zLib MPEG2

After driving PuttPutt on the bridge which will break and lands in the water, just sit there and wait till the next music cue (sound file puttm40.dmu) will be processed. ScummVM crashes right there with the message:

(11:48:0x76): Can't open music file puttm40.dmu

bű-ŕ*!

The md5sum of that specific file is: bea7f17d339768b74ab084fe8cbbd475 PUTTM40.DMU with the size of 836768 bytes.

Crash log attached

Putt Putt goes to the Moon (English/3DO)

AmigaOS4

gcc version 4.0.2 (AmigaOS build 20051012)

Ticket imported from: #1845760. Ticket imported from: bugs/3481.

Attachments (2)

Crashlog_scummvm_2007-12-06_20-48-57.txt (24.3 KB ) - added by raziel- 16 years ago.
Crash log
puttmoon-3do.s01 (20.9 KB ) - added by raziel- 16 years ago.
Right before the bridge

Download all attachments as: .zip

Change History (9)

by raziel-, 16 years ago

Crash log

by raziel-, 16 years ago

Attachment: puttmoon-3do.s01 added

Right before the bridge

comment:1 by raziel-, 16 years ago

File Added: puttmoon-3do.s01

comment:2 by cyxx, 16 years ago

Could you test that the following patch fixes the issue (I don't own the game myself to test this) ? in engines/scumm/sound.cpp

replace

*(strstr(buffer, " ")) = '\0';

by

buffer[12] = 0; for (int i = 11; i >= 0 && buffer[i] == ' '; --i) { buffer[i] = 0; }

comment:3 by raziel-, 16 years ago

With the patch the crash is gone, but i still get a *!1:48:0x76): Can't open music file puttm40.dmu

comment:4 by cyxx, 16 years ago

Could you test with latest SVN ?

comment:5 by raziel-, 16 years ago

Fixed in revision 29752, thanks cyx

comment:6 by cyxx, 16 years ago

Owner: set to cyxx
Resolution: fixed
Status: newclosed

comment:7 by Strangerke, 10 years ago

Component: --Unset--Engine: SCUMM
Game: Putt-Putt Goes to the Moon
Note: See TracTickets for help on using tickets.