[FFmpeg-trac] #6241(avformat:reopened): hls_flags delete_segments – file desctriptors not freeing, ffmpeg segfaults when system limit is reached
FFmpeg
trac at avcodec.org
Thu Mar 16 18:05:38 EET 2017
#6241: hls_flags delete_segments – file desctriptors not freeing, ffmpeg segfaults
when system limit is reached
-------------------------------------+-------------------------------------
Reporter: rafamiga | Owner: stevenliu
Type: defect | Status: reopened
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: descriptors | Blocked By:
hls hls_flags delete_segments | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by rafamiga):
* status: closed => reopened
* resolution: duplicate =>
Comment:
That's not it. I'm aware of 4507f29e4a6a4363e0179c02bdb78d55e4d9a12c
patch. I've applied it to my source tree and it still segfaulting.
ff_format_io_close(s, &oc->pb) only happens under this condition:
{{{
if (can_split && av_compare_ts(pkt->pts - hls->start_pts,
st->time_base,
end_pts, AV_TIME_BASE_Q) >= 0) {
}}}
My setup is rather strange, with 6 concurrent outputs. Please test my
invocation, it only takes a minute or so to see if the process hugs those
deleted segments.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6241#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list