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 542698 - when gnome-session can't close a process when ending session, ignore it
when gnome-session can't close a process when ending session, ignore it
Status: RESOLVED OBSOLETE
Product: gnome-session
Classification: Core
Component: gnome-session
2.22.x
Other All
: Normal major
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-12 19:14 UTC by Jakub 'Livio' Rusinek
Modified: 2009-02-23 21:41 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Jakub 'Livio' Rusinek 2008-07-12 19:14:03 UTC
Please describe the problem:
when some process is a zombie, GNOME wont shutdown.

I don't care what going on, I simply want to logout/shutdown/etc but I can't and I need to kill X and sometimes lose data. great isn't it?

Steps to reproduce:
1. turn any process into zombie
2. try to exit GNOME


Actual results:
I can't click anything and GNOME doesn't exit.

Expected results:
GNOME should ignore the zombie and do what it should

Does this happen every time?
it happens too frequent. it shouldn't ever happen.

Other information:
if that's not because of a zombie tell me what to do so I'll find out what's going on the hell...
Comment 1 William Jon McCann 2008-08-04 23:58:20 UTC
What version of gnome-session are you using?

Please try attaching strace and gdb to the gnome-session process when it is hung.  You will probably want to do this from another session.  Then post the results here.

Thanks.
Comment 2 Jakub 'Livio' Rusinek 2008-08-05 11:09:26 UTC
this problem is true for 2.18.x, 2.20.x, 2.22.x and sure for newer versions.

> Please try attaching strace and gdb to the gnome-session process when it is
> hung.  You will probably want to do this from another session.  Then post the
> results here.

I'm not sure if it does hang, but it simply doesn't free X server and close the session.

how do I to this? should I duplicate gnome session from /usr/share/xsession and in duplicate run gnome-session with gdb and/or strace?
Comment 3 William Jon McCann 2008-08-08 17:57:24 UTC
It is probably hung up somewhere.

Can you please try attaching strace and gdb to the gnome-session process when it is hung.  You will probably want to do this from another session.  Then post the
results here.  Thanks.
Comment 4 Tobias Mueller 2009-02-23 17:41:59 UTC
Jakub, Ping.
Comment 5 Jakub 'Livio' Rusinek 2009-02-23 21:41:58 UTC
I can't reproduce it anymore with 2.24.x.