[Ffmpeg-devel] ffmpeg crash on ff_a52_syncinfo

Sverker Abrahamsson sverker
Mon Oct 3 21:29:10 CEST 2005


Program received signal SIGSEGV, Segmentation fault.
0x021e123d in ff_a52_syncinfo (avctx=0xbfc7f618, buf=0x8b5ddd0 "\vwl[\030 
C",
    flags=0x8b5edd8, sample_rate=0xbfc7f614, bit_rate=0xbfc7f618)
    at a52dec.c:84
84          return s->a52_syncinfo(buf, flags, sample_rate, bit_rate);
(gdb) bt
#0  0x021e123d in ff_a52_syncinfo (avctx=0xbfc7f618,
    buf=0x8b5ddd0 "\vwl[\030 C", flags=0x8b5edd8, sample_rate=0xbfc7f614,
    bit_rate=0xbfc7f618) at a52dec.c:84
#1  0x0210f035 in ac3_parse (s1=0xbfc7f618, avctx=0x8b56830,
    poutbuf=0xbfc7fa40, poutbuf_size=0xbfc7fa44,
    buf=0x8b5d5d0 "\vwl[\030 
C?!\006??`\220\"DIR\034w?\237@\032??u/\236?I?L\016a?t?\023??>?\232\r?\237N|???ok?L?\016hi\237=\206?\02455??j?2\027???\021?Z?\237:\220\225???s&KJ?:?a??\032??????;??\237>\177\t%??a?t??a\221\204?\213?N\237?|?\215'?\2379oC&C2\037?=\237zV 
r\006\034,wi at 1???H?\217?\b?\216???O?G(????IOd1?\03398?\227=?\237$}u-\027"..., 
buf_size=2001) at parser.c:806
#2  0x0210e357 in av_parser_parse (s=0x8b56b00, avctx=0xbfc7f614,
    poutbuf=0xbfc7f614, poutbuf_size=0xbfc7fa44,
    buf=0x8b5d5d0 "\vwl[\030 
C?!\006??`\220\"DIR\034w?\237@\032??u/\236?I?L\016a?t?\023??>?\232\r?\237N|???ok?L?\016hi\237=\206?\02455??j?2\027???\021?Z?\237:\220\225???s&KJ?:?a??\032??????;??\237>\177\t%??a?t??a\221\204?\213?N\237?|?\215'?\2379oC&C2\037?=\237zV 
r\006\034,wi at 1???H?\217?\b?\216???O?G(????IOd1?\03398?\227=?\237$}u-\027"..., 
buf_size=2008, pts=2037048, dts=warning: Unhandled dwarf expresion opcode 
DW_OP_piece
2037048)
    at parser.c:106
#3  0x009addd1 in av_read_frame_internal (s=0x8b55370, pkt=0xbfc7fa30)
    at utils.c:890
#4  0x009af76e in av_find_stream_info (ic=0x8b55370) at utils.c:1913
#5  0x0804f271 in opt_input_file (filename=0xbfc81a7b "vts_01_3.vob")
    at ffmpeg.c:2893
#6  0x08053e5e in parse_options (argc=43, argv=0xbfc80234, 
options=0x80571c0)
    at cmdutils.c:99
