[FFmpeg-trac] #1892(avcodec:open): smackaud: huge memory allocation
FFmpeg
trac at avcodec.org
Thu Nov 8 15:12:13 CET 2012
#1892: smackaud: huge memory allocation
--------------------------------------+-----------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: open
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: smacker leak | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
--------------------------------------+-----------------------------------
Comment (by ami_stuff):
after blocking the mem request I get similar crash like in ticket #1376
I wonder if this reproducible.
{{{
(gdb) r -cpuflags 0 -acodec smackaud -i Bach1-1.aiff -f null -
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: d:\mingw\msys\1.0\ffmpeg-head-b2b67fd\ffmpeg_g.exe
-cpuflags 0
-acodec smackaud -i Bach1-1.aiff -f null -
[New Thread 1600.0x644]
Program received signal SIGSEGV, Segmentation fault.
0x004214f5 in avfilter_copy_buffer_ref_props (dst=0x0, src=0x4890160)
at libavfilter/buffer.c:192
192 dst->pts = src->pts;
(gdb) bt
#0 0x004214f5 in avfilter_copy_buffer_ref_props (dst=0x0, src=0x4890160)
at libavfilter/buffer.c:192
#1 0x00428144 in filter_samples (inlink=0x47a6fe0,
insamplesref=0x4890160)
at libavfilter/af_aresample.c:183
#2 0x0042523e in ff_filter_samples_framed (link=0x47a6fe0,
samplesref=0x4890160) at libavfilter/audio.c:216
#3 0x0042523e in ff_filter_samples_framed (link=0x47a6a40,
samplesref=0x4890160) at libavfilter/audio.c:216
#4 0x00421d04 in request_frame (link=0x47a6a40)
at libavfilter/buffersrc.c:383
#5 0x00421f1a in av_buffersrc_add_ref (s=0x48b2c60, buf=0x4890160,
flags=4)
at libavfilter/buffersrc.c:151
#6 0x004220ac in av_buffersrc_add_frame (buffer_src=0x48b2c60,
frame=0x47aa4e0, flags=4) at libavfilter/buffersrc.c:90
#7 0x0040ff23 in decode_audio (got_output=<optimized out>,
pkt=<optimized out>, ist=<optimized out>) at ffmpeg.c:1539
#8 output_packet (ist=0x47ad740, pkt=0x22fb48) at ffmpeg.c:1759
#9 0x004114e8 in process_input (file_index=<optimized out>) at
ffmpeg.c:2826
#10 0x00b37efe in transcode_step () at ffmpeg.c:2922
#11 transcode () at ffmpeg.c:2974
#12 main (argc=76228480, argv=<optimized out>) at ffmpeg.c:3158
(gdb)
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1892#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list