Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2002 14:32:24 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        hackers@freebsd.org
Cc:        mb@imp.ch
Subject:   Re: Help needed. Deadlock in rtld makes openoffice build hang ag
Message-ID:  <200208072132.g77LWOBD058671@vashon.polstra.com>
In-Reply-To: <20020807231439.F58571-100000@levais.imp.ch>
References:  <20020807231439.F58571-100000@levais.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <20020807231439.F58571-100000@levais.imp.ch>,
Martin Blapp  <mb@imp.ch> 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
  John D. Polstra & Co., Inc.                        Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208072132.g77LWOBD058671>