Bug 205616 - bonobo-activation-server hang
Summary: bonobo-activation-server hang
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libbonobo
Version: 5
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-07 16:59 UTC by Volker Braun
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: libbonobo-2.14.0-1.fc5.1
Clone Of:
Environment:
Last Closed: 2006-09-08 22:00:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Fix file descriptor leak (491 bytes, patch)
2006-09-07 17:08 UTC, Volker Braun
no flags Details | Diff
Updated libbonobo spec file. (8.15 KB, application/octet-stream)
2006-09-07 17:10 UTC, Volker Braun
no flags Details

Description Volker Braun 2006-09-07 16:59:47 UTC
Description of problem:

Sometimes (especially in combination with the mail-notification applet from
fedora extras), I cannot open any new windows on the gnome desktop. "top" shows
bonobo-activation-server using 100% cpu. 

Further investigation shows that bonobo-activation-server ran out of file
descriptors. If spawning fails, it does not clean up open file descriptors.

Version-Release number of selected component (if applicable):

libbonobo-2.14.0-1.i386.rpm

How reproducible:

Always.

Steps to Reproduce:
1. Install mail-notification 3.0 and configure it to watch your evolution inbox.
2. Close evolution.
3. Watch /proc/<pid of bonobo-activation-server>/fd/ fill up.
  
Actual results:

bonobo-activation-server runs out of file descriptors

Expected results:

No leak.

Additional info:

Fix is in the following comment. This might be the cause for bug 189475, too.

Comment 1 Volker Braun 2006-09-07 17:08:53 UTC
Created attachment 135785 [details]
Fix file descriptor leak

FreeBSD has a patch addressing memory/file descriptor leaks:

http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/devel/libbonobo/files/patch-bonobo-activation_bonobo-activation-fork-server.c


Taking their patch directly did not work for me, though. It also addresses
memory leaks and these parts lead to a double free error. I isolated the file
descriptor leak part of this patch, it is in the attachment.

Comment 2 Volker Braun 2006-09-07 17:10:42 UTC
Created attachment 135786 [details]
Updated libbonobo spec file.

Comment 3 Volker Braun 2006-09-08 22:00:42 UTC
Apparently this has been fixed in the updates today,
libbonobo-2.14.0-1.fc5.1.rpm works. Marking as resolved.


Note You need to log in before you can comment on or make changes to this bug.