From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#17223: guile crash, signal 6, guile: ../nptl/pthread_mutex_lock.c:80 Date: Tue, 21 Jun 2016 15:09:03 +0200 Message-ID: <87a8iezo28.fsf@pobox.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466515825 32569 80.91.229.3 (21 Jun 2016 13:30:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2016 13:30:25 +0000 (UTC) Cc: 17223@debbugs.gnu.org To: Kapten Anto Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jun 21 15:30:14 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bFLkl-0008Sr-T4 for guile-bugs@m.gmane.org; Tue, 21 Jun 2016 15:30:08 +0200 Original-Received: from localhost ([::1]:51767 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFLkk-0004pd-UK for guile-bugs@m.gmane.org; Tue, 21 Jun 2016 09:30:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFLRQ-0006JE-15 for bug-guile@gnu.org; Tue, 21 Jun 2016 09:10:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFLRJ-0000kU-QN for bug-guile@gnu.org; Tue, 21 Jun 2016 09:10:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFLRJ-0000kQ-NA for bug-guile@gnu.org; Tue, 21 Jun 2016 09:10:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bFLRJ-00034C-JV for bug-guile@gnu.org; Tue, 21 Jun 2016 09:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 21 Jun 2016 13:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17223 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 17223-submit@debbugs.gnu.org id=B17223.146651455411723 (code B ref 17223); Tue, 21 Jun 2016 13:10:01 +0000 Original-Received: (at 17223) by debbugs.gnu.org; 21 Jun 2016 13:09:14 +0000 Original-Received: from localhost ([127.0.0.1]:48771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFLQY-000331-A2 for submit@debbugs.gnu.org; Tue, 21 Jun 2016 09:09:14 -0400 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:64408 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bFLQW-00032u-U2 for 17223@debbugs.gnu.org; Tue, 21 Jun 2016 09:09:13 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id A45C622D51; Tue, 21 Jun 2016 09:09:11 -0400 (EDT) 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=jEs+3oRDrfMGiQUqGj6rH5QhoNk=; b=Dbx0ux f+ai1Pkh8rKZTd8eppn38qMaGFH2BvcaF6SBNa58DTYjrALDYWE2OWAwdO4L58Ku 9QOcAti3vnatUIJGEHeslJKzNIAqPcw+Orw0MMQ80GGJcG2J52Lpzqb/2A0+Oo3t fDz+yWPlYKJxiYSFgg1sO0BaTao72bAq1Ft1o= 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=AI+PLHsDg5CLUXsxswQ64mlEV5AElOcn DNnKefQab46cP3k9+9RhvBtOw3IfUa9dXzEHBn8pJRL858ULZeqi1MNktKE5QUvo Di6r47GuFd+jngAU6ExvcrUpBdFYLUhZ1ujVlUt3sU2kVrfhSi75MewNMNbd1oZy 1lsOmU6/39w= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 9C58722D50; Tue, 21 Jun 2016 09:09:11 -0400 (EDT) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id AC00822D4F; Tue, 21 Jun 2016 09:09:10 -0400 (EDT) In-Reply-To: (Kapten Anto's message of "Tue, 8 Apr 2014 16:45:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Pobox-Relay-ID: 5833BA34-37B1-11E6-A626-C1836462E9F6-02397024!pb-sasl1.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8090 Archived-At: Hi Kapten! Looks like a bug in libgc somehow. Did you ever trace this down? Andy On Tue 08 Apr 2014 16:45, Kapten Anto writes: > On my system its quite simple to reproduce, start guile, type ,q > enter, then start it again and it crashes. In between runs Ive > verified it does not show up in the process list, ps aux|grep guile. > > ~ $ guile > GNU Guile 2.0.11 > Copyright (C) 1995-2014 Free Software Foundation, Inc. > > Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. > This program is free software, and you are welcome to redistribute it > under certain conditions; type `,show c' for details. > > Enter `,help' for help. > scheme@(guile-user)> ,q > > ~ $ guile > guile: ../nptl/pthread_mutex_lock.c:80: __pthread_mutex_cond_lock: > Assertion `mutex->__data.__owner == 0' failed. > Aborted (core dumped) > > ~ $ guile > GNU Guile 2.0.11 > Copyright (C) 1995-2014 Free Software Foundation, Inc. > > But doesnt happen every time. Seems like every other or every third > time. > > Here is a backtrace from gdb > > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/usr/lib/libthread_db.so.1". > Core was generated by `guile'. > Program terminated with signal SIGABRT, Aborted. > #0 0x00007feab193b389 in raise () from /usr/lib/libc.so.6 > (gdb) bt > #0 0x00007feab193b389 in raise () from /usr/lib/libc.so.6 > #1 0x00007feab193c788 in abort () from /usr/lib/libc.so.6 > #2 0x00007feab19344a6 in __assert_fail_base () from /usr/lib/libc.so.6 > #3 0x00007feab1934552 in __assert_fail () from /usr/lib/libc.so.6 > #4 0x00007feab1cbf3a4 in __pthread_mutex_cond_lock () from > /usr/lib/libpthread.so.0 > #5 0x00007feab1cba0df in pthread_cond_wait@@GLIBC_2.3.2 () from > /usr/lib/libpthread.so.0 > #6 0x00007feab16b8897 in ?? () from /usr/lib/libgc.so.1 > #7 0x00007feab16aecd5 in ?? () from /usr/lib/libgc.so.1 > #8 0x00007feab16aee9b in ?? () from /usr/lib/libgc.so.1 > #9 0x00007feab16afcbd in ?? () from /usr/lib/libgc.so.1 > #10 0x00007feab16a63bd in ?? () from /usr/lib/libgc.so.1 > #11 0x00007feab16a6daa in ?? () from /usr/lib/libgc.so.1 > #12 0x00007feab16a6fd6 in ?? () from /usr/lib/libgc.so.1 > #13 0x00007feab16a709d in GC_gcollect () from /usr/lib/libgc.so.1 > #14 0x00007feab1f3c704 in scm_realloc () from > /usr/lib/libguile-2.0.so.22 > #15 0x00007feab1f334de in scm_c_register_extension () from > /usr/lib/libguile-2.0.so.22 > #16 0x00007feab1f23d93 in ?? () from /usr/lib/libguile-2.0.so.22 > #17 0x00007feab1f4c21f in ?? () from /usr/lib/libguile-2.0.so.22 > #18 0x00007feab1f9ff00 in ?? () from /usr/lib/libguile-2.0.so.22 > #19 0x00007feab1f9ff39 in ?? () from /usr/lib/libguile-2.0.so.22 > #20 0x00007feab16b1d42 in GC_call_with_stack_base () from > /usr/lib/libgc.so.1 > #21 0x00007feab1fa0328 in scm_with_guile () from > /usr/lib/libguile-2.0.so.22 > #22 0x00007feab1f4c195 in scm_boot_guile () from > /usr/lib/libguile-2.0.so.22 > #23 0x0000000000400c54 in ?? () > #24 0x00007feab1927b05 in __libc_start_main () from /usr/lib/libc.so.6 > #25 0x0000000000400cc7 in ?? () > (gdb) > > # uname -a > Linux precizija 3.13.7-1-ARCH #1 SMP PREEMPT Mon Mar 24 20:06:08 CET > 2014 x86_64 GNU/Linux > > Any other information needed? How can I dig more into why this is > happening? > > Regards