media-sound/mpd-0.15.8: crashes when a playing stream from streamripper is stopped Reproducible: Always Steps to Reproduce: 1. start streamripper with -r 8123 2. add stream to mpd: http://127.0.0.1:8123 3. play the stream 4. stop it by pressing stop OR pausing OP starting another song Actual Results: mpd crashes Expected Results: mpd continues running mpd.log with verbose on: … Sep 20 17:14 : playlist: play 36:"http://127.0.0.1:8123" Sep 20 17:14 : input_curl: icy-metaint=32768 Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : playlist: queue song 0:"http://127.0.0.1:8000" Sep 20 17:14 : client: [0] process command "stats" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "status" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "currentsong" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : decoder: audio_format=44100:24:2, seekable=false Sep 20 17:14 : client: [0] process command "stats" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "status" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "playlistinfo "-1"" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "currentsong" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "stats" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "status" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : alsa: Underrun on ALSA device "default" Sep 20 17:14 : client: [0] process command "stats" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "status" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "stats" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "status" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : alsa: Underrun on ALSA device "default" Sep 20 17:14 : client: [0] process command "stats" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "status" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : alsa: Underrun on ALSA device "default" Sep 20 17:14 : client: [0] process command "stats" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "status" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "stats" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : client: [0] process command "status" Sep 20 17:14 : client: [0] command returned 0 Sep 20 17:14 : alsa: Underrun on ALSA device "default" Sep 20 17:14 : client: [0] process command "stop" Sep 20 17:14 : playlist: stop *** glibc detected *** /usr/bin/mpd: free(): invalid pointer: 0x08f40c20 *** ======= Backtrace: ========= /lib/libc.so.6[0xb671f3ea] /lib/libc.so.6[0xb6720bac] /lib/libc.so.6(cfree+0x62)[0xb6723c82] /usr/lib/libglib-2.0.so.0(g_free+0x32)[0xb6968882] ======= Memory map: ======== 08048000-08086000 r-xp 00000000 08:03 91709 /usr/bin/mpd 08086000-08087000 r--p 0003d000 08:03 91709 /usr/bin/mpd 08087000-08088000 rw-p 0003e000 08:03 91709 /usr/bin/mpd 08088000-0808e000 rw-p 00000000 00:00 0 08df5000-08fcb000 rw-p 00000000 00:00 0 [heap] b3d00000-b3d21000 rw-p 00000000 00:00 0 b3d21000-b3e00000 ---p 00000000 00:00 0 b3ef5000-b3f1a000 rw-p 00000000 00:00 0 b3f1a000-b3f1b000 ---p 00000000 00:00 0 b3f1b000-b471a000 rw-p 00000000 00:00 0 b471a000-b4730000 rw-s 00000000 00:04 21987329 /SYSV00000401 (deleted) b4730000-b473b000 rw-s 00000000 00:10 1022 /dev/snd/pcmC0D0p b473b000-b473c000 ---p 00000000 00:00 0 b473c000-b5342000 rw-p 00000000 00:00 0 b5342000-b5343000 ---p 00000000 00:00 0 b5343000-b5b42000 rw-p 00000000 00:00 0 b5b42000-b5b43000 ---p 00000000 00:00 0 b5b43000-b63b4000 rw-p 00000000 00:00 0 b63b4000-b63bb000 r--s 00000000 08:03 164156 /usr/lib/gconv/gconv-modules.cache b63bb000-b63c5000 r-xp 00000000 08:03 448828 /lib/libnss_files-2.10.1.so b63c5000-b63c6000 r--p 00009000 08:03 448828 /lib/libnss_files-2.10.1.so b63c6000-b63c7000 rw-p 0000a000 08:03 448828 /lib/libnss_files-2.10.1.so b63c7000-b63cf000 r-xp 00000000 08:03 448810 /lib/libnss_nis-2.10.1.so b63cf000-b63d0000 r--p 00008000 08:03 448810 /lib/libnss_nis-2.10.1.so b63d0000-b63d1000 rw-p 00009000 08:03 448810 /lib/libnss_nis-2.10.1.so b63d1000-b63d7000 r-xp 00000000 08:03 449040 /lib/libnss_compat-2.10.1.so b63d7000-b63d8000 r--p 00005000 08:03 449040 /lib/libnss_compat-2.10.1.so b63d8000-b63d9000 rw-p 00006000 08:03 449040 /lib/libnss_compat-2.10.1.so b63d9000-b651e000 r--p 00000000 08:03 157118 /usr/lib/locale/locale-archive b651e000-b6521000 rw-p 00000000 00:00 0 b6521000-b6523000 r-xp 00000000 08:03 449015 /lib/libdl-2.10.1.so b6523000-b6524000 r--p 00001000 08:03 449015 /lib/libdl-2.10.1.so b6524000-b6525000 rw-p 00002000 08:03 449015 /lib/libdl-2.10.1.so b6525000-b6650000 r-xp 00000000 08:03 141814 /usr/lib/libcrypto.so.0.9.8 b6650000-b6651000 ---p 0012b000 08:03 141814 /usr/lib/libcrypto.so.0.9.8 b6651000-b6659000 r--p 0012b000 08:03 141814 /usr/lib/libcrypto.so.0.9.8 b6659000-b6668000 rw-p 00133000 08:03 141814 /usr/lib/libcrypto.so.0.9.8 b6668000-b666b000 rw-p 00000000 00:00 0 b666b000-b66b1000 r-xp 00000000 08:03 141743 /usr/lib/libssl.so.0.9.8 b66b1000-b66b2000 r--p 00045000 08:03 141743 /usr/lib/libssl.so.0.9.8 b66b2000-b66b5000 rw-p 00046000 08:03 141743 /usr/lib/libssl.so.0.9.8 b66b5000-b67f4000 r-xp 00000000 08:03 448805 /lib/libc-2.10.1.so b67f4000-b67f5000 ---p 0013f000 08:03 448805 /lib/libc-2.10.1.so b67f5000-b67f7000 r--p 0013f000 08:03 448805 /lib/libc-2.10.1.so b67f7000-b67f8000 rw-p 00141000 08:03 448805 /lib/libc-2.10.1.so b67f8000-b67fb000 rw-p 00000000 00:00 0 b67fb000-b680f000 r-xp 00000000 08:03 448819 /lib/libpthread-2.10.1.so b680f000-b6810000 r--p 00013000 08:03 448819 /lib/libpthread-2.10.1.so b6810000-b6811000 rw-p 00014000 08:03 448819 /lib/libpthread-2.10.1.so b6811000-b6814000 rw-p 00000000 00:00 0 b6814000-b6831000 r-xp 00000000 08:03 163208 /usr/lib/gcc/i486-pc-linux-gnu/4.4.3/libgcc_s.so.1 b6831000-b6832000 r--p 0001c000 08:03 163208 /usr/lib/gcc/i486-pc-linux-gnu/4.4.3/libgcc_s.so.1 b6832000-b6833000 rw-p 0001d000 08:03 163208 /usr/lib/gcc/i486-pc-linux-gnu/4.4.3/libgcc_s.so.1 b6833000-b691a000 r-xp 00000000 08:03 163928 /usr/lib/gcc/i486-pc-linux-gnu/4.4.3/libstdc++.so.6.0.13 b691a000-b691e000 r--p 000e6000 08:03 163928 /usr/lib/gcc/i486-pc-linux-gnu/4.4.3/libstdc++.so.6.0.13 b691e000-b691f000 rw-p 000ea000 08:03 163928 /usr/lib/gcc/i486-pc-linux-gnu/4.4.3/libstdc++.so.6.0.13 b691f000-b6926000 rw-p 00000000 00:00 0 b6926000-b69f9000 r-xp 00000000 08:03 160328 /usr/lib/libglib-2.0.so.0.2200.5 b69f9000-b69fa000 r--p 000d2000 08:03 160328 /usr/lib/libglib-2.0.so.0.2200.5 b69fa000-b69fb000 rw-p 000d3000 08:03 160328 /usr/lib/libglib-2.0.so.0.2200.5 b69fb000-b6a02000 r-xp 00000000 08:03 448955 /lib/librt-2.10.1.so b6a02000-b6a03000 r--p 00006000 08:03 448955 /lib/librt-2.10.1.so b6a03000-b6a04000 rw-p 00007000 08:03 448955 /lib/librt-2.10.1.so b6a04000-b6a07000 r-xp 00000000 08:03 160359 /usr/lib/libgthread-2.0.so.0.2200.5 b6a07000-b6a08000 r--p 00002000 08:03 160359 /usr/lib/libgthread-2.0.so.0.2200.5 b6a08000-b6a09000 rw-p 00003000 08:03 160359 /usr/lib/libgthread-2.0.so.0.2200.5 b6a09000-b6a17000 r-xp 00000000 08:03 85608 /usr/lib/libshout.so.3.1.0 b6a17000-b6a18000 r--p 0000d000 08:03 85608 /usr/lib/libshout.so.3.1.0 b6a18000-b6a19000 rw-p 0000e000 08:03 85608 /usr/lib/libshout.so.3.1.0 b6a19000-b6a1a000 rw-p 00000000 00:00 0 b6a1a000-b6ac7000 r-xp 00000000 08:03 91942 /usr/lib/libasound.so.2.0.0 b6ac7000-b6ac8000 ---p 000ad000 08:03 91942 /usr/lib/libasound.so.2.0.0 b6ac8000-b6acb000 r--p 000ad000 08:03 91942 /usr/lib/libasound.so.2.0.0 b6acb000-b6acc000 rw-p 000b0000 08:03 91942 /usr/lib/libasound.so.2.0.0 b6acc000-b6bb7000 r-xp 00000000 08:03 87437 /usr/lib/libvorbisenc.so.2.0.6 b6bb7000-b6bb8000 ---p 000eb000 08:03 87437 /usr/lib/libvorbisenc.so.2.0.6 b6bb8000-b6bc6000 r--p 000eb000 08:03 87437 /usr/lib/libvorbisenc.so.2.0.6 b6bc6000-b6bc7000 rw-p 000f9000 08:03 87437 /usr/lib/libvorbisenc.so.2.0.6 b6bc7000-b6c09000 r-xp 00000000 08:03 87403 /usr/lib/libmp3lame.so.0.0.0 b6c09000-b6c0a000 r--p 00041000 08:03 87403 /usr/lib/libmp3lame.so.0.0.0 b6c0a000-b6c0b000 rw-p 00042000 08:03 87403 /usr/lib/libmp3lame.so.0.0.0 b6c0b000-b6c3c000 rw-p 00000000 00:00 0 b6c3c000-b6c4b000 r-xp 00000000 08:03 98662 /usr/lib/libavutil.so.50.3.0 b6c4b000-b6c4c000 r--p 0000e000 08:03 98662 /usr/lib/libavutil.so.50.3.0 b6c4c000-b6c4d000 rw-p 0000f000 08:03 98662 /usr/lib/libavutil.so.50.3.0 b6c4d000-b6c4f000 rw-p 00000000 00:00 0 b6c4f000-b723b000 r-xp 00000000 08:03 98603 /usr/lib/libavcodec.so.52.37.1 b723b000-b723c000 r--p 005eb000 08:03 98603 /usr/lib/libavcodec.so.52.37.1 b723c000-b7245000 rw-p 005ec000 08:03 98603 /usr/lib/libavcodec.so.52.37.1 b7245000-b760c000 rw-p 00000000 00:00 0 b760c000-b76ac000 r-xp 00000000 08:03 98772 /usr/lib/libavformat.so.52.39.2 b76ac000-b76ad000 r--p 0009f000 08:03 98772 /usr/lib/libavformat.so.52.39.2 b76ad000-b76b3000 rw-p 000a0000 08:03 98772 /usr/lib/libavformat.so.52.39.2 b76b3000-b76c8000 r-xp 00000000 08:03 82837 /usr/lib/libmad.so.0.2.1 b76c8000-b76c9000 r--p 00014000 08:03 82837 /usr/lib/libmad.so.0.2.1 b76c9000-b76ca000 rw-p 00015000 08:03 82837 /usr/lib/libmad.so.0.2.1 b76ca000-b76cf000 r-xp 00000000 08:03 76312 /usr/lib/libogg.so.0.6.0 b76cf000-b76d0000 r--p 00004000 08:03 76312 /usr/lib/libogg.so.0.6.0 b76d0000-b76d1000 rw-p 00005000 08:03 76312 /usr/lib/libogg.so.0.6.0 b76d1000-b76f7000 r-xp 00000000 08:03 448824 /lib/libm-2.10.1.so b76f7000-b76f8000 r--p 00025000 08:03 448824 /lib/libm-2.10.1.so b76f8000-b76f9000 rw-p 00026000 08:03 448824 /lib/libm-2.10.1.so b76f9000-b7722000 r-xp 00000000 08:03 87390 /usr/lib/libvorbis.so.0.4.3 b7722000-b7723000 r--p 00028000 08:03 87390 /usr/lib/libvorbis.so.0.4.3 b7723000-b7724000 rw-p 00029000 08:03 87390 /usr/lib/libvorbis.so.0.4.3 b7724000-b772b000 r-xp 00000000 08:03 87395 /usr/lib/libvorbisfile.so.3.3.2 b772b000-b772c000 r--p 00006000 08:03 87395 /usr/lib/libvorbisfile.so.3.3.2 b772c000-b772d000 rw-p 00007000 08:03 87395 /usr/lib/libvorbisfile.so.3.3.2 b772d000-b772e000 rw-p 00000000 00:00 0 b772e000-b7740000 r-xp 00000000 08:03 448829 /lib/libz.so.1.2.3 b7740000-b7741000 r--p 00011000 08:03 448829 /lib/libz.so.1.2.3 b7741000-b7742000 rw-p 00012000 08:03 448829 /lib/libz.so.1.2.3 b7742000-b7751000 r-xp 00000000 08:03 83420 /usr/lib/libid3tag.so.0.3.0 b7751000-b7752000 r--p 0000f000 08:03 83420 /usr/lib/libid3tag.so.0.3.0 b7752000-b7753000 rw-p 00010000 08:03 83420 /usr/lib/libid3tag.so.0.3.0 b7753000-b779a000 r-xp 00000000 08:03 95913 /usr/lib/libcurl.so.4.2.0 b779a000-b779b000 r--p 00046000 08:03 95913 /usr/lib/libcurl.so.4.2.0 b779b000-b779c000 rw-p 00047000 08:03 95913 /usr/lib/libcurl.so.4.2.0 b779c000-b77d9000 r-xp 00000000 08:03 86238 /usr/lib/libfaad.so.2.0.0 b77d9000-b77da000 r--p 0003c000 08:03 86238 /usr/lib/libfaad.so.2.0.0 b77da000-b77dd000 rw-p 0003d000 08:03 86238 /usr/lib/libfaad.so.2.0.0 b77dd000-b77ed000 r-xp 00000000 08:03 449034 /lib/libbz2.so.1.0.5 b77ed000-b77ee000 r--p 0000f000 08:03 449034 /lib/libbz2.so.1.0.5 b77ee000-b77ef000 rw-p 00010000 08:03 449034 /lib/libbz2.so.1.0.5 b77ef000-b7801000 r-xp 00000000 08:03 448809 /lib/libnsl-2.10.1.so b7801000-b7802000 r--p 00011000 08:03 448809 /lib/libnsl-2.10.1.so b7802000-b7803000 rw-p 00012000 08:03 448809 /lib/libnsl-2.10.1.so b7803000-b7806000 rw-p 00000000 00:00 0 b7808000-b7809000 rw-s 81000000 00:10 1022 /dev/snd/pcmC0D0p b7809000-b780a000 r--s 80000000 00:10 1022 /dev/snd/pcmC0D0p b780a000-b780b000 rw-s 00000000 00:04 21954560 /SYSV00000400 (deleted) b780c000-b780d000 r-xp 00000000 00:00 0 [vdso] b780d000-b7828000 r-xp 00000000 08:03 448830 /lib/ld-2.10.1.so b7828000-b7829000 r--p 0001a000 08:03 448830 /lib/ld-2.10.1.so b7829000-b782a000 rw-p 0001b000 08:03 448830 /lib/ld-2.10.1.so bfb6f000-bfb86000 rw-p 00000000 00:00 0 [stack]
Could you try to reproduce that bug with =mpd-0.15.12-r2 (you'd probably have to unmask it)?
same with 0.15.12-r2: Sep 21 13:43 : playlist: stop *** glibc detected *** /usr/bin/mpd: free(): invalid pointer: 0x086b1d50 *** ======= Backtrace: ========= /lib/libc.so.6[0xb67dd3ea] /lib/libc.so.6[0xb67debac] /lib/libc.so.6(cfree+0x62)[0xb67e1c82] /usr/lib/libglib-2.0.so.0(g_free+0x32)[0xb6932882] ======= Memory map: ======== 08048000-08086000 r-xp 00000000 08:03 161326 /usr/bin/mpd 08086000-08087000 r--p 0003e000 08:03 161326 /usr/bin/mpd 08087000-08088000 rw-p 0003f000 08:03 161326 /usr/bin/mpd 08088000-0808e000 rw-p 00000000 00:00 0 08566000-086eb000 rw-p 00000000 00:00 0 [heap] b4600000-b4621000 rw-p 00000000 00:00 0 b4621000-b4700000 ---p 00000000 00:00 0 b47a1000-b47b7000 rw-s 00000000 00:04 22577153 /SYSV00000401 (deleted) b47b7000-b47c2000 rw-s 00000000 00:10 1022 /dev/snd/pcmC0D0p b47c2000-b47c3000 rw-s 81000000 00:10 1022 /dev/snd/pcmC0D0p b47c3000-b47c4000 r--s 80000000 00:10 1022 /dev/snd/pcmC0D0p b47c4000-b47c5000 rw-s 00000000 00:04 22544384 /SYSV00000400 (deleted) b47c5000-b47c6000 ---p 00000000 00:00 0 b47c6000-b53cc000 rw-p 00000000 00:00 0 b53cc000-b53cd000 ---p 00000000 00:00 0 b53cd000-b5bcc000 rw-p 00000000 00:00 0 b5bcd000-b5bce000 ---p 00000000 00:00 0 b5bce000-b643f000 rw-p 00000000 00:00 0 b643f000-b6446000 r--s 00000000 08:03 164156 /usr/lib/gconv/gconv-modules.cache b6446000-b6450000 r-xp 00000000 08:03 448828 /lib/libnss_files-2.10.1.so b6450000-b6451000 r--p 00009000 08:03 448828 /lib/libnss_files-2.10.1.so b6451000-b6452000 rw-p 0000a000 08:03 448828 /lib/libnss_files-2.10.1.so b6452000-b645a000 r-xp 00000000 08:03 448810 /lib/libnss_nis-2.10.1.so b645a000-b645b000 r--p 00008000 08:03 448810 /lib/libnss_nis-2.10.1.so b645b000-b645c000 rw-p 00009000 08:03 448810 /lib/libnss_nis-2.10.1.so b645c000-b646e000 r-xp 00000000 08:03 448809 /lib/libnsl-2.10.1.so b646e000-b646f000 r--p 00011000 08:03 448809 /lib/libnsl-2.10.1.so b646f000-b6470000 rw-p 00012000 08:03 448809 /lib/libnsl-2.10.1.so b6470000-b6472000 rw-p 00000000 00:00 0 b6472000-b6478000 r-xp 00000000 08:03 449040 /lib/libnss_compat-2.10.1.so b6478000-b6479000 r--p 00005000 08:03 449040 /lib/libnss_compat-2.10.1.so b6479000-b647a000 rw-p 00006000 08:03 449040 /lib/libnss_compat-2.10.1.so b647a000-b65bf000 r--p 00000000 08:03 157118 /usr/lib/locale/locale-archive b65bf000-b65c1000 rw-p 00000000 00:00 0 b65c1000-b65d3000 r-xp 00000000 08:03 448829 /lib/libz.so.1.2.3 b65d3000-b65d4000 r--p 00011000 08:03 448829 /lib/libz.so.1.2.3 b65d4000-b65d5000 rw-p 00012000 08:03 448829 /lib/libz.so.1.2.3 b65d5000-b65d7000 r-xp 00000000 08:03 449015 /lib/libdl-2.10.1.so b65d7000-b65d8000 r--p 00001000 08:03 449015 /lib/libdl-2.10.1.so b65d8000-b65d9000 rw-p 00002000 08:03 449015 /lib/libdl-2.10.1.so b65d9000-b6704000 r-xp 00000000 08:03 141814 /usr/lib/libcrypto.so.0.9.8 b6704000-b6705000 ---p 0012b000 08:03 141814 /usr/lib/libcrypto.so.0.9.8 b6705000-b670d000 r--p 0012b000 08:03 141814 /usr/lib/libcrypto.so.0.9.8 b670d000-b671c000 rw-p 00133000 08:03 141814 /usr/lib/libcrypto.so.0.9.8 b671c000-b671f000 rw-p 00000000 00:00 0 b671f000-b6765000 r-xp 00000000 08:03 141743 /usr/lib/libssl.so.0.9.8 b6765000-b6766000 r--p 00045000 08:03 141743 /usr/lib/libssl.so.0.9.8 b6766000-b6769000 rw-p 00046000 08:03 141743 /usr/lib/libssl.so.0.9.8 b6769000-b676a000 rw-p 00000000 00:00 0 b676a000-b6771000 r-xp 00000000 08:03 448955 /lib/librt-2.10.1.so b6771000-b6772000 r--p 00006000 08:03 448955 /lib/librt-2.10.1.so b6772000-b6773000 rw-p 00007000 08:03 448955 /lib/librt-2.10.1.so b6773000-b68b2000 r-xp 00000000 08:03 448805 /lib/libc-2.10.1.so b68b2000-b68b3000 ---p 0013f000 08:03 448805 /lib/libc-2.10.1.so b68b3000-b68b5000 r--p 0013f000 08:03 448805 /lib/libc-2.10.1.so b68b5000-b68b6000 rw-p 00141000 08:03 448805 /lib/libc-2.10.1.so b68b6000-b68b9000 rw-p 00000000 00:00 0 b68b9000-b68cd000 r-xp 00000000 08:03 448819 /lib/libpthread-2.10.1.so b68cd000-b68ce000 r--p 00013000 08:03 448819 /lib/libpthread-2.10.1.so b68ce000-b68cf000 rw-p 00014000 08:03 448819 /lib/libpthread-2.10.1.so b68cf000-b68d1000 rw-p 00000000 00:00 0 b68d1000-b68ee000 r-xp 00000000 08:03 163208 /usr/lib/gcc/i486-pc-linux-gnu/4.4.3/libgcc_s.so.1 b68ee000-b68ef000 r--p 0001c000 08:03 163208 /usr/lib/gcc/i486-pc-linux-gnu/4.4.3/libgcc_s.so.1 b68ef000-b68f0000 rw-p 0001d000 08:03 163208 /usr/lib/gcc/i486-pc-linux-gnu/4.4.3/libgcc_s.so.1 b68f0000-b69c3000 r-xp 00000000 08:03 160328 /usr/lib/libglib-2.0.so.0.2200.5 b69c3000-b69c4000 r--p 000d2000 08:03 160328 /usr/lib/libglib-2.0.so.0.2200.5 b69c4000-b69c5000 rw-p 000d3000 08:03 160328 /usr/lib/libglib-2.0.so.0.2200.5 b69c5000-b69c6000 rw-p 00000000 00:00 0 b69c6000-b69c9000 r-xp 00000000 08:03 160359 /usr/lib/libgthread-2.0.so.0.2200.5 b69c9000-b69ca000 r--p 00002000 08:03 160359 /usr/lib/libgthread-2.0.so.0.2200.5 b69ca000-b69cb000 rw-p 00003000 08:03 160359 /usr/lib/libgthread-2.0.so.0.2200.5 b69cb000-b69d9000 r-xp 00000000 08:03 85608 /usr/lib/libshout.so.3.1.0 b69d9000-b69da000 r--p 0000d000 08:03 85608 /usr/lib/libshout.so.3.1.0 b69da000-b69db000 rw-p 0000e000 08:03 85608 /usr/lib/libshout.so.3.1.0 b69db000-b6a88000 r-xp 00000000 08:03 91942 /usr/lib/libasound.so.2.0.0 b6a88000-b6a89000 ---p 000ad000 08:03 91942 /usr/lib/libasound.so.2.0.0 b6a89000-b6a8c000 r--p 000ad000 08:03 91942 /usr/lib/libasound.so.2.0.0 b6a8c000-b6a8d000 rw-p 000b0000 08:03 91942 /usr/lib/libasound.so.2.0.0 b6a8d000-b6b78000 r-xp 00000000 08:03 87437 /usr/lib/libvorbisenc.so.2.0.6 b6b78000-b6b79000 ---p 000eb000 08:03 87437 /usr/lib/libvorbisenc.so.2.0.6 b6b79000-b6b87000 r--p 000eb000 08:03 87437 /usr/lib/libvorbisenc.so.2.0.6 b6b87000-b6b88000 rw-p 000f9000 08:03 87437 /usr/lib/libvorbisenc.so.2.0.6 b6b88000-b6bca000 r-xp 00000000 08:03 87403 /usr/lib/libmp3lame.so.0.0.0 b6bca000-b6bcb000 r--p 00041000 08:03 87403 /usr/lib/libmp3lame.so.0.0.0 b6bcb000-b6bcc000 rw-p 00042000 08:03 87403 /usr/lib/libmp3lame.so.0.0.0 b6bcc000-b6bfe000 rw-p 00000000 00:00 0 b6bfe000-b6c0d000 r-xp 00000000 08:03 98662 /usr/lib/libavutil.so.50.3.0 b6c0d000-b6c0e000 r--p 0000e000 08:03 98662 /usr/lib/libavutil.so.50.3.0 b6c0e000-b6c0f000 rw-p 0000f000 08:03 98662 /usr/lib/libavutil.so.50.3.0 b6c0f000-b6c11000 rw-p 00000000 00:00 0 b6c11000-b71fd000 r-xp 00000000 08:03 98603 /usr/lib/libavcodec.so.52.37.1 b71fd000-b71fe000 r--p 005eb000 08:03 98603 /usr/lib/libavcodec.so.52.37.1 b71fe000-b7207000 rw-p 005ec000 08:03 98603 /usr/lib/libavcodec.so.52.37.1 b7207000-b75cd000 rw-p 00000000 00:00 0 b75cd000-b766d000 r-xp 00000000 08:03 98772 /usr/lib/libavformat.so.52.39.2 b766d000-b766e000 r--p 0009f000 08:03 98772 /usr/lib/libavformat.so.52.39.2 b766e000-b7674000 rw-p 000a0000 08:03 98772 /usr/lib/libavformat.so.52.39.2 b7674000-b7689000 r-xp 00000000 08:03 82837 /usr/lib/libmad.so.0.2.1 b7689000-b768a000 r--p 00014000 08:03 82837 /usr/lib/libmad.so.0.2.1 b768a000-b768b000 rw-p 00015000 08:03 82837 /usr/lib/libmad.so.0.2.1 b768b000-b7690000 r-xp 00000000 08:03 76312 /usr/lib/libogg.so.0.6.0 b7690000-b7691000 r--p 00004000 08:03 76312 /usr/lib/libogg.so.0.6.0 b7691000-b7692000 rw-p 00005000 08:03 76312 /usr/lib/libogg.so.0.6.0 b7692000-b76b8000 r-xp 00000000 08:03 448824 /lib/libm-2.10.1.so b76b8000-b76b9000 r--p 00025000 08:03 448824 /lib/libm-2.10.1.so b76b9000-b76ba000 rw-p 00026000 08:03 448824 /lib/libm-2.10.1.so b76ba000-b76bb000 rw-p 00000000 00:00 0 b76bb000-b76e4000 r-xp 00000000 08:03 87390 /usr/lib/libvorbis.so.0.4.3 b76e4000-b76e5000 r--p 00028000 08:03 87390 /usr/lib/libvorbis.so.0.4.3 b76e5000-b76e6000 rw-p 00029000 08:03 87390 /usr/lib/libvorbis.so.0.4.3 b76e6000-b76ed000 r-xp 00000000 08:03 87395 /usr/lib/libvorbisfile.so.3.3.2 b76ed000-b76ee000 r--p 00006000 08:03 87395 /usr/lib/libvorbisfile.so.3.3.2 b76ee000-b76ef000 rw-p 00007000 08:03 87395 /usr/lib/libvorbisfile.so.3.3.2 b76ef000-b76fe000 r-xp 00000000 08:03 83420 /usr/lib/libid3tag.so.0.3.0 b76fe000-b76ff000 r--p 0000f000 08:03 83420 /usr/lib/libid3tag.so.0.3.0 b76ff000-b7700000 rw-p 00010000 08:03 83420 /usr/lib/libid3tag.so.0.3.0 b7700000-b7747000 r-xp 00000000 08:03 95913 /usr/lib/libcurl.so.4.2.0 b7747000-b7748000 r--p 00046000 08:03 95913 /usr/lib/libcurl.so.4.2.0 b7748000-b7749000 rw-p 00047000 08:03 95913 /usr/lib/libcurl.so.4.2.0 b7749000-b7786000 r-xp 00000000 08:03 86238 /usr/lib/libfaad.so.2.0.0 b7786000-b7787000 r--p 0003c000 08:03 86238 /usr/lib/libfaad.so.2.0.0 b7787000-b778a000 rw-p 0003d000 08:03 86238 /usr/lib/libfaad.so.2.0.0 b778a000-b779a000 r-xp 00000000 08:03 449034 /lib/libbz2.so.1.0.5 b779a000-b779b000 r--p 0000f000 08:03 449034 /lib/libbz2.so.1.0.5 b779b000-b779c000 rw-p 00010000 08:03 449034 /lib/libbz2.so.1.0.5 b779c000-b779d000 rw-p 00000000 00:00 0 b77a3000-b77a4000 r-xp 00000000 00:00 0 [vdso] b77a4000-b77bf000 r-xp 00000000 08:03 448830 /lib/ld-2.10.1.so b77bf000-b77c0000 r--p 0001a000 08:03 448830 /lib/ld-2.10.1.so b77c0000-b77c1000 rw-p 0001b000 08:03 448830 /lib/ld-2.10.1.so bff94000-bffaa000 rw-p 00000000 00:00 0 [stack]
Installed versions: 0.15.12-r2(13:13:55 21.09.2010)(aac alsa bzip2 curl ffmpeg fifo id3 lame mad network ogg unicode vorbis -ao -audiofile -avahi -cdio -cue -debug -flac -fluidsynth -ipv6 -jack -lastfmradio -libmms -libsamplerate -mikmod -modplug -musepack -oss -pipe -profile -pulseaudio -sid -sqlite -wavpack -wildmidi -zip) # uname -a Linux mitx 2.6.32-gentoo-r7 #9 SMP Sun Jun 20 23:35:32 CEST 2010 i686 VIA Samuel 2 CentaurHauls GNU/Linux
Ok, could you try to get a backtrace like described in [1]? You would have to start the mpd daemon through gdb, that would be something like that: $ gdb mpd [...] (gdb) set args "--no-daemon /etc/mpd.conf" (gdb) run [...] [1] http://www.gentoo.org/proj/en/qa/backtraces.xml
bin # gdb mpd warning: Can not parse XML syscalls information; XML support was disabled at compile time. GNU gdb (Gentoo 7.0.1 p1) 7.0.1 Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/mpd...Reading symbols from /usr/lib/debug/usr/bin/mpd.debug...done. (no debugging symbols found)...done. Program received signal SIGABRT, Aborted. [Switching to Thread 0xb640ab70 (LWP 9662)] 0xb6fdc130 in raise () from /lib/libc.so.6 (gdb) bt #0 0xb6fdc130 in raise () from /lib/libc.so.6 #1 0xb6fdd6fc in abort () from /lib/libc.so.6 #2 0xb70162c9 in ?? () from /lib/libc.so.6 … Backtrace stopped: previous frame inner to this frame (corrupt stack?) compiling the libs will take forever on the box
Ok, I'll try to reproduce that myself.
I've just tried and running a random stream through streamripper+mpd works just fine. Could you pass me the stream you're having problems with?
glibc is compiling, will probably take some hours. the stream is http://213.141.157.200:8002
"running" a stream works here, too. it breaks when it _stops_
(In reply to comment #9) > "running" a stream works here, too. it breaks when it _stops_ I've tested your stream, paused it, played again, stopped, switched, nothing special happens. The problem might be architecture-specific. PS You may not need to recompile glibc. It should be enough to recompile mpd only if the problem is inside, i.e.: $ FEATURES=splitdebug CFLAGS='-O0 -ggdb' emerge -1v mpd
i did that, but i get Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Still a problem with 0.16?
No reply for 2 months. If the problem still exists, file a bug upstream and link it here please.