[FFmpeg-trac] #3194(avcodec:new): valgrind leak on example package

FFmpeg trac at avcodec.org
Tue Dec 10 12:46:54 CET 2013


#3194: valgrind  leak on example package
------------------------------------+-----------------------------------
             Reporter:  andreyv     |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  leak        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------

Comment (by andreyv):

 ok now the output:
 ==15887== 24 bytes in 1 blocks are still reachable in loss record 1 of 1
 ==15887==    at 0x402A420: memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==15887==    by 0x402A4DE: posix_memalign (in
 /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
 ==15887==    by 0x874A4BC: av_malloc (mem.c:94)
 ==15887==    by 0x84AFD9B: default_lockmgr_cb (utils.c:78)
 ==15887==    by 0x84B867A: ff_lock_avcodec (utils.c:3240)
 ==15887==    by 0x84B2500: avcodec_open2 (utils.c:1180)
 ==15887==    by 0x8049ED2: video_decode_example (decoding_encoding.c:557)
 ==15887==    by 0x8049FEB: main (decoding_encoding.c:635)

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3194#comment:9>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list