From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kapten Anto Newsgroups: gmane.lisp.guile.bugs Subject: bug#17223: guile crash, signal 6, guile: ../nptl/pthread_mutex_lock.c:80 Date: Tue, 8 Apr 2014 16:45:27 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2cd18f2298304f6890876 X-Trace: ger.gmane.org 1396990402 27636 80.91.229.3 (8 Apr 2014 20:53:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2014 20:53:22 +0000 (UTC) To: 17223@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Apr 08 22:53:14 2014 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 1WXd15-0003Su-93 for guile-bugs@m.gmane.org; Tue, 08 Apr 2014 22:53:11 +0200 Original-Received: from localhost ([::1]:42787 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXd14-0005F0-VW for guile-bugs@m.gmane.org; Tue, 08 Apr 2014 16:53:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXYA5-0000Ry-OP for bug-guile@gnu.org; Tue, 08 Apr 2014 11:42:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXY9z-0001ex-A6 for bug-guile@gnu.org; Tue, 08 Apr 2014 11:42:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXY9z-0001ei-6l for bug-guile@gnu.org; Tue, 08 Apr 2014 11:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WXY9y-0004nR-Qw for bug-guile@gnu.org; Tue, 08 Apr 2014 11:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kapten Anto Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 08 Apr 2014 15:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17223 X-GNU-PR-Package: guile X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-guile@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139697170318388 (code B ref -1); Tue, 08 Apr 2014 15:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Apr 2014 15:41:43 +0000 Original-Received: from localhost ([127.0.0.1]:41046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WXY9e-0004mV-FG for submit@debbugs.gnu.org; Tue, 08 Apr 2014 11:41:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35746) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WXXHS-00020J-P7 for submit@debbugs.gnu.org; Tue, 08 Apr 2014 10:45:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXXHO-0003Dx-3n for submit@debbugs.gnu.org; Tue, 08 Apr 2014 10:45:42 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXXHN-0003Cp-Kc for submit@debbugs.gnu.org; Tue, 08 Apr 2014 10:45:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXXHL-0006A0-T9 for bug-guile@gnu.org; Tue, 08 Apr 2014 10:45:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WXXHF-00031X-CK for bug-guile@gnu.org; Tue, 08 Apr 2014 10:45:35 -0400 Original-Received: from mail-ob0-x244.google.com ([2607:f8b0:4003:c01::244]:61212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WXXHF-000303-57 for bug-guile@gnu.org; Tue, 08 Apr 2014 10:45:29 -0400 Original-Received: by mail-ob0-f196.google.com with SMTP id wp18so325836obc.7 for ; Tue, 08 Apr 2014 07:45:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=M5t7UkgRsz5Oj7uYhe2TYaOqRkluqxU4vhPP5w+4c5s=; b=a0ksLE97tJIEU72OdcsbTsjzhsUCX4p1b7yaldqE7F4Hx7RFDqgLKxbTpPMl+Q+nfr gL9fG0knnPo5Ljrpbz7O3kOTraVRX+PvPo3xBam6+9hsP4fJqqki73UsMx0y5iKWQTf3 hkDyh1AQQ0jbb2fv6bf0iKI44g7TkxwZshM3LFpVP6/aZ6jgPgaqbmXlg847vxXE4YzT DFJqimpc+OqKIOZqGvF9PYhtGdtqJwcCHXHn2kxR+ih7060+TfMoE2JaEthHO73J5Mps /HiPNRgwMNHI3rHnziACrMr/SGrpDZ1mLHFesXECGLfM/+NZMXmnzivV2trU+UryAJv5 7B4g== X-Received: by 10.182.28.195 with SMTP id d3mr3612166obh.19.1396968327881; Tue, 08 Apr 2014 07:45:27 -0700 (PDT) Original-Received: by 10.76.92.72 with HTTP; Tue, 8 Apr 2014 07:45:27 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Tue, 08 Apr 2014 11:41:41 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Tue, 08 Apr 2014 16:53:07 -0400 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-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:7445 Archived-At: --001a11c2cd18f2298304f6890876 Content-Type: text/plain; charset=ISO-8859-1 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 --001a11c2cd18f2298304f6890876 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

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.=A0=



~ $ 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
un= der 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_l= ock: Assertion `mutex->__data.__owner =3D=3D 0' failed.
Aborted (= core dumped)


~ $ guile
GNU Guil= e 2.0.11
Copyright (C) 1995-2014 Free Software Foundation, Inc.




But doe= snt happen every time. Seems like every other or every third time.

Here is a backtrace from gdb

<= br>


[Thread debugging using libthre= ad_db enabled]
Using host libthread_db library "/usr/lib/libthread_= db.so.1".
Core was generated by `guile'.
Program terminated with signal SIGABR= T, 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 0x00007fe= ab19344a6 in __assert_fail_base () from /usr/lib/libc.so.6
#3 0x00007fe= ab1934552 in __assert_fail () from /usr/lib/libc.so.6
#4 0x00007feab1cb= f3a4 in __pthread_mutex_cond_lock () from /usr/lib/libpthread.so.0
#5 0x00007feab1cba0df in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/l= ibpthread.so.0
#6 0x00007feab16b8897 in ?? () from /usr/lib/libgc.so.1<= br>#7 0x00007feab16aecd5 in ?? () from /usr/lib/libgc.so.1
#8 0x00007f= eab16aee9b in ?? () from /usr/lib/libgc.so.1
#9 0x00007feab16afcbd in ?? () from /usr/lib/libgc.so.1
#10 0x00007feab= 16a63bd 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 0x= 00007feab1f3c704 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 0x0= 0007feab1f4c21f in ?? () from /usr/lib/libguile-2.0.so.22
#18 0x00007fea= b1f9ff00 in ?? () from /usr/lib/libguile-2.0.so.22
#19 0x00007feab1f9ff3= 9 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/libgui= le-2.0.so.22
#23 0x0000000000400c54 in ?? ()
#24 0x00007feab1927b05 in __libc_start_m= ain () from /usr/lib/libc.so.6
#25 0x0000000000400cc7 in ?? ()
(gdb)<= /div>



# 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
=

--001a11c2cd18f2298304f6890876--