Subject: kern/35582: kernel panics with gdb
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 02/10/2007 19:10:01
>Number:         35582
>Category:       kern
>Synopsis:       kernel panics with gdb
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 10 19:10:00 +0000 2007
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 4.99.10
>Organization:
>Environment:
System: NetBSD firefly.localdomain 4.99.10 NetBSD 4.99.10 (X32) #39: Sun Feb 11 04:01:30 JST 2007 root@firefly.localdomain:/obj/usr/src/sys/arch/i386/compile/X32 i386
Architecture: i386
Machine: i386
>Description:
	When continuing a process which has been attached to gdb,
	kernel panics.

% sleep 60&
[1] 859
% gdb /bin/sleep 859
[snip]
(gdb) c
Continuing.
uvm_fault(0xcd7a9464, 0, 1) -> 0xe
kernel: supervisor trap page fault, code=0
Stopped in pid 859.1 (gdb) at   netbsd:pool_do_put+0x157:       movl    0x1c(%ebx),%eax
db> bt
pool_do_put(0,0,0,cd859014,0) at netbsd:pool_do_put+0x157
pool_put(c0506060,0,cd94e8e0,c02c385d,0) at netbsd:pool_put+0x1e
sys_wait4(cd94e8e0,cd96fc48,cd96fc68,cd96fce0,c0343dd9) at netbsd:sys_wait4+0x16d
syscall_plain() at netbsd:syscall_plain+0x98
--- syscall (number7) ---
0xbbae2e6f:
db>

>How-To-Repeat:
	See above.

>Fix:
	Sorry, I don't know.