Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Oct 2007 15:43:22 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Joe Marcus Clarke" <marcus@freebsd.org>
Cc:        freebsd-gnome@freebsd.org, jahnke@sonatabio.com
Subject:   Re: (minor) issues after upgrading to 2.20
Message-ID:  <op.tzx6ikxu9aq2h7@mezz.mezzweb.com>
In-Reply-To: <470BDFBB.8000809@freebsd.org>
References:  <1191517967.61533.122.camel@pinot.fmjassoc.com> <47093C60.1060603@freebsd.org> <op.tzuk25j49aq2h7@mezz.mezzweb.com> <op.tzutxrj39aq2h7@mezz.mezzweb.com> <1191807676.55835.1.camel@shumai.marcuscom.com> <op.tzuvnywj9aq2h7@mezz.mezzweb.com> <1191824301.55835.3.camel@shumai.marcuscom.com> <op.tzvaeyba9aq2h7@mezz.mezzweb.com> <1191910246.77136.7.camel@shumai.marcuscom.com> <op.tzx4wyrh9aq2h7@mezz.mezzweb.com> <470BDFBB.8000809@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 09 Oct 2007 15:08:27 -0500, Joe Marcus Clarke <marcus@freebsd.or=
g>  =

wrote:

> Jeremy Messenger wrote:
>> On Tue, 09 Oct 2007 01:10:46 -0500, Joe Marcus Clarke
>> <marcus@FreeBSD.org> wrote:
>>
>>> On Mon, 2007-10-08 at 02:14 -0500, Jeremy Messenger wrote:
>>>> On Mon, 08 Oct 2007 01:18:21 -0500, Joe Marcus Clarke
>>>> <marcus@FreeBSD.org>
>>>> wrote:
>>>>
>>>> > On Sun, 2007-10-07 at 20:56 -0500, Jeremy Messenger wrote:
>>>> >> On Sun, 07 Oct 2007 20:41:16 -0500, Joe Marcus Clarke
>>>> >> <marcus@FreeBSD.org>
>>>> >> wrote:
>>>> >>
>>>> >> > On Sun, 2007-10-07 at 20:18 -0500, Jeremy Messenger wrote:
>>>> >> >> On Sun, 07 Oct 2007 17:07:43 -0500, Jeremy Messenger
>>>> <mezz7@cox.net>
>>>> >> >> wrote:
>>>> >> >>
>>>> >> <snip>
>>>> >> >> > Yelp likes to crash at the every exit. I couldn't get good
>>>> >> >> backtraces, I
>>>> >> >> > think I will have to reinstall firefox with WITH_DEBUG to g=
et
>>>> good
>>>> >> >> one.
>>>> >> >>
>>>> >> >> The backtraces look better now after reinstall firefox w/
>>>> WITH_DEBUG.
>>>> >> >>
>>>> >> >> http://people.freebsd.org/~mezz/gdb/gdb-yelp.txt
>>>> >> >
>>>> >> > Firefox is trying to call some method in a module that gdb  =

>>>> doesn't
>>>> >> know
>>>> >> > about.  Do you have any plug-ins or extensions loaded in Firef=
ox?
>>>> >>
>>>> >> Not that I know as I don't use Firefox. I went to Firefox's add-=
on
>>>> place
>>>> >> and it shows that I have 'DOM Inspector 1.8.1.7', that's it. Oth=
er
>>>> days
>>>> >> ago, I did add flashblock to reproduce Frank Jahnke's problem an=
d I
>>>> >> deleted it after that, but I can reproduce Yelp problem before I=

>>>> added
>>>> >> flashblock.
>>>> >>
>>>> >> > Can you print out the value of mInfo in frame 1 of the stack?
>>>> >>
>>>> >> Yeah, I re-ran gdb and now it's frame 3, so here:
>>>> >>
>>>> >> (gdb) f 3
>>>> >> #3  0x292bcded in ~nsGenericFactory (this=3D0x824f380) at
>>>> >> nsGenericFactory.cpp:64
>>>> >> 64      nsGenericFactory.cpp: No such file or directory.
>>>> >>          in nsGenericFactory.cpp
>>>> >> Current language:  auto; currently c++
>>>> >> (gdb) print mInfo
>>>> >> $1 =3D (const nsModuleComponentInfo *) 0xbfbfe7e0
>>>> >
>>>> > I need to see the contents of the pointer, so:
>>>> >
>>>> > print *mInfo
>>>>
>>>> (gdb) print *mInfo
>>>> $1 =3D {
>>>>    mDescription =3D 0x878dd004 <Error reading address 0x878dd004: B=
ad
>>>> address>,
>>>>    mCID =3D {m0 =3D 673230848, m1 =3D 16744, m2 =3D 10495, m3 =3D
>>>> "\020\036?(?|\021\b"},
>>>>    mContractID =3D 0xbfbfe838 "X???N??(",
>>>>    mConstructor =3D 0x28076ba1 <_rtld_bind_start+17>,
>>>>    mRegisterSelfProc =3D 0x28209800, mUnregisterSelfProc =3D 0x20,
>>>>    mFactoryDestructor =3D 0x80cdcf0,
>>>>    mGetInterfacesProc =3D 0x293794c8 <vtable for nsTraceRefcntImpl+=
8>,
>>>>    mGetLanguageHelperProc =3D 0x28ff41c8 <__JCR_LIST__+4>,
>>>>    mClassInfoGlobal =3D 0x28ff1e10, mFlags =3D 0}
>>>>
>>>
>>> It almost looks like it's trying to dereference a pointer to somethi=
ng
>>> that is no longer in memory.  Like a module has already been unloade=
d,
>>> and that code is being called.  I just upgraded my -CURRENT amd64
>>> machine, and I can't reproduce there either.
>>>
>>> But I did find something that may help.  Extract Firefox, then edit
>>> embedding/base/nsEmbedAPI.cpp, and uncomment line 56.  Rebuild Firef=
ox,
>>> and see if this helps.  We may need to add that for < -CURRENT.
>>
>> The crash disappear when I uncomment that line 56.
>>
>> #define HACK_AROUND_NONREENTRANT_INITXPCOM
>
> Good, that's what I thought.  How about the functionality of yelp and
> Ephiphany?  Anything become more broken after uncommenting that line?

Nothing more broke, Epiphany and Liferea run fine. As for the Yelp, I  =

still get that same 'dialog' as I have report other than that, it's same=
  =

and solve crash problem at exit.

Cheers,
Mezz

> Joe


-- =

mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org
http://wiki.freebsd.org/multimedia  -  multimedia@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.tzx6ikxu9aq2h7>