Package: mpd
Version: 0.15.1-1
Severity: normal

When I try any of the BBC radio feeds listed, it plays fine for 163
seconds then mpd hangs.  Clients cannot connect, the daemon process
appears idle (<1% CPU), and no sound is heard until the daemon is
restarted, when play resumes, again for 163 seconds.

The player works fine (for at least half an hour, anyway) on an amd64
system; this bug appears only on my armel box (a NSLU2).  Also, MP3
streams work fine (subject to running out of processor grunt), so it
might be specific to the interaction between MPD and the RAM decoder
(libavcodec52?) or possibly in the decoder itself.

I've built a pared-down MPD in the hope of isolating this (hence the
slim dependencies list in this report), but to no avail.

URLs:

/--------
|  1) http://www.bbc.co.uk/radio/listen/live/r4.ram
|  2) http://www.bbc.co.uk/radio/listen/live/r2.ram
\--------


I've attached GDB in the hung state and found

/--------[ (gdb) thread apply all bt ]
| Thread 4 (Thread 0x41deb470 (LWP 10776)):
| #0  0x40d855e4 in nanosleep () from /lib/libpthread.so.0
| #1  0x40d855d4 in nanosleep () from /lib/libpthread.so.0
| Backtrace stopped: previous frame identical to this frame (corrupt stack?)
| 
| Thread 3 (Thread 0x425eb470 (LWP 10777)):
| #0  0x40e56f00 in select () from /lib/libc.so.6
| #1  0x40e56ef0 in select () from /lib/libc.so.6
| Backtrace stopped: previous frame identical to this frame (corrupt stack?)
| 
| Thread 2 (Thread 0x42f02470 (LWP 10792)):
| #0  0x40e564cc in ioctl () from /lib/libc.so.6
| #1  0x40b6cad0 in ?? () from /usr/lib/libasound.so.2
| 
| Thread 1 (Thread 0x41528090 (LWP 10774)):
| #0  0x40e543a8 in poll () from /lib/libc.so.6
| #1  0x401c2c0c in g_poll () from /usr/lib/libglib-2.0.so.0
| #2  0x401b5634 in ?? () from /usr/lib/libglib-2.0.so.0
\--------


For comparison, whilst playing (before the hang):

/--------[ (gdb) thread apply all bt ]
| Thread 4 (Thread 0x41deb470 (LWP 10776)):
| #0  0x40d80fac in pthread_cond_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
| #1  0x00016f94 in ?? ()
| 
| Thread 3 (Thread 0x425eb470 (LWP 10777)):
| #0  0x40e56f00 in select () from /lib/libc.so.6
| #1  0x40e56ef0 in select () from /lib/libc.so.6
| Backtrace stopped: previous frame identical to this frame (corrupt stack?)
| 
| Thread 2 (Thread 0x42f02470 (LWP 10792)):
| #0  0x40e564cc in ioctl () from /lib/libc.so.6
| #1  0x40b6cad0 in ?? () from /usr/lib/libasound.so.2
| 
| Thread 1 (Thread 0x41528090 (LWP 10774)):
| #0  0x40e543a8 in poll () from /lib/libc.so.6
| #1  0x401c2c0c in g_poll () from /usr/lib/libglib-2.0.so.0
| #2  0x401b5634 in ?? () from /usr/lib/libglib-2.0.so.0
| #0  0x40e543a8 in poll () from /lib/libc.so.6
\--------


I'm not sure whether there's any significance to the "corrupt stack?"
message, or whether I need some extra debugging tools or techniques...


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.27.8
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages mpd depends on:
ii  adduser              3.110               add and remove users and groups
ii  libasound2           1.0.20-3            shared library for ALSA applicatio
ii  libavcodec52         4:0.5+svn20090609-2 ffmpeg codec library
ii  libavformat52        4:0.5+svn20090609-2 ffmpeg file format library
ii  libavutil49          4:0.5+svn20090609-2 ffmpeg utility library
ii  libc6                2.9-23              GNU C Library: Shared libraries
ii  libcurl3-gnutls      7.19.5-1            Multi-protocol file transfer libra
ii  libfaad0             2.6.1-3.1           freeware Advanced Audio Decoder -
ii  libgcc1              1:4.4.1-1           GCC support library
ii  libglib2.0-0         2.20.1-2            The GLib library of C routines
ii  libmad0              0.15.1b-4           MPEG audio decoder library
ii  libmms0              0.4-2               MMS stream protocol library - shar
ii  libsamplerate0       0.1.7-2             audio rate conversion library

mpd recommends no packages.

Versions of packages mpd suggests:
pn  avahi-daemon                  <none>     (no description available)
pn  icecast2                      <none>     (no description available)
pn  mpd-client                    <none>     (no description available)
pn  pulseaudio                    <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to