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: Re: Hang in threads.test Date: Sun, 13 Feb 2011 09:58:54 +0000 Message-ID: <87zkq0i7c1.fsf@ossau.uklinux.net> References: <87tylmrch6.fsf@ossau.uklinux.net> <87zkv94jf9.fsf@ossau.uklinux.net> <87y6asqe2i.fsf@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 1297591155 506 80.91.229.12 (13 Feb 2011 09:59:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 13 Feb 2011 09:59:15 +0000 (UTC) Cc: guile-devel@gnu.org To: Andy Wingo Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Feb 13 10:59:11 2011 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PoYjU-0006xo-Du for guile-devel@m.gmane.org; Sun, 13 Feb 2011 10:59:08 +0100 Original-Received: from localhost ([127.0.0.1]:34016 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoYjT-0006hp-IA for guile-devel@m.gmane.org; Sun, 13 Feb 2011 04:59:07 -0500 Original-Received: from [140.186.70.92] (port=37026 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoYjQ-0006hK-5u for guile-devel@gnu.org; Sun, 13 Feb 2011 04:59:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoYjO-00059I-VI for guile-devel@gnu.org; Sun, 13 Feb 2011 04:59:04 -0500 Original-Received: from mail3.uklinux.net ([80.84.72.33]:60056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PoYjO-00058t-R3 for guile-devel@gnu.org; Sun, 13 Feb 2011 04:59:02 -0500 Original-Received: from arudy (unknown [78.149.124.53]) by mail3.uklinux.net (Postfix) with ESMTP id DF2891F6092; Sun, 13 Feb 2011 09:58:55 +0000 (GMT) Original-Received: from neil-laptop (unknown [192.168.11.4]) by arudy (Postfix) with ESMTP id B0C3E3801E; Sun, 13 Feb 2011 09:58:54 +0000 (GMT) In-Reply-To: (Andy Wingo's message of "Fri, 11 Feb 2011 10:20:16 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 80.84.72.33 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:11592 Archived-At: Andy Wingo writes: >>> Neil Jerram writes: >>> >>>> My nightly build of master, on a relatively slow old machine, is >>>> hanging, on most nights, in `make check'. >> >> The hang seems to be caused by one thread (A) running (gc) at the same >> time as another thread (B) is doing GC_malloc_atomic. The third thread >> in the backtrace is the signal delivery thread, and not involved. >> >> But in the "mutex with owner not retained (bug #27450)" test there is no >> thread B, so where does it come from? It's left over from the "locking >> mutex on behalf of other thread" test, two tests previously. Adding >> (join-thread t) to that earlier test means that the thread has to run >> and complete before we get to the (gc) test. > > Is this fixed now for you? No. But that might be because the libgc on that machine - Debian 1:7.1-3 - is too old. What is the latest recommendation for libgc version? README says "at least version 7.0", but I suspect that's out of date. Neil