[FFmpeg-trac] #943(undetermined:new): Segfault libaacplus
FFmpeg
trac at avcodec.org
Fri Jan 27 14:49:56 CET 2012
#943: Segfault libaacplus
-------------------------------------+-------------------------------------
Reporter: burek | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Hi,
I don't remember having this error before with ffmpeg. I'll try to
recompile libaacplus without fftw3 support to see if there are any changes
to this issue.
{{{
# gdb ffmpeg_g
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /root/tmp/ffmpeg/ffmpeg_g...done.
(gdb) r -y -re -i brlja.wav -acodec libaacplus -ab 32k out.aac
Starting program: /root/tmp/ffmpeg/ffmpeg_g -y -re -i brlja.wav -acodec
libaacplus -ab 32k out.aac
[Thread debugging using libthread_db enabled]
ffmpeg version N-37208-g01fcbdf Copyright (c) 2000-2012 the FFmpeg
developers
built on Jan 27 2012 14:35:23 with gcc 4.6.2
configuration: --enable-static --enable-shared --enable-gpl --enable-
nonfree --enable-postproc --enable-libx264 --enable-libaacplus --enable-
libmp3lame --enable-libv4l2 --enable-libvo-aacenc --enable-version3
--enable-debug
libavutil 51. 34.101 / 51. 34.101
libavcodec 53. 60.100 / 53. 60.100
libavformat 53. 31.100 / 53. 31.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 60.100 / 2. 60.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
[wav @ 0x6253a0] max_analyze_duration 5000000 reached at 5034667
Input #0, wav, from 'brlja.wav':
Duration: 00:00:21.33, bitrate: 768 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 1
channels, s16, 768 kb/s
Output #0, adts, to 'out.aac':
Metadata:
encoder : Lavf53.31.100
Stream #0:0: Audio: aac, 48000 Hz, 1 channels, s16, 32 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (pcm_s16le -> libaacplus)
Press [q] to stop, [?] for help
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3af441d in ?? () from /usr/lib/libfftw3f.so.3
(gdb) bt
#0 0x00007ffff3af441d in ?? () from /usr/lib/libfftw3f.so.3
#1 0x00007ffff39fe0ab in ?? () from /usr/lib/libfftw3f.so.3
#2 0x00007ffff43db486 in CFFTN (ctx=<optimized out>, afftData=0x0,
len=<optimized out>, isign=7245968) at cfftn.c:1390
#3 0x00007ffff43f2fea in mdct (fftctx=0x6d81dc, dctdata=0x6d81dc,
sineWindow=<optimized out>, n=1024, ld_n=10, trigData=<optimized out>) at
transform.c:128
#4 0x00007ffff43f3353 in Transform_Real (fftctx=0x6c8be8,
mdctDelayBuffer=0x625cc0, timeSignal=<optimized out>,
chIncrement=<optimized out>, realOut=0x6d81dc, blockType=<optimized out>)
at transform.c:406
#5 0x00007ffff43e8cf9 in psyMain (fftctx=<optimized out>,
timeInStride=<optimized out>, elemInfo=<optimized out>,
timeSignal=<optimized out>, psyData=<optimized out>, tnsData=<optimized
out>, psyConfLong=0x6c56a8,
psyConfShort=0x6c5ce0, psyOutChannel=0x6c5068, psyOutElement=0x6c4f70,
pScratchTns=0x6dc1dc) at psy_main.c:289
#6 0x00007ffff43d4b6d in AacEncEncode (aacEnc=0x6c4640,
timeSignal=<optimized out>, timeInStride=<optimized out>,
ancBytes=<optimized out>, numAncBytes=<optimized out>, outBytes=<optimized
out>, numOutBytes=0x7fffffffc0a8)
at aacenc.c:310
#7 0x00007ffff43f381c in aacplusEncEncode (hEncoder=0x6c4610,
inputBuffer=<optimized out>, samplesInput=<optimized out>,
outputBuffer=0x702de0 "", bufferSize=<optimized out>) at aacplusenc.c:349
#8 0x00007ffff6c4a614 in avcodec_encode_audio2 () from
/usr/local/lib/libavcodec.so.53
#9 0x0000000000409e6e in encode_audio_frame (s=0x694da0, ost=0x69ccb0,
buf=0x6fb880
"M\001L\001C\001\066\001\066\001C\001K\001A\001D\001E\001C\001P\001g\001e\001Z\001T\001f\001t\001w\001_\001H\001\060\001+\001.\001%\001\023\001\035\001\021\001\020\001\026\001(\001D\001W\001Y\001V\001O\001F\001;\001C\001,\001\022",
<incomplete sequence \375>, buf_size=4096) at ffmpeg.c:1078
#10 0x000000000040c4ed in do_audio_out (ist=0x6440c0, ost=0x69ccb0,
s=0x694da0, decoded_frame=<optimized out>) at ffmpeg.c:1274
#11 transcode_audio (got_output=0x7fffffffc408, pkt=0x7fffffffc2e0,
ist=<optimized out>) at ffmpeg.c:2048
#12 output_packet (ist=<optimized out>, ost_table=0x69ccb0,
nb_ostreams=<optimized out>, pkt=<optimized out>) at ffmpeg.c:2268
#13 0x000000000040f5f5 in transcode (output_files=0x64bc00,
nb_output_files=1, input_files=0x64bbd0, nb_input_files=0) at
ffmpeg.c:3047
#14 0x0000000000405f4e in main (argc=<optimized out>, argv=0x7fffffffe6c8)
at ffmpeg.c:5145
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/943>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list