Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Aug 2004 10:48:27 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Justin Smith <jsmith@drexel.edu>
Cc:        FreeBSD current developer's list <freebsd-current@freebsd.org>
Subject:   Re: Thread error
Message-ID:  <20040828154827.GB96936@dan.emsphone.com>
In-Reply-To: <41309789.9090107@drexel.edu>
References:  <41309789.9090107@drexel.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040828154827.GB96936>