On Fri, 07 May 2010 23:13:45 +0200, Thomas Orgis wrote: > Hi, this is mpg123 upstream.
Hi! > I asked for some confirmation of the confinedness of the issue to > the ALSA output on > http://sourceforge.net/tracker/?func=detail&aid=2996045&group_id=135704&atid=733194 > ... Ah, sorry, I haven't followed the comments over there, thanks for bringing the questions to the Debian BTS. > Actually, this concerns both issues: The crash and the high CPU > usage. Can you try another output module for mpg123? Like, mpg123 > -o oss, mpg123 -o portaudio, mpg123 -o sdl ... there are some to > choose from. If these don't show any of the issues, we can be more > sure to search for something in the ALSA library. Ok, let's try (with libmpg123-0 1.12.1-1): Summary: - pulse, arts, esd, jack, nas: I have no pulse audio/artsd/esd/jackd/nas daemon installed - dummy: fails - alsa: still fails - oss: hm, somethings blocking my sound device; ah. found it later. no visible effects on the cpu. but the same errors on exit. Details: gre...@belanna:~$ for m in $(mpg123.bin --list-modules| grep output | cut -f1 -d" "); do echo "=== module $m ==="; mpg123.bin -o $m data/sound/cds/tracy_chapman-tracy_chapman/01_talkin\'_bout_a_revolution.mp3; done === module pulse === [pulse.c:84] error: Failed to open pulse audio output: Connection refused [audio.c:625] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: pulse [audio.c:527] error: Failed to open audio output module [mpg123.c:847] error: Failed to initialize output, goodbye. === module dummy === 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 Directory: data/sound/cds/tracy_chapman-tracy_chapman/ Playing MPEG stream 1 of 1: 01_talkin'_bout_a_revolution.mp3 ... Title: Talkin' Bout a Revolution Artist: Tracy Chapman Album: Tracy Chapman MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo [2:39] Decoding of 01_talkin'_bout_a_revolution.mp3 finished. *** glibc detected *** mpg123.bin: double free or corruption (out): 0xb8aad548 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb756d824] /lib/i686/cmov/libc.so.6[0xb756f0b3] /lib/i686/cmov/libc.so.6(cfree+0x6d)[0xb75720dd] /usr/lib/libmpg123.so.0[0xb768368e] mpg123.bin[0xb771f555] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7518b55] mpg123.bin[0xb7714ab1] ======= Memory map: ======== b71e2000-b71ff000 r-xp 00000000 21:03 9863176 /lib/libgcc_s.so.1 b71ff000-b7200000 rw-p 0001c000 21:03 9863176 /lib/libgcc_s.so.1 b7200000-b7221000 rw-p 00000000 00:00 0 b7221000-b7300000 ---p 00000000 00:00 0 b7301000-b7501000 r--p 00000000 21:03 12009498 /usr/lib/locale/locale-archive b7501000-b7502000 rw-p 00000000 00:00 0 b7502000-b7643000 r-xp 00000000 21:03 9865168 /lib/i686/cmov/libc-2.10.2.so b7643000-b7645000 r--p 00141000 21:03 9865168 /lib/i686/cmov/libc-2.10.2.so b7645000-b7646000 rw-p 00143000 21:03 9865168 /lib/i686/cmov/libc-2.10.2.so b7646000-b7649000 rw-p 00000000 00:00 0 b7649000-b766d000 r-xp 00000000 21:03 9863486 /lib/i686/cmov/libm-2.10.2.so b766d000-b766e000 r--p 00023000 21:03 9863486 /lib/i686/cmov/libm-2.10.2.so b766e000-b766f000 rw-p 00024000 21:03 9863486 /lib/i686/cmov/libm-2.10.2.so b766f000-b7671000 r-xp 00000000 21:03 9865600 /lib/i686/cmov/libdl-2.10.2.so b7671000-b7672000 r--p 00001000 21:03 9865600 /lib/i686/cmov/libdl-2.10.2.so b7672000-b7673000 rw-p 00002000 21:03 9865600 /lib/i686/cmov/libdl-2.10.2.so b7673000-b7674000 rw-p 00000000 00:00 0 b7674000-b767b000 r-xp 00000000 21:03 11670092 /usr/lib/libltdl.so.7.2.1 b767b000-b767c000 rw-p 00007000 21:03 11670092 /usr/lib/libltdl.so.7.2.1 b767c000-b76c7000 r-xp 00000000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b76c7000-b76c8000 ---p 0004b000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b76c8000-b76c9000 r--p 0004b000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b76c9000-b76cb000 rw-p 0004c000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b76cb000-b76db000 rw-p 00000000 00:00 0 b76f0000-b76f2000 rw-p 00000000 00:00 0 b76f2000-b76f3000 r-xp 00000000 00:00 0 [vdso] b76f3000-b770f000 r-xp 00000000 21:03 9865155 /lib/ld-2.10.2.so b770f000-b7710000 r--p 0001b000 21:03 9865155 /lib/ld-2.10.2.so b7710000-b7711000 rw-p 0001c000 21:03 9865155 /lib/ld-2.10.2.so b7711000-b7731000 r-xp 00000000 21:03 11665958 /usr/bin/mpg123.bin b7731000-b7732000 r--p 0001f000 21:03 11665958 /usr/bin/mpg123.bin b7732000-b7733000 rw-p 00020000 21:03 11665958 /usr/bin/mpg123.bin b7733000-b7734000 rw-p 00000000 00:00 0 b8aa1000-b8ac2000 rw-p 00000000 00:00 0 [heap] bf90b000-bf920000 rw-p 00000000 00:00 0 [stack] Aborted === module arts === [audio.c:625] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: arts [audio.c:527] error: Failed to open audio output module [mpg123.c:847] error: Failed to initialize output, goodbye. === module alsa === 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 Directory: data/sound/cds/tracy_chapman-tracy_chapman/ Playing MPEG stream 1 of 1: 01_talkin'_bout_a_revolution.mp3 ... Title: Talkin' Bout a Revolution Artist: Tracy Chapman Album: Tracy Chapman MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo [2:39] Decoding of 01_talkin'_bout_a_revolution.mp3 finished. *** glibc detected *** mpg123.bin: free(): invalid pointer: 0xb826e068 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7541824] /lib/i686/cmov/libc.so.6[0xb75430b3] /lib/i686/cmov/libc.so.6(cfree+0x6d)[0xb75460dd] /usr/lib/libasound.so.2[0xb7245907] /usr/lib/libasound.so.2(snd_pcm_close+0x8a)[0xb72466fa] /usr/lib/libasound.so.2[0xb727b01b] /usr/lib/libasound.so.2(snd_pcm_close+0x7e)[0xb72466ee] /usr/lib/libasound.so.2[0xb7262bee] /usr/lib/libasound.so.2(snd_pcm_close+0x7e)[0xb72466ee] /usr/lib/mpg123/output_alsa.so[0xb76c0e13] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb74ecb55] mpg123.bin[0xb76e8ab1] ======= Memory map: ======== b7000000-b7021000 rw-p 00000000 00:00 0 b7021000-b7100000 ---p 00000000 00:00 0 b7149000-b7166000 r-xp 00000000 21:03 9863176 /lib/libgcc_s.so.1 b7166000-b7167000 rw-p 0001c000 21:03 9863176 /lib/libgcc_s.so.1 b717c000-b71a1000 rw-p 00000000 00:00 0 b71a1000-b71b1000 rw-s 00000000 00:04 56033282 /SYSV0056a4d6 (deleted) b71b1000-b71bb000 r-xp 00000000 21:03 9863442 /lib/i686/cmov/libnss_files-2.10.2.so b71bb000-b71bc000 r--p 00009000 21:03 9863442 /lib/i686/cmov/libnss_files-2.10.2.so b71bc000-b71bd000 rw-p 0000a000 21:03 9863442 /lib/i686/cmov/libnss_files-2.10.2.so b71bd000-b71c6000 r-xp 00000000 21:03 9865172 /lib/i686/cmov/libnss_nis-2.10.2.so b71c6000-b71c7000 r--p 00008000 21:03 9865172 /lib/i686/cmov/libnss_nis-2.10.2.so b71c7000-b71c8000 rw-p 00009000 21:03 9865172 /lib/i686/cmov/libnss_nis-2.10.2.so b71c8000-b71db000 r-xp 00000000 21:03 9865171 /lib/i686/cmov/libnsl-2.10.2.so b71db000-b71dc000 r--p 00012000 21:03 9865171 /lib/i686/cmov/libnsl-2.10.2.so b71dc000-b71dd000 rw-p 00013000 21:03 9865171 /lib/i686/cmov/libnsl-2.10.2.so b71dd000-b71df000 rw-p 00000000 00:00 0 b71df000-b71f4000 r-xp 00000000 21:03 9865596 /lib/i686/cmov/libpthread-2.10.2.so b71f4000-b71f5000 r--p 00014000 21:03 9865596 /lib/i686/cmov/libpthread-2.10.2.so b71f5000-b71f6000 rw-p 00015000 21:03 9865596 /lib/i686/cmov/libpthread-2.10.2.so b71f6000-b71f8000 rw-p 00000000 00:00 0 b71f8000-b72bc000 r-xp 00000000 21:03 11667179 /usr/lib/libasound.so.2.0.0 b72bc000-b72c0000 rw-p 000c4000 21:03 11667179 /usr/lib/libasound.so.2.0.0 b72d4000-b72d5000 rw-s 00000000 00:04 56000512 /SYSV0056a4d5 (deleted) b72d5000-b74d5000 r--p 00000000 21:03 12009498 /usr/lib/locale/locale-archive b74d5000-b74d6000 rw-p 00000000 00:00 0 b74d6000-b7617000 r-xp 00000000 21:03 9865168 /lib/i686/cmov/libc-2.10.2.so b7617000-b7619000 r--p 00141000 21:03 9865168 /lib/i686/cmov/libc-2.10.2.so b7619000-b761a000 rw-p 00143000 21:03 9865168 /lib/i686/cmov/libc-2.10.2.so b761a000-b761d000 rw-p 00000000 00:00 0 b761d000-b7641000 r-xp 00000000 21:03 9863486 /lib/i686/cmov/libm-2.10.2.so b7641000-b7642000 r--p 00023000 21:03 9863486 /lib/i686/cmov/libm-2.10.2.so b7642000-b7643000 rw-p 00024000 21:03 9863486 /lib/i686/cmov/libm-2.10.2.so b7643000-b7645000 r-xp 00000000 21:03 9865600 /lib/i686/cmov/libdl-2.10.2.so b7645000-b7646000 r--p 00001000 21:03 9865600 /lib/i686/cmov/libdl-2.10.2.so b7646000-b7647000 rw-p 00002000 21:03 9865600 /lib/i686/cmov/libdl-2.10.2.so b7647000-b7648000 rw-p 00000000 00:00 0 b7648000-b764f000 r-xp 00000000 21:03 11670092 /usr/lib/libltdl.so.7.2.1 b764f000-b7650000 rw-p 00007000 21:03 11670092 /usr/lib/libltdl.so.7.2.1 b7650000-b769b000 r-xp 00000000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b769b000-b769c000 ---p 0004b000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b769c000-b769d000 r--p 0004b000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b769d000-b769f000 rw-p 0004c000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b769f000-b76af000 rw-p 00000000 00:00 0 b76af000-b76b5000 r-xp 00000000 21:03 9863272 /lib/i686/cmov/libnss_compat-2.10.2.so b76b5000-b76b6000 r--p 00006000 21:03 9863272 /lib/i686/cmov/libnss_compat-2.10.2.so b76b6000-b76b7000 rw-p 00007000 21:03 9863272 /lib/i686/cmov/libnss_compat-2.10.2.so b76b7000-b76be000 r-xp 00000000 21:03 9863256 /lib/i686/cmov/librt-2.10.2.so b76be000-b76bf000 r--p 00006000 21:03 9863256 /lib/i686/cmov/librt-2.10.2.so b76bf000-b76c0000 rw-p 00007000 21:03 9863256 /lib/i686/cmov/librt-2.10.2.so b76c0000-b76c2000 r-xp 00000000 21:03 11928475 /usr/lib/mpg123/output_alsa.so b76c2000-b76c3000 r--p 00001000 21:03 11928475 /usr/lib/mpg123/output_alsa.so b76c3000-b76c4000 rw-p 00002000 21:03 11928475 /usr/lib/mpg123/output_alsa.so b76c4000-b76c6000 rw-p 00000000 00:00 0 b76c6000-b76c7000 r-xp 00000000 00:00 0 [vdso] b76c7000-b76e3000 r-xp 00000000 21:03 9865155 /lib/ld-2.10.2.so b76e3000-b76e4000 r--p 0001b000 21:03 9865155 /lib/ld-2.10.2.so b76e4000-b76e5000 rw-p 0001c000 21:03 9865155 /lib/ld-2.10.2.so b76e5000-b7705000 r-xp 00000000 21:03 11665958 /usr/bin/mpg123.bin b7705000-b7706000 r--p 0001f000 21:03 11665958 /usr/bin/mpg123.bin b7706000-b7707000 rw-p 00020000 21:03 11665958 /usr/bin/mpg123.bin b7707000-b7708000 rw-p 00000000 00:00 0 b8240000-b828f000 rw-p 00000000 00:00 0 [heap] bf9ac000-bf9c1000 rw-p 00000000 00:00 0 [stack] Aborted === module esd === 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 Directory: data/sound/cds/tracy_chapman-tracy_chapman/ Playing MPEG stream 1 of 1: 01_talkin'_bout_a_revolution.mp3 ... Title: Talkin' Bout a Revolution Artist: Tracy Chapman Album: Tracy Chapman MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo [audio.c:596] error: Error in writing audio (Bad file descriptor?)! [mpg123.c:629] error: Deep trouble! Cannot flush to my output anymore! Segmentation fault === module jack === Cannot connect to server socket err = No such file or directory Cannot connect to server socket exec of JACK server (command = "/usr/bin/jackd") failed: No such file or directory Cannot connect to server socket err = No such file or directory Cannot connect to server socket Cannot connect to server socket err = No such file or directory Cannot connect to server socket Cannot connect to server socket err = No such file or directory Cannot connect to server socket Cannot connect to server socket err = No such file or directory Cannot connect to server socket Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started [jack.c:250] error: Failed to open jack client: 0x11 [audio.c:625] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: jack [audio.c:527] error: Failed to open audio output module [mpg123.c:847] error: Failed to initialize output, goodbye. === module oss === [oss.c:182] error: Can't open default sound device! [audio.c:625] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: oss [audio.c:527] error: Failed to open audio output module [mpg123.c:847] error: Failed to initialize output, goodbye. === module nas === [nas.c:220] error: could not open default NAS server [audio.c:625] error: failed to open audio device [audio.c:180] error: Unable to find a working output module in this list: nas [audio.c:527] error: Failed to open audio output module [mpg123.c:847] error: Failed to initialize output, goodbye. gre...@belanna:~$ mpg123.bin -o oss data/sound/cds/tracy_chapman-tracy_chapman/01_talkin\'_bout_a_revolution.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 Directory: data/sound/cds/tracy_chapman-tracy_chapman/ Playing MPEG stream 1 of 1: 01_talkin'_bout_a_revolution.mp3 ... Title: Talkin' Bout a Revolution Artist: Tracy Chapman Album: Tracy Chapman MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo [2:39] Decoding of 01_talkin'_bout_a_revolution.mp3 finished. *** glibc detected *** mpg123.bin: double free or corruption (out): 0xb84b3550 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7545824] /lib/i686/cmov/libc.so.6[0xb75470b3] /lib/i686/cmov/libc.so.6(cfree+0x6d)[0xb754a0dd] /usr/lib/libmpg123.so.0[0xb765b68e] mpg123.bin[0xb76f7555] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb74f0b55] mpg123.bin[0xb76ecab1] ======= Memory map: ======== b7100000-b7121000 rw-p 00000000 00:00 0 b7121000-b7200000 ---p 00000000 00:00 0 b72bb000-b72d8000 r-xp 00000000 21:03 9863176 /lib/libgcc_s.so.1 b72d8000-b72d9000 rw-p 0001c000 21:03 9863176 /lib/libgcc_s.so.1 b72d9000-b74d9000 r--p 00000000 21:03 12009498 /usr/lib/locale/locale-archive b74d9000-b74da000 rw-p 00000000 00:00 0 b74da000-b761b000 r-xp 00000000 21:03 9865168 /lib/i686/cmov/libc-2.10.2.so b761b000-b761d000 r--p 00141000 21:03 9865168 /lib/i686/cmov/libc-2.10.2.so b761d000-b761e000 rw-p 00143000 21:03 9865168 /lib/i686/cmov/libc-2.10.2.so b761e000-b7621000 rw-p 00000000 00:00 0 b7621000-b7645000 r-xp 00000000 21:03 9863486 /lib/i686/cmov/libm-2.10.2.so b7645000-b7646000 r--p 00023000 21:03 9863486 /lib/i686/cmov/libm-2.10.2.so b7646000-b7647000 rw-p 00024000 21:03 9863486 /lib/i686/cmov/libm-2.10.2.so b7647000-b7649000 r-xp 00000000 21:03 9865600 /lib/i686/cmov/libdl-2.10.2.so b7649000-b764a000 r--p 00001000 21:03 9865600 /lib/i686/cmov/libdl-2.10.2.so b764a000-b764b000 rw-p 00002000 21:03 9865600 /lib/i686/cmov/libdl-2.10.2.so b764b000-b764c000 rw-p 00000000 00:00 0 b764c000-b7653000 r-xp 00000000 21:03 11670092 /usr/lib/libltdl.so.7.2.1 b7653000-b7654000 rw-p 00007000 21:03 11670092 /usr/lib/libltdl.so.7.2.1 b7654000-b769f000 r-xp 00000000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b769f000-b76a0000 ---p 0004b000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b76a0000-b76a1000 r--p 0004b000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b76a1000-b76a3000 rw-p 0004c000 21:03 16597192 /usr/lib/libmpg123.so.0.25.0 b76a3000-b76b3000 rw-p 00000000 00:00 0 b76c8000-b76ca000 rw-p 00000000 00:00 0 b76ca000-b76cb000 r-xp 00000000 00:00 0 [vdso] b76cb000-b76e7000 r-xp 00000000 21:03 9865155 /lib/ld-2.10.2.so b76e7000-b76e8000 r--p 0001b000 21:03 9865155 /lib/ld-2.10.2.so b76e8000-b76e9000 rw-p 0001c000 21:03 9865155 /lib/ld-2.10.2.so b76e9000-b7709000 r-xp 00000000 21:03 11665958 /usr/bin/mpg123.bin b7709000-b770a000 r--p 0001f000 21:03 11665958 /usr/bin/mpg123.bin b770a000-b770b000 rw-p 00020000 21:03 11665958 /usr/bin/mpg123.bin b770b000-b770c000 rw-p 00000000 00:00 0 b84a7000-b84c8000 rw-p 00000000 00:00 0 [heap] bffe7000-bfffc000 rw-p 00000000 00:00 0 [stack] Aborted > What makes me > wonder, though, is that you "fix" this by downgrading libmpg123?! Ack, that's strange. 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 `- NP: Rolling Stones: Soyoung
signature.asc
Description: Digital signature