[MPlayer-dev-eng] using strace -p on running mplayer (streamdump) kills mplayer
Oliver
oliver at first.in-berlin.de
Fri Feb 24 03:07:28 CET 2012
Hello,
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
In general it would be better to use sigaction()-semantics for signalling
instead of signal(), so that signalling will become reliable.
Maybe this could be something worth working on later.
At the moment I just wanted to fix this issue.
I hope that helps
Ciao,
Oliver
More information about the MPlayer-dev-eng
mailing list