Bonobo 1.x moniker leak



Hi,

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 ?
-- 
Frédéric Crozat
MandrakeSoft




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]