Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2004 14:34:20 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        threads@FreeBSD.org
Subject:   Illegal instruction in firefox/thunderbird with libpthread
Message-ID:  <1087410860.888.22.camel@gyros>

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

--=-3tm8KMWdX3U5FITJdU/S
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I'm running -CURRENT:

FreeBSD gyros.marcuscom.com 5.2-CURRENT FreeBSD 5.2-CURRENT #33: Fri Jun
11 17:44:01 EDT 2004   =20
marcus@gyros.marcuscom.com:/usr/obj/usr/src/sys/GYROS  i386

And trying to port the new thunderbird.  When I run it on a fresh
account, I immediately get an illegal instruction and a core dump.  If I
libmap libpthread to libc_r or libthr, the problem goes away, and
thunderbird starts.  If I then libmap libpthread back to libpthread, I
no longer get the problem.  Therefore, it looks like one code path in
thunderbird (and one user has reported the same thing with firefox-0.9)
causes a crash with KSE.  Here is the backtrace I have so far:

Illegal instruction (core dumped)
#0  0x28872477 in kse_create () at {standard input}:15
No locals.
#1  0x2886a539 in _kse_setthreaded (threaded=3D-1077946880)
    at /usr/src/lib/libpthread/thread/thr_kern.c:432
        sigset =3D {__bits =3D {135174400, 3217020440, 671471161, 0}}
#2  0x2885fe99 in _pthread_create (thread=3D0x0, attr=3D0xbfbfd608,
    start_routine=3D0x2884b31c <PR_Select+656>, arg=3D0x80e9900)
    at /usr/src/lib/libpthread/thread/thr_private.h:971
        curthread =3D (struct pthread *) 0x807e2b0
        new_thread =3D (struct pthread *) 0x807be00
        kse =3D (struct kse *) 0x0
        kseg =3D (struct kse_group *) 0x0
        crit =3D 0x1
        ret =3D 1
#3  0x2884b759 in PR_Select ()
   from /usr/X11R6/lib/thunderbird/lib/thunderbird-0.7/libnspr4.so
No symbol table info available.

This is highly reproduceable with thunderbird, and I can make the port
available if someone wants it.  Thanks.

Joe

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


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

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

iD8DBQBA0JKsb2iPiv4Uz4cRAhl7AJ9DzzTcna9htH5KIKK6rbmcpDpdWACfXLwY
clfRnRAUlTZ/hDuR/UBsonE=
=Kv2h
-----END PGP SIGNATURE-----

--=-3tm8KMWdX3U5FITJdU/S--



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