Re: Is this meant to happen? (was Re: commit: AbiWord is now a Nautilus View.
- From: Martin Sevior <msevior physics unimelb edu au>
- To: gnome-components-list gnome org
- Subject: Re: Is this meant to happen? (was Re: commit: AbiWord is now a Nautilus View.
- Date: Mon, 31 Mar 2003 21:09:28 +1000 (EST)
On Mon, 31 Mar 2003, Martin Sevior wrote:
> On Mon, 31 Mar 2003, Michael Meeks wrote:
>
> > Hi Martin,
> >
> > On Sun, 2003-03-30 at 18:19, Martin Sevior wrote:
> > > Thanks VERY much for this tip.
> >
> > I think there are probably two problems here; firstly, nautilus is not
> > de-merging all the menus when it's finished with the control - it should
> > be sending a de-activate signal of some sort - which is a long-running
> > problem.
> >
> > Secindly though - it's likely that you're leaking a BonoboObject
> > reference count. ie. not a GObject reference.
> >
> > It's worth reading libbonobo/doc/refcounting.txt to see what that
> > means. To track referencing problems it's perhaps best to re-build
> > libbonobo with --enable-debug=yes, and then:
> >
> > export BONOBO_DEBUG=refs
> >
> > and run your abiword component from the console.
> >
> > Often that _can_ help get some idea for the sequence that refs are
> > happening in on your object.
>
> Ah thanks for the further clues. I'll try this sort of thing. That doc
> wasn't in libbonobo-2.0.1.tar.gz which was what I was using for a source
> code reference.
OK this is harder than I thought. Firstly there is no public way to access
the agregate object reference count. So as a first step to debugging I
tried to compile bonobo but after a flawless ./autogen and ./configure I
typed "make" and got...
e/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -g -O2
-MT Bonobo-imodule.lo -MD -MP -MF ".deps/Bonobo-imodule.Tpo" \
-c -o Bonobo-imodule.lo `test -f 'Bonobo-imodule.c' || echo
'./'`Bonobo-imodule.c; \
then mv ".deps/Bonobo-imodule.Tpo" ".deps/Bonobo-imodule.Plo"; \
else rm -f ".deps/Bonobo-imodule.Tpo"; exit 1; \
fi
../libtool: line 1: s%^.*/%%: No such file or directory
../libtool: line 1: -e: command not found
../libtool: line 1: -e: command not found
etc, etc
libtool: line 1: -e: command not found
: compile: cannot determine name of library object from `'
make[2]: *** [Bonobo-imodule.lo] Error 1
make[2]: Leaving directory `/home/msevior/abidir/gnome-cvs/libbonobo/idl'
make[1]: *** [all-recursive] Error 1
This is CVS libbonobo.
Since I can't compile libbonobo I'll take you up on your offer to solve
the problem for me :-)
Look at:
http://www.abisource.com/lxr/source/abi/src/wp/ap/unix/ap_unixApp?v=1.217
Lines 1595 -2140 are relevant to the bonobo interface - though some is
dormant code waiting for the bonobo::print interface to be revived.
I'm sure a lot of it will look familar..
Thanks!
Martin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]