#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)
Change History (9)
by , 17 years ago
Attachment: | Crashlog_scummvm_2007-12-06_20-48-57.txt added |
---|
comment:2 by , 17 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 , 17 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:6 by , 17 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:7 by , 11 years ago
Component: | --Unset-- → Engine: SCUMM |
---|---|
Game: | → Putt-Putt Goes to the Moon |
Crash log