From owner-freebsd-threads@FreeBSD.ORG Wed Jun 16 18:34:05 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8DE1C16A4CE for ; Wed, 16 Jun 2004 18:34:05 +0000 (GMT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2479943D39 for ; Wed, 16 Jun 2004 18:34:05 +0000 (GMT) (envelope-from marcus@FreeBSD.org) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) i5GIXKNo018951 for ; Wed, 16 Jun 2004 14:33:20 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: threads@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-3tm8KMWdX3U5FITJdU/S" Organization: FreeBSD, Inc. Message-Id: <1087410860.888.22.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 16 Jun 2004 14:34:20 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com Subject: Illegal instruction in firefox/thunderbird with libpthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 18:34:05 -0000 --=-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 , 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--