[MPlayer-dev-eng] using strace -p on running mplayer (streamdump) kills mplayer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Feb 24 21:27:52 CET 2012


On Fri, Feb 24, 2012 at 07:56:58AM +0100, Reimar Döffinger wrote:
> 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.

Also please provide some details for reproducing this.
I could not reproduce the issue when dumping a shoutcast
stream on Linux.


More information about the MPlayer-dev-eng mailing list