[ scummvm-Bugs-981991 ] VORBIS: Crash when using Ogg Vorbis CD tracks
SourceForge.net
noreply at sourceforge.net
Tue Jun 29 17:00:29 CEST 2004
Bugs item #981991, was opened at 2004-06-29 17:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=981991&group_id=37116
Category: Unknown Crash/Other
Group: All Games
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: VORBIS: Crash when using Ogg Vorbis CD tracks
Initial Comment:
Since the recent "refcount" changes in the File class,
ScummVM crashes the second time the CD Audio manager
tries to play a particular Vorbis file.
For instance, this happens with Loom CD (crashes after
you select difficulty level) and MI1 CD (crashes when
reaching the "lookout" part of the intro).
As far as I can tell, the crash happens in
VorbisTrackInfo::play() because the file it's about to
play isn't open. Which probably is because the track
was found in the cache, so it was assumed to be open
already.
Right now, the only simple way of fixing it that I can
think of would be to remove the entire caching
mechanism completely. Does it really serve any useful
purpose?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=981991&group_id=37116
More information about the Scummvm-tracker
mailing list