[Ffmpeg-devel] h.264 decoder segfault

Benoit Fouet benoit.fouet
Tue Jan 23 17:58:27 CET 2007


Hi,

Michael Niedermayer wrote:
> does it also crash under gdb?
yes, it does

>  if so maybe a backtrace from gdb would be
> more informative ...
>   
what about this backtrace ?

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1214749008 (LWP 24106)]
0x08235895 in decode_residual (h=0xb788f020, gb=0xb7891100,
block=0xb78c8da8, n=0,
    scantable=0xb78c9635
"\001\004\b\005\002\003\006\t\f\r\n\a\v\016\017", qmul=0xb78aac24,
max_coeff=15) at bitstream.h:888
888         GET_VLC(code, re, s, table, bits, max_depth)
(gdb) bt
#0  0x08235895 in decode_residual (h=0xb788f020, gb=0xb7891100,
block=0xb78c8da8, n=0,
    scantable=0xb78c9635
"\001\004\b\005\002\003\006\t\f\r\n\a\v\016\017", qmul=0xb78aac24,
max_coeff=15) at bitstream.h:888
#1  0x0824a82d in decode_mb_cavlc (h=0xb788f020) at h264.c:5487
#2  0x0825cecc in decode_slice (h=0xb788f020) at h264.c:7435
#3  0x0825e112 in decode_nal_units (h=0xb788f020, buf=0x85d1b70 "",
buf_size=4509) at h264.c:8146
#4  0x0825fb93 in decode_frame (avctx=0x84760c0, data=0xbfa2dbc0,
data_size=0xbfa2d830, buf=0x85d1b70 "", buf_size=4509) at h264.c:8316
#5  0x080c529e in avcodec_decode_video (avctx=0x84760c0, picture=0x0,
got_picture_ptr=0xbfa2d830, buf=0x0, buf_size=140319600)
    at utils.c:904
#6  0x0805b6a9 in output_packet (ist=0x84770d0, ist_index=0,
ost_table=0x8477120, nb_ostreams=1, pkt=0xbfa2de80) at ffmpeg.c:1092
#7  0x080635f6 in main (argc=-1079845248, argv=0x0) at ffmpeg.c:1936

Ben

PS: gdb is still running, if you need anything else :)





More information about the ffmpeg-devel mailing list