After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 432618 - Needs to handle hanging external commands in a smarter way
Needs to handle hanging external commands in a smarter way
Status: RESOLVED NOTGNOME
Product: gnome-session
Classification: Core
Component: gnome-session
2.18.x
Other All
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-23 15:01 UTC by Sam Morris
Modified: 2007-05-09 20:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Sam Morris 2007-04-23 15:01: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:
Comment 1 Vincent Untz 2007-05-09 20:23:46 UTC
Upstream gnome-session doesn't do this. The gdmflexiserver thing is added by an ubuntu patch.