From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: szgyg Newsgroups: gmane.lisp.guile.bugs Subject: bug#39118: Segfault while building on 64-bit Cygwin Date: Wed, 5 Feb 2020 23:42:50 +0100 Message-ID: <20200205224249.GC1659__3147.86934047646$1580942657$gmane$org@dtk> References: <87sgk9faih.fsf@gnu.org> <871rrpoqql.fsf@gnu.org> <87wo9fbq60.fsf@gnu.org> <20200203221137.GB1659@dtk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="71311"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.9.0 (2017-09-02) Cc: 39118@debbugs.gnu.org, guile-devel@gnu.org To: John Cowan Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Feb 05 23:44:13 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 1izTP0-000IO7-V5 for guile-bugs@m.gmane-mx.org; Wed, 05 Feb 2020 23:44:10 +0100 Original-Received: from localhost ([::1]:57876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izTP0-0000KD-1Y for guile-bugs@m.gmane-mx.org; Wed, 05 Feb 2020 17:44:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57473) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izTOu-0000Jn-S0 for bug-guile@gnu.org; Wed, 05 Feb 2020 17:44:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izTOt-0006nb-Lu for bug-guile@gnu.org; Wed, 05 Feb 2020 17:44:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40958) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izTOt-0006lC-Is for bug-guile@gnu.org; Wed, 05 Feb 2020 17:44:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izTOs-00029b-HZ for bug-guile@gnu.org; Wed, 05 Feb 2020 17:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: szgyg Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 05 Feb 2020 22:44: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.15809425838204 (code B ref 39118); Wed, 05 Feb 2020 22:44:02 +0000 Original-Received: (at 39118) by debbugs.gnu.org; 5 Feb 2020 22:43:03 +0000 Original-Received: from localhost ([127.0.0.1]:46931 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izTNv-00028G-5a for submit@debbugs.gnu.org; Wed, 05 Feb 2020 17:43:03 -0500 Original-Received: from mx2.mail.elte.hu ([157.181.151.9]:55313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izTNt-00027r-Nw for 39118@debbugs.gnu.org; Wed, 05 Feb 2020 17:43:02 -0500 Original-Received: from mailbox1.caesar.elte.hu ([157.181.151.157]) by mx2.mail.elte.hu with esmtp (Exim) id 1izTNp-0006fX-Q5 from ; Wed, 05 Feb 2020 23:42:59 +0100 Original-Received: (Authenticated sender: szgyg) by mailbox1.caesar.elte.hu with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1izTNp-0005C8-2X; Wed, 05 Feb 2020 23:42:57 +0100 Content-Disposition: inline In-Reply-To: X-ELTE-SpamScore: -6.1 X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 3.0 X-ELTE-SpamCheck-Details: score=-6.1 required=5.0 tests=ALL_TRUSTED, BAYES_00, L_AUTH autolearn=ham autolearn_force=no SpamAssassin version=3.4.2 -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -5.0 L_AUTH Caesar auth -0.1 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 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:9562 Archived-At: On Wed, Feb 05, 2020 at 04:11:04PM -0500, John Cowan wrote: > 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. | One common way to use dumper is to plug it into cygwin's Just-In-Time | debugging facility by adding | error_start=x:\path\to\dumper.exe | to the CYGWIN environment variable. Please note that x:\path\to\dumper.exe | is Windows-style and not cygwin path. If error_start is set this way, then | dumper will be started whenever some program encounters a fatal error. s