[FFmpeg-trac] #6369(undetermined:new): Memory leak on HLS segmenting without transcoding

FFmpeg trac at avcodec.org
Mon May 8 08:27:37 EEST 2017


#6369: Memory leak on HLS segmenting without transcoding
-------------------------------------+-------------------------------------
             Reporter:  ksotik       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  hls leak     |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by ksotik):

 Not help:

 {{{
 ==16175== HEAP SUMMARY:
 ==16175==     in use at exit: 74 bytes in 2 blocks
 ==16175==   total heap usage: 315,575 allocs, 315,573 frees, 2,686,334,473
 bytes allocated
 ==16175==
 ==16175== Searching for pointers to 2 not-freed blocks
 ==16175== Checked 10,243,984 bytes
 ==16175==
 ==16175== 32 bytes in 1 blocks are still reachable in loss record 1 of 2
 ==16175==    at 0x4C2AD10: calloc (vg_replace_malloc.c:623)
 ==16175==    by 0x4E3663F: _dlerror_run (dlerror.c:141)
 ==16175==    by 0x4E360C0: dlopen@@GLIBC_2.2.5 (dlopen.c:87)
 ==16175==    by 0x1002D0C: x265_api_get_114 (in
 /home/ksotik/install/ffmpeg/ffmpeg/ffmpeg_g)
 ==16175==    by 0x43891F: libx265_encode_init_csp (libx265.c:380)
 ==16175==    by 0x74C0B3: register_all (allcodecs.c:634)
 ==16175==    by 0x6EEA40F: pthread_once (pthread_once.S:103)
 ==16175==    by 0x485E19: main (ffmpeg.c:4722)
 ==16175==
 ==16175== 42 bytes in 1 blocks are still reachable in loss record 2 of 2
 ==16175==    at 0x4C28C20: malloc (vg_replace_malloc.c:296)
 ==16175==    by 0x400E640: _dl_signal_error (dl-error.c:90)
 ==16175==    by 0x4012601: _dl_open (dl-open.c:715)
 ==16175==    by 0x4E3602A: dlopen_doit (dlopen.c:66)
 ==16175==    by 0x400E873: _dl_catch_error (dl-error.c:187)
 ==16175==    by 0x4E365DC: _dlerror_run (dlerror.c:163)
 ==16175==    by 0x4E360C0: dlopen@@GLIBC_2.2.5 (dlopen.c:87)
 ==16175==    by 0x1002DA0: x265_api_get_114 (in
 /home/ksotik/install/ffmpeg/ffmpeg/ffmpeg_g)
 ==16175==    by 0x438938: libx265_encode_init_csp (libx265.c:382)
 ==16175==    by 0x74C0B3: register_all (allcodecs.c:634)
 ==16175==    by 0x6EEA40F: pthread_once (pthread_once.S:103)
 ==16175==    by 0x485E19: main (ffmpeg.c:4722)
 ==16175==
 ==16175== LEAK SUMMARY:
 ==16175==    definitely lost: 0 bytes in 0 blocks
 ==16175==    indirectly lost: 0 bytes in 0 blocks
 ==16175==      possibly lost: 0 bytes in 0 blocks
 ==16175==    still reachable: 74 bytes in 2 blocks
 ==16175==         suppressed: 0 bytes in 0 blocks
 ==16175==
 ==16175== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
 ==16175== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
 }}}

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


More information about the FFmpeg-trac mailing list