Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Oct 2007 02:10:46 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Jeremy Messenger <mezz7@cox.net>
Cc:        freebsd-gnome@FreeBSD.org, jahnke@sonatabio.com
Subject:   Re: (minor) issues after upgrading to 2.20
Message-ID:  <1191910246.77136.7.camel@shumai.marcuscom.com>
In-Reply-To: <op.tzvaeyba9aq2h7@mezz.mezzweb.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-JyV96yWktTfS0+Rb9n19
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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=
> =20
> wrote:
>=20
> > On Sun, 2007-10-07 at 20:56 -0500, Jeremy Messenger wrote:
> >> On Sun, 07 Oct 2007 20:41:16 -0500, Joe Marcus Clarke =20
> >> <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 get goo=
d
> >> >> one.
> >> >>
> >> >> The backtraces look better now after reinstall firefox w/ WITH_DEBU=
G.
> >> >>
> >> >> http://people.freebsd.org/~mezz/gdb/gdb-yelp.txt
> >> >
> >> > Firefox is trying to call some method in a module that gdb doesn't =20
> >> know
> >> > about.  Do you have any plug-ins or extensions loaded in Firefox?
> >>
> >> Not that I know as I don't use Firefox. I went to Firefox's add-on pla=
ce
> >> and it shows that I have 'DOM Inspector 1.8.1.7', that's it. Other day=
s
> >> ago, I did add flashblock to reproduce Frank Jahnke's problem and 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
>=20
> (gdb) print *mInfo
> $1 =3D {
>    mDescription =3D 0x878dd004 <Error reading address 0x878dd004: Bad =20
> address>,
>    mCID =3D {m0 =3D 673230848, m1 =3D 16744, m2 =3D 10495, m3 =3D =20
> "\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}
>=20

It almost looks like it's trying to dereference a pointer to something
that is no longer in memory.  Like a module has already been unloaded,
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 Firefox,
and see if this helps.  We may need to add that for < -CURRENT.

Joe

--=20
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

--=-JyV96yWktTfS0+Rb9n19
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQBHCxtkb2iPiv4Uz4cRAgLGAJ0U6Mk5TXlvCckGGGgHOU3/Lv667wCgrd+m
7kqq70muQj7ERJJZMkwqxM4=
=Cu65
-----END PGP SIGNATURE-----

--=-JyV96yWktTfS0+Rb9n19--




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