From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stewart, Adam James" Newsgroups: gmane.lisp.guile.bugs Subject: bug#23911: Cat broken pipe segmentation fault when building Guile Date: Wed, 13 Jul 2016 20:45:33 +0000 Message-ID: <9F5501637440B04B9DE4C86279C60B6E4A57541D@PAYTON.anl.gov> References: <9F5501637440B04B9DE4C86279C60B6E4A571E30@PAYTON.anl.gov> <874m7x64w9.fsf@pobox.com> <9F5501637440B04B9DE4C86279C60B6E4A574FC1@PAYTON.anl.gov>, <87poqk41ba.fsf@pobox.com>, <9F5501637440B04B9DE4C86279C60B6E4A575001@PAYTON.anl.gov>, <9F5501637440B04B9DE4C86279C60B6E4A5753B9@PAYTON.anl.gov> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1468442790 18475 80.91.229.3 (13 Jul 2016 20:46:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2016 20:46:30 +0000 (UTC) Cc: "23911@debbugs.gnu.org" <23911@debbugs.gnu.org> To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Jul 13 22:46:17 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 1bNR2s-0001vk-CZ for guile-bugs@m.gmane.org; Wed, 13 Jul 2016 22:46:14 +0200 Original-Received: from localhost ([::1]:49856 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNR2r-0007mW-H8 for guile-bugs@m.gmane.org; Wed, 13 Jul 2016 16:46:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNR2l-0007mK-8H for bug-guile@gnu.org; Wed, 13 Jul 2016 16:46:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNR2g-0006Qm-4H for bug-guile@gnu.org; Wed, 13 Jul 2016 16:46:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNR2g-0006QX-0F for bug-guile@gnu.org; Wed, 13 Jul 2016 16:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bNR2f-0006bp-LI for bug-guile@gnu.org; Wed, 13 Jul 2016 16:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Stewart, Adam James" Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 13 Jul 2016 20:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23911 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 23911-submit@debbugs.gnu.org id=B23911.146844274224296 (code B ref 23911); Wed, 13 Jul 2016 20:46:01 +0000 Original-Received: (at 23911) by debbugs.gnu.org; 13 Jul 2016 20:45:42 +0000 Original-Received: from localhost ([127.0.0.1]:50200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNR2M-0006Jb-2m for submit@debbugs.gnu.org; Wed, 13 Jul 2016 16:45:42 -0400 Original-Received: from mailrelay.anl.gov ([130.202.101.22]:44958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bNR2K-0006Cx-Dm for 23911@debbugs.gnu.org; Wed, 13 Jul 2016 16:45:40 -0400 Original-Received: from mailgateway.anl.gov (mailgateway.anl.gov [130.202.101.28]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mailrelay.anl.gov (Postfix) with ESMTPS id B6D7F2000D1 for <23911@debbugs.gnu.org>; Wed, 13 Jul 2016 15:45:34 -0500 (CDT) X-IronPort-AV: E=Sophos;i="5.28,359,1464670800"; d="scan'208";a="124107462" Original-Received: from nagurski.anl.gov ([146.137.81.22]) by mailgateway.anl.gov with ESMTP/TLS/AES256-SHA; 13 Jul 2016 15:45:34 -0500 Original-Received: from PAYTON.anl.gov ([fe80::745c:c48e:11e8:4088]) by NAGURSKI.anl.gov ([::1]) with mapi id 14.03.0266.001; Wed, 13 Jul 2016 15:45:34 -0500 Thread-Topic: bug#23911: Cat broken pipe segmentation fault when building Guile Thread-Index: AQHR24yX8Hg+DzNgSA6fZec8ZMbbeaATagpFgAMtskWAAD82KQ== In-Reply-To: <9F5501637440B04B9DE4C86279C60B6E4A5753B9@PAYTON.anl.gov> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [146.137.81.41] 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:8303 Archived-At: Andy,=0A= =0A= I finally have success! I think the problem was that I was building guile, = gettext, and libunistring with my own libiconv. When I stopped building wit= h libiconv and just used the system version, everything worked. The build p= asses make check and make installcheck now.=0A= =0A= I'm not sure if there's a way for guile to detect whether or not libiconv i= s built properly. It would be nice if configure crashed with a useful error= message instead of this core dump. But I'm satisfied now. Thanks for your = help!=0A= =0A= Adam J. Stewart=0A= Assistant Systems Administrator=0A= Laboratory Computing Resource Center=0A= Computing, Environment and Life Sciences=0A= Argonne National Laboratory=0A= =0A= ________________________________________=0A= From: Stewart, Adam James=0A= Sent: Wednesday, July 13, 2016 12:00 PM=0A= To: Andy Wingo=0A= Cc: 23911@debbugs.gnu.org=0A= Subject: RE: bug#23911: Cat broken pipe segmentation fault when building Gu= ile=0A= =0A= Andy,=0A= =0A= $ GUILE_AUTO_COMPILE=3D0 meta/guile=0A= Segmentation fault (core dumped)=0A= $ gdb libguile/.libs/guile libguile/core-lt-guile-11-7459-3024-47618-146842= 8920=0A= Reading symbols from /scratch/ajstewart/spack-stage/spack-stage-c8z012/guil= e-2.0.11/libguile/.libs/guile...done.=0A= (gdb) bt=0A= No stack.=0A= (gdb) quit=0A= $ gdb libguile/.libs/guile core-lt-guile-11-7459-3024-47708-1468428949=0A= Reading symbols from /scratch/ajstewart/spack-stage/spack-stage-c8z012/guil= e-2.0.11/libguile/.libs/guile...done.=0A= (gdb) bt=0A= No stack.=0A= (gdb)=0A= =0A= Those were the only two *core* files in my build root directory.=0A= =0A= I'm currently building all of Guile's dependencies by hand, so there is alw= ays a chance there's an error in one of those libraries. I'm going to try b= uilding with as many of the system libraries as I can. Maybe I'll discover = a bug in one of my installs.=0A= =0A= Adam J. Stewart=0A= Assistant Systems Administrator=0A= Laboratory Computing Resource Center=0A= Computing, Environment and Life Sciences=0A= Argonne National Laboratory=0A= =0A= ________________________________________=0A= From: Stewart, Adam James=0A= Sent: Monday, July 11, 2016 11:36 AM=0A= To: Andy Wingo=0A= Subject: RE: bug#23911: Cat broken pipe segmentation fault when building Gu= ile=0A= =0A= Andy,=0A= =0A= I tried unsetting LANG and LC_ALL but that didn't help. Nor did setting the= m to C instead of en_US.UTF-8. If you have any more locale suggestions I ca= n try them.=0A= =0A= I tried your suggestion for getting the backtrace but I'm not sure if I did= it correctly:=0A= =0A= $ gdb libguile/.libs/guile libguile/core-lt-guile-11-7459-3024-47528-146825= 4675=0A= Reading symbols from /scratch/ajstewart/spack-stage/spack-stage-6loD5i/guil= e-2.0.11.224-5b7b5/libguile/.libs/guile...done.=0A= (gdb) bt=0A= No stack.=0A= (gdb)=0A= =0A= I've used gdb before, but I don't normally debug core dumps, so you may hav= e to give me some pointers.=0A= =0A= Adam J. Stewart=0A= Assistant Systems Administrator=0A= Laboratory Computing Resource Center=0A= Computing, Environment and Life Sciences=0A= Argonne National Laboratory=0A= =0A= ________________________________________=0A= From: Andy Wingo [wingo@pobox.com]=0A= Sent: Monday, July 11, 2016 10:55 AM=0A= To: Stewart, Adam James=0A= Cc: 23911@debbugs.gnu.org=0A= Subject: Re: bug#23911: Cat broken pipe segmentation fault when building Gu= ile=0A= =0A= On Mon 11 Jul 2016 15:05, "Stewart, Adam James" writes:= =0A= =0A= > I just tried the prerelease tarball you suggested but am getting the=0A= > same problem. My config.log, build output, and build environment=0A= > variables are attached.=0A= =0A= Thanks; all looked fine except that `environ_locale_charset' thing;=0A= dunno.=0A= =0A= Would you mind getting a backtrace from the core to see what happened?=0A= It says "core dumped" so assuming you can find the core then you do "gdb=0A= libguile/.libs/guile libguile/core" (assuming the core file is dumped in=0A= the libguile directory), then "bt".=0A= =0A= Cheers,=0A= =0A= Andy=0A=