Opened 18 years ago

Closed 17 years ago

#2975 closed defect (fixed)

COMI: Music/Speech cause crash

Reported by: (none) Owned by: aquadran
Priority: high Component: Engine: SCUMM
Version: Keywords:
Cc: Game: Monkey Island 3

Description

ScummVM 0.10.0svn (Dec 28 2006 01:34:16) Features compiled in: Vorbis FLAC MP3 zLib MPEG2

After some playing time (15-30mins) i suddenly get

WARNING: IMuseDigital::cloneToFadeOutTrack: Not free fade track!

which keeps coming over and over with some 5 seconds between each printed message. Together with that music gets flakey and speech is cut off after some seconds.

I can save and returning to this position after a reboot doesn´t trigger the error instantly.

I cannot quit becasue that locks up ScummVM and the system, reboot required.

Not sure if this was there before, until now i never played COMI before.

Is there something i can do to get a better output? Due to the long time i need playing i can´t really do it with -d9 enabled, that would cause the game to go into slowmotion mode :-/

English Talkie from the Bounty Pack

AmigaOS4 gcc version 4.0.2 (AmigaOS build 20051012)

No savegames either, because it always comes up after some playing time

Ticket imported from: #1624464. Ticket imported from: bugs/2975.

Change History (20)

comment:1 by eriktorbjorn, 18 years ago

Owner: set to aquadran

comment:2 by fingolfin, 18 years ago

Priority: normalhigh

comment:3 by fingolfin, 18 years ago

See also bug #1527274.

comment:4 by bluegr, 18 years ago

Are you using compressed music/speech by any chance? If yes, it seems to be a problem with music fade out using sound compression. If you're using compressed music/speech, does that behavior occur with uncompressed audio? Refer to bug #1635361

comment:5 by (none), 18 years ago

>Are you using compressed music/speech by any chance?

Nope, not at all, everything originally from CD...

comment:6 by fingolfin, 18 years ago

This sounds as if for some reasons, something allocates sound channels, but never frees them... Maybe a bug in iMuse Digitial?

comment:7 by sev-, 18 years ago

aquadran, may you look at it?

comment:8 by aquadran, 17 years ago

I'm aware about possible deadlock in the imuse digital code. unfornately i can't reproduce this deadlock what you describe. so i'm not sure if it that one which i know. "WARNING: IMuseDigital::cloneToFadeOutTrack: Not free fade track!" is happen when previous fade out have not yet chance flushed out from queue (it's marked to removed). i don't know yet why this happen. might be that sound have very short data regions or other reason. but this should not do deadlock bacause fade out track is "optional".

comment:9 by SF/nicolas_bonifas, 17 years ago

I have a similar problem: I use Scummvm 0.9.1-1 on Linux i386 (Debian package), with the CD Windows version of COMI. At the end of chapter 2, Scummvm quits. Here is console output: --- $ scummvm -v ScummVM 0.9.1 (Oct 30 2006 16:52:27) Features compiled in: Vorbis FLAC MP3 ALSA zLib MPEG2 FluidSynth $ /usr/games/scummvm Looking for comi Trying to start game 'The Curse of Monkey Island' scummvm: engines/scumm/imuse_digi/dimuse_bndmgr.cpp:189: bool Scumm::BundleMgr::open(const char*, bool&, bool): Assertion `_numFiles' failed. Abandon --- I have a saved game just before the crash, and Scummvm crashes each time I load it, so I can't move to chapter 3, and COMI is uncompletable. Please tell me if I can give you more information. Thanks for your help, Nicolas

comment:10 by fingolfin, 17 years ago

That doesn't sound like a related issue at all. Rather it sounds as if your data files are corrupt. So, try again with 0.10.0 & a fresh copy of COMI from your two CDs. And if the problem persists, file a new bug report.

comment:11 by eriktorbjorn, 17 years ago

The "No free fade track!" warning seems to pop up every now and then. For instance, I often see it when I walk from the Plunder Island overhead map to he beach/fort area (where Elaine's statue is at the beginning of the game), though in this case there's no obvious problem with the music or the game itself.

comment:12 by fingolfin, 17 years ago

Patch #1839861, which now is in the trunk, might fix this issue, too. Note that it is *not* in the 0.11.x branch, at least not yet. I would appreciate if you could test whether the issue still occurs now.

comment:13 by raziel-, 17 years ago

I got an assertion following some ClonetoFadeOutTracks

assertion "track->soundDesc" failed: file "engines/scumm/imuse_digi/dimuse_track.cpp", line 308

It happened on the ship the first time one is boarded by Rottingham and after some speech of him.

Following the Cloneto... lines after the assertion happens (quite a lot)

Using configuration file: scummvm.ini Looking for comi Trying to start game 'The Curse of Monkey Island' WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! WARNING: IMuseDigital::cloneToFadeOutTrack: No free fade track! assertion "track->soundDesc" failed: file "engines/scumm/imuse_digi/dimuse_track.cpp", line 308

So, unfortunately, the crash is still there

comment:14 by aquadran, 17 years ago

Resolution: fixed
Status: newclosed

comment:15 by aquadran, 17 years ago

this should be fixed now, I'm closing now please reopen if you still occurs bug.

comment:16 by raziel-, 17 years ago

Not yet fixed, but were going there :-)

It locks up at the exact same spot i mentioned in my earlier report, but now i get a console output with it.

After Rottingham says "You know a curse" (or something like that i now get an assertion:

assertion "checkForProperHandle(soundDesc)" failed: file "engines/scumm/imuse_digi/dimuse_sndmgr.cpp", line 526

comment:17 by fingolfin, 17 years ago

Status: closednew

comment:18 by fingolfin, 17 years ago

Resolution: fixed

comment:19 by aquadran, 17 years ago

unfornatelly I can't get that moment you describe, I played whole fight with Rottingham with out problems. Can you upload save before that moment ?

comment:20 by aquadran, 17 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.