From owner-freebsd-current@FreeBSD.ORG Mon Aug 2 16:33:51 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F33F916A4CE for ; Mon, 2 Aug 2004 16:33:50 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id A13F643D45 for ; Mon, 2 Aug 2004 16:33:50 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.11/8.12.11) id i72GXjVH084326 for freebsd-current@freebsd.org; Mon, 2 Aug 2004 11:33:45 -0500 (CDT) (envelope-from dan) Date: Mon, 2 Aug 2004 11:33:45 -0500 From: Dan Nelson To: freebsd-current@freebsd.org Message-ID: <20040802163343.GB8552@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-OS: FreeBSD 5.2-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i Subject: Repeatable Trap 12 on 07-29 kernel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Aug 2004 16:33:51 -0000 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