GNOME Bugzilla – Bug 621661
Make slaves more robust against crashes
Last modified: 2010-06-15 19:39:46 UTC
When a slave crashes for whatever reason we get a backtrace in the log but often we don't kill the greeter associated with it or the helper processes. In addition to that we don't try to switch the active session to ensure the user doesn't get left at a dead end. Not killing the workers may leave PAM login devices such as smartcards in an unusable state for the next login attempt. On IRC, Ray suggests using the following on Linux: prctl(PR_SET_PDEATHSIG,unsigned long arg2, unsigned long arg3, unsigned long arg4, unsigned long arg5);
commit 712cd8d8faa05151f979ac3baf53868bae78c7f8 Author: William Jon McCann <jmccann@redhat.com> Date: Tue Jun 15 12:00:25 2010 -0400 Terminate subprocesses after the slave dies This will help prevent leaving the system in an inconsistent state. https://bugzilla.gnome.org/show_bug.cgi?id=621661 pushed to master and 2-30