Thread error

Dan Nelson dnelson at allantgroup.com
Sat Aug 28 08:48:30 PDT 2004


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 at 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 at allantgroup.com


More information about the freebsd-current mailing list