[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:21:23 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 |
-------------------------------------+-------------------------------------
Comment (by stevenliu):
Replying to [comment:3 rafamiga]:
> 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.
use the newest version and check it, i saw your version is same with the
ticket 6204
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6241#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list