Subject: panic: uvm_map_replace1
To: None <>
From: Julio M. Merino Vidal <>
List: current-users
Date: 02/11/2006 14:23:22

I just got the following panic in a NetBSD 3.99.15 machine.  At that
moment, kde was processing a crash dump from digikam (gathering the
symbols) which is possibly the reason behind the ptrace(2) system call.

(gdb) target kcore netbsd.1.core
panic: uvm_map_replace1
#0  0x3fefc000 in ?? ()
(gdb) bt
#0  0x3fefc000 in ?? ()
#1  0xc02c56da in cpu_reboot (howto=3D256, bootstr=3D0x0)
    at /usr/src/sys/arch/i386/i386/machdep.c:755
#2  0xc014f020 in db_sync_cmd (addr=3D0, have_addr=3D0, count=3D-1070595678,
    modif=3D0xccdafae8 "=E0=BBA=C0=FF=FA=DA=CC\001") at /usr/src/sys/ddb/db=
#3  0xc014ea57 in db_command (last_cmdp=3D0xc03db964, cmd_table=3D0xc0357e0=
    at /usr/src/sys/ddb/db_command.c:503
#4  0xc014e766 in db_command_loop () at /usr/src/sys/ddb/db_command.c:294
#5  0xc01518a4 in db_trap (type=3D1, code=3D0) at /usr/src/sys/ddb/db_trap.=
#6  0xc02c2d5a in kdb_trap (type=3D1, code=3D0, regs=3D0xccdafd2c)
    at /usr/src/sys/arch/i386/i386/db_interface.c:226
#7  0xc02cdecc in trap (frame=3D0xccdafd2c)
    at /usr/src/sys/arch/i386/i386/trap.c:310
#8  0xc010af95 in calltrap ()
#9  0xc026e5b9 in panic (fmt=3D0xc0385f3f "uvm_map_replace1")
    at /usr/src/sys/kern/subr_prf.c:243
#10 0xc021c6bb in uvm_map_replace (map=3D0xc03fc660, start=3D3414814720,
    end=3D3414818816, newents=3D0xcc5deabc, nnewents=3D1)
    at /usr/src/sys/uvm/uvm_map.c:2186
#11 0xc021cda2 in uvm_map_extract (srcmap=3D0xcbcfd1c4, start=3D3141926912,
    len=3D4096, dstmap=3D0xc03fc660, dstaddrp=3D0xccdafe6c, flags=3D14)
    at /usr/src/sys/uvm/uvm_map.c:2464
#12 0xc02176df in uvm_io (map=3D0xcbcfd1c4, uio=3D0xccdaff04)
=2D--Type <return> to continue, or q <return> to quit---
    at /usr/src/sys/uvm/uvm_io.c:108
#13 0xc0274c14 in process_domem (curl=3D0xcca138cc, l=3D0xcca134ac,=20
    at /usr/src/sys/kern/sys_process.c:741
#14 0xc0274301 in sys_ptrace (l=3D0xcca138cc, v=3D0xccdaff64, retval=3D0xcc=
    at /usr/src/sys/kern/sys_process.c:317
#15 0xc02cd933 in syscall_plain (frame=3D0xccdaffa8)
    at /usr/src/sys/arch/i386/i386/syscall.c:160

Any ideas?  Should I file a bug report?


Julio M. Merino Vidal <>
The Julipedia -