From owner-freebsd-threads@FreeBSD.ORG Mon Apr 21 19:09:58 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 836F537B401 for ; Mon, 21 Apr 2003 19:09:58 -0700 (PDT) Received: from exchhz01.viatech.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 961AA43FB1 for ; Mon, 21 Apr 2003 19:09:39 -0700 (PDT) (envelope-from davidxu@freebsd.org) Received: from davidw2k (ip-240-1-168-192.rev.dyxnet.com [192.168.1.240]) by exchhz01.viatech.com.cn with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id JM648R72; Tue, 22 Apr 2003 09:54:40 +0800 Message-ID: <00be01c30874$768d8300$f001a8c0@davidw2k> From: "David Xu" To: "Daniel Eischen" , References: Date: Tue, 22 Apr 2003 10:11:19 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Subject: Re: kse_create 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 02:09:58 -0000 I think this is the VM subsystem falls on its face, it seems Giant lock is biting them again.=20 I can not find problem in kse_create, it is the most thinked KSE code. David Xu ----- Original Message -----=20 From: "Daniel Eischen" To: Cc: Sent: Tuesday, April 22, 2003 8:56 AM > David, >=20 > I was able to get this panic running my test program=20 > (thread_test2.c posted earlier) with 10 scope system > threads. Sometimes you can get it with 4 or 5. >=20 > [ copied by hand ] >=20 > panic: blockable sleep lock (sleep mutex) Giant@vm_fault.c:210 > Debugger(c04018dc) at Debugger+0x45 >=20 > 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 =3D 0xc03b001a, esp =3D 0xcc96734m ebp =3D = 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 =3D 0x280cc17f, esp = =3D 0xbfbff9cc, ebp =3D 0xbfbffaf8 >=20 > --=20 > Dan Eischen