[FFmpeg-soc] aac decoder crash

Pascal Patry iscy at invalidip.com
Mon Jul 14 20:36:24 CEST 2008


I'm getting a segfault while using the latest AAC decoder with the latest 
FFmpeg revision on multiple files.

The problem seems to be coming from this line (aac.c:2239):
ac->dsp.float_to_int16(data, ac->interleaved_output, 1024 * 
avccontext->channels);

Here is the complete stack while using ffplay:
#0  0x08102535 in float_to_int16_sse2 (dst=0xb71c90c0, src=0x8801f48, 
len=2048) at libavcodec/i386/dsputil_mmx.c:2141
#1  0x08155fec in aac_decode_frame (avccontext=0x87af110, data=0xb71c90c0, 
data_size=0xb6974358, buf=0x879e940 "!\n\224)
0<�\223\203c\027*\213L!�\020�\022t��D�\035E�E\aTba\a\200\207�", buf_size=38)
    at libavcodec/aac.c:2239
#2  0x080ea424 in avcodec_decode_audio2 (avctx=0x87af110, samples=0x26, 
frame_size_ptr=0xb6974358, buf=0x879e940 "!\n\224)
0<�\223\203c\027*\213L!�\020�\022t��D�\035E�E\aTba\a\200\207�",
    buf_size=-1222860608) at libavcodec/utils.c:928
#3  0x08060536 in sdl_audio_callback (opaque=0xb71c9020, stream=0x8825d30 "", 
len=3760) at ffplay.c:1581
#4  0xb7e6f6e4 in ?? () from /usr/lib/libSDL-1.2.so.0
#5  0xb7e771ab in ?? () from /usr/lib/libSDL-1.2.so.0
#6  0xb7ec3bbd in ?? () from /usr/lib/libSDL-1.2.so.0
#7  0xb7e564fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb7dd8e5e in clone () from /lib/tls/i686/cmov/libc.so.6

One of the file that I'm trying to play is this:
http://movies.apple.com/movies/sony_pictures/quantum_of_solace/quantum_of_solace-tlr1_h640w.mov






More information about the FFmpeg-soc mailing list