[MPlayer-dev-eng] [PATCH] kill cache process following crash

Robert Henney robh at rut.org
Wed Feb 20 23:42:34 CET 2008


after some crashes an unattached process remains.  this patch makes 
the process go away.

keeping close to the idea that following a crash the absolute minimum
should be done before exiting because of the unknown state of things, I
resisted calling exit_player_with_rc().  the uninit_player() call
carries out the getch2_disable() call and in addition the steps to
end the cache process.

I also noticed that the exit_sighandler() function might be missing 
some breaks within its switch statement.  a SIGILL case will result in
both its message being printed as well as the SIGSEGV case message,
which I doubt is as intended.  I did not fix this part.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch1.patch
Type: text/x-diff
Size: 302 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20080220/55d0e511/attachment.patch>


More information about the MPlayer-dev-eng mailing list