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: thread assert with 1.8.2 Date: Thu, 19 Jul 2007 20:56:23 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1184892997 5229 80.91.229.12 (20 Jul 2007 00:56:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2007 00:56:37 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Jul 20 02:56:35 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 1IBgnK-0003gQ-9s for guile-devel@m.gmane.org; Fri, 20 Jul 2007 02:56:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBgnJ-0006on-UU for guile-devel@m.gmane.org; Thu, 19 Jul 2007 20:56:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IBgnD-0006k8-DS for guile-devel@gnu.org; Thu, 19 Jul 2007 20:56:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IBgnA-0006g2-Ui for guile-devel@gnu.org; Thu, 19 Jul 2007 20:56:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IBgnA-0006fg-Gu for guile-devel@gnu.org; Thu, 19 Jul 2007 20:56:24 -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 1IBgnA-0005Pg-3l for guile-devel@gnu.org; Thu, 19 Jul 2007 20:56:24 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 470F652A8; Thu, 19 Jul 2007 20:56:23 -0400 (EDT) X-Hashcash: 1:20:070720:guile-devel@gnu.org::I1fPNsyEKhd2+BhI:0000000000000000000000000000000000000000000DeU 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:6656 Archived-At: I just updated pkgsrc to 1.8.2, and on NetBSD-current/i386 make check fails in the thread test with: Running threads.test 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. [1] Abort trap (core dumped) ${dir}${tst} The core has several threads, nad this is the one that hit the assert: (gdb) bt #0 0xbb9d6bdb in kill () from /usr/lib/libc.so.12 #1 0xbbaa3d9b in pthread__errorfunc () from /usr/lib/libpthread.so.0 #2 0xbbaa1d49 in pthread_mutex_unlock () from /usr/lib/libpthread.so.0 #3 0xbbb9875c in scm_leave_guile () from /usr/home/gdt/NetBSD-current/pkgsrc/lang/guile/work/guile-1.8.2/libguile/.libs/libguile.so.17 #4 0xbbb99c4e in on_thread_exit () from /usr/home/gdt/NetBSD-current/pkgsrc/lang/guile/work/guile-1.8.2/libguile/.libs/libguile.so.17 #5 0xbbaa0e1c in pthread__destroy_tsd () from /usr/lib/libpthread.so.0 #6 0xbbaa5119 in pthread_exit () from /usr/lib/libpthread.so.0 #7 0xbbaa5499 in pthread_setcancelstate () from /usr/lib/libpthread.so.0 #8 0xbb9f9370 in swapcontext () from /usr/lib/libc.so.12 Perhaps someone could try this on Linux with the right magic debug variables to object to unlocking an unlocked mutex. (On NetBSD, the default behavior is to abort on any operation which the standard says is undefined.) On NetBSD 4.0ish, which has a different thread implementation, I get the same assert. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel