From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: John Cowan Newsgroups: gmane.lisp.guile.bugs Subject: bug#39118: Segfault while building on 64-bit Cygwin Date: Tue, 21 Jan 2020 16:37:01 -0500 Message-ID: References: <87zherlphs.fsf@pobox.com> <875zh6gk72.fsf_-_@gnu.org> <87sgk9faih.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f7d757059cad35c1" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="60211"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39118@debbugs.gnu.org, guile-devel@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Jan 21 22:38:12 2020 Return-path: Envelope-to: guile-bugs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iu1Du-000Fbb-Kh for guile-bugs@m.gmane-mx.org; Tue, 21 Jan 2020 22:38:10 +0100 Original-Received: from localhost ([::1]:33062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iu1Dt-0004Mz-NU for guile-bugs@m.gmane-mx.org; Tue, 21 Jan 2020 16:38:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48186) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iu1Dp-0004LO-Al for bug-guile@gnu.org; Tue, 21 Jan 2020 16:38:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iu1Dm-0006qY-Av for bug-guile@gnu.org; Tue, 21 Jan 2020 16:38:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42641) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iu1Dm-0006qO-89 for bug-guile@gnu.org; Tue, 21 Jan 2020 16:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iu1Dm-0003BF-2F for bug-guile@gnu.org; Tue, 21 Jan 2020 16:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: John Cowan Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 21 Jan 2020 21:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39118 X-GNU-PR-Package: guile Original-Received: via spool by 39118-submit@debbugs.gnu.org id=B39118.157964264012168 (code B ref 39118); Tue, 21 Jan 2020 21:38:02 +0000 Original-Received: (at 39118) by debbugs.gnu.org; 21 Jan 2020 21:37:20 +0000 Original-Received: from localhost ([127.0.0.1]:48614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iu1D5-0003AB-Sb for submit@debbugs.gnu.org; Tue, 21 Jan 2020 16:37:20 -0500 Original-Received: from mail-qt1-f172.google.com ([209.85.160.172]:33548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iu1D3-00039y-R9 for 39118@debbugs.gnu.org; Tue, 21 Jan 2020 16:37:18 -0500 Original-Received: by mail-qt1-f172.google.com with SMTP id d5so3992305qto.0 for <39118@debbugs.gnu.org>; Tue, 21 Jan 2020 13:37:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ccil-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/p9ktg51GPPAxaRkrPD9nI8C/W3Lv/t0GIxJcEfDRmw=; b=Tzzl4Np1xW806q2uDabJy9v2M1zvuyRZB7jW58R0lV09q019defsfcujVFSZHo1f45 57sDBHM86Xrk3xdrcklseulZHajBFB8w8tGd5xE5Og4pho4vgWEUZxQMasb0pWzOmp2W HdH81Mn6GXZ00yLID0hoNbjshgqdqt+IkYBuXGuLyECahDrJOA9WZUfkP+VTMAsm4G3Q DxqDcLWxsccYZOEXVUYYV+5tV4sDpcw3kHDB4sv82jAHTfFDNZA5gFm5v621hswqNhHi 37XKMdPWtchfiAgACSINfYrJRJHz7maaOp2VHQT9SRs72aNc1hSp3/NytorjtR01zfVx z5Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/p9ktg51GPPAxaRkrPD9nI8C/W3Lv/t0GIxJcEfDRmw=; b=JvHyuMsAzPipdzeIQtkzunewgydUzDze73/eoh25/KsG6HUB/b215hBWUANsVCoroS EkBc8kRnHAEKFdDM0O3fJPuH4vrYLatMf0lLcdKMFjJHjTVOnvOgTHhH2z/wTJCPEI1R WuV4uFlvh3IXzmbYs2qEnTwIG5DxdoKkROd254la7NhUb4I+u6g1xGHK4RZwGaxE+Nw2 ZZg+O7iZVWNd9hgKq/tMVTIHCRBde3AnjUWR2Eaf/fRsbHDnU30xcohpf9W8F6f12Wsm Qe/vVj6EyiYyumk3jIIUizoNVdQWNoBiu1lhxWJQwl2itw9AwpZasiyGmVunLcb+zU4P 5AnA== X-Gm-Message-State: APjAAAVxn3/eMQ9RvinJG9TP4pA4C5mDO1sWWOt+9+rQXg1ATDwEj5V9 mddKVTmR307xSvUaR0UA7fsMvJPf0z1rCMW0fOfjfA== X-Google-Smtp-Source: APXvYqyV8zfuWhF0KUomMwcsNWWY4D58q4niq1EtvcQXptPgigb4SQuYpejWEV7sC3m45AKnBD/pn2+kEOOrADK+iE8= X-Received: by 2002:ac8:454e:: with SMTP id z14mr1511188qtn.83.1579642632257; Tue, 21 Jan 2020 13:37:12 -0800 (PST) In-Reply-To: <87sgk9faih.fsf@gnu.org> 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:9539 Archived-At: --000000000000f7d757059cad35c1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. Unfortunately, the standard recipe for making core dumps on Mac (put "limit core unlimited" into /etc/launchd.conf and reboot, make sure /cores is writable, set ulimit -c unlimited) seem to actually enable them on MacOS Catalina (10.15.2). I have tested with SIGQUIT and SIGSEGV on running processes and no dumps appear in /cores. On Tue, Jan 21, 2020 at 4:02 AM Ludovic Court=C3=A8s wrote: > Hello, > > John Cowan skribis: > > > Yes, gladly, but I don't know how to get one in this context. > > You would unpack, configure, and build like you did before (with JIT > enabled, so as to reproduce the crash), but before that you=E2=80=99d run > =E2=80=9Culimit -c unlimited=E2=80=9D in that shell to make sure there=E2= =80=99s a core dumped > when it crashes. > > Once it has crashed, locate the =E2=80=98core=E2=80=99 file (or =E2=80=98= core.*=E2=80=99), and run, say: > > gdb libguile/.libs/guile bootstrap/core > > Then from the GDB prompt: > > thread apply all bt > > TIA, > Ludo=E2=80=99. > --000000000000f7d757059cad35c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks.=C2=A0 Unfortunately, the standard recipe for makin= g core dumps on Mac (put "limit core unlimited" into /etc/launchd= .conf=C2=A0and reboot, make sure /cores is writable, set ulimit -c unlimite= d) seem to actually enable them on MacOS Catalina (10.15.2).=C2=A0 I have t= ested with SIGQUIT and SIGSEGV on running processes and no dumps appear in = /cores.

On Tue, Jan 21, 2020 at 4:02 AM Ludovic Court=C3=A8s <ludo@gnu.org> wrote:
Hello,

John Cowan <cowan@cc= il.org> skribis:

> Yes, gladly, but I don't know how to get one in this context.

You would unpack, configure, and build like you did before (with JIT
enabled, so as to reproduce the crash), but before that you=E2=80=99d run =E2=80=9Culimit -c unlimited=E2=80=9D in that shell to make sure there=E2= =80=99s a core dumped
when it crashes.

Once it has crashed, locate the =E2=80=98core=E2=80=99 file (or =E2=80=98co= re.*=E2=80=99), and run, say:

=C2=A0 gdb libguile/.libs/guile bootstrap/core

Then from the GDB prompt:

=C2=A0 thread apply all bt

TIA,
Ludo=E2=80=99.
--000000000000f7d757059cad35c1--