kern/123629: Fatal trap 12: page fault while in kernel mode

Matthias Apitz matthias.apitz at oclc.org
Tue May 13 12:00:12 UTC 2008


>Number:         123629
>Category:       kern
>Synopsis:       Fatal trap 12: page fault while in kernel mode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 13 12:00:10 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Apitz
>Release:        FreeBSD 7.0-RELEASE
>Organization:
>Environment:
FreeBSD rebelion.Sisis.de 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root at logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
KDE 3.5.8
>Description:
I cam back from lunch (i.e. did not saw the crash itself);

# kgdb /boot/kernel/kernel vmcore.6
[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0xffff1a18
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0727085
stack pointer           = 0x28:0xe6a14bb8
frame pointer           = 0x28:0xe6a14c24
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 1653 (kdeinit)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 4h36m45s
Physical memory: 1009 MB
Dumping 149 MB: 134 118 102 86 70 54 38 22 6

#0  doadump () at pcpu.h:195
195     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc0754457 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0754719 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc0a4905c in trap_fatal (frame=0xe6a14b78, eva=4294908440) at /usr/src/sys/i386/i386/trap.c:899
#4  0xc0a492e0 in trap_pfault (frame=0xe6a14b78, usermode=0, eva=4294908440)
    at /usr/src/sys/i386/i386/trap.c:812
#5  0xc0a49c8c in trap (frame=0xe6a14b78) at /usr/src/sys/i386/i386/trap.c:490
#6  0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0727085 in fdfree (td=0xc57b6840) at /usr/src/sys/kern/kern_descrip.c:1666
#8  0xc0732e46 in exit1 (td=0xc57b6840, rv=256) at /usr/src/sys/kern/kern_exit.c:272
#9  0xc073426d in sys_exit (td=Could not find the frame base for "sys_exit".
) at /usr/src/sys/kern/kern_exit.c:98
#10 0xc0a49635 in syscall (frame=0xe6a14d38) at /usr/src/sys/i386/i386/trap.c:1035
#11 0xc0a2fc70 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196
#12 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) 
#0  doadump () at pcpu.h:195
#1  0xc0754457 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0754719 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:563
#3  0xc0a4905c in trap_fatal (frame=0xe6a14b78, eva=4294908440) at /usr/src/sys/i386/i386/trap.c:899
#4  0xc0a492e0 in trap_pfault (frame=0xe6a14b78, usermode=0, eva=4294908440)
    at /usr/src/sys/i386/i386/trap.c:812
#5  0xc0a49c8c in trap (frame=0xe6a14b78) at /usr/src/sys/i386/i386/trap.c:490
#6  0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc0727085 in fdfree (td=0xc57b6840) at /usr/src/sys/kern/kern_descrip.c:1666
#8  0xc0732e46 in exit1 (td=0xc57b6840, rv=256) at /usr/src/sys/kern/kern_exit.c:272
#9  0xc073426d in sys_exit (td=Could not find the frame base for "sys_exit".
) at /usr/src/sys/kern/kern_exit.c:98
#10 0xc0a49635 in syscall (frame=0xe6a14d38) at /usr/src/sys/i386/i386/trap.c:1035
#11 0xc0a2fc70 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196
#12 0x00000033 in ?? ()
(kgdb) 
>How-To-Repeat:
don't know; first crash after weeks of daily usage at all;
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list