VORBIS: Crash when using Ogg Vorbis CD tracks (regression)
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
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?
Ticket imported from: #981991. Ticket imported from: bugs/1669.
Change History (5)
comment:1 by , 17 years ago
|Summary:||VORBIS: Crash when using Ogg Vorbis CD tracks → VORBIS: Crash when using Ogg Vorbis CD tracks (regression)|