Repeatable Trap 12 on 07-29 kernel

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Mon, 2 Aug 2004 11:33:45 -0500
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_at_allantgroup.com
Received on Mon Aug 02 2004 - 14:33:51 UTC

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