Bug 200477
Summary: | Starting GNOME, sometimes gnome-panel freezes. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | sangu <sangu.fedora> | ||||||
Component: | gnome-panel | Assignee: | Ray Strode [halfline] <rstrode> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | Keywords: | Reopened | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2006-08-16 04:41:06 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 | ||||||||
Attachments: |
|
Description
sangu
2006-07-28 01:58:26 UTC
Created attachment 133272 [details]
Possible fix
I looked into this a bit, and what i saw was the panel waiting for a reply from
bonobo-activation activating the applet. Bonobo activation was waiting for the
spawning of the geyes applet, but the geyes process wasn't around. b-a was
stuck reading the error reporting pipe from geyes though. I believe the reason
this happens is because we launched some other applets and they inherited the
error pipe, so geyes dying did not close the other side of the pipe.
This patch fixes this by closing all unneeded fds in processed spawned by
bonobo-activation-server. The patch is not really tested though.
Should we get this patch upstream in b.g.o or send it directly to meeks for some wider scrutiny ? Patch didn't actually make a big difference for me. I tried two things: 1) point the geyes .server file to a nonexisting binary 2) add an exit(1) to geyes_applet_fill(). The first case was handled ok with or without the patch (you get a dialog telling you there is a problem) The second hangs b-a-s with or without the patch, and occasionally, the panel crashes, too I added a bug.server file that pointed to /bin/false, and that reproduces the hang. Using a /bin/false applet .server it was pretty easy to reproduce the hang, however with the patch apply i'm totally failing to reproduce it, so I think its right. (Although maybe not a full solution?) I'm building this patch in libbonobo-2.15.0-3. I'm gonna close this bug and hope it has gone away. However, if you see this hang on a live system that has 2.15.0-3 or later, please reopen this bug. Created attachment 134087 [details]
gnome-panel backtrace file
This problem still happens in libbonobo-2.15.0-3.
$rpm -q libbonobo gnome-panel
libbonobo-2.15.0-3
gnome-panel-2.15.90-4.fc6
It would be more interesting to have a backtrace of bonobo-activation-server. If you see this again, please get that backtrace (for all threads). Note that todays rawhide has libbonobo-2.15.3, which seems to have some more fixes from Michael Meeks. It would be nice if you could retest with that version. sangu ? gnome-panel-2.15.91-1.fc6 works well in libbonobo-2.15.3-1.fc6. |