From owner-freebsd-hackers Wed Aug 7 14:39:59 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 D63D037B400 for ; Wed, 7 Aug 2002 14:39:56 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4CD443E42 for ; Wed, 7 Aug 2002 14:39:55 -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 g77LdtQx035503; Wed, 7 Aug 2002 23:39:55 +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 g77LdsYW568057; Wed, 7 Aug 2002 23:39:54 +0200 (MES) Date: Wed, 7 Aug 2002 23:41:37 +0200 (CEST) From: Martin Blapp To: John Polstra Cc: Subject: Re: Help needed. Deadlock in rtld makes openoffice build hang ag In-Reply-To: <200208072132.g77LWOBD058671@vashon.polstra.com> Message-ID: <20020807234046.V58571-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 Hi, > 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. It's happening in exit() ! The application does hang cause it hangs there. Doesn't that change anything ? Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message