From owner-freebsd-hackers Wed Aug 7 14:40:28 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 414C337B400 for ; Wed, 7 Aug 2002 14:40:22 -0700 (PDT) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB13843E8A for ; Wed, 7 Aug 2002 14:40:21 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.5/8.12.4) with ESMTP id g77LeLdc000770; Wed, 7 Aug 2002 14:40:21 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.5/8.12.4/Submit) id g77LeL2b000769; Wed, 7 Aug 2002 14:40:21 -0700 (PDT) (envelope-from dillon) Date: Wed, 7 Aug 2002 14:40:21 -0700 (PDT) From: Matthew Dillon Message-Id: <200208072140.g77LeL2b000769@apollo.backplane.com> To: John Polstra Cc: hackers@FreeBSD.ORG, mb@imp.ch Subject: Re: Help needed. Deadlock in rtld makes openoffice build hang ag References: <20020807231439.F58571-100000@levais.imp.ch> <200208072132.g77LWOBD058671@vashon.polstra.com> 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 :In article <20020807231439.F58571-100000@levais.imp.ch>, :Martin Blapp wrote: :> :> I'd just need a workaround for building OO.org on this cluster. :> :> Can I remove the locking stuff just for this ? What would be the effect of :> this ? : :The effect would be unpredictable. When it hangs, it hangs because :two threads are trying to get the lock at the same time. Without the :locking, it wouldn't hang. But the changes one thread was making to :the rtld's data structures might cause the other thread to follow an :invalid pointer and crash the whole application. : :John :-- : John Polstra If it's a matter of one thread hogging the cpu and the other (which holds the lock) not being able to run to completion, maybe putting the sleep back in would work. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message