Package: forked-daapd
Version: 0.12~git0.11-125-gca72ee5-3
Severity: important

Hi,

forked-daapd segfaults when it tries to index some jpegs in my library.
A full backtrace is attached (using ffmpeg-dbg and forked-daapd rebuilt 
unstriped).
Seems to be something from inside ffmpeg here :(

Regards
Evgeni

PS: this is my first forked-daapd installation, never used it before.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages forked-daapd depends on:
ii  adduser                 3.112+nmu2       add and remove users and groups
ii  avahi-daemon            0.6.27-2         Avahi mDNS/DNS-SD daemon
ii  libantlr3c-3.2-0        3.2-1            ANTLR v3 parser generator C runtim
ii  libasound2              1.0.23-2.1       shared library for ALSA applicatio
ii  libavahi-client3        0.6.27-2         Avahi client library
ii  libavahi-common3        0.6.27-2         Avahi common library
ii  libavcodec52            4:0.5.2-6        ffmpeg codec library
ii  libavformat52           4:0.5.2-6        ffmpeg file format library
ii  libavl1                 0.3.5-3          AVL tree manipulation library - ru
ii  libavutil49             4:0.5.2-6        ffmpeg utility library
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
ii  libconfuse0             2.7-1            Library for parsing configuration 
ii  libevent-core-1.4-2     1.4.13-stable-1  An asynchronous event notification
ii  libflac8                1.2.1-2+b1       Free Lossless Audio Codec - runtim
ii  libgcrypt11             1.4.5-2          LGPL Crypto library - runtime libr
ii  libgpg-error0           1.6-1            library for common error values an
ii  libmxml1                2.6-1            small XML parsing library (runtime
ii  libplist1               1.3-2            Library for handling Apple binary 
ii  libsqlite3-0            3.7.3-1          SQLite 3 shared library
ii  libswscale0             4:0.5.2-6        ffmpeg video scaling library
ii  libtag1c2a              1.6.3-1          TagLib Audio Meta-Data Library
ii  libtagc0                1.6.3-1          TagLib Audio Meta-Data Library (C 
ii  libunistring0           0.9.3-3          Unicode string library for C
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

forked-daapd recommends no packages.

forked-daapd suggests no packages.

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

-- no debconf information
(gdb) bt full
#0  decode_block (s=0x838e6b0)
    at 
/build/rt-ffmpeg_0.5.2-6-i386-C1HSAY/ffmpeg-0.5.2/libavcodec/mjpegdec.c:405
        re_index = 3686378
        re_cache = 137948000
        val = <value optimized out>
        code = <value optimized out>
        level = <value optimized out>
#1  mjpeg_decode_scan (s=0x838e6b0)
    at 
/build/rt-ffmpeg_0.5.2-6-i386-C1HSAY/ffmpeg-0.5.2/libavcodec/mjpegdec.c:804
        y = 0
        c = <value optimized out>
        ptr = 0xb4b014f0 
"\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200\200"...
        n = 1
        h = 1
        v = <value optimized out>
        x = 0
        j = 0
        i = <value optimized out>
        mb_x = 280
        data = {
          0xb4a09430 
"\247\200|}svunz|{y}\201|qzvx\177\203\201~~\214\202vt{\201\177xxww~\203wknswupryyqqlp|\200{xzqxzwx|ztuyxqpx~~\200tqxwmlu\177\202\201\204\207|u}puxz}\200zqrytzxxnu}{z\211\205qry\202\177\203\200uw\202\204zt|tp\202}jq\211\221\205xry\210w{\177vymv\206\200xsv}}xrn\210\216|rpoqpw\177\201{vw{\200}ywvx{}z\201xr~\200xxqtz}ytx\201{{vqrwws"...,
 
          0xb4609430 
"XXYZ[\\]^\\[XVVX[\\OPQSUVXX\\\\\\[ZZYYVVUVY]beWXXY[\\\\]]\\ZWUUTT\\\\\\[[ZZYaaa`\\WRO[[ZZZ\\]^]ZWTSUX[][WTSUX[\\[[ZZYYXUVWXZ\\]^WWWWWWWW[[[[[[[[WWWWWWWWYYYYYYYYXXXYYZZ[[YXWX[^a`^ZWVX\\^ZZ[[\\]]][[[[[[[[XZ^``^ZX_^\\Z[]`b"...,
 
          0xb4209430 
"\234\304ƿ\304\301\302\306\303\303\303\303\303\303\303ÿ\277\277\300\301\301\302\302\301\301\301\300\300\277\277\276\266\270\275\302\304\305\305\304\303\303\303\303\303\303\303\303\305\305\305\304\301\274\266\263\303\303\303\303\303\303\303\303\305\305\306\306\304\300\274\271\304\304\304\304\304\304\304\304\303\301\275\273\274\277\303\306\311\306¾\275\276\301\303\304\304\303\303\302\302\301\301\305\303\300\277\277\300\303ż\275\276\277\300\301\302\302\307\307\306\306\305\305\304Ķ\271\275\302\305\305\305\304\302\302\302\302\302\302\302\302\302\302\302\302\302\302\302¼\276\301\303¿\273\271\303\303\303\303\303\303\303\303\300\300\300\300\300\300\300\300\276\276\276\277\300\300\301\301\305\305\304\304\303\302\302\302\305\305\304\304\303\302\302",
 <incomplete sequence \302>..., 0xb7584f78 "\203\304\034Ít&"}
        mb_y = 44
        linesize = {2880, 2880, 2880, 218}
#2  ff_mjpeg_decode_sos (s=0x838e6b0)
    at 
/build/rt-ffmpeg_0.5.2-6-i386-C1HSAY/ffmpeg-0.5.2/libavcodec/mjpegdec.c:1000
        i = <value optimized out>
        predictor = <value optimized out>
        index = <value optimized out>
        id = <value optimized out>
        block_size = 137956888
#3  0xb77f87ef in ff_mjpeg_decode_frame (avctx=0x8371c60, data=0xb671ab30, 
    data_size=0xb671af6c, 
    buf=0x83967d0 "\377\330\377", <incomplete sequence \340>, buf_size=327675)
    at 
/build/rt-ffmpeg_0.5.2-6-i386-C1HSAY/ffmpeg-0.5.2/libavcodec/mjpegdec.c:1453
        s = 0x83e6800
        buf_end = <value optimized out>
        buf_ptr = <value optimized out>
        picture = <value optimized out>
#4  0xb77d9c8c in avcodec_decode_video (avctx=0x8371c60, picture=0xb671ab30, 
    got_picture_ptr=0xb671af6c, 
    buf=0x83967d0 "\377\330\377", <incomplete sequence \340>, buf_size=327675)
    at /build/rt-ffmpeg_0.5.2-6-i386-C1HSAY/ffmpeg-0.5.2/libavcodec/utils.c:542
        ret = <value optimized out>
#5  0xb75fa328 in try_decode_frame (ic=0x83706b0)
    at 
/build/rt-ffmpeg_0.5.2-6-i386-C1HSAY/ffmpeg-0.5.2/libavformat/utils.c:1881
        got_picture = 0
        ret = <value optimized out>
        codec = <value optimized out>
        data_size = 0
        picture = {data = {0x80d4150 "\360I\r\bGER", 
            0x3 <Address 0x3 out of bounds>, 0x8 <Address 0x8 out of bounds>, 
            0xb7f9bc8c "\214\253\b"}, linesize = {137826568, 5, -1234064520, 
            514}, base = {0x8 <Address 0x8 out of bounds>, 
            0x134a548 <Address 0x134a548 out of bounds>, 
            0x3b9aca00 <Address 0x3b9aca00 out of bounds>, 
            0x834a568 "INTEGER"}, key_frame = -1208410381, 
          pict_type = -1208370036, pts = 135043208, coded_picture_number = 1, 
          display_picture_number = -1208410368, quality = 24226840, 
          age = -1208691821, reference = 16777215, qscale_table = 0x0, 
          qstride = 137826660, 
          mbskip_table = 0xb7f1770f "\213]\370\213u\374\211\354]Í\264&", 
          motion_val = {0xb7f9cb78, 0x0}, mb_type = 0xb7f921cd, 
          motion_subsample_log2 = 0 '\000', opaque = 0x8371358, error = {
            13146479415237480960, 591963316499251201, 13146477697112735745, 
            591960602079920128}, type = 135042936, repeat_pict = 101, 
          qscale_type = -1208912236, interlaced_frame = 14, 
          top_field_first = 135086032, pan_scan = 0xb671ac18, 
          palette_has_changed = -1208860351, buffer_hints = 137824144, 
          dct_coeff = 0x2, ref_index = {0x80d5950 "\220F\r\b\001", 
            0xc0001 <Address 0xc0001 out of bounds>}, 
          reordered_opaque = 580009151204163585}
#6  av_find_stream_info (ic=0x83706b0)
    at 
/build/rt-ffmpeg_0.5.2-6-i386-C1HSAY/ffmpeg-0.5.2/libavformat/utils.c:2160
        i = <value optimized out>
        count = 0
        ret = <value optimized out>
        read_size = 0
        j = <value optimized out>
        st = DWARF-2 expression error: DW_OP_reg operations must be used either 
alone or in conjuction with DW_OP_piece.

Reply via email to