From owner-freebsd-questions@FreeBSD.ORG Wed Oct 6 05:23:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A227316A4CE; Wed, 6 Oct 2004 05:23:00 +0000 (GMT) Received: from celebrian.forsythia.net (galadriel.forsythia.net [64.81.65.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3377A43D3F; Wed, 6 Oct 2004 05:23:00 +0000 (GMT) (envelope-from amoran@forsythia.net) Received: from [10.200.1.101] (cerberus.forsythia.net [64.81.65.55]) i965Mk3I098672; Tue, 5 Oct 2004 22:22:47 -0700 (PDT) (envelope-from amoran@forsythia.net) In-Reply-To: <4147AC40.80507@xmission.com> References: <4147AC40.80507@xmission.com> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Andrew Moran Date: Tue, 5 Oct 2004 22:22:52 -0700 To: Jason Porter X-Mailer: Apple Mail (2.619) cc: freebsd-stable@freebsd.org cc: freebsd-questions@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: Spinlock problem in 5.3-Beta X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 05:23:00 -0000 I got this same problem when I upgraded to 5.3-Beta, but for me it was with gnucash, not xmms. (I don't use XMMS, so I don't know if that port would break for me as well). I searched the archives and it seems the problem comes from a program using one threading system (pthreads) but having a dependancy compiled against the other system ((libc_r). The solution is either to 1) recompile all your ports to use the same threading system, or 2) map all calls to one system to another using /etc/libmap.conf. However, I tried *both* of these and neither work. I've used ldd on everything under /usr/local and nothing is linked to libc_r (although many are linked to pthread). I've tried recompiling all the requirements of gnucash using portupgrade -fR. I've also tried mapping the libc_r calls to pthread calls using an /etc/libmap.conf file: [root@celebrian] /# cat /etc/libmap.conf libc_r.so.5 libpthread.so.1 # Everything that uses 'libc_r' libc_r.so libpthread.so # now uses 'libpthread' Yet I'm still getting the error. I can only assume that something is broken in 5.3-BETA regarding pthreads unless someone has any other insight. I'm hitting my head against a wall. beh. --Andy On Sep 14, 2004, at 7:43 PM, Jason Porter wrote: > I cvsuped last week, on 9 Sept and since then I've installed XMMS and > mplayer from the ports and neither one of them work, here are the > errors I receive when I try to start them: > > XMMS: > Fatal error 'Spinlock called when not threaded.' at line 83 in file > /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) > Segmentation fault (core dumped) > > mplayer: > 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) > > I'm not sure if this is a new feature in 5 or a debugging problem or > what. Does anyone have any help they can offer? > > -Jason Porter > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"