GNOME Bugzilla – Bug 676529
glchess doesn't quit engine on exit
Last modified: 2013-05-01 21:42:02 UTC
From bug #675434: Once glchess has lost on time, closing the program leaves a copy of gnuchess running - it's taking almost the entire CPU of one core on my PhenomX4, that residual program has run for half an hour without exiting, it has to be aborted by killing the process in the system monitor.
(at some point it might make sense to look at GSubprocess for this: https://bugzilla.gnome.org/show_bug.cgi?id=672102 )
That is *exactly* what I've been wanting from GLib. I am going to be using that class like crazy.
Confirming that glchess leaves an extra cpu+mem hungry gnuchess process. It happens both after each game, but also after quitting or after starting a new game in a single glchess run. glchess v3.4.2, non-3D mode (old hardware), Debian unstable.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. It now kills the engines but engines still stick around if chess crashes. They should quit themselves in this case because their stdin will close.
*** Bug 677037 has been marked as a duplicate of this bug. ***