Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Aug 2004 11:33:45 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        freebsd-current@freebsd.org
Subject:   Repeatable Trap 12 on 07-29 kernel
Message-ID:  <20040802163343.GB8552@dan.emsphone.com>

next in thread | raw e-mail | index | archive | help

I usually run java under libc_r, but if I point java-1.4.2 to libpthreads.so
via libmap.conf, within 5 minutes or so I get a kernel panic:

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 00
fault virtual address   = 0x54
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc0565e78
stack pointer           = 0x10:0xdee22b28
frame pointer           = 0x10:0xdee22b48
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 753 (java)

The system locks hard here (can't break into ddb via serial console), so I
don't have a coredump.  addr2line says:

$ addr2line -f -e kernel.debug 0xc0565e78
setrunqueue
../../../kern/kern_switch.c:402

401                        td2 = TAILQ_FIRST(&kg->kg_runq);
402                        KASSERT((td2->td_kse == NULL),
403                            ("unexpected ke present"));

This is with PREEMPTION enabled.

-- 
	Dan Nelson
	dnelson@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040802163343.GB8552>