Package: mt-daapd Version: 0.9~r1696.dfsg-13 Severity: normal I can transcode .flac files perfectly well, but as soon as a .ogg file is played, the server crashes out. If run with the '-f' switch, it prints 'Segmentation fault'.
Running under gdb, it seems to crash inside libavcodec.so.52, but the stack trace isn't useful. I couldn't get a full core dump yet (despite 'ulimit -c unlimited'). ---- from gdb ---- Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb59d5b90 (LWP 15826)] 0xb79c6b55 in ?? () from /usr/lib/i686/cmov/libavcodec.so.52 (gdb) bt #0 0xb79c6b55 in ?? () from /usr/lib/i686/cmov/libavcodec.so.52 #1 0x080b5450 in ?? () #2 0xb59d44d0 in ?? () #3 0xb79356fe in ?? () from /usr/lib/i686/cmov/libavcodec.so.52 #4 0xb518e064 in ?? () #5 0xb59d44d0 in ?? () #6 0x00000400 in ?? () #7 0x00000002 in ?? () #8 0x082ed9e0 in ?? () #9 0x082ee9e0 in ?? () #10 0x081d6370 in ?? () #11 0xb763cd80 in av_new_packet () from /usr/lib/i686/cmov/libavcodec.so.52 #12 0x00000009 in ?? () #13 0xb59d4518 in ?? () #14 0xb59d4514 in ?? () #15 0xb7559b2d in ?? () from /usr/lib/i686/cmov/libavformat.so.52 #16 0x081d6370 in ?? () #17 0x00000001 in ?? () #18 0x00000400 in ?? () #19 0x081cbd30 in ?? () #20 0x00000001 in ?? () #21 0xb59d45b8 in ?? () #22 0x081d6370 in ?? () #23 0xb769c4ba in avcodec_decode_audio2 () from /usr/lib/i686/cmov/libavcodec.so.52 Cannot access memory at address 0xffffeffc (gdb) disass 0xb79c6b45 0xb79c6b65 Dump of assembler code from 0xb79c6b45 to 0xb79c6b65: 0xb79c6b45: cvtps2dq (%eax,%ecx,1),%xmm1 0xb79c6b4a: packssdw %xmm1,%xmm0 0xb79c6b4e: movhlps %xmm0,%xmm1 0xb79c6b51: punpcklwd %xmm1,%xmm0 0xb79c6b55: movdqa %xmm0,(%ebx,%ecx,1) 0xb79c6b5a: add $0x10,%ecx 0xb79c6b5d: js 0xb79c6b40 0xb79c6b5f: mov (%esp),%ebx 0xb79c6b62: mov 0x4(%esp),%esi (gdb) info registers eax 0x82ef9e0 137296352 ecx 0xfffff000 -4096 edx 0xb59d44d0 -1247984432 ebx 0xb518f064 -1256656796 ... xmm0 {v4_float = {0x0, 0x0, 0x0, 0x0}, ... ---- 8< ---- ebx isn't 16 byte aligned, so it is probably getting an alignment exception on the movdqa, which needs to be aligned. As to whether it's a problem with libavcodec internally, or mt-daapd for sending down an unaligned buffer, I don't know. Rather bizarrely the executable seems to be linked to both libavutil.so.49 and libavutil.so.50, though this is probably an irrelevance. ---- extract from ldd /usr/sbin/mt-daapd ---- ... libogg.so.0 => /usr/lib/libogg.so.0 (0xb7ec0000) libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb7e96000) libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0xb7e8e000) libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb7e3b000) libavcodec.so.52 => /usr/lib/i686/cmov/libavcodec.so.52 (0xb753f000) libavformat.so.52 => /usr/lib/i686/cmov/libavformat.so.52 (0xb743d000) libavutil.so.49 => /usr/lib/i686/cmov/libavutil.so.49 (0xb742b000) ... libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7268000) libavutil.so.50 => /usr/lib/i686/cmov/libavutil.so.50 (0xb7256000) libamrnb.so.3 => /usr/lib/libamrnb.so.3 (0xb7219000) ... ---- 8< ---- -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.27.9 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages mt-daapd depends on: ii adduser 3.110 add and remove users and groups ii avahi-daemon 0.6.25-1 Avahi mDNS/DNS-SD daemon ii libavahi-client3 0.6.25-1 Avahi client library ii libavahi-common3 0.6.25-1 Avahi common library ii libavcodec52 5:0.5+svn20090612-0.1 library to encode decode multimedi ii libavformat52 5:0.5+svn20090612-0.1 ffmpeg file format library ii libavutil49 4:0.5+svn20090420-2 ffmpeg utility library ii libc6 2.9-12 GNU C Library: Shared libraries ii libflac8 1.2.1-1.2 Free Lossless Audio Codec - runtim ii libid3tag0 0.15.1b-10 ID3 tag reading library from the M ii libjs-prototype 1.6.0.3-1 JavaScript Framework for dynamic w ii libjs-scriptaculou 1.8.2-1 JavaScript library for dynamic web ii libogg0 1.1.3-5 Ogg Bitstream Library ii libsqlite3-0 3.6.14.2-1 SQLite 3 shared library ii libtagc0 1.5-6 TagLib Audio Meta-Data Library (C ii libvorbis0a 1.2.0.dfsg-5 The Vorbis General Audio Compressi ii libvorbisfile3 1.2.0.dfsg-5 The Vorbis General Audio Compressi ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime mt-daapd recommends no packages. mt-daapd suggests no packages. -- 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