From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.devel Subject: Re: thread assert with 1.8.2 Date: Wed, 22 Aug 2007 19:48:55 -0400 Message-ID: References: <87veb7kxhj.fsf@chbouib.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187826543 20802 80.91.229.12 (22 Aug 2007 23:49:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2007 23:49:03 +0000 (UTC) Cc: guile-devel@gnu.org To: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Aug 23 01:49:02 2007 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 1INzwb-0006nH-UU for guile-devel@m.gmane.org; Thu, 23 Aug 2007 01:49:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INzwb-0007R8-F6 for guile-devel@m.gmane.org; Wed, 22 Aug 2007 19:49:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1INzwZ-0007Qs-Ea for guile-devel@gnu.org; Wed, 22 Aug 2007 19:48:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1INzwY-0007QM-Hd for guile-devel@gnu.org; Wed, 22 Aug 2007 19:48:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1INzwY-0007QC-AE for guile-devel@gnu.org; Wed, 22 Aug 2007 19:48:58 -0400 Original-Received: from fnord.ir.bbn.com ([192.1.100.210]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1INzwW-0002KG-EK; Wed, 22 Aug 2007 19:48:56 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id E846852A8; Wed, 22 Aug 2007 19:48:55 -0400 (EDT) X-Hashcash: 1:20:070822:guile-devel@gnu.org::35bNzhHOmyv1Sloh:0000000000000000000000000000000000000000001sm1 X-Hashcash: 1:20:070822:ludo@gnu.org::KS5CT9ynkKqg+4vx:000004e9a In-Reply-To: <87veb7kxhj.fsf@chbouib.org> ("Ludovic =?iso-8859-1?Q?Court?= =?iso-8859-1?Q?=E8s=22's?= message of "Thu, 23 Aug 2007 00:36:40 +0200") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (berkeley-unix) X-Detected-Kernel: Genre and OS details not recognized. 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:6735 Archived-At: I read what Kevin wrote about linux threads, and read your patch again, and I now agree that it should be checking for the same problem that the NetBSD pthread ipmlementation errored on. I ran the tests with pthread debugging turned off: export PTHREAD_DIAGASSERT=Ae # ignore errors, log to stdout During the thread test, I got 69 instances of: guile: Error detected by libpthread: Unlocking unlocked mutex. Detected by file "/usr/home/gdt/NetBSD-current/src/lib/libpthread/pthread_mutex.c", line 357, function "pthread_mutex_unlock". See pthread(3) for information. and the test passed. Hope this helps. I do not understand the thread code in guile one little bit, and short of "grok that and find the bug, either there or in NetBSD pthread lib", let me know if I can do anything else helpful. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel