On Sun, 09 May 2010 21:16:47 +0200, Thomas Orgis wrote: > I managed to reproduce a crash
I'm glad I'm not the only one with this phenomenon :) > Can you repeat what I did: Sure, thanks for the clear and simple instructions! > 1. Download the vanilla sources: http://mpg123.org/current > 2. Build that (no need for devel packages, libc is enough) > cd mpg123-1.12.1 && ./configure --prefix=some_place && make && make > install > 3. Download test file from mpg123 repo: > http://mpg123.org/cgi-bin/viewvc.cgi/test/regression/drum.mp3 > 4. run some_place/mpg123 --cpu generic -o dummy drum.mp3 > 5. run mpg123 --cpu generic -o dummy drum.mp3 > 6. Use LD_LIBRARY_PATH run each binary with each library, > LD_LIBRARY_PATH=some_place/lib mpg123 ... > > For me, every call with the packaged /usr/bin/mpg123 crashes after > decoding the file, every call with the self-built one succeeds. My results: #v+ gre...@belanna:/tmp/mpg123$ LD_LIBRARY_PATH=/usr/lib /usr/bin/mpg123.bin -o dummy drum.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: drum.mp3 ... Title: Test track (some drums) Artist: Thomas Orgis Comment: A file for basic regression testing of mpg123. Album: The mpg123 Repository Year: 2010 Genre: Instrumental MPEG 1.0 layer III, VBR, 48000 Hz joint-stereo [0:29] Decoding of drum.mp3 finished. Segmentation fault gre...@belanna:/tmp/mpg123$ LD_LIBRARY_PATH=/home/gregoa/opt/lib /usr/bin/mpg123.bin -o dummy drum.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: drum.mp3 ... Title: Test track (some drums) Artist: Thomas Orgis Comment: A file for basic regression testing of mpg123. Album: The mpg123 Repository Year: 2010 Genre: Instrumental MPEG 1.0 layer III, VBR, 48000 Hz joint-stereo [0:29] Decoding of drum.mp3 finished. Segmentation fault gre...@belanna:/tmp/mpg123$ LD_LIBRARY_PATH=/usr/lib /home/gregoa/opt/bin/mpg123 -o dummy drum.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: drum.mp3 ... Title: Test track (some drums) Artist: Thomas Orgis Comment: A file for basic regression testing of mpg123. Album: The mpg123 Repository Year: 2010 Genre: Instrumental MPEG 1.0 layer III, VBR, 48000 Hz joint-stereo [0:29] Decoding of drum.mp3 finished. gre...@belanna:/tmp/mpg123$ LD_LIBRARY_PATH=/home/gregoa/opt/lib /home/gregoa/opt/bin/mpg123 -o dummy drum.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: drum.mp3 ... Title: Test track (some drums) Artist: Thomas Orgis Comment: A file for basic regression testing of mpg123. Album: The mpg123 Repository Year: 2010 Genre: Instrumental MPEG 1.0 layer III, VBR, 48000 Hz joint-stereo [0:29] Decoding of drum.mp3 finished. #v- So the same like in your tests. And now with the alsa putput plugin (it seems I have the alsa headers installed): #v+ gre...@belanna:/tmp/mpg123$ LD_LIBRARY_PATH=/usr/lib /usr/bin/mpg123.bin -o alsa drum.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: drum.mp3 ... Title: Test track (some drums) Artist: Thomas Orgis Comment: A file for basic regression testing of mpg123. Album: The mpg123 Repository Year: 2010 Genre: Instrumental MPEG 1.0 layer III, VBR, 48000 Hz joint-stereo Segmentation fault gre...@belanna:/tmp/mpg123$ LD_LIBRARY_PATH=/home/gregoa/opt/lib /usr/bin/mpg123.bin -o alsa drum.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: drum.mp3 ... Title: Test track (some drums) Artist: Thomas Orgis Comment: A file for basic regression testing of mpg123. Album: The mpg123 Repository Year: 2010 Genre: Instrumental MPEG 1.0 layer III, VBR, 48000 Hz joint-stereo Segmentation fault gre...@belanna:/tmp/mpg123$ LD_LIBRARY_PATH=/usr/lib /home/gregoa/opt/bin/mpg123 -o alsa drum.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: drum.mp3 ... Title: Test track (some drums) Artist: Thomas Orgis Comment: A file for basic regression testing of mpg123. Album: The mpg123 Repository Year: 2010 Genre: Instrumental MPEG 1.0 layer III, VBR, 48000 Hz joint-stereo [0:29] Decoding of drum.mp3 finished. gre...@belanna:/tmp/mpg123$ LD_LIBRARY_PATH=/home/gregoa/opt/lib /home/gregoa/opt/bin/mpg123 -o alsa drum.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.12.1; written and copyright by Michael Hipp and others free software (LGPL/GPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: drum.mp3 ... Title: Test track (some drums) Artist: Thomas Orgis Comment: A file for basic regression testing of mpg123. Album: The mpg123 Repository Year: 2010 Genre: Instrumental MPEG 1.0 layer III, VBR, 48000 Hz joint-stereo [0:29] Decoding of drum.mp3 finished. #v- The result is the same with alsa and with dummy. In the case of the segfaults the "Decoding .." line is also missing, and obviously the segfaults happens before any audio outout. And another test: I've rebuilt the debian package (without any changes); but the results are the same ... Cheers, gregor -- .''`. http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4 : :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe `-
signature.asc
Description: Digital signature