This is what I get after SIGTERMing the mplayer process (mplayer 'videostream or some large video file' -dumpstream -dumpfile tmpfile ; echo "Terminated with status $?"): MPlayer interrupted by signal 2 in module: dumpstream Core dumped ;) Exiting... (End of file) Terminated with status 0 Sometimes I also get these lines before the "core dumped" success message: read error:: Interrupted system call pre-header read failed
Created attachment 178358 [details, diff] mplayer-async-quit.diff A patch to fix this. Appears to work.
I also filed this upstream: http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1383
I have also noticed mplayer returning successfully after printing the erronous "read error:: Resource temporarily unavailable" message to the standard error output before. However, I'm not quite sure yet whether this happens immediately before exiting, but I'm looking into it.
(In reply to comment #3) > I have also noticed mplayer returning successfully after printing the erronous > "read error:: Resource temporarily unavailable" message to the standard error > output before. However, I'm not quite sure yet whether this happens immediately > before exiting, but I'm looking into it. I was wrong about this, everything was *kind of OK* with this actually, nevermind these two comments please.
I'm not exactly sure this is an error. I'll leave Reimar decide anyway.