[Pkg-mpd-maintainers] Bug#636628: mpd: segfault in ffmpeg_stream_tag() when updating the database
Alexei Sheplyakov
alexei.sheplyakov at gmail.com
Thu Aug 4 18:14:58 UTC 2011
Package: mpd
Version: 0.16.3-1
Severity: normal
Tags: patch
Backtrace:
#0 0x00007ffff693ef9a in avformat_open_input () from /usr/lib/libavformat.so.52
#1 0x00007ffff693f3da in av_open_input_stream () from /usr/lib/libavformat.so.52
#2 0x000000000041c3b5 in ffmpeg_stream_tag (is=0x7fffe4001e70) at src/decoder/ffmpeg_decoder_plugin.c:474
#3 0x00000000004454b5 in decoder_plugin_stream_tag (song=0x7fffe4002ae0) at src/decoder_plugin.h:171
#4 song_file_update (song=0x7fffe4002ae0) at src/song_update.c:149
#5 0x00000000004456b1 in song_file_load (path=<value optimized out>, parent=0x7fffe4000980)
at src/song_update.c:55
#6 0x000000000043603d in update_regular_file (directory=0x7fffe4000980, name=<value optimized out>,
st=<value optimized out>) at src/update_walk.c:619
#7 updateInDirectory (directory=0x7fffe4000980, name=<value optimized out>, st=<value optimized out>)
at src/update_walk.c:663
#8 0x00000000004364d0 in updateDirectory (directory=0x7fffe4000980, st=0x7fffe95a5c00) at src/update_walk.c:807
#9 0x0000000000435c0c in updateInDirectory (directory=0x6a99b0, name=0x7fffe401fa60 "soviet", st=0x7fffe95a5c00)
at src/update_walk.c:674
#10 updateInDirectory (directory=0x6a99b0, name=0x7fffe401fa60 "soviet", st=0x7fffe95a5c00)
at src/update_walk.c:657
#11 0x00000000004364d0 in updateDirectory (directory=0x6a99b0, st=0x7fffe95a5ce0) at src/update_walk.c:807
#12 0x000000000043673d in update_walk (path=0x0, discard=<value optimized out>) at src/update_walk.c:912
#13 0x00000000004351a7 in update_task (_path=0x0) at src/update.c:69
#14 0x00007ffff7538cf6 in ?? () from /lib/libglib-2.0.so.0
#15 0x00007ffff3438b40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#16 0x00007ffff27c136d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
The attached patch (extracted from the upstream bug tracker, see
http://musicpd.org/mantis/view.php?id=3266) seems to fix the problem.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39.1-ck2-b8e5e301+ (SMP w/2 CPU cores; PREEMPT)
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 add and remove users and groups
ii libao4 1.1.0-1 Cross Platform Audio Output Librar
ii libasound2 1.0.24.1-2 shared library for ALSA applicatio
ii libaudiofile0 0.2.6-8 Open-source version of SGI's audio
ii libavahi-client3 0.6.30-5 Avahi client library
ii libavahi-common3 0.6.30-5 Avahi common library
ii libavahi-glib1 0.6.30-5 Avahi glib integration library
ii libavcodec52 5:0.7.1-0.1 library to encode decode multimedi
ii libavformat52 5:0.7.1-0.1 ffmpeg file format library
ii libavutil50 5:0.7.1-0.1 avutil shared libraries - runtime
ii libc6 2.13-13 Embedded GNU C Library: Shared lib
ii libcurl3-gnutls 7.21.7-1 Multi-protocol file transfer libra
ii libfaad2 2.7-6 freeware Advanced Audio Decoder -
ii libflac8 1.2.1-4 Free Lossless Audio Codec - runtim
ii libglib2.0-0 2.28.6-1 The GLib library of C routines
ii libid3tag0 0.15.1b-10 ID3 tag reading library from the M
ii libjack0 [libjack-0. 1:0.121.0+svn4469-2 JACK Audio Connection Kit (librari
ii libmad0 0.15.1b-6 MPEG audio decoder library
ii libmikmod2 3.1.11-a-6.3 A portable sound library
ii libmms0 0.6.2-2 MMS stream protocol library - shar
ii libmpcdec6 2:0.1~r459-1 MusePack decoder - library
ii libogg0 1.2.2~dfsg-1 Ogg bitstream library
ii libpulse0 0.9.23-1 PulseAudio client libraries
ii libsamplerate0 0.1.7-3 Audio sample rate conversion libra
ii libshout3 2.2.2-5+b1 MP3/Ogg Vorbis broadcast streaming
ii libsqlite3-0 3.7.7-2 SQLite 3 shared library
ii libvorbis0a 1.3.2-1 The Vorbis General Audio Compressi
ii libvorbisenc2 1.3.2-1 The Vorbis General Audio Compressi
ii libvorbisfile3 1.3.2-1 The Vorbis General Audio Compressi
ii libwavpack1 4.60.1-1 an audio codec (lossy and lossless
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
mpd recommends no packages.
Versions of packages mpd suggests:
ii avahi-daemon 0.6.30-5 Avahi mDNS/DNS-SD daemon
ii gmpc [mpd-client] 0.20.0-2 Gnome Music Player Client (graphic
pn icecast2 <none> (no description available)
ii mpc [mpd-client] 0.20-2 A command-line tool to interface M
ii ncmpc [mpd-client] 0.17-1 ncurses-based audio player
pn pulseaudio <none> (no description available)
-- Configuration Files:
/etc/default/mpd changed [not included]
/etc/init.d/mpd changed [not included]
/etc/logrotate.d/mpd [Errno 2] No such file or directory: u'/etc/logrotate.d/mpd'
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpd-0.16.3_ffmpeg_sigsegv.patch
Type: text/x-diff
Size: 800 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mpd-maintainers/attachments/20110804/f3fea1bb/attachment.patch>
More information about the Pkg-mpd-maintainers
mailing list