#7  0x080518fb in main (argc=43, argv=0xbfc7f618) at ffmpeg.c:4240
(gdb) disass $pc-32 $pc+32 info all-registers
A syntax error in expression, near `info all-registers'.
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0x21e121d to 0x21e125d:
0x021e121d <ff_a52_syncinfo+6>: inc    %ebp
0x021e121e <ff_a52_syncinfo+7>: or     %cl,0x5d8b0c75(%ebx)
0x021e1224 <ff_a52_syncinfo+13>:        adc    %cl,0x8888(%ebx)
0x021e122a <ff_a52_syncinfo+19>:        add    %cl,0x458b1455(%ebx)
0x021e1230 <ff_a52_syncinfo+25>:        sbb    %cl,0x55891445(%ecx)
0x021e1236 <ff_a52_syncinfo+31>:        adc    %cl,0x75890c5d(%ecx)
0x021e123c <ff_a52_syncinfo+37>:        or     %cl,0x102489(%ebx)
0x021e1242 <ff_a52_syncinfo+43>:        add    %bl,0x5e(%ebx)
0x021e1245 <ff_a52_syncinfo+46>:        pop    %ebp
0x021e1246 <ff_a52_syncinfo+47>:        jmp    *%ecx
0x021e1248 <a52_decode_init+0>: push   %ebp
0x021e1249 <a52_decode_init+1>: mov    %esp,%ebp
0x021e124b <a52_decode_init+3>: push   %esi
0x021e124c <a52_decode_init+4>: push   %ebx
0x021e124d <a52_decode_init+5>: sub    $0x20,%esp
0x021e1250 <a52_decode_init+8>: mov    0x8(%ebp),%esi
0x021e1253 <a52_decode_init+11>:        mov    0x229ecb4,%eax
0x021e1258 <a52_decode_init+16>:        mov    0x88(%esi),%ebx
End of assembler dump.
(gdb) info all-registers
eax            0xbfc7f618       -1077414376
ecx            0x0      0
edx            0xbfc7f614       -1077414380
ebx            0x8b5edd8        146140632
esp            0xbfc7f5e0       0xbfc7f5e0
ebp            0xbfc7f5e8       0xbfc7f5e8
esi            0x8b5ddd0        146136528
edi            0x7d1    2001
eip            0x21e123d        0x21e123d
eflags         0x10246  66118
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
st0            0        (raw 0x00000000000000000000)
st1            0        (raw 0x00000000000000000000)
st2            0        (raw 0x00000000000000000000)
st3            0        (raw 0x00000000000000000000)
st4            0        (raw 0x00000000000000000000)
st5            0        (raw 0x00000000000000000000)
st6            0        (raw 0x00000000000000000000)
st7            0        (raw 0x00000000000000000000)
fctrl          0x37f    895
fstat          0x0      0
ftag           0xffff   65535
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0
xmm0           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
---Type <return> to continue, or q <return> to quit---
  uint128 = 0x00000000000000000000000000000000}
xmm1           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm2           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm3           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm4           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm5           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm6           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
xmm7           {v4_float = {0x0, 0x0, 0x0, 0x0}, v2_double = {0x0, 0x0},
  v16_int8 = {0x0 <repeats 16 times>}, v8_int16 = {0x0, 0x0, 0x0, 0x0, 0x0,
    0x0, 0x0, 0x0}, v4_int32 = {0x0, 0x0, 0x0, 0x0}, v2_int64 = {0x0, 0x0},
  uint128 = 0x00000000000000000000000000000000}
mxcsr          0x0      0
mm0            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm1            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm2            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
---Type <return> to continue, or q <return> to quit---
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm3            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm4            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm5            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm6            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
mm7            {uint64 = 0x0, v2_int32 = {0x0, 0x0}, v4_int16 = {0x0, 0x0,
    0x0, 0x0}, v8_int8 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}}
(gdb)

I was not able to upload sample to the ftp so insted I put it here: 
http://www.abrahamsson.com/small.vob
/Sverker

----- Original Message ----- 
From: "M?ns Rullg?rd" <mru at inprovide.com>
To: "Sverker Abrahamsson" <sverker at abrahamsson.com>
Cc: "FFMpeg development discussions and patches" <ffmpeg-devel at mplayerhq.hu>
Sent: Monday, October 03, 2005 8:51 PM
Subject: Re: [Ffmpeg-devel] ffmpeg crash on ff_a52_syncinfo


"Sverker Abrahamsson" <sverker at abrahamsson.com> writes:

> Sure, but to where? The smallest of the files is 560 Mbytes so it's a
> bit big to upload to the bug tracker.

mplayerhq.hu, there are instructions on
http://ffmpeg.sourceforge.net/ffmpeg-bugreport.html

> You can download it from http://www.abrahamsson.com/test.vob, or if

404 not found

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list