[FFmpeg-trac] #7146(avdevice:new): heavy memory leak when reading video from a DV/firewire camera (via iec61883)
FFmpeg
trac at avcodec.org
Wed Apr 18 23:57:55 EEST 2018
#7146: heavy memory leak when reading video from a DV/firewire camera (via
iec61883)
-------------------------------------+-------------------------------------
Reporter: bugtrack | Owner:
Type: defect | Status: new
Priority: important | Component: avdevice
Version: git-master | Resolution:
Keywords: iec61883 | Blocked By:
leak regression | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by bugtrack):
As shown by the valgrind output above, the two patches
{{{
[FFmpeg-devel] [PATCH 1/2] avdevice/iec61883: return reference counted
packets James Almer
[FFmpeg-devel] [PATCH 2/2] avdevice/iec61883: free the private context at
the end James Almer
}}}
from jamrial on the ML reduce the memory leaks to a constant value of just
72 bytes (independent of the amount or duration of the processed data).
These remaining 72 bytes were leaked before the regression discussed
above, too.
So far, I haven't found a revision of ffmpeg leaking less when reading
from firewire
and the remaining leak does not prevent long captures or livestreaming
anymore.
Thus I consider this bug resolved. Please close it if anyone agrees with
me.
Thank you very much for this racy bug-hunting!
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7146#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list