Subject: kern/28845: hang on kvakernel
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <lha@netbsd.org>
List: netbsd-bugs
Date: 01/03/2005 01:39:00
>Number:         28845
>Category:       kern
>Synopsis:       hang on kvakernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 03 01:39:00 +0000 2005
>Originator:     Love
>Release:        NetBSD 2.99.12
>Organization:
	
>Environment:
	
	
System: NetBSD nutcracker.it.su.se 2.99.12 NetBSD 2.99.12 (NUTCRACKER) #128: Sun Jan 2 19:09:43 CET 2005 lha@nutcracker.it.su.se:/usr/src/sys/arch/i386/compile/NUTCRACKER i386
Architecture: i386
Machine: i386
>Description:

I just logged in on my net 2.99.12 kernel and the two first xterms
that I start in my .xinitrc handed and was never created.

gdb kcore failed to work (related ?, cant read memory) for some reason
so I can only provide ddb backtraces.

As you can see, xterm's started later works just fine.

913  169    1   0   2  0  3836  6208 select   I    ?     0:00.15 xterm 
913  285  657   9   2  0  3836  6084 piperd   I    ?     0:00.04 xterm -geometry +0+60 -ls 
913  894  657   9   2  0  3836  6096 piperd   I    ?     0:00.03 xterm -rv -T root -e /usr/heimdal/bin/pagsh /usr/bin/su -K 
913  161  285   9 -22  0  3844  1564 kvakerne Ds+  ttyp1 0:00.00 xterm -geometry +0+60 -ls 
913  160  894   9 -22  0  3844  1564 kvakerne Ds+  ttyp2 0:00.00 xterm -rv -T root -e /usr/heimdal/bin/pagsh /usr/bin/su -K 
913  627    1   0  28  0  9664 12052 -        R    ttyp3 0:00.27 xterm -rv -T root -e /usr/heimdal/bin/pagsh /usr/bin/su -K 


db> trace: pid 160  at 0xcc3cbd5c
ltsleep(c05200bc,0,c0485e32,0,c0520130) at netbsd:ltsleep+0x357
pool_get(c05200bc,2,cb92f174,c01727,0) at netbsd:pool_get+0xc4
uvm_km_alloc_poolpage_cache(c0520000,c051ff80,1,3,1) at netbsd:uvm_km_alloc_poolpage_cache+0x7b
pool_page_alloc_nointr(c053abe0,2,cc3cbe8c,c02fb4b7,c0520000) at netbsd:pool_page_alloc_nointr+0x20
pool_allocator_alloc(c053abe0,2,cc38b478,cc387808,caea3438) at netbsd:pool_allocator_alloc+0x1b
pool_get(c053abe0,2,cc3cbebc,c0275f71,cc27b4ac) at netbsd:pool_get+0x5e
sigactsinit(cc387808,cc387670,0,13,c0539640) at netbsd:sigactsinit+0x3f
fork1(cc1e294c,0,14,0,0) at netbsd:fork1+0x27c
sys_fork(cc1e294c,cc3cbf64,cc3cbf5c,c04f2798,0) at netbsd:sys_fork+0x1f
syscall_plain() at netbsd:syscall_plain+0x18f
--- syscall (number 2) ---
0x4833b20f:
db> trace: pid 161  at 0xcc37fd5c
ltsleep(c05200bc,0,c0485e32,0,c0520130) at netbsd:ltsleep+0x357
pool_get(c05200bc,2,cb92f224,c01727,0) at netbsd:pool_get+0xc4
uvm_km_alloc_poolpage_cache(c0520000,c051ff80,1,3,1) at netbsd:uvm_km_alloc_poolpage_cache+0x7b
pool_page_alloc_nointr(c053abe0,2,cc37fe8c,c02fb4b7,c0520000) at netbsd:pool_page_alloc_nointr+0x20
pool_allocator_alloc(c053abe0,2,cc38b594,cc3879a0,caea3420) at netbsd:pool_allocator_alloc+0x1b
pool_get(c053abe0,2,cc37febc,c0275f71,cc27b4ac) at netbsd:pool_get+0x5e
sigactsinit(cc3879a0,cc3874d8,0,13,c0539640) at netbsd:sigactsinit+0x3f
fork1(cc1e28c8,0,14,0,0) at netbsd:fork1+0x27c
sys_fork(cc1e28c8,cc37ff64,cc37ff5c,c04f2798,0) at netbsd:sys_fork+0x1f
syscall_plain() at netbsd:syscall_plain+0x18f
--- syscall (number 2) ---
0x4833b20f:

>How-To-Repeat:

>Fix:

>Unformatted: