Subject: -current crashing?
To: <>
From: Werner Backes <>
List: current-users
Date: 03/07/2003 21:59:03
rebuild my system 2 days ago:

NetBSD firebird 1.6P NetBSD 1.6P (FIREBIRD) #0: Wed Mar  5 23:02:25 CET
2003  root@firebird:/usr/src/sys/arch/i386/compile/FIREBIRD i386

and now it panics every time I try to rebuild it again. It's not
always at the same stage during build, but always with the same
error message:

UVM: pid 14269 (nbmake), uid 0 killed: out of swap
panic: amap_wipeout: corrupt amap
Stopped in pid 13.1 (reaper) at cpu_Debugger+0x4:       leave
db> trace
cpu_Debugger(45,d3fed0d0,67,0,6ec98040) at cpu_Debugger+0x4
panic(c03d4eea,3,d3980ea0,c02e030d,d3fed0d0) at panic+0xb8
amap_wipeout(d3fed0d0,bfc00000,d3980edc,c026130c,d3efe150) at
amap_unref(d3fed0d0,0,67,0,d3f51304) at amap_unref+0x23
uvm_unmap_detach(d3efef50,0,bfc00000,d3980f38,0) at
uvmspace_free(d3f51304,d3f10404,d3980f8c,c0248c2a,d3f10404) at
uvm_proc_exit(d3edd00c,d3f10404,1,246,d38e2600) at uvm_proc_exit+0x14
reaper(d38e2600,0,0,0,c010030c) at reaper+0xdd

When I watch memory usage during build I cannot see anything
unusual. I have 256 MB of physical memory and 1 GB of swap
but swap is never touched. 
Could this panic be a bug or is it more likely that I have a
hardware (memory) problem? Or maybe I messed up my system 
during the latest build?