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.devel Subject: Re: bug#39118: Segfault while building on 64-bit Cygwin Date: Wed, 5 Feb 2020 16:11:04 -0500 Message-ID: References: <875zh6gk72.fsf_-_@gnu.org> <87sgk9faih.fsf@gnu.org> <871rrpoqql.fsf@gnu.org> <87wo9fbq60.fsf@gnu.org> <20200203221137.GB1659@dtk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d0efe8059dda985d" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24543"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 39118@debbugs.gnu.org, =?UTF-8?Q?Ludovic_Court=C3=A8s?= , guile-devel@gnu.org To: szgyg Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Wed Feb 05 22:11:32 2020 Return-path: Envelope-to: guile-devel@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 1izRxL-0006H7-Ul for guile-devel@m.gmane-mx.org; Wed, 05 Feb 2020 22:11:32 +0100 Original-Received: from localhost ([::1]:56764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izRxK-0002Oq-Q7 for guile-devel@m.gmane-mx.org; Wed, 05 Feb 2020 16:11:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60671) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izRx8-0002Oe-R8 for guile-devel@gnu.org; Wed, 05 Feb 2020 16:11:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izRx7-0008Jb-5k for guile-devel@gnu.org; Wed, 05 Feb 2020 16:11:18 -0500 Original-Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]:33015) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izRx6-000899-LH for guile-devel@gnu.org; Wed, 05 Feb 2020 16:11:17 -0500 Original-Received: by mail-qk1-x744.google.com with SMTP id h4so3417623qkm.0 for ; Wed, 05 Feb 2020 13:11:16 -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=Rn6K5WGefKdCxlAZ5fQuun6tp4pwMBYMI2kKRaMNOOY=; b=Tpma57ChGrTnNb38l/SbcE/Ots7p4Pjzi8L5nV8Mj6lRHFKs4xasENApPriiTJ6dLx /3LvcZcBwNW7XN6/ezYYWXHW670OCnCfinSCWRASsEY9Uh4cOUv8+8oSFDiCeOMOieV+ g5kkJ3xkDcxn1xP3csmBpjFVTp+6+Xgd1RlBMYvMnU6owdLmFR+ACd/ryJtxkX6eAVqQ SXSEPOG0zmFGnkdiRKuI0g9/rSk3aN5dqXXRtiuRjqS/Om4eJu3g8ReEa2ThguoRjE5P W/xtI2dWdAp9faUteFLKRg0gfwqOb7cATBsIvGfSaNr4CBK7LeFDoLMZ2WZDxI23nsPV q/eQ== 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=Rn6K5WGefKdCxlAZ5fQuun6tp4pwMBYMI2kKRaMNOOY=; b=MOJSx7tDhprnosXmJ8A0wtImytnjMsajfCCBJJWyCJ9zq6dqkB/lKNbQBW/oCp9wwk HdzXzgYsSaLrsEIiB9oCDxTA4/PBEv+N1dc0Z322aX9y2YQ8FvlDiyopn+bfKMVoz++U C/rj3p2e2qDYkwWZUYfFmJm82iUizNbKF6FZ3poebv/XV04iJ2SzCJPtNw1o7Qo2s2Le x2s75u9SYMmMVUKKukUGYrsnP8Raz15WiA2AynyefvEHxujBI+q9U+D1engKkKiBmprq z/UJZj69pLRDuUzPaPDp2iFvcrdza0YE+jCPnOZFY9Yt0oiHZ3497YYKPQX/fWJF1ise P6fQ== X-Gm-Message-State: APjAAAUEkvFiGhDN8Fc5mQrTxrSWhyb22e2Tw0o6fngkyaTzcfJUIeL6 /pO2Uxrcz6sOGG/kP0aRXP9AUR06/wGkTYxkOiCH9Q== X-Google-Smtp-Source: APXvYqwgiUKo782C6lC6JsMYN5IemWAUj07jSvRAuSf9RwgLL7Avs3ncHSTSDvUcmNXiympCsIMR5Bo/iKqUFVQMg4A= X-Received: by 2002:a05:620a:23a:: with SMTP id u26mr34287779qkm.426.1580937075808; Wed, 05 Feb 2020 13:11:15 -0800 (PST) In-Reply-To: <20200203221137.GB1659@dtk> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::744 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20390 Archived-At: --000000000000d0efe8059dda985d Content-Type: text/plain; charset="UTF-8" On Mon, Feb 3, 2020 at 5:11 PM szgyg wrote: On Fri, Jan 31, 2020 at 09:23:19AM -0500, John Cowan wrote: > > Aaaand... Cygwin doesn't do core dumps. Under the skin it's WIndows, > after > > all. This is what I get when I specify ulimit -c unlimited and rebuild: > > [...] > > Please see my previous mail on how to get a real core dump on cygwin > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39118#28 Okay, I looked at that page. However, Cygwin's dumper requires you to know the Windows PID of the process to dump. Clearly it is intended for a long-running process such as a server process, which you can force to core dump, as if by "/bin/kill -SIGSEGV pid"; it is not suitable for a process that gets a segmentation violation for internal reasons. In any case, when building, I have no idea of the pid of the process which is dumping; it starts up and then dumps immediately. John Cowan http://vrici.lojban.org/~cowan cowan@ccil.org The Penguin shall hunt and devour all that is crufty, gnarly and bogacious; all code which wriggles like spaghetti, or is infested with blighting creatures, or is bound by grave and perilous Licences shall it capture. And in capturing shall it replicate, and in replicating shall it document, and in documentation shall it bring freedom, serenity and most cool froodiness to the earth and all who code therein. --Gospel of Tux --000000000000d0efe8059dda985d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Feb 3, 2020 at 5:11 PM szgyg = <szgyg@ludens.elte.hu> wr= ote:

On Fri, Jan 31, 2020 at 09:23:19AM -05= 00, John Cowan wrote:
> Aaaand... Cygwin doesn't do core dumps. Under the skin it's WI= ndows, after
> all.=C2=A0 This is what I get when I specify ulimit -c unlimited and r= ebuild:
> [...]

Please see my previous mail on how to get a real core dump on cygwin
https://debbugs.gnu.org/cgi/bugreport.cgi?bu= g=3D39118#28

Okay, I looked at that pag= e.=C2=A0 However, Cygwin's dumper requires you to know the Windows PID = of the process to dump.=C2=A0 Clearly it is intended for a long-running pro= cess such as a server process, which you can force to core dump, as if by &= quot;/bin/kill -SIGSEGV pid"; it is not suitable for a process that ge= ts a segmentation violation for internal reasons.=C2=A0 In any case, when b= uilding, I have no idea of the pid of the process which is dumping; it star= ts up and then dumps immediately.


<= br>
John Cowan =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0http://vrici.lojban.org/~cowan =C2=A0 =C2=A0= =C2=A0 =C2=A0cowan@ccil.org
The P= enguin shall hunt and devour all that is crufty, gnarly and
bogacious; a= ll code which wriggles like spaghetti, or is infested with
blighting cre= atures, or is bound by grave and perilous Licences shall it
capture.=C2= =A0 And in capturing shall it replicate, and in replicating shall
it doc= ument, and in documentation shall it bring freedom, serenity and
most co= ol froodiness to the earth and all who code therein. =C2=A0--Gospel of Tux<= br>

--000000000000d0efe8059dda985d--