From owner-freebsd-hackers Tue Aug 6 9:29:47 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 B132337B400; Tue, 6 Aug 2002 09:29:43 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC67743E5E; Tue, 6 Aug 2002 09:29:42 -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 g76GTfQx016205; Tue, 6 Aug 2002 18:29:41 +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 g76GTfYW532399; Tue, 6 Aug 2002 18:29:41 +0200 (MES) Date: Tue, 6 Aug 2002 18:31:24 +0200 (CEST) From: Martin Blapp To: John Polstra Cc: , , Alexander Kabaev , Subject: Re: Help needed. Deadlock in rtld makes openoffice build hang ag In-Reply-To: Message-ID: <20020806183006.X58571-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 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