Page Fault: knlist_cleardel

Gardner Bell gbell72 at rogers.com
Sun Oct 4 19:57:53 UTC 2009


I got the following panic after signing out of my X session.  Previous to this I was trying to kill off a program that was running through wine.  This machine is running 7.2-STABLE and I still have core file if any further debugging info is needed.

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x10
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc04efdcb
stack pointer           = 0x28:0xe8cdeb64
frame pointer           = 0x28:0xe8cdeb84
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         = 7453 (wine)
trap number             = 12
panic: page fault
cpuid = 1
Uptime: 1d3h58m32s
Physical memory: 1005 MB
Dumping 192 MB: (CTRL-C to abort)  (CTRL-C to abort)  (CTRL-C to abort)  177 (CTRL-C to abort)  161 (CTRL-C to abort)  145 129 113 97 81 65 (CTRL-C to abort)  49 33 17 1
#1  0xc051afe8 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc051b2c5 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc067bf54 in trap_fatal (frame=0xe8cdeb24, eva=16)
    at /usr/src/sys/i386/i386/trap.c:938
#4  0xc067c1a4 in trap_pfault (frame=0xe8cdeb24, usermode=0, eva=16)
    at /usr/src/sys/i386/i386/trap.c:851
#5  0xc067cb06 in trap (frame=0xe8cdeb24) at /usr/src/sys/i386/i386/trap.c:529
#6  0xc06631db in calltrap () at /usr/src/sys/i386/i386/exception.s:166
#7  0xc04efdcb in knlist_cleardel (knl=0xc4f7ba70, td=0x0, islocked=1, 
    killkn=0) at atomic.h:149
#8  0xc055581b in pipeclose (cpipe=0xc4f7ba00)
    at /usr/src/sys/kern/sys_pipe.c:1510
#9  0xc0555921 in pipe_close (fp=0xc4e1e214, td=0xc52aa900)
    at /usr/src/sys/kern/sys_pipe.c:1427
#10 0xc04e4bc1 in fdrop (fp=0xc4e1e214, td=0xc52aa900) at file.h:300
#11 0xc04e60c7 in closef (fp=0xc4e1e214, td=0xc52aa900)
    at /usr/src/sys/kern/kern_descrip.c:2072
#12 0xc04e659c in kern_close (td=0xc52aa900, fd=27)
    at /usr/src/sys/kern/kern_descrip.c:1125
#13 0xc04e6669 in close (td=0xc52aa900, uap=0xe8cdecfc)
    at /usr/src/sys/kern/kern_descrip.c:1077
#14 0xc067c4e5 in syscall (frame=0xe8cded38)
#15 0xc0663240 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:262
#16 0x00000033 in ?? ()
Previous frame inner to this frame (corrupt stack?)

(kgdb) l *0xc04efdcb
0xc04efdcb is in knlist_cleardel (atomic.h:149).
144     static __inline int
145     atomic_cmpset_int(volatile u_int *dst, u_int exp, u_int src)
146     {
147             u_char res;
148     
149             __asm __volatile(
150             "       " MPLOCKED "            "
151             "       cmpxchgl %2,%1 ;        "
152             "       sete    %0 ;            "
153             "1:                             "
(kgdb) 




More information about the freebsd-stable mailing list