gnome 2.4 freezee some apps

Joe Marcus Clarke marcus at marcuscom.com
Tue Nov 4 19:43:11 PST 2003


On Tue, 2003-11-04 at 22:26, Simon Barner wrote:

> I think this whole story is related with recent changes to some bonobo stuff
> that is documented in the GNOME cvs repository:
> 

Exactly what versions of libbonobo[ui] do you have installed?

> I ran galeon under gdb (on -CURRENT). I have attached the full backtrace
> of a crash (with debugging symbols for galeon2, glib20 and libbonobo.

Looks like a race to free an object.  I've seen this before in
gnome-panel.

> 
> I found a work-around for this bug: Commenting out the explicit
> destruction of automation factory (patch that also enables additional
> debugging output is attached) makes the Galeon process terminate quickly
> and cleanly (on both -STABLE and -CURRENT).
> 
> I know that this is a really ugly `solution', and I wonder whether this
> will leak some memory in libbono (the Galeon process is doomed to die at
> this time of the execution anyway, so there should be no problem - of
> course from the memory point of view).

Yep.  It would be better to make sure we free what we malloc, and only
do so once.  The crash only occurs on -CURRENT due to extra malloc
debugging.  Doing:

# ln -s aj /etc/malloc.conf

Will most likely prevent the bus error.

> Well, perhaps you or someone can find the real cause of the troubles from
> the attached material - for now the proposed patch will do for me.

I'll take a look, but I first need to know the exact version of all your
installed ports.

Joe

> 
> Simon
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20031104/1fd0861c/attachment.bin


More information about the freebsd-ports mailing list