Bug#624668: mt-daapd: Crashes when accessing from a remote device

2011-04-30 Thread Cyrille Chépélov
Package: mt-daapd
Version: 0.9~r1696.dfsg-16
Severity: important (crashes without serving any files)

When accessing firefly from the Android DAAP app, mt-daapd crashes with the
following stack frame:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f8a0f6bd700 (LWP 29440)]
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
31  ../sysdeps/x86_64/multiarch/../strlen.S: Aucun fichier ou dossier de
ce type.
in ../sysdeps/x86_64/multiarch/../strlen.S
(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
#1  0x7f8a10efe3e6 in daap_get_size ()
   from /usr/lib/mt-daapd/plugins/out-daap.so
#2  0x7f8a10efe7df in daap_enum_size ()
   from /usr/lib/mt-daapd/plugins/out-daap.so
#3  0x7f8a10efc30f in ?? () from /usr/lib/mt-daapd/plugins/out-daap.so
#4  0x7f8a10efd859 in plugin_handler ()
   from /usr/lib/mt-daapd/plugins/out-daap.so
#5  0x0040ed69 in ws_dispatcher ()
#6  0x7f8a18a3d8ba in start_thread (arg=value optimized out)
at pthread_create.c:300
#7  0x7f8a167d53cd in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x in ?? ()


#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:31
31  in ../sysdeps/x86_64/multiarch/../strlen.S
(gdb) info registers
rax0x1  1
rbx0x20 32
rcx0x0  0
rdx0x29 41
rsi0x1  1
rdi0x0  0
rbp0x2765d200x2765d20
rsp0x7f8a0f6bc458   0x7f8a0f6bc458
r8 0x0  0
r9 0x0  0
r100xd5 213
r110x1999   1844674407370955161
r120x2707de040926688
r130x2707df040926704
r140x7f8a0f6bc498   140230940935320
r150x7f8a0f6bc538   140230940935480
rip0x7f8a16781b32   0x7f8a16781b32 __strlen_sse2+18
eflags 0x10246  [ PF ZF IF RF ]
cs 0x33 51
ss 0x2b 43
ds 0x0  0
es 0x0  0
fs 0x0  0
gs 0x0  0

(gdb) disassemble
Dump of assembler code for function __strlen_sse2:
   0x7f8a16781b20 +0: pxor   %xmm2,%xmm2
   0x7f8a16781b24 +4: mov%rdi,%rcx
   0x7f8a16781b27 +7: mov%rdi,%r8
   0x7f8a16781b2a +10:and$0xfff0,%rdi
   0x7f8a16781b2e +14:movdqa %xmm2,%xmm1
= 0x7f8a16781b32 +18:pcmpeqb (%rdi),%xmm2
   0x7f8a16781b36 +22:or $0x,%esi
   0x7f8a16781b39 +25:sub%rdi,%rcx
   0x7f8a16781b3c +28:shl%cl,%esi

%rdi is null. Probably, we are attempting to call strlen on a NULL string,
perhaps on a corrupted file within the library.

-- Cyrille


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (800, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mt-daapd depends on:
ii  adduser 3.112+nmu2   add and remove users and groups
ii  avahi-daemon0.6.30-2 Avahi mDNS/DNS-SD daemon
ii  libavahi-client30.6.30-2 Avahi client library
ii  libavahi-common30.6.30-2 Avahi common library
ii  libavcodec525:0.6.2-0.1  library to encode decode multimedi
ii  libavformat52   5:0.6.2-0.1  ffmpeg file format library
ii  libavutil49 4:0.5.2-6ffmpeg utility library
ii  libc6   2.11.2-13Embedded GNU C Library: Shared lib
ii  libflac81.2.1-3  Free Lossless Audio Codec - runtim
ii  libid3tag0  0.15.1b-10   ID3 tag reading library from the M
ii  libjs-prototype 1.7.0-2  JavaScript Framework for dynamic w
ii  libjs-scriptaculous 1.9.0-2  JavaScript library for dynamic web
ii  libogg0 1.2.0~dfsg-1 Ogg bitstream library
ii  libsqlite3-03.7.5-1  SQLite 3 shared library
ii  libtagc01.7-1audio meta-data library - C bindin
ii  libvorbis0a 1.3.2-1  The Vorbis General Audio Compressi
ii  libvorbisfile3  1.3.2-1  The Vorbis General Audio Compressi
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

mt-daapd recommends no packages.

mt-daapd suggests no packages.

-- Configuration Files:
/etc/mt-daapd.conf [Errno 13] Permission non accordée: u'/etc/mt-daapd.conf'

-- 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



Bug#624668: mt-daapd: Crashes when accessing from a remote device

2011-04-30 Thread Julien BLACHE
tag 624668 + wontfix
thanks

Cyrille Chépélov cyri...@chepelov.org wrote:

Hi,

 When accessing firefly from the Android DAAP app, mt-daapd crashes with the
 following stack frame:

mt-daapd has been dead since 2007. It doesn't support Remote.

Its only purpose in Squeeze is to allow users to upgrade from Lenny and
migrate away from mt-daapd at their convenience.

JB.

-- 
 Julien BLACHE - Debian  GNU/Linux Developer - jbla...@debian.org 
 
 Public key available on http://www.jblache.org - KeyID: F5D6 5169 
 GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169 



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