Bug 200149

Summary: gnome-panel doesn't exit cleanly when X server dies
Product: [Fedora] Fedora Reporter: Ray Strode [halfline] <rstrode>
Component: gnome-panelAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-26 18:07:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150224    

Description Ray Strode [halfline] 2006-07-25 18:42:36 UTC
gnome-panel gets stuck if the X server is killed from under it.

It seems like SIGPIPE has been set to SIG_IGN and so it doesn't die appropriately. 

The stack trace looks bogus, but it could be there is some atexit handler doing
bad things or something.

Comment 1 Ray Strode [halfline] 2006-07-26 15:21:28 UTC
So alex, kevin, and I looked at this today.  It turns out there is an atexit
handler setup by ORBit to do shutdown.  This results in panel_applet_frame
noticing its connection with the applet died and trying to pop up a dialog
asking if we'd like to reload the applet.  Popping up the dialog results in an X
round trip (because somewhere in the stack we call gdk_x11_get_server_time) and
this makes us spin.

Comment 2 Deji Akingunola 2006-08-14 15:17:58 UTC
This still happens (to me) on FC6-Test2, fully updated to rawhide as of 2006-8-13.
gnome-panel has been crashing a lot lately, and each time it does I have to
Ctrl-Alt-Bkspace to get back at login screen and re-login. But then the gnome
panel wouldn't start claiming another instance is running. I have to drop to
tty1 and kill the defunct gnome-panel there before I could proceed.