[FFmpeg-trac] #2529(avcodec:new): Memory leaks in aac decode

FFmpeg trac at avcodec.org
Fri May 3 21:59:36 CEST 2013


#2529: Memory leaks in aac decode
----------------------------------+--------------------------------------
             Reporter:  wolenetz  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 Summary of the bug:

 There are 2 leaks hit for the attached “null1.m4a” file.   See attached
 “aac_leaks.log” for detail.

 I hit these in current master (f51aa92b0f165a24c4bd8c3b0b85c159048195d6).
 Bisecting shows at least one of these leaks may have pre-existed and have
 leaked more memory since 80e9e63c946660304fc65fa8141ccfdbe4d196d1 (lavc
 decoders: work with refcounted frames).

 How to reproduce:
 {{{
 ./configure --disable-optimizations --extra-cflags='-fno-inline -fno-omit-
 frame-pointer -fno-builtin -fno-optimize-sibling-calls' --enable-debug
 --enable-static --disable-shared && make clean && make -j32 &&
 ../../trunk/src/third_party/valgrind/linux_x64/bin/valgrind
 --tool=memcheck --num-callers=30 --gen-suppressions=all --demangle=no
 --leak-check=yes --show-possibly-lost=no ./ffmpeg_g -i null1.m4a -f null -
 2>&1 | tee aac_leaks.log
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2529>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list