From owner-freebsd-hackers Tue Aug 6 8: 7:11 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7803937B400; Tue, 6 Aug 2002 08:07:08 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 86CAB43E72; Tue, 6 Aug 2002 08:07:07 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g76F76Qx003806; Tue, 6 Aug 2002 17:07:06 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g76F76YW530334; Tue, 6 Aug 2002 17:07:06 +0200 (MES) Date: Tue, 6 Aug 2002 17:08:49 +0200 (CEST) From: Martin Blapp To: Alexander Kabaev Cc: , , Subject: Re: Help needed. Deadlock in rtld makes openoffice build hang again In-Reply-To: <20020806095745.M58571-100000@levais.imp.ch> Message-ID: <20020806170810.K58571-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > wlock_acquire(void *lock) > { > Lock *l = (Lock *)lock; > sigset_t tmp_oldsigmask; > > for ( ; ; ) { > sigprocmask(SIG_BLOCK, &fullsigmask, &tmp_oldsigmask); > if (cmpxchgl(0, WAFLAG, &l->lock) == 0) > break; > sigprocmask(SIG_SETMASK, &tmp_oldsigmask, NULL); > + while (l->lock & WAFLAG) > + ; /* Spin */ > } That did not help at all. I just got a hang again. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message