Subject: kern/30689: exit_lwps: lwp_wait1 failed with error 11
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 07/08/2005 02:45:00
>Number:         30689
>Category:       kern
>Synopsis:       exit_lwps: lwp_wait1 failed with error 11
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 08 02:45:00 +0000 2005
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 3.99.7
>Organization:

>Environment:
Architecture: i386
Machine: i386

P4 single processor with HT enabled.

>Description:

panic: exit_lwps: lwp_wait1 failed with error 11
Stopped in pid 23131.20 (nfswrite) at   netbsd:cpu_Debugger+0x4:        leave
db{0}> bt
cpu_Debugger(d548fc8c,1,cc1aa808,cc013dcc,0,0,cc013ddc) at netbsd:cpu_Debugger+0
x4
panic(c07c5960,b,cc013dcc,1,0,cc1aa808,22) at netbsd:panic+0x11d
exit_lwps(d548fc8c,0,c1b2b000,807ae,5654390c,81223,cc013e4c) at netbsd:exit_
lwps+0x2ff
exit1(d548fc8c,f,1,cc1aa808,e,cc1aa808,cc27c49c) at netbsd:exit1+0x1c2
postsig(f,cc1aa808,cc013f1c,c0381e4e,cb89d050,d548fc8c,cc013f1c) at netbsd:
postsig+0x272
upcallret(d548fc8c,c08163ec,c0823b40,1,cc013f14,d5488990,fffffffd) at netbsd
:upcallret+0x3b
sa_yield(d548fc8c,cbff96e8,cb8e0468,d548fc8c,bd5fffcc,c08169c8,cc013f9c) at n
etbsd:sa_yield+0xf8
sys_sa_yield(d548fc8c,cc013f64,cc013f5c,282,cc1aa808,d5488668,0) at netbsd:s
ys_sa_yield+0x60
syscall_plain() at netbsd:syscall_plain+0x17e
--- syscall (number 334) ---
0xbdb2f377:
db{0}> mach cpu 1
using CPU 1
db{0}> bt
_kernel_lock(0,cc145f64,4,11,202,42,0) at netbsd:_kernel_lock+0xac
syscall_plain() at netbsd:syscall_plain+0x16f
--- syscall (number 17) ---
0xbdbacb93:
db{0}> x/x d548fc8c+10
0xd548fc9c:     cc1aa808
db{0}> x/x cc1aa808+54
0xcc1aa85c:     d548fc8c
db{0}> x/x d548fc8c+14
0xd548fca0:     d888c6e4
db{0}> x/x d888c6e4+14
0xd888c6f8:     0
db{0}> x/x d888c6e4+34
0xd888c718:     0
db{0}> x/x d888c6e4+10
0xd888c6f4:     cc1aa808
db{0}> x/x d888c6e4+24
0xd888c708:     8
db{0}> x/x d888c6e4+20
0xd888c704:     400004
db{0}> x/x d548fc8c+20
0xd548fcac:     10200004

10 == l_proc
54 == p_lwps
14 == l_sibling
34 == l_wchan
24 == l_stat
20 == l_flags

>How-To-Repeat:
>Fix:

>Unformatted: