GNOME Bugzilla – Bug 432618
Needs to handle hanging external commands in a smarter way
Last modified: 2007-05-09 20:23:46 UTC
Please describe the problem: While debugging https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/108761 I discovered that gnome-session spawns gdmflexiserver --startnew. Now, the bug I have causes this command to never return. The result is that the user's X session becomes unusable; they can't launch any new programs, or even log out, since gnome-session is frozen. Steps to reproduce: 1. Replace gdmflexiserver with a short program that just sleeps forever 2. Try to switch users 3. Try to log out or run a new program Actual results: gnome-session hangs waiting for gdmflexiserver to exit Expected results: gnome-session should wait on the command in a separate thread so that the user can still launch programs and log off. Does this happen every time? Yes Other information:
Upstream gnome-session doesn't do this. The gdmflexiserver thing is added by an ubuntu patch.