Illegal instruction in firefox/thunderbird with libpthread
Joe Marcus Clarke
marcus at FreeBSD.org
Wed Jun 16 18:34:05 GMT 2004
I'm running -CURRENT:
FreeBSD gyros.marcuscom.com 5.2-CURRENT FreeBSD 5.2-CURRENT #33: Fri Jun
11 17:44:01 EDT 2004
marcus at 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=-1077946880)
at /usr/src/lib/libpthread/thread/thr_kern.c:432
sigset = {__bits = {135174400, 3217020440, 671471161, 0}}
#2 0x2885fe99 in _pthread_create (thread=0x0, attr=0xbfbfd608,
start_routine=0x2884b31c <PR_Select+656>, arg=0x80e9900)
at /usr/src/lib/libpthread/thread/thr_private.h:971
curthread = (struct pthread *) 0x807e2b0
new_thread = (struct pthread *) 0x807be00
kse = (struct kse *) 0x0
kseg = (struct kse_group *) 0x0
crit = 0x1
ret = 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
--
Joe Marcus Clarke
FreeBSD GNOME Team :: marcus at FreeBSD.org
gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20040616/37fef9fe/attachment.bin
More information about the freebsd-threads
mailing list