Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2002 14:40:21 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        John Polstra <jdp@polstra.com>
Cc:        hackers@FreeBSD.ORG, mb@imp.ch
Subject:   Re: Help needed. Deadlock in rtld makes openoffice build hang ag
Message-ID:  <200208072140.g77LeL2b000769@apollo.backplane.com>
References:  <20020807231439.F58571-100000@levais.imp.ch> <200208072132.g77LWOBD058671@vashon.polstra.com>

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

    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 
					<dillon@backplane.com>

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?200208072140.g77LeL2b000769>