From owner-freebsd-threads@FreeBSD.ORG Mon Apr 21 17:56:47 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0698837B401; Mon, 21 Apr 2003 17:56:46 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C76143FA3; Mon, 21 Apr 2003 17:56:46 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from pcnet1.pcnet.com (localhost [127.0.0.1]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h3M0ujBg017167; Mon, 21 Apr 2003 20:56:45 -0400 (EDT) Received: from localhost (eischen@localhost)h3M0ujtv017163; Mon, 21 Apr 2003 20:56:45 -0400 (EDT) Date: Mon, 21 Apr 2003 20:56:45 -0400 (EDT) From: Daniel Eischen To: threads@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: davidxu@freebsd.org Subject: X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2003 00:56:47 -0000 David, I was able to get this panic running my test program (thread_test2.c posted earlier) with 10 scope system threads. Sometimes you can get it with 4 or 5. [ copied by hand ] panic: blockable sleep lock (sleep mutex) Giant@vm_fault.c:210 Debugger(c04018dc) at Debugger+0x45 db>trace panic(c0404cc, c0414ba0, c04010e4, c0414670, d2) at panic+0x9f witness_lock(c0490d20, 8, c0414670, d2, 2) at witness_lock+0x92 _mtx_lock_flags(c0490d20, 0, c0414670, d2) at _mtx_lock_flags+0x7f vm_fault(c082f000, d0d10000, 2, 0, c1c55720) at vm_fault+0x4a trap_pfault(cc9b7bf4, 0, d0d1d48) at trap_pfault+0x111 trap(c02a0018, 10, 10, d0d1d48, cc9b7d48) at trap+0x379 calltrap() at calltrap+0x5 --- trap 0xc, eip = 0xc03b001a, esp = 0xcc96734m ebp = 0xcc9b7cbc --- generic_bcopy(c1c55720, c1f97210) at generic_bcopy+0x1a kse_create(c1c55720, cc9b7d14, 2, 1, 286) at kse_create+0x277 syscall(2f, 2f, 2f, 804d000, 807c000) at syscall+0x1f1 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall(381, FreeBSD ELF32, kse_create), eip = 0x280cc17f, esp = 0xbfbff9cc, ebp = 0xbfbffaf8 -- Dan Eischen