tags 508142 patch pending forwarded 508142 domini...@tuxfamily.org thanks --
Hi Erich, ok, i could reproduce the 'port parse error message', but only adding a 'fake' space at the end of the line. i don't see such fake space in your mail, but i assume it was there somehow :-) an easy way to reproduce the crash is playing http://stream2138.init7.net:80 (note the ' ' at the end) or more simply http://stream2138.init7.net:s80 attached is a patch for it that i am about to upload. please reopen this bug if the stream still doesn't play on amd64 (nice jazz radio by the way :) cheers, piem Erich Schubert wrote: > Package: alsaplayer-gtk > Version: 0.99.80-3 > Severity: normal > > With some libraries from experimental installed: > (I don't know if it also happens on a pure unstable system or on i386, since > I am on amd64) > >> alsaplayer http://stream2138.init7.net:80 > [... clicking the play button ...] > : Port -- parse error.tp://stream2138.init7.net:80 > *** glibc detected *** alsaplayer: double free or corruption (out): > 0x00007f86646c6b90 *** > ======= Backtrace: ========= > /lib/libc.so.6[0x7f86643eb948] > /lib/libc.so.6(cfree+0x76)[0x7f86643eda56] > /usr/lib/alsaplayer/reader/libhttp.so[0x7f866304962d] > /usr/lib/alsaplayer/reader/libhttp.so[0x7f866304aa8e] > alsaplayer(reader_open+0x260)[0x4242c0] > /usr/lib/alsaplayer/input/libmad_in.so[0x7f8662a406a8] > alsaplayer(_ZN10CorePlayer4OpenEPKc+0x17d)[0x414c8d] > alsaplayer(_ZN8Playlist4PlayEj+0x96)[0x4183d6] > /usr/lib/alsaplayer/interface/libgtk2_interface.so(_Z7play_cbP10_GtkWidgetPv+0x69)[0x7f86601629f9] > /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16d)[0x7f865e94c0fd] > /usr/lib/libgobject-2.0.so.0[0x7f865e95fced] > /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7b8)[0x7f865e9611b8] > /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f865e9616b3] > /usr/lib/libgtk-x11-2.0.so.0[0x7f865fbc8f6d] > /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16d)[0x7f865e94c0fd] > /usr/lib/libgobject-2.0.so.0[0x7f865e95f608] > /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7b8)[0x7f865e9611b8] > /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f865e9616b3] > /usr/lib/libgtk-x11-2.0.so.0[0x7f865fbc81bd] > /usr/lib/libgtk-x11-2.0.so.0[0x7f865fc6d4d8] > /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x16d)[0x7f865e94c0fd] > /usr/lib/libgobject-2.0.so.0[0x7f865e95f9cc] > /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x63a)[0x7f865e96103a] > /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f865e9616b3] > /usr/lib/libgtk-x11-2.0.so.0[0x7f865fd700ce] > /usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xe3)[0x7f865fc65e43] > /usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2e3)[0x7f865fc66f63] > /usr/lib/libgdk-x11-2.0.so.0[0x7f865f8eae7c] > /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x23b)[0x7f8662594aab] > /usr/lib/libglib-2.0.so.0[0x7f866259826d] > /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1cd)[0x7f866259879d] > /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f865fc67377] > /usr/lib/alsaplayer/interface/libgtk2_interface.so(_Z19interface_gtk_startP8PlaylistiPPc+0x115)[0x7f866015ddd5] > alsaplayer(main+0x1693)[0x40fef3] > /lib/libc.so.6(__libc_start_main+0xe6)[0x7f86643961a6] > alsaplayer(__gxx_personality_v0+0x119)[0x408b49] > ======= Memory map: ======== > 00400000-0042c000 r-xp 00000000 08:01 4598983 > /usr/bin/alsaplayer > 0062b000-0062c000 rw-p 0002b000 08:01 4598983 > /usr/bin/alsaplayer > 0062c000-0080c000 rw-p 0062c000 00:00 0 > 0219f000-02730000 rw-p 0219f000 00:00 0 > [heap] > 40c95000-40c96000 ---p 40c95000 00:00 0 > 40c96000-41496000 rwxp 40c96000 00:00 0 > 41819000-4181a000 ---p 41819000 00:00 0 > 4181a000-4201a000 rwxp 4181a000 00:00 0 > 4201a000-4201b000 ---p 4201a000 00:00 0 > 4201b000-4281b000 rwxp 4201b000 00:00 0 > 4281b000-4281c000 ---p 4281b000 00:00 0 > 4281c000-4301c000 rwxp 4281c000 00:00 0 > 4301c000-4301d000 ---p 4301c000 00:00 0 > 4301d000-4381d000 rwxp 4301d000 00:00 0 > 4381d000-4381f000 rwxp 00000000 00:0d 1025 > /dev/zero > 7f8652b88000-7f8652b8b000 r-xp 00000000 08:01 58087 > /usr/lib/alsaplayer/scopes2/libspacescope.so > 7f8652b8b000-7f8652d8a000 ---p 00003000 08:01 58087 > /usr/lib/alsaplayer/scopes2/libspacescope.so > 7f8652d8a000-7f8652d8b000 rw-p 00002000 08:01 58087 > /usr/lib/alsaplayer/scopes2/libspacescope.so > 7f8652d8b000-7f8652d8e000 r-xp 00000000 08:01 58084 > /usr/lib/alsaplayer/scopes2/liblogbarfft.so > 7f8652d8e000-7f8652f8e000 ---p 00003000 08:01 58084 > /usr/lib/alsaplayer/scopes2/liblogbarfft.so > 7f8652f8e000-7f8652f8f000 rw-p 00003000 08:01 58084 > /usr/lib/alsaplayer/scopes2/liblogbarfft.so > 7f8652f8f000-7f8653b53000 r-xp 00000000 08:01 4602289 > /usr/lib/libGLcore.so.173.14.09 > 7f8653b53000-7f8653c52000 ---p 00bc4000 08:01 4602289 > /usr/lib/libGLcore.so.173.14.09 > 7f8653c52000-7f8653ff9000 rwxp 00bc3000 08:01 4602289 > /usr/lib/libGLcore.so.173.14.09 > 7f8653ff9000-7f8654000000 rwxp 7f8653ff9000 00:00 0 > 7f8654000000-7f8654021000 rw-p 7f8654000000 00:00 0 > 7f8654021000-7f8658000000 ---p 7f8654021000 00:00 0 > 7f86580ac000-7f865810c000 rw-s 00000000 00:08 1843331202 > /SYSV00000000 (deleted) > 7f865810c000-7f865810f000 r-xp 00000000 08:01 58082 > /usr/lib/alsaplayer/scopes2/libblurscope.so > 7f865810f000-7f865830f000 ---p 00003000 08:01 58082 > /usr/lib/alsaplayer/scopes2/libblurscope.so > 7f865830f000-7f8658310000 rw-p 00003000 08:01 58082 > /usr/lib/alsaplayer/scopes2/libblurscope.so > 7f8658310000-7f8658318000 rw-p 7f8658310000 00:00 0 > 7f8658318000-7f865831d000 r-xp 00000000 08:01 58086 > /usr/lib/alsaplayer/scopes2/libsynaescope.so > 7f865831d000-7f865851c000 ---p 00005000 08:01 58086 > /usr/lib/alsaplayer/scopes2/libsynaescope.so > 7f865851c000-7f865851d000 rw-p 00004000 08:01 58086 > /usr/lib/alsaplayer/scopes2/libsynaescope.so > 7f865851d000-7f86585c7000 rw-p 7f865851d000 00:00 0 > 7f86585c7000-7f86585c8000 r-xp 00000000 08:01 296311 > /usr/lib/tls/libnvidia-tls.so.173.14.09 > 7f86585c8000-7f86586c7000 ---p 00001000 08:01 296311 > /usr/lib/tls/libnvidia-tls.so.173.14.09 > 7f86586c7000-7f86586c8000 rw-p 00000000 08:01 296311 > /usr/lib/tls/libnvidia-tls.so.173.14.09 > 7f86586c8000-7f8658762000 r-xp 00000000 08:01 4602288 > /usr/lib/libGL.so.173.14.09 > 7f8658762000-7f8658862000 ---p 0009a000 08:01 4602288 > /usr/lib/libGL.so.173.14.09 > 7f8658862000-7f8658896000 rwxp 0009a000 08:01 4602288 > /usr/lib/libGL.so.173.14.09 > 7f8658896000-7f8658898000 rwxp 7f8658896000 00:00 0 > 7f8658898000-7f865889c000 r-xp 00000000 08:01 58083 > /usr/lib/alsaplayer/scopes2/liboglspectrum.so > 7f865889c000-7f8658a9c000 ---p 00004000 08:01 58083 > /usr/lib/alsaplayer/scopes2/liboglspectrum.so > 7f8658a9c000-7f8658a9d000 rw-p 00004000 08:01 58083 > /usr/lib/alsaplayer/scopes2/liboglspectrum.so > 7f8658a9d000-7f8658aa0000 r-xp 00000000 08:01 58085 > /usr/lib/alsaplayer/scopes2/libmonoscope.so > 7f8658aa0000-7f8658c9f000 ---p 00003000 08:01 58085 > /usr/lib/alsaplayer/scopes2/libmonoscope.so > 7f8658c9f000-7f8658ca0000 rw-p 00002000 08:01 58085 > /usr/lib/alsaplayer/scopes2/libmonoscope.so > 7f8658ca0000-7f8658ca1000 rw-p 7f8658ca0000 00:00 0 > 7f8658ca1000-7f8658ca4000 r-xp 00000000 08:01 58088 > /usr/lib/alsaplayer/scopes2/liblevelmeter.so > 7f8658ca4000-7f8658ea4000 ---p 00003000 08:01 58088 > /usr/lib/alsaplayer/scopes2/liblevelmeter.so > 7f8658ea4000-7f8658ea5000 rw-p 00003000 08:01 58088 > /usr/lib/alsaplayer/scopes2/liblevelmeter.so > 7f8658ea5000-7f8658f05000 rw-s 00000000 00:08 1843298400 > /SYSV00000000 (deleted) > 7f8658f05000-7f8659057000 r-xp 00000000 08:01 4598214 > /usr/lib/libxml2.so.2.6.32 > 7f8659057000-7f8659256000 ---p 00152000 08:01 4598214 > /usr/lib/libxml2.so.2.6.32 > 7f8659256000-7f8659260000 rw-p 00151000 08:01 4598214 > /usr/lib/libxml2.so.2.6.32 > 7f8659260000-7f8659261000 rw-p 7f8659260000 00:00 0 > 7f8659261000-7f8659278000 r-xp 00000000 08:01 4596698 > /usr/lib/libbeagle.so.1.0.2 > 7f8659278000-7f8659477000 ---p 00017000 08:01 4596698 > /usr/lib/libbeagle.so.1.0.2 > 7f8659477000-7f8659479000 rw-p 00016000 08:01 4596698 > /usr/lib/libbeagle.so.1.0.2 > 7f8659479000-7f8659499000 r-xp 00000000 08:01 4599749 > /usr/lib/libdbus-glib-1.so.2.1.0 > 7f8659499000-7f8659698000 ---p 00020000 08:01 4599749 > /usr/lib/libdbus-glib-1.so.2.1.0 > 7f8659698000-7f865969a000 rw-p 0001f000 08:01 4599749 > /usr/lib/libdbus-glib-1.so.2.1.0 > 7f865969a000-7f86596a4000 r-xp 00000000 08:01 2293864 > /usr/lib/libtrackerclient.so.0.0.0 > 7f86596a4000-7f86598a3000 ---p 0000a000 08:01 2293864 > /usr/lib/libtrackerclient.so.0.0.0 > 7f86598a3000-7f86598a4000 rw-p 00009000 08:01 2293864 > /usr/lib/libtrackerclient.so.0.0.0 > 7f86598a400alsaplayer interrupted by signal 6 > > --- System information. --- > Architecture: amd64 > Kernel: Linux 2.6.26-1-amd64 > > Debian Release: 5.0 > 500 unstable www.debian-multimedia.org > 500 unstable ftp.de.debian.org > 1 experimental ftp.de.debian.org > > --- Package information. --- > Depends (Version) | Installed > ================================-+-============= > libatk1.0-0 (>= 1.20.0) | 1.24.0-1 > libc6 (>= 2.7-1) | 2.7-16 > libcairo2 (>= 1.2.4) | 1.8.4-1 > libgcc1 (>= 1:4.1.1) | 1:4.3.2-1 > libgl1-mesa-glx | 7.1-1 > OR libgl1 | > libglib2.0-0 (>= 2.12.0) | 2.18.3-1 > libgtk2.0-0 (>= 2.12.0) | 2.14.5-1 > libpango1.0-0 (>= 1.20.3) | 1.22.3-1 > libstdc++6 (>= 4.1.1) | 4.3.2-1 > > > > > > >
#! /bin/sh /usr/share/dpatch/dpatch-run ## 20_http_double_free.dpatch by Paul Brossier <p...@debian.org> ## ## DP: Initialise host and path buffers to NULL, avoiding double free when http ## DP: port parsing fails @DPATCH@ diff -urNad alsaplayer-0.99.80~/alsaplayer/CorePlayer.h alsaplayer-0.99.80/alsaplayer/CorePlayer.h --- alsaplayer-0.99.80~/reader/http/http.c 2009-09-16 01:22:38.000000000 +0200 +++ alsaplayer-0.99.80/reader/http/http.c 2009-09-16 01:43:38.000000000 +0200 @@ -730,6 +730,8 @@ desc->len = 0; desc->direction = 0; desc->metadata = NULL; + desc->host = NULL; + desc->path = NULL; desc->status = status; desc->data = data; pthread_mutex_init (&desc->buffer_lock, NULL);