Subject: Re: kernel: protection fault trap, code=0
To: None <ks@ub.uni-mainz.de>
From: Tobias Nygren <tnn@NetBSD.org>
List: port-amd64
Date: 05/21/2007 16:15:40
On Mon, 21 May 2007 15:48:43 +0200
Kurt Schreiner <ks@ub.uni-mainz.de> wrote:

> Hi,
> 
> amd64-kernel compiled from actual -current source, amd64-userland
> some days old (before yamt-idlelwp merge), cross-building
> distribution with "-j8" for alpha to empty destination...
> 
> kernel: protection fault trap, code=0
> Stopped in pid 7982.1 (nbinstall) at    netbsd:malloc+0x94:     movq    0(%r12),
> %rax
> db{1}> bt
> malloc() at netbsd:malloc+0x94
> rename_files() at netbsd:rename_files+0x266
> syscall_plain() at netbsd:syscall_plain+0x1cb
> --- syscall (number 0) ---
> 0x516150:
> 
> I left the machine in this state and can provide more debugging
> info if needed...
> 
> 
> Kurt

Most likely another manifestation of kern/36358.
Until someone fixes it, it can be worked around by removing
pseudo-device veriexec from your kernel configuration.

-T