From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Han-Wen Nienhuys Newsgroups: gmane.lisp.guile.devel Subject: Race condition in threading code? Date: Sat, 16 Aug 2008 15:21:47 -0300 Message-ID: Reply-To: hanwen@xs4all.nl NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218911006 27653 80.91.229.12 (16 Aug 2008 18:23:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 16 Aug 2008 18:23:26 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Aug 16 20:24:18 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 1KUQRk-0002TD-QS for guile-devel@m.gmane.org; Sat, 16 Aug 2008 20:24:17 +0200 Original-Received: from localhost ([127.0.0.1]:35405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUQQo-0006Qy-21 for guile-devel@m.gmane.org; Sat, 16 Aug 2008 14:23:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KUQQl-0006QR-O0 for guile-devel@gnu.org; Sat, 16 Aug 2008 14:23:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KUQQj-0006Of-Qr for guile-devel@gnu.org; Sat, 16 Aug 2008 14:23:15 -0400 Original-Received: from [199.232.76.173] (port=49800 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KUQQj-0006Ob-LK for guile-devel@gnu.org; Sat, 16 Aug 2008 14:23:13 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:57009 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KUQQj-0007sg-Hj for guile-devel@gnu.org; Sat, 16 Aug 2008 14:23:13 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KUQQf-0003fB-Cm for guile-devel@gnu.org; Sat, 16 Aug 2008 18:23:09 +0000 Original-Received: from 201.80.3.52 ([201.80.3.52]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Aug 2008 18:23:09 +0000 Original-Received: from hanwen by 201.80.3.52 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 16 Aug 2008 18:23:09 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 201.80.3.52 User-Agent: Thunderbird 2.0.0.16 (X11/20080723) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:7439 Archived-At: Hi there, I have finished my GC cleanup. It mostly seems to work, but I get transient errors in the srfi-18 test. I am suspecting a race condition in the eval module WARNING: (srfi srfi-18): imported module (srfi srfi-34) overrides core binding `raise' 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)) ERROR: srfi-18.test: thread-terminate!: termination destroys non-started thread - 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)) -- Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen