From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Thread+GC issues on ARM Date: Sat, 24 Dec 2011 12:50:57 +0000 Message-ID: <87ipl6i15a.fsf@neil-laptop.ossau.uklinux.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1324731072 20799 80.91.229.12 (24 Dec 2011 12:51:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Dec 2011 12:51:12 +0000 (UTC) Cc: rlb@defaultvalue.org To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Dec 24 13:51:07 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ReR47-00025M-57 for guile-devel@m.gmane.org; Sat, 24 Dec 2011 13:51:07 +0100 Original-Received: from localhost ([::1]:33100 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReR46-0002WZ-LU for guile-devel@m.gmane.org; Sat, 24 Dec 2011 07:51:06 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:46444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReR44-0002WR-3g for guile-devel@gnu.org; Sat, 24 Dec 2011 07:51:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ReR42-0007IZ-GT for guile-devel@gnu.org; Sat, 24 Dec 2011 07:51:03 -0500 Original-Received: from out1.ip06ir2.opaltelecom.net ([62.24.128.242]:37100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ReR42-0007IT-C7 for guile-devel@gnu.org; Sat, 24 Dec 2011 07:51:02 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsIAN7J9U5OkRO5/2dsb2JhbAApGqsCgTeBBoIzHCMYJDQBBCUyBYd8BiO3CIh1gxoEpzY X-IronPort-AV: E=Sophos;i="4.71,403,1320624000"; d="scan'208";a="522665882" Original-Received: from host-78-145-19-185.as13285.net (HELO arudy) ([78.145.19.185]) by out1.ip06ir2.opaltelecom.net with ESMTP; 24 Dec 2011 12:51:00 +0000 Original-Received: from neil-laptop.ossau.uklinux.net.ossau.homelinux.net (host-78-145-19-185.as13285.net [78.145.19.185]) by arudy (Postfix) with ESMTPA id 1A5883803B; Sat, 24 Dec 2011 12:50:59 +0000 (GMT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 62.24.128.242 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13183 Archived-At: Hi there! Just in case anyone else is looking at this too, I just wanted to announce that I'm investigating why the Debian Guile 2.0.3 fails to pass 'make check' on ARM, as can be seen here: https://buildd.debian.org/status/package.php?p=guile-2.0. Now that there's a Debian package for Guile 2.0 - thanks Rob! - I couldn't resist trying to build it on my GTA04. It all looks quite tractable - just complex interactions between when Guile's thread finalizer (on_thread_exit) runs, libgc's own finalizer/cleanup, and the fact that Guile's finalizer re-registers with the GC. Also I think I might be able to throw light on the longstanding threads.test hang (http://www.mail-archive.com/guile-devel@gnu.org/msg06007.html). When I hit that in GDB, there were only 3 threads known to GDB, but libgc's thread count was 4, and that will obviously cause libgc to hang. So, more soon, I hope. Neil