[MPlayer-dev-eng] using strace -p on running mplayer (streamdump) kills mplayer
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Fri Feb 24 07:56:58 CET 2012
On 24 Feb 2012, at 03:07, Oliver <oliver at first.in-berlin.de> wrote:
> when using mplayer to streamdump, then attaching
> strace -p to it, the mplayer dies.
>
> I found out, that this is coming from an interrupted system call
> (recv()) in stream/networking.c
>
> I filed a bugreport and submitted a small patch, which
> solved that problem.
>
> http://bugzilla.mplayerhq.hu/show_bug.cgi?id=2044
I think it breaks interrupting the recv on a SIGTERM or similar.
At the very least you'd have to check for the async_quit_request or what it is called.
More information about the MPlayer-dev-eng
mailing list