Subject: kern/21600: mozilla unkillable all threads hangs/busy
To: None <gnats-bugs@gnats.netbsd.org>
From: None <lha@netbsd.org>
List: netbsd-bugs
Date: 05/16/2003 21:41:05
>Number: 21600
>Category: kern
>Synopsis: mozilla unkillable all threads hangs/busy
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 16 19:42:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Love
>Release: NetBSD 1.6R
>Organization:
>Environment:
System: NetBSD nutcracker.stacken.kth.se 1.6R NetBSD 1.6R (NUTCRACKER) #7: Fri May 2 18:35:18 CEST 2003 lha@nutcracker.stacken.kth.se:/usr/src/sys/arch/i386/compile/NUTCRACKER i386
Architecture: i386
Machine: i386
>Description:
mozilla can get stuck in kernel (i've seen the same thing with psi
(pkgsrc/chat/psi))
ps clean the second thread sleeps in closef, gdb clean its select,
dunno who's right
: lha@nutcracker ; ps axlwwws -p 26127
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND UID PID PPID CPU LID NLWP PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
913 26127 161 0 10 0 12268 34672 lwpwait2 DEl p0 0:12.50 (mozill 913 26127 161 0 1 2 10 0 12268 34672 lwpwait2 D p0 0:12.50 (mozilla-bin)
913 26127 161 0 -6 0 12268 34672 closef DEl p0 0:12.50 (mozill 913 26127 161 0 3 2 -6 0 12268 34672 closef D p0 0:12.50 (mozilla-bin)
: lha@nutcracker ; ktrace -p 26127
: lha@nutcracker ; kdump
26127 mozilla-bin EMUL "netbsd"
: lha@nutcracker ;
: root@nutcracker ; gdb -q
(gdb) kmem
no debugging symbols found)...#0 0xc050ed60 in lwp0 ()
(gdb) xps
[...]
0xd42fa018 26127 6002 2 2 mozilla-bin
0xd39aba80 4 0xd42fa080 (lwpwait2)
0xd4171804 84 0xc0511408 (select)
(gdb) proc 0xd39aba80
(gdb) bt
#0 0xd39aba80 in ?? ()
#1 0xc028ee1b in ltsleep (ident=0xd42fa080, priority=1056,
wmesg=0xc04cd148 "lwpwait2", timo=0, interlock=0x0)
at ../../../../kern/kern_synch.c:495
#2 0xc02858c5 in lwp_wait1 (l=0xd39aba80, lid=0, departed=0xd4311edc, flags=1)
at ../../../../kern/kern_lwp.c:424
#3 0xc027f0c0 in exit_lwps (l=0xd39aba80) at ../../../../kern/kern_exit.c:479
#4 0xc027eb9c in exit1 (l=0xd39aba80, rv=3840)
at ../../../../kern/kern_exit.c:207
#5 0xc027ea4e in sys_exit (l=0xd39aba80, v=0xd4311f80, retval=0xd4311f78)
at ../../../../kern/kern_exit.c:151
#6 0xc030cab7 in syscall_plain (frame={tf_gs = 43, tf_fs = 43, tf_es = 43,
tf_ds = 43, tf_edi = 1241250496, tf_esi = 15, tf_ebp = 1241250276,
tf_ebx = 1227483412, tf_edx = 1227484728, tf_ecx = 1227455004,
tf_eax = 1, tf_trapno = 3, tf_err = 2, tf_eip = 1212689967, tf_cs = 35,
tf_eflags = 535, tf_esp = 1241250232, tf_ss = 43, tf_vm86_es = 0,
tf_vm86_ds = 0, tf_vm86_fs = 0, tf_vm86_gs = 0})
at ../../../../arch/i386/i386/syscall.c:156
#7 0xc0100ab3 in syscall1 ()
can not access 0x49fbf9e4, kvm_read: Bad address
can not access 0x49fbf9e4, kvm_read: Bad address
Error accessing memory address 0x49fbf9e4: Bad address.
(gdb) fr 2
#2 0xc02858c5 in lwp_wait1 (l=0xd39aba80, lid=0, departed=0xd4311edc, flags=1)
at ../../../../kern/kern_lwp.c:424
(gdb) p p->p_nlwps
$4 = 2
(gdb) p nfound
$5 = 1
(gdb) proc 0xd4171804
(gdb) bt
#0 0xd4171804 in ?? ()
#1 0xc028ee1b in ltsleep (ident=0xc0511408, priority=280,
wmesg=0xc041ea80 "select", timo=0, interlock=0x0)
at ../../../../kern/kern_synch.c:495
#2 0xc029fb24 in sys_select (l=0xd4171804, v=0xd475cf80, retval=0xd475cf78)
at ../../../../kern/sys_generic.c:754
#3 0xc030cab7 in syscall_plain (frame={tf_gs = 31, tf_fs = 31,
tf_es = -1078001633, tf_ds = -1078001633, tf_edi = -1077939408,
tf_esi = -1077939404, tf_ebp = -1077939508, tf_ebx = 0,
tf_edx = -1077939400, tf_ecx = 3, tf_eax = 93, tf_trapno = 3,
tf_err = 2, tf_eip = 1210001107, tf_cs = 23, tf_eflags = 519,
tf_esp = -1077939664, tf_ss = 31, tf_vm86_es = 0, tf_vm86_ds = 0,
tf_vm86_fs = 0, tf_vm86_gs = 0})
at ../../../../arch/i386/i386/syscall.c:156
#4 0xc0100ab3 in syscall1 ()
can not access 0xbfbff2cc, kvm_read: Bad address
can not access 0xbfbff2cc, kvm_read: Bad address
Error accessing memory address 0xbfbff2cc: Bad address.
>How-To-Repeat:
"use mozilla"
>Fix:
unknown
>Release-Note:
>Audit-Trail:
>Unformatted: