I sort of know within a couple of songs... another backtrace below...
Debug: Warning: MP3 with corrupt samplerate, defaulting to 44100
Debug: file length 23104512 i
Debug: BPM detection successful for "The Tragically Hip - New Orleans is
Sinking (Killer Whale version).mp3"
Debug: Warning: MP3 with corrupt samplerate, defaulting to 44100
Debug: WaveSummary generation successful for "The Underdog Project -
Tonight.mp3"
Debug: Warning: MP3 with corrupt samplerate, defaulting to 44100
Debug: WaveSummary generation successful for "The Verve - Urban Hymns - 01 -
Bitter Sweet Symphony.mp3"
Debug: Warning: MP3 with corrupt samplerate, defaulting to 44100
Debug: file length 0 i
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1090541904 (LWP 15236)]
0x00000000004a8de3 in SoundSourceMp3::seek (this=0xdbe8d0, filepos=20480) at
src/soundsourcemp3.cpp:221
221 discard(filepos-cur->pos);
(gdb)
(gdb) bt
#0 0x00000000004a8de3 in SoundSourceMp3::seek (this=0xdbe8d0,
filepos=20480) at src/soundsourcemp3.cpp:221
#1 0x00000000004fb3ac in SoundSourceProxy::seek (this=0xdc4490, l=20480) at
src/soundsourceproxy.cpp:89
#2 0x00000000004c0f4a in ReaderExtractWave::getchunk (this=0x9f3fb0,
rate=1) at src/readerextractwave.cpp:341
#3 0x00000000004c32d0 in Reader::run (this=0x9f38b0) at src/reader.cpp:282
#4 0x00002ba510a43a12 in ?? () from /usr/lib/libQtCore.so.4
#5 0x00002ba5120023f7 in start_thread () from /lib/libpthread.so.0
#6 0x00002ba512fe395d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
On Tue, Apr 29, 2008 at 8:30 AM, Albert Santoni <[EMAIL PROTECTED]> wrote:
> 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
>
>
>
--
__
--- == __/ t.O ==--
http://stacktrace.org/
-------------------------------------------------------------------------
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