[FFmpeg-trac] #9009(ffmpeg:new): SIGINT ignored while awaiting RTP data
FFmpeg
trac at avcodec.org
Wed Nov 25 19:27:44 EET 2020
#9009: SIGINT ignored while awaiting RTP data
--------------------------------------+----------------------------------
Reporter: juannm | Owner:
Type: defect | Status: new
Priority: normal | Component: ffmpeg
Version: git-master | Resolution:
Keywords: sigint, exit | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
--------------------------------------+----------------------------------
Comment (by juannm):
Replying to [comment:2 Balling]:
> In that case triple Ctrl-C or maybe Ctrl + \ (SIGQUIT) should work, no?
It does; at least on the manual test, the second Ctrl-C kills the FFmpeg
process. But I see doing that a bit (a lot) like sweeping the underlying
problem under a carpet... a big difference between letting FFmpeg know it
should close, so it has time to adequately flush the output file, write
the ending metadata (e.g. MP4 moov), etc; and simply killing it, which
could render an unreadable output file.
Also note the commands I provided are a simplified, minimal, reproducible
example, not the actual use case. In reality there is a Node.js process in
control of FFmpeg, among other things; it sends SIGINT to external
processes, expecting them to exit and doing some additional cleanup on the
process' exit events. But the event never arrives from the FFmpeg process,
because it got itself into a soft-lock, and that's probably a bug caused
by some internal control loop not acting as intended.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9009#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list