Bonobo 1.x moniker leak
- From: Frederic Crozat <fcrozat mandrakesoft com>
- To: gnome-components-list gnome org
- Subject: Bonobo 1.x moniker leak
- Date: 08 Mar 2002 15:39:56 +0100
I've just found a (big) problem in current implementation of
BONOBO_OAF_FACTORY and BONOBO_OAF_FACTORY_MULTI in bonobo 1 branch..
Currently, if two monikers of the same type are started simultaneously,
the second moniker fails to initialize the factory, then try to call
bonobo_running_context_auto_exit_unref on the NULL factory (causing a
Bonobo-Warning) and (this is more problematic), lets the moniker process
stalled in bonobo_main() instead of exiting immediatly.
I'm seeing this problem when using GNOME control center 1.5.11 when
starting GNOME session, because a lot of control center applets are
started simultaneously, causing multi bonobo archiver moniker
activations, which then results in "leaked" bonobo-archiver-moniker
process on the system :((
I've seen it has been fixed in GNOME 2 branch of libbonobo but I'd like
to fix it in "stable" branch.. My only problem is this requires a
modification of two BONOBO_OAF_FACTORY* macros, which means I'll have to
rebuild all programs which are using theses macros :-(
Any ideas ?
] [Thread Prev