Christer Palm
2004-Sep-10 16:45 UTC
[Flac-dev] Re: #130041: xmms-flac: breaks periodically
Asheesh Laroia wrote:> Anyone here have any ideas? Is there a trace I can add to the flac > plugin, or some diagnostic method? Is there some debugging routine I can > use to see what's going on? >I concluded some months ago that this is exactly what happens if you try to play a zero-length file with a .flac extension. After that, all .flac files are skipped. This may not be exactly what is causing the problems here, but unless this has been fixed recently, it's a very simple way to reproduce the problem. -- Christer Palm
Asheesh Laroia
2004-Sep-10 16:45 UTC
[Flac-dev] Re: #130041: xmms-flac: breaks periodically
Well, this proves it. I've been running XMMS for hours after deleting the playlist entries without times associated with them. I guess I'm not going to re-flac my files (<sigh type="relief" />). This is still a bug in the Flac decoder plugin. Under Windows, the error is something about stream decoder and "%d". This should be a pretty simple thing to fix - just run a basic check of the file to see if it looks anything like a flac file, and then hand it off to the decoder. It's interesting that the playlist's time calculation didn't crash the plugin. It just skipped over the invalid (empty, 0-size, plus ID3 tags) files in the calculation, leaving the field blank. Playing them crashes the flac plugin. -- Asheesh. On Sat, 27 Apr 2002, Christer Palm wrote:> Asheesh Laroia wrote: > > Anyone here have any ideas? Is there a trace I can add to the flac > > plugin, or some diagnostic method? Is there some debugging routine I can > > use to see what's going on? > > > > I concluded some months ago that this is exactly what happens if you try > to play a zero-length file with a .flac extension. After that, all .flac > files are skipped. This may not be exactly what is causing the problems > here, but unless this has been fixed recently, it's a very simple way to > reproduce the problem. > >-- Observe yon plumed biped fine. To activate its captivation, Deposit on its termination, A quantity of particles saline.
Matt Zimmerman
2004-Sep-10 16:45 UTC
[Flac-dev] Re: #130041: xmms-flac: breaks periodically
retitle 130041 Plugin crashes when loading invalid FLAC files thanks On Tue, Apr 30, 2002 at 05:06:29PM -0400, Asheesh Laroia wrote:> This is still a bug in the Flac decoder plugin. Under Windows, the error > is something about stream decoder and "%d". This should be a pretty > simple thing to fix - just run a basic check of the file to see if it > looks anything like a flac file, and then hand it off to the decoder.Or even better, fix the decoder not to blow up when passed invalid data.> It's interesting that the playlist's time calculation didn't crash the > plugin. It just skipped over the invalid (empty, 0-size, plus ID3 tags) > files in the calculation, leaving the field blank. Playing them crashes > the flac plugin.Great, I'm glad that the mystery is cleared up. -- - mdz