Subject: kern/29441: cp /lib/libc.so.12.125.new /lib/libc.so.12.125 crashes kernel
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <christos@zoulas.com>
List: netbsd-bugs
Date: 02/18/2005 19:48:00
>Number:         29441
>Category:       kern
>Synopsis:       cp /lib/libc.so.12.125.new /lib/libc.so.12.125 crashes kernel
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 18 19:48:00 +0000 2005
>Originator:     Christos Zoulas
>Release:        NetBSD 2.99.15
>Organization:
	Kernel Krashing Koalition
>Environment:
System: NetBSD quasar.astron.com 2.99.15 NetBSD 2.99.15 (QUASAR) #3: Wed Feb 9 19:58:38 EST 2005 christos@quasar.astron.com:/usr/src/sys/arch/i386/compile/QUASAR i386
Architecture: i386
Machine: i386
>Description:
	Yes, copying over libc is a good way to make everything segv,
	but the kernel should not die.
>How-To-Repeat:
	see synopsis
>Fix:
	none
panic: kernel diagnostic assertion "origoffset + (ap->a_centeridx << PAGE_SHIFT)
 < memeof" failed: file "../../../../miscfs/genfs/genfs_vnops.c", line 523
breakpoint(c0598eb8,cbe6d9e8,cbe6d9dc,c03994de,cbe6d9e8) at netbsd:breakpoint+0x
4
cpu_Debugger(cbe6d9e8,100,cbe6da0c,c053cb23,c05f9360) at netbsd:cpu_Debugger+0xb
panic(c05f9360,c059f307,c059f380,c059f2e0,20b) at netbsd:panic+0xd4
__assert(c059f307,c059f2e0,20b,c059f380,0) at netbsd:__assert+0x1f
genfs_getpages(cbe6dc84,0,cbe6dea8,0,fffffff4) at netbsd:genfs_getpages+0x2d5
ffs_getpages(cbe6dc84,ffffffff,1,0,c059eb60) at netbsd:ffs_getpages+0xd3
VOP_GETPAGES(cb5bf0ac,1a000,0,cbe6ddc4,cbe6de74) at netbsd:VOP_GETPAGES+0x6d
uvn_get(cb5bf0ac,1a000,0,cbe6ddc4,cbe6de74) at netbsd:uvn_get+0x3b
uvm_fault(cb5a81c0,bdb49000,0,1,f801c4da) at netbsd:uvm_fault+0x800
trap() at netbsd:trap+0x99a
--- trap (number 6) ---
0xbdb497ef: