#41 tween Joint-Stereo and Single-Channel mp3s

Joe Drew

When using either the Remote Control interface OR just giving a list of mp3 files, mpg321 crashes when it starts to play a Single-Channel mp3 after it has played a Joint-Stereo mp3 OR if it starts to play a Joint-Stereo mp3 after it has played a Single-Channel mp3 (I'm guessing it is the mode -- it chould be other changes in format.

My Joint-Stereo mp3s seem to be like this:

@S 1.0 3 44100 Joint-Stereo 2 320 2 0 0 0 128 2

and the 'joker' (only single-channel MP3) is like this:

@S 1.0 3 22050 Single-Channel 0 100 1 0 0 0 40 0

When ever I include this mp3 in a play list, mpg321 crashes either after it (if it is first) or at it (if it is not first). Always the same place:

#0 0x0804d818 in playdevice_is_live ()
(gdb) where
#0 0x0804d818 in playdevice_is_live ()
#1 0x0804bbbf in output ()
#2 0x40039854 in run_sync () from /usr/lib/libmad.so.0
#3 0x401983dd in pthread_mutex_unlock () from /lib/libpthread.so.0
Previous frame inner to this frame (corrupt stack?)
(gdb) q


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks