[Pkg-mpd-maintainers] Bug#649732: mpd: Add url crashes if proxy server not set up

chris+debian at chiappa.net chris+debian at chiappa.net
Wed Nov 23 15:38:17 UTC 2011


Package: mpd
Version: 0.16.5-1
Severity: minor

If behind a firewall and I choose "add url" in mpd, mpd crashes after
the curl plugin times out.  Setting the proxy correctly in mpd.conf
fixes this.  In the log right before it crashes is:
Nov 23 10:31 : curl failed: Failed connect to www.youtube.com:80; No route to host
or
Nov 23 10:27 : curl failed: Connection timed out after 10010 milliseconds

Stack trace:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) where
#0  0x0000000000000000 in ?? ()
#1  0x000000000043d74b in playlist_open_remote (is_r=0x7fffaadfec88, 
    uri=0x1f53445 "http://www.youtube.com/watch?v=epOTR_B4_pA&feature=feedu")
    at src/playlist_any.c:54
#2  playlist_open_any (
    uri=0x1f53445 "http://www.youtube.com/watch?v=epOTR_B4_pA&feature=feedu", 
    is_r=0x7fffaadfec88) at src/playlist_any.c:67
#3  0x000000000043e1ae in playlist_open_into_queue (
    uri=0x1f53445 "http://www.youtube.com/watch?v=epOTR_B4_pA&feature=feedu", 
    dest=0x66b500) at src/playlist_queue.c:59
#4  0x000000000042b872 in handle_load (client=0x1f55420, argc=<optimized out>, 
    argv=0x7fffaadfed00) at src/command.c:750
#5  0x000000000042c011 in command_process (client=0x1f55420, num=<optimized out>, 
    line=0x1f5347f "") at src/command.c:2118
#6  0x0000000000433ca9 in client_process_line (client=0x1f55420, 
    line=<optimized out>) at src/client_process.c:130
#7  0x0000000000433e8d in client_input_received (bytesRead=<optimized out>, 
    client=0x1f55420) at src/client_read.c:58
#8  client_read (client=0x1f55420) at src/client_read.c:93
#9  0x0000000000433269 in client_in_event (source=<optimized out>, 
    condition=<optimized out>, data=0x1f55420) at src/client_event.c:77
#10 0x00007fe1c3ed00cf in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fe1c3ed08c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fe1c3ed0e02 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x000000000043586a in mpd_main (argc=<optimized out>, argv=<optimized out>)
    at src/main.c:420
#14 0x00007fe1beaeaead in __libc_start_main (main=<optimized out>, 
    argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, 
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffaadff148)
    at libc-start.c:228
#15 0x000000000040ff41 in _start ()


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mpd depends on:
ii  adduser                   3.113              
ii  libao4                    1.1.0-1+b1         
ii  libasound2                1.0.24.1-4         
ii  libaudiofile0             0.2.7-0.1          
ii  libavahi-client3          0.6.30-5           
ii  libavahi-common3          0.6.30-5           
ii  libavahi-glib1            0.6.30-5           
ii  libavcodec53              5:0.8.6-0.1        
ii  libavformat53             5:0.8.6-0.1        
ii  libavutil51               5:0.8.6-0.1        
ii  libc6                     2.13-21            
ii  libcurl3-gnutls           7.22.0-3           
ii  libfaad2                  2.7-7              
ii  libflac8                  1.2.1-6            
ii  libgcc1                   1:4.6.2-4          
ii  libglib2.0-0              2.30.2-4           
ii  libid3tag0                0.15.1b-10         
ii  libjack0 [libjack-0.116]  1:0.121.0+svn4538-3
ii  libmad0                   0.15.1b-6          
ii  libmikmod2                3.1.12-1           
ii  libmms0                   0.6.2-2            
ii  libmpcdec6                2:0.1~r459-1       
ii  libogg0                   1.2.2~dfsg-1       
ii  libpulse0                 1.1-1              
ii  libsamplerate0            0.1.8-1            
ii  libshout3                 2.2.2-5+b1         
ii  libsqlite3-0              3.7.9-2            
ii  libstdc++6                4.6.2-4            
ii  libvorbis0a               1.3.2-1            
ii  libvorbisenc2             1.3.2-1            
ii  libvorbisfile3            1.3.2-1            
ii  libwavpack1               4.60.1-1           
ii  lsb-base                  3.2-28             
ii  zlib1g                    1:1.2.3.4.dfsg-3   

mpd recommends no packages.

Versions of packages mpd suggests:
ii  ario [mpd-client]    1.5.1-1+b1
ii  avahi-daemon         0.6.30-5  
ii  gmpc [mpd-client]    11.8.16-1 
ii  icecast2             <none>    
ii  lastmp [mpd-client]  1.0.6-2   
ii  mpc [mpd-client]     0.20-2    
ii  pulseaudio           1.1-1     
ii  sonata [mpd-client]  1.6.2.1-5 

-- Configuration Files:
/etc/mpd.conf changed [not included]

-- no debconf information





More information about the Pkg-mpd-maintainers mailing list