On Tue, 2008-04-29 at 16:56 +0930, SteveOC wrote:
> >
> > Program received signal SIGFPE, Arithmetic exception.
> > [Switching to Thread 1108277584 (LWP 28210)]
> > 0x00000000004fbfb0 in SoundSourceProxy (this=0x3603240, pTrack=0x4b76fa0) at
> > src/soundsourceproxy.cpp:79
> > 79 pTrack->setDuration(length()/(2*getSrate()));
> > (gdb) bt
> > #0 0x00000000004fbfb0 in SoundSourceProxy (this=0x3603240,
> > pTrack=0x4b76fa0) at src/soundsourceproxy.cpp:79
> > #1 0x00000000004f5555 in WaveSummary::run (this=0xcfba10) at
> > src/wavesummary.cpp:99
> > #2 0x00002b1b170e4a12 in ?? () from /usr/lib/libQtCore.so.4
> > #3 0x00002b1b186a33f7 in start_thread () from /lib/libpthread.so.0
> > #4 0x00002b1b1968495d in clone () from /lib/libc.so.6
> > #5 0x0000000000000000 in ?? ()
> >
> >
> >
> So if getSrate() ever returns 0 - you will always get a divide by zero
> error.
>
> replace soundsourceproxy.cpp line 79 with :
>
> if (getSrate()) { pTrack->setDuration(length()/(2*getSrate())); }
>
>
> Question is - why is getSrate() zero in this case (assuming that is
> what the floating point exception happens to be)
The samplerate in the MP3 header might be corrupt for some reason or
another (assuming this was an MP3). Garth, any idea what track it was?
(and/or format?)
Albert
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mixxx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mixxx-devel