Subject: lib/27230: pthread: frequent crashes in pthread__signal_deferred (2.0RC1)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <mkb@mukappabeta.de>
List: netbsd-bugs
Date: 10/12/2004 04:52:00
>Number:         27230
>Category:       lib
>Synopsis:       pthread: frequent crashes in pthread__signal_deferred (2.0RC1)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 12 04:53:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Buelow
>Release:        2.0RC1/i386
>Organization:
>Environment:
NetBSD xxx 2.0_RC1 NetBSD 2.0_RC1 (GENERIC) #0: Sun Oct  3 06:36:43 UTC 2004  autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC i386

>Description:
There seem to be "issues" with threaded applications, notably 
Mozilla Thunderbird and Firefox.

Firefox crashes often in seemingly random intervals but I haven't yet
managed to get a corefile.
Thunderbird crashes every couple minutes during normal operation,
always at the same place:

(gdb) bt
#0  0x4873cfeb in kill () from /usr/lib/libc.so.12
#1  0x4875b1a8 in raise () from /usr/lib/libc.so.12
#2  0x08054cb1 in nsProfileLock::FatalSignalHandler(int) ()
#3  0x48717c73 in pthread__signal_deferred () from /usr/lib/libpthread.so.0

Since both programs run fairly stable on other systems (I can't
remember when I've last seen a thunderbird crash on Linux or Windows,
for example) I think these problems are related to the thread
library on NetBSD.

Both programs are rather high-profile these days, and some effort
should be made to make them run as stable on NetBSD as on other
systems.

Versions of programs used:

mail/thunderbird-gtk2, version 0.8 (20041009),
# $NetBSD: Makefile,v 1.5 2004/08/10 14:27:17 taya Exp $

www/firefox-gtk2, Firefox Mozilla/5.0 (X11; U; NetBSD i386; rv:1.7.3) Gecko/20041009 Firefox/0.10.1,
# $NetBSD: Makefile,v 1.12 2004/08/10 14:04:01 taya Exp $

There are some other problems with firefox, such as that it pops
up "empty" dialog boxes (i.e., no text labels, except on one of
the buttons), for example at the NetBSD WWW send-pr form, when
hitting the Submit button.
And the Find dialog-pane at the bottom doesn't seem to work, except
for the highlight functionality.

These may be genuine firefox bugs, or might or might not be related
to my perceived pthread problems.

>How-To-Repeat:
Run thunderbird or firefox for a while.


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: