Skip site navigation (1)Skip section navigation (2)
Date:      19 Jun 2002 22:12:39 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Sean Chittenden <sean@chittenden.org>
Cc:        Kris Kennaway <kris@obsecurity.org>, walt <wsheets@sbcglobal.net>, freebsd-current <freebsd-current@FreeBSD.ORG>
Subject:   Re: The -current state of mozilla affairs
Message-ID:  <1024539159.44782.21.camel@shumai.marcuscom.com>
In-Reply-To: <20020619183056.K31745@ninja1.internal>
References:  <3CFC588A.9070903@sbcglobal.net> <20020604134655.B62465@xor.obsecurity.org>  <20020619183056.K31745@ninja1.internal>

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

--=-IvMkbofQCoEbvnYykXFL
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2002-06-19 at 21:30, Sean Chittenden wrote:
> > > The kind of compile errors for mozilla have been changing as the
> > > C++ problems get fixed.  Today's error is one I haven't seen
> > > before--a core dump.  Does this suggest a non-c++ problem that
> > > needs fixing?  Sorry about the line-wrap:  I put extra CR's where
> > > the linebreaks are.
> >=20
> > I'm seeing this on one of my 4.x i386 boxes and on the (4.x) alpha
> > ports cluster.  When I try and compile mozilla with -ggdb to get a
> > traceback I get an internal compiler error :-(
>=20
> I supped a -CURRENT system 3 days ago and am still having the problem
> described here, but the gcc that's in the base system is 3.1 at this
> point.  I'm installing gcc32 now and will try building this again
> using a newer version of GCC but am not sure if this'll fix anything.
> Anyone have any ideas/clues?  -sc

I do, but admittedly, it's not my idea.  Peter Kostouros has said that
defining THUNK_BASED_THIS_ADJUST in
xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h fixes the
build problem on -CURRENT.  I have not tested this yet, but I did test a
build with gcc31 from ports (per mbr@'s suggestion), and that works just
fine. =20

I want to test Peter's suggestion before I add more bloat to Mozilla.  I
just have a really slow -CURRENT machine.  If you'd like to test the
option, undefine CFRONT_STYLE_THIS_ADJUST, and define
THUNK_BASED_THIS_ADJUST in the above header file, and see if it works.

Joe

>=20
> --=20
> Sean Chittenden
> ----
>=20

> (no debugging symbols found)...Core was generated by `regxpcom'.
> Program terminated with signal 11, Segmentation fault.
> (no debugging symbols found)...#0  0x284b01a0 in nsXPCException::CanGetPr=
operty(nsID const*, unsigned short const*, char**)
>     () from /usr/ports/www/mozilla/work/mozilla/dist/bin/components/libxp=
connect.so
> #0  0x284b01a0 in nsXPCException::CanGetProperty(nsID const*, unsigned sh=
ort const*, char**) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/components/libxpconn=
ect.so
> #1  0x281277cb in XPTC_InvokeByIndex () from /usr/ports/www/mozilla/work/=
mozilla/dist/bin/./libxpcom.so
> #2  0x284c2b1b in XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappe=
dNative::CallMode) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/components/libxpconn=
ect.so
> #3  0x284c87a4 in XPC_WN_CallMethod(JSContext*, JSObject*, unsigned, long=
*, long*) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/components/libxpconn=
ect.so
> #4  0x285046c2 in js_Invoke () from /usr/ports/www/mozilla/work/mozilla/d=
ist/bin/./libmozjs.so
> #5  0x28504922 in js_InternalInvoke () from /usr/ports/www/mozilla/work/m=
ozilla/dist/bin/./libmozjs.so
> #6  0x285184c7 in js_TryMethod () from /usr/ports/www/mozilla/work/mozill=
a/dist/bin/./libmozjs.so
> #7  0x28517555 in js_DefaultValue () from /usr/ports/www/mozilla/work/moz=
illa/dist/bin/./libmozjs.so
> #8  0x28532605 in js_ValueToString () from /usr/ports/www/mozilla/work/mo=
zilla/dist/bin/./libmozjs.so
> #9  0x284fee8b in js_ReportUncaughtException () from /usr/ports/www/mozil=
la/work/mozilla/dist/bin/./libmozjs.so
> #10 0x284e5f79 in JS_ExecuteScript () from /usr/ports/www/mozilla/work/mo=
zilla/dist/bin/./libmozjs.so
> #11 0x2854b7df in mozJSComponentLoader::GlobalForLocation(char const*, ns=
IFile*) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/components/libjsload=
er.so
> #12 0x2854ae2b in mozJSComponentLoader::ModuleForLocation(char const*, ns=
IFile*) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/components/libjsload=
er.so
> #13 0x2854a658 in mozJSComponentLoader::AttemptRegistration(nsIFile*, int=
) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/components/libjsload=
er.so
> #14 0x2854a425 in mozJSComponentLoader::AutoRegisterComponent(int, nsIFil=
e*, int*) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/components/libjsload=
er.so
> #15 0x28549fac in mozJSComponentLoader::RegisterComponentsInDir(int, nsIF=
ile*) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/components/libjsload=
er.so
> #16 0x28549e8a in mozJSComponentLoader::AutoRegisterComponents(int, nsIFi=
le*) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/components/libjsload=
er.so
> #17 0x281068bb in nsComponentManagerImpl::AutoRegisterImpl(int, nsIFile*,=
 int) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/./libxpcom.so
> #18 0x28106cfd in nsComponentManagerImpl::AutoRegister(nsIFile*) ()
>    from /usr/ports/www/mozilla/work/mozilla/dist/bin/./libxpcom.so
> #19 0x80498a3 in __register_frame_info ()
> #20 0x8049251 in __register_frame_info ()


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

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

iD8DBQA9EToXb2iPiv4Uz4cRAtJ8AKCpI47O/ujRUvB03Ess1MS0Nu2nzwCdGfRb
L//LCqlYyHj53y+INrBSV/Y=
=Q172
-----END PGP SIGNATURE-----

--=-IvMkbofQCoEbvnYykXFL--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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