Fatal trap 12: page fault while in kernel mode

From: Christian Brueffer <chris_at_unixpages.org>
Date: Thu, 30 Dec 2004 03:29:01 +0100
Hi,

with a kernel build from sources from Dec 30, approximately  00:30:00
UTC, I'm getting the following reproducible trap during startup:



Memory modified after free 0xc1c06600(508) val=1ff01ff _at_ 0xc1c06600


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x1ff021f
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0706823
stack pointer           = 0x10:0xe53cf730
frame pointer           = 0x10:0xe53cf750
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupts enabled, resume, IOPL = 0
current process         = 61 (rcorder)
[thread pid 61 tid 100051 ]
Stopped at      mtrash_ctor+0x63:       movl    0x20(%eax),%edx
db> tr
Tracing pid 61 tid 100051 td 0xc1ab4170
mtrash_ctor(c1c06600,200,0,101,c07dbf04) at mtrash_ctor+0x63
uma_zalloc_arg(c10456c0,0,101,c1046be0,c07b77c6) at uma_zalloc_arg+0x484
malloc(168,c07ee200,101,b2,0) at malloc+0x84
ufsdirhash_build(c1c4b7a8,c0818348,c08386e0,0,0) at ufsdirhash_build+0x376
ufs_lookup(e53cf944,e53cfbec,e53cfc00,c057aa65,c1ab4170) at ufs_lookup+0x129
vfs_cache_lookup(e53cf9c0,20002,c1ab4170,c07aaca7,e53cfbec) at vfs_cache_lookup+0x278
lookup(e53cfbd8,0,c07aa52c,a7,c0838700) at lookup+0x274
namei(a53cfbd8,1,c07ab4bd,78,c079f15a) at namei+0x27d
vn_open_cred(e53cfbd8,e53cfcd8,1a4,c1978d80,3) at vn_open_cred+0x192
vn_open(e53cfbd8,e53cfcd8,1a4,3,0) at vn_open+0x33
kern_open(c1ab4170,bfbfe6d3,0,1,1b6) at kern_open+0xf9
open(c1ab4170,e53cfd14,c,c1ab4170,3) at open+0x2e
syscall(2f,2f,2f,bfbfe63c,4) at syscall+0x137
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (5, FreeBSD ELF32, open), eip = 0x80573a7, esp = 0xbfbfe2ccm, ebp = 0xbfbfe2f8 ---
db>


This doesn't happen with a kernel from Dec 23.

- Christian

-- 
Christian Brueffer	chris_at_unixpages.org	brueffer_at_FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D

Received on Thu Dec 30 2004 - 01:29:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:25 UTC