From owner-freebsd-current@FreeBSD.ORG Sat Nov 13 21:51:17 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 613FF16A4D0 for ; Sat, 13 Nov 2004 21:51:17 +0000 (GMT) Received: from ns.nnt.ru (ns.nnt.ru [217.72.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 114E743D1F for ; Sat, 13 Nov 2004 21:51:17 +0000 (GMT) (envelope-from nobody@ns.nnt.ru) Received: from drweb by ns.nnt.ru with drweb-scanned (Exim 3.36 #1) id 1CT5n0-000Fe2-00 for freebsd-current@freebsd.org; Sun, 14 Nov 2004 00:50:34 +0300 Received: from nobody by ns.nnt.ru with local (Exim 3.36 #1) id 1CT5n0-000Fds-00; Sun, 14 Nov 2004 00:50:34 +0300 Received: from mx2.freebsd.org ([216.136.204.119]) by ns.nnt.ru with esmtp (Exim 3.36 #1) id 1CT5mz-000Fdj-00 for goblin@nnt.ru; Sun, 14 Nov 2004 00:50:34 +0300 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id A01105580E; Sat, 13 Nov 2004 21:49:45 +0000 (GMT) (envelope-from owner-freebsd-ports@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 4B4DF16A4FB; Sat, 13 Nov 2004 21:49:40 +0000 (GMT) Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E33B16A4CE; Sat, 13 Nov 2004 21:49:30 +0000 (GMT) Received: from celebrian.forsythia.net (galadriel.forsythia.net [64.81.65.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC52543D41; Sat, 13 Nov 2004 21:49:29 +0000 (GMT) (envelope-from amoran@forsythia.net) Received: from [10.200.1.101] (cerberus.forsythia.net [64.81.65.55]) iADLnJeW048566; Sat, 13 Nov 2004 13:49:20 -0800 (PST) (envelope-from amoran@forsythia.net) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-current@freebsd.org, freebsd-ports@freebsd.org From: Andrew Moran Date: Sat, 13 Nov 2004 13:49:21 -0800 X-Mailer: Apple Mail (2.619) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Errors-To: owner-freebsd-ports@freebsd.org X-bogoflag: true X-2Bogosity: No, tests=bogofilter, spamicity=0.500255, version=0.92.8 Subject: seemingly unfixable Spinlock error under 5.3? X-BeenThere: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2004 21:51:17 -0000 I made the jump from 5.21 to 5.3 earlier and started getting the infamous "Fatal error 'Spinlock called when not threaded.' at line 83 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2)" everytime I ran gnucash. According to the release notes and previous posts, the problem comes from the port being linked against two threading libraries (libkse, libc_r, libpthread, or whatnot). The solution is to recompile the port and everything it depends on, or to be safe, recompile all your ports. I've done an ldd -a on everything in /usr/local and /usr/X11R6 and I can't see to find anyhing other than libpthread and libqthreads (installed by guile). I've recompiled gnucash with portupgrade -R gnucash to no avail. I then tried reinstalling ALL my ports using 'portupgrade -fa'. This is after I upgraded to 5.3 by syncing the world, rebuilding and reinstalling the kernel, installing a new world, and resyncing the ports tree. I still seem to get that error with gnucash. Also, running 'strace -f gnucash' just hangs indefinitely with no output. I don't know if that's a clue. Since gnucash is a guile program, I'm not sure how to debug where the spinlock issue is coming from. I asked the freebsd-questions list but have gotten no response. So in desperation, I'm broadening my quest. I don't want to reinstall the server from scratch if there is another way to fix this error. Could there be something in my kernel configuration causing this? I can't find a reference to libc_r or libkse *anywhere*. :/ Does anyone have any ideas for me to try? Thank you for your time. --And _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"