Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Aug 2002 18:31:24 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        John Polstra <jdp@polstra.com>
Cc:        <hackers@FreeBSD.ORG>, <openoffice@FreeBSD.ORG>, Alexander Kabaev <ak03@gte.com>, <deischen@FreeBSD.ORG>
Subject:   Re: Help needed. Deadlock in rtld makes openoffice build hang ag
Message-ID:  <20020806183006.X58571-100000@levais.imp.ch>
In-Reply-To: <XFMail.20020806092521.jdp@polstra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

hi,

> The lock algorithms are taken from the paper referenced in the comment
> at the top of lockdflt.c, and I believe they are correct.  Whatever is
> happening must be caused by changes in libc_r that cause the profiling
> timer to stop advancing, or cause SIGPROF to be blocked.  There were
> some major changes made to libc_r on 13 Oct 2000 that could be
> connected with this.

Maybe Daniel knows more ?

>
> Just as an experiment, please try this change to lockdflt_init() in
> rtld-elf/i386/lockdflt.c:
>
>      sigfillset(&fullsigmask);
> +    sigdelset(&fullsigmask, SIGPROF);
>      sigdelset(&fullsigmask, SIGILL);

I'll add that.

>
> PS - Are you working with -stable or with -current?

STABLE. But as I remember it happened also on CURRENT when
I built OO.org there.

Martin


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?20020806183006.X58571-100000>