From owner-freebsd-threads@FreeBSD.ORG Tue Oct 5 19:30:35 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 25D0F16A4CE for ; Tue, 5 Oct 2004 19:30:35 +0000 (GMT) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB3B643D2F for ; Tue, 5 Oct 2004 19:30:34 +0000 (GMT) (envelope-from eischen@vigrid.com) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) i95JUKxk002193; Tue, 5 Oct 2004 15:30:20 -0400 (EDT) Date: Tue, 5 Oct 2004 15:30:19 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: "Bjoern A. Zeeb" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) cc: freebsd-threads@freebsd.org Subject: Re: threads/72353: Assertion failsin/usr/src/lib/libpthread/sys/lock.c, line 171, when compilingmonodoc X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2004 19:30:35 -0000 On Tue, 5 Oct 2004, Bjoern A. Zeeb wrote: > On Tue, 5 Oct 2004, Daniel Eischen wrote: > > threads@ only, not gants. > > > On Tue, 5 Oct 2004, Ivan Voras wrote: > > > Compiling monodoc (Mono documentation browsers) fails with error: > > > Assertion failed: (lu->lu_myreq->lr_owner == lu), function _lock_acquire, file /usr/src/lib/libpthread/sys/lock.c, line 171. > > > Abort trap (core dumped) > > > *** Error code 134 > > this is about the same place I have seen my crashes with the > invalid kse_mailbox in the bt: Ivan mentioned in one of the referenced postings he was using nvidia drivers and libraries (openGL). Libpthread is not compatible with these (at least older drivers and libraries -- it really is the nvidia openGL library I believe that is causing the problem). No matter what you put in /etc/libmap.conf, there is no work-around other than to try the latest nvidia drivers (which aren't thread-safe) or to use Xorg/XFree86 drivers (and be sure to remove nvidia's openGL). As I believe I asked you before, are you getting any warnings from the kernel about static LDT allocations? -- Dan Eischen