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: Race condition in threading code? Date: Tue, 26 Aug 2008 13:23:05 -0700 Message-ID: References: <2bc5f8210808161142n2b415569y8499f3efafb4a@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219782268 32014 80.91.229.12 (26 Aug 2008 20:24:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Aug 2008 20:24:28 +0000 (UTC) Cc: guile-devel@gnu.org To: hanwen@xs4all.nl Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Aug 26 22:25:21 2008 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.50) id 1KY56O-0005Zv-Kl for guile-devel@m.gmane.org; Tue, 26 Aug 2008 22:25:21 +0200 Original-Received: from localhost ([127.0.0.1]:44029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KY55P-0006Js-5q for guile-devel@m.gmane.org; Tue, 26 Aug 2008 16:24:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KY55K-0006HD-Fq for guile-devel@gnu.org; Tue, 26 Aug 2008 16:24:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KY55H-0006Cn-7j for guile-devel@gnu.org; Tue, 26 Aug 2008 16:24:13 -0400 Original-Received: from [199.232.76.173] (port=60428 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KY55H-0006Cd-4T for guile-devel@gnu.org; Tue, 26 Aug 2008 16:24:11 -0400 Original-Received: from a-sasl-quonix.sasl.smtp.pobox.com ([208.72.237.25]:33368 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KY55G-000818-E7 for guile-devel@gnu.org; Tue, 26 Aug 2008 16:24:10 -0400 Original-Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTP id 1E79C69A39; Tue, 26 Aug 2008 16:24:08 -0400 (EDT) Original-Received: from unquote (dsl001-150-252.sfo1.dsl.speakeasy.net [72.1.150.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-quonix.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 48D1469A38; Tue, 26 Aug 2008 16:24:05 -0400 (EDT) In-Reply-To: (Han-Wen Nienhuys's message of "Sat, 16 Aug 2008 15:45:31 -0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Pobox-Relay-ID: EF86E5C2-73AC-11DD-A2C9-3113EBD4C077-02397024!a-sasl-quonix.pobox.com X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:7506 Archived-At: Hi, On Sat 16 Aug 2008 11:45, Han-Wen Nienhuys writes: > Julian Graham escreveu: >> Hmmm... I don't recall seeing those when I was writing that test >> suite. Just to be clear, were you getting those errors before making >> your changes? > > No, but some very unrelated changes made them go away again. I still get that error, having merged master into vm. Do you have other fixes? The original error that you had, reflowed: ERROR: srfi-18.test: thread-start!: thread activates only after start - arguments: ((syntax-error "memoization" "In file ~S, line ~S: ~A ~S in expression ~S." ("/home/lilydev/vc/guile/srfi/srfi-18.scm" 135 "Bad binding" ct (let (ct (current-thread)) #@let (or (hashq-ref thread-exception-handlers ct) (hashq-set! thread-exception-handlers ct (list initial-handler))))) #f)) Bad binding with an #@let???? This would seem to indicate that a memoized cell was not marked, and was then swept/re-used. Andy -- http://wingolog.org/