Subject: kern/18789: amap_lookups panic after uvm_map changes
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fvdl@wasabisystems.com>
List: netbsd-bugs
Date: 10/24/2002 12:41:48
>Number:         18789
>Category:       kern
>Synopsis:       amap_lookups panic after uvm_map changes
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 24 03:54:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Frank van der Linden
>Release:        NetBSD 1.6J
>Organization:
poor
>Environment:
System: NetBSD k2 1.6J NetBSD 1.6J (K2) #1: Thu Oct 24 12:26:27 CEST 2002 fvdl@k2:/work/trees/current/sys/arch/i386/compile/K2 i386
Architecture: i386
Machine: i386
>Description:
	A certain series of events makes the kernel panic with the following
	trace (which is unfortunately not very interesting):

panic: amap_lookups: offset out of range
Stopped in pid 467 (java_vm) at cpu_Debugger+0x4:       leave
db{1}> 
db{1}> t
cpu_Debugger(e64ded18,8,3,0,e6361448) at cpu_Debugger+0x4
panic(c0333ea0,1,e64bee40,c0208138,e647e2c8) at panic+0xad
amap_lookups(e647e2f8,49000,e64beef4,8,e64ded18,c0334d80,2cf,0) at amap_lookups+0x51
uvm_fault(e636138c,4fd7c000,0,2,0) at uvm_fault+0x3b8
trap() at trap+0x5aa
--- trap (number 6) ---
0x4825d29d:

>How-To-Repeat:
	Install the netscape7 pkg (Linux binary), including Java support.
	Relevant packages:

suse_base-7.3       Linux compatibility package
suse_x11-7.3        Linux compatibility package for X11 binaries
suse_gtk-7.3        Linux compatibility package for GTK binaries
netscape7-0nb2      Netscape Browser/Mail- and Newsreader suite version 7

	Start the browser.
	Open http://news.bbc.co.uk/
	When you get to the main page, watch the crash.
>Fix:
	Reverting to uvm_map.c revision 1.120 prevents the panic.
>Release-Note:
>Audit-Trail:
>Unformatted: