From owner-freebsd-current Fri Aug 17 15:26:15 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id C708237B405 for ; Fri, 17 Aug 2001 15:26:00 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 85154 invoked from network); 17 Aug 2001 22:25:38 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Aug 2001 22:25:38 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 17 Aug 2001 15:25:42 -0700 (PDT) From: John Baldwin To: John Baldwin Subject: RE: mutex Giant not owned Cc: current@freebsd.org, "David O'Brien" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 16-Aug-01 John Baldwin wrote: > > On 16-Aug-01 David O'Brien wrote: >># uname -a >> FreeBSD phuong.nuxi.com 5.0-CURRENT FreeBSD 5.0-CURRENT #12: Sun Jul 15 >> 19:07:45 PDT 2001 >> rootk@phuong.nuxi.com:/files/Current/sys/alpha/compile/DS20 alpha > > Looks like a trapsignal() in trap() is being called w/o Giant. I'll look at > it. Oh, I see why this is busted. If we take a trap in the kernel while holding Giant and it ends up doing a goto to 'out' we may unlock Giant while in the kernel. I'll try a different approach in a second: just grab Giant around trapsignal(). -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message