From owner-freebsd-current@FreeBSD.ORG Sat Aug 28 15:48:30 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3D0B16A4CE for ; Sat, 28 Aug 2004 15:48:30 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91BCA43D6A for ; Sat, 28 Aug 2004 15:48:30 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.11/8.12.11) id i7SFmRkr084671; Sat, 28 Aug 2004 10:48:27 -0500 (CDT) (envelope-from dan) Date: Sat, 28 Aug 2004 10:48:27 -0500 From: Dan Nelson To: Justin Smith Message-ID: <20040828154827.GB96936@dan.emsphone.com> References: <41309789.9090107@drexel.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41309789.9090107@drexel.edu> X-OS: FreeBSD 5.3-BETA1 X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: FreeBSD current developer's list Subject: Re: Thread error X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Aug 2004 15:48:30 -0000 In the last episode (Aug 28), Justin Smith said: > FreeBSD jsmith.org 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Fri Aug 27 10:56:28 EDT 2004 jsmith@jsmith.org:/usr/obj/usr/src/sys/MYKERNEL i386 > > When I try to run LyX compiled with the QT front end, I get > > Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) > Abort trap (core dumped) This is libpthread.so's obscure way of saying "There are multiple thread libraries linked to this executable". It really should print a better error message (or better yet, coordinate with the other thread libs so this error doesn't even show up). Run ldd -a on the binary and find out if there are any shared libs depending on libc_r. -- Dan Nelson dnelson@allantgroup.com