Subject: kern/21391: mozilla crashes SMP machines imediately
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin Husemann <martin@aprisoft.de>
List: netbsd-bugs
Date: 04/29/2003 17:40:27
>Number:         21391
>Category:       kern
>Synopsis:       mozilla crashes SMP machines imediately
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 15:41:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Martin Husemann
>Release:        NetBSD 1.6R
>Organization:
>Environment:
System: NetBSD beasty.aprisoft.de 1.6R NetBSD 1.6R (BEASTY) #0: Tue Apr 29 17:15:27 CEST 2003 martin@beasty.aprisoft.de:/usr/src/sys/arch/i386/compile/BEASTY i386
Architecture: i386
Machine: i386
>Description:

Due to some file system lossage I recently had the oportunity to recompile
all my pkgs after recompiling xsrc ;-)

Now mozilla imediately panics my machine before it's window apears:

panic: kernel debugging assertion "(l2 == NULL) || (l2->l_stat == LSRUN)" failed: file "../../../../kern/kern_sa.c", line 321
Stopped in pid 600.3 (mozilla-bin) at   netbsd:cpu_Debugger+0x4:        leave
db{1}> tr
cpu_Debugger(d4a27c84,d4a27b04,d4bb101c,c0310a60,1312d00) at netbsd:cpu_Debugger+0x4
panic(c02e4700,c02b9c89,c02b9d00,c02b9c6e,141) at netbsd:panic+0xb8
__assert(c02b9c89,c02b9c6e,141,c02b9d00,493bffdc) at netbsd:__assert+0x1f
sa_yield(d4a27b04,0,d4b8ef50,c01c8116,493bffdc) at netbsd:sa_yield+0x1c7
sys_sa_yield(d4a27b04,d4b8ef80,d4b8ef78,c023d18f,d4a27b04) at netbsd:sys_sa_yield+0x2d
syscall_plain(2b,2b,2b,2b,483f6510) at netbsd:syscall_plain+0xc0
db{1} >

Continuing from this is not possible, an imediate lockmanager "locking against
myself" follows, so I guess even w/o LOCKDEBUG and friends I'd be in serious
trouble. Actually I first noticed the problem with a !DEBUG & !LOCKDEBUG kernel
(but no serial console and X running)

>How-To-Repeat:

Try to start mozilla on a -current SMP machine.

>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: