Subject: kern/8023: panic: amap_unadd: nothing there
To: None <gnats-bugs@gnats.netbsd.org>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 07/17/1999 23:50:46
>Number:         8023
>Category:       kern
>Synopsis:       panic while runing grep
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 17 23:50:01 1999
>Last-Modified:
>Originator:     Bernd Ernesti
>Organization:
	
>Release:        NetBSD-current 18-Jul-1999 6:00 GMT
>Environment:
	
System: NetBSD arresum.inka.de 1.4G NetBSD 1.4G (ARRESUM) #362: Sun Jul 18 07:53:34 MEST 1999 bernd@arresum.inka.de:/home/work/obj_i386/src.i386/sys/arch/i386/compile/ARRESUM i386


>Description:
	I was doing a grep for a string in an inn-2.2 source tree with object
	and programm files and got a: panic:

panic: amap_unadd: nothing there
Stopped in grep at      _Debuggger+0x4: leave
db> t
_Debugger(fdcb9d00,fdcd4628,0,fdce5ee0,f0208797) at _Debugger+0x4
_panic(f020872a,f05266ac,fdbd5540,fdce5f18,f0210f78) at _panic+0x55
_amap_unadd(fdcd4628,0,e0000,6,fdcc864c) at _umap_unadd+0x53
_uvm_map_clean(fdc96b44,120000,221000,8,fdce5f88) at _uvm_map_clean+0x21c
_sys_madvise(fdcc864c,fdce5f88,fdce5f80,0,141000) at _sys_madvise+0x7a
_syscall() at _syscall+0x22a
--- syscall (number 75) ---

>How-To-Repeat:
	Do a 'grep xxxxx */*' in a place where you have subdirs with binary
	files and watch the panic.
	I can repeat that on my system.
>Fix:
>Audit-Trail:
>Unformatted: