From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: Hang in threads.test Date: Fri, 11 Feb 2011 10:20:16 +0100 Message-ID: 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 1297436630 27765 80.91.229.12 (11 Feb 2011 15:03:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 15:03:50 +0000 (UTC) Cc: guile-devel@gnu.org To: Neil Jerram Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Feb 11 16:03:43 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 1PnuX6-0006ZN-H2 for guile-devel@m.gmane.org; Fri, 11 Feb 2011 16:03:40 +0100 Original-Received: from localhost ([127.0.0.1]:45402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnuX5-0005ea-Gl for guile-devel@m.gmane.org; Fri, 11 Feb 2011 10:03:39 -0500 Original-Received: from [140.186.70.92] (port=48308 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnuWw-0005bP-0o for guile-devel@gnu.org; Fri, 11 Feb 2011 10:03:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnuWu-00014G-Bu for guile-devel@gnu.org; Fri, 11 Feb 2011 10:03:29 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:36386 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnuWu-00014C-8d for guile-devel@gnu.org; Fri, 11 Feb 2011 10:03:28 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 6AB5B309D; Fri, 11 Feb 2011 10:04:30 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=qA0MQ3tRFUAOTwa9ZdTYywazfpw=; b=B/VlcV espjx+No7VfHdKY1MB3DbT/5uq0lKjlVfQ0Viuks39tchCfwLFzYEH3B/4Ul8bbT ge3/UX83lH4/pWTOoRiNGYKKoxR9zgeZh0ZecCNO3BOwJ9Pl/3Ia9uVsSskzRf9c MZ09koUC6uUjtPyHacvF45VZjikVXXTbOo58Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=VwGw7k9znfDQ/bSLF4t2e+ZXX+Kqjk7y lRSjBgrOLiWXEhvPaqHT38TX9sVno9eZkCmUeLiwRSK1RcEVrlD8Rn8eMjp8HAfo XU7Hz99cRnKFUfLNsL00ljkKTmNTVlMh6gZjVhUlUjevPgln01zIlB5re71livHV j8IAuUcUSkg= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 56F85309C; Fri, 11 Feb 2011 10:04:29 -0500 (EST) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id B32B13099; Fri, 11 Feb 2011 10:04:27 -0500 (EST) In-Reply-To: <87y6asqe2i.fsf@ossau.uklinux.net> (Neil Jerram's message of "Thu, 23 Sep 2010 23:40:05 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: 396F98E8-35F0-11E0-ACD1-AF401E47CF6F-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 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:11555 Archived-At: Hi Neil, I realize this was an old message, but it didn't seem that the thread came to a conclusion: On Fri 24 Sep 2010 00:40, Neil Jerram 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? Thanks, Andy -- http://wingolog.org/