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,gmane.lisp.guile.devel Subject: bug#39118: Segfault while building on 64-bit Cygwin Date: Mon, 3 Feb 2020 23:11:38 +0100 Message-ID: <20200203221137.GB1659@dtk> References: <875zh6gk72.fsf_-_@gnu.org> <87sgk9faih.fsf@gnu.org> <871rrpoqql.fsf@gnu.org> <87wo9fbq60.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="8471"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.9.0 (2017-09-02) Cc: 39118@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , guile-devel@gnu.org To: John Cowan Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Mon Feb 03 23:12:15 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 1iyjx0-00025a-R5 for guile-bugs@m.gmane-mx.org; Mon, 03 Feb 2020 23:12:14 +0100 Original-Received: from localhost ([::1]:47820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyjwz-0003va-T4 for guile-bugs@m.gmane-mx.org; Mon, 03 Feb 2020 17:12:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38951) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyjwq-0003uD-C8 for bug-guile@gnu.org; Mon, 03 Feb 2020 17:12:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyjwo-0006qa-4L for bug-guile@gnu.org; Mon, 03 Feb 2020 17:12:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36318) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyjwn-0006pd-Vi for bug-guile@gnu.org; Mon, 03 Feb 2020 17:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyjwn-0002v0-Q2 for bug-guile@gnu.org; Mon, 03 Feb 2020 17:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: szgyg Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Mon, 03 Feb 2020 22:12:01 +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.158076790811200 (code B ref 39118); Mon, 03 Feb 2020 22:12:01 +0000 Original-Received: (at 39118) by debbugs.gnu.org; 3 Feb 2020 22:11:48 +0000 Original-Received: from localhost ([127.0.0.1]:42291 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyjwa-0002uZ-Fn for submit@debbugs.gnu.org; Mon, 03 Feb 2020 17:11:48 -0500 Original-Received: from mx3.mail.elte.hu ([157.181.1.138]:36152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iyjwV-0002uO-MH for 39118@debbugs.gnu.org; Mon, 03 Feb 2020 17:11:47 -0500 Original-Received: from mailbox1.caesar.elte.hu ([157.181.151.157]) by mx3.mail.elte.hu with esmtp (Exim) id 1iyjwT-0007M5-Rx from ; Mon, 03 Feb 2020 23:11:42 +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 1iyjwT-0003yQ-3L; Mon, 03 Feb 2020 23:11:41 +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:9557 gmane.lisp.guile.devel:20378 Archived-At: 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 >> On Sat, Jan 25, 2020 at 8:51 AM Ludovic Courtès wrote: >> >>> That I understand. However, I was asking for the backtrace of the crash >>> on Cygwin when JIT is enabled. Could you grab it? #v+ BOOTSTRAP GUILEC ice-9/eval.go BOOTSTRAP GUILEC ice-9/psyntax-pp.go BOOTSTRAP GUILEC language/cps/intmap.go BOOTSTRAP GUILEC language/cps/intset.go BOOTSTRAP GUILEC language/cps/graphs.go BOOTSTRAP GUILEC ice-9/vlist.go BOOTSTRAP GUILEC srfi/srfi-1.go Thread 1 received signal SIGSEGV, Segmentation fault. [Switching to Thread 7444.0x2640] 0x000000055a8b1b25 in scm_to_uint64 (val=val@entry=0xffffffffffffff90) at ../../guile-3.0.0/libguile/conv-uinteger.i.c:44 44 else if (SCM_BIGP (val)) (gdb) bt #0 0x000000055a8b1b25 in scm_to_uint64 (val=val@entry=0xffffffffffffff90) at ../../guile-3.0.0/libguile/conv-uinteger.i.c:44 #1 0x000000055a86b1ea in scm_bytevector_copy_x (source=0x700000948620, source_start=0x34964a, target=0x700000907600, target_start=0x2, len=0xffffffffffffff90) at ../../guile-3.0.0/libguile/bytevectors.c:604 #2 0x00006ffffe743866 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) BOOTSTRAP GUILEC language/tree-il.go (gdb) bt #0 0x000000055a8b1b25 in scm_to_uint64 (val=val@entry=0xffffffffffffff90) at ../../guile-3.0.0/libguile/conv-uinteger.i.c:44 #1 0x000000055a86b1ea in scm_bytevector_copy_x (source=0x70000055f160, source_start=0x34964a, target=0x700000808c90, target_start=0x2, len=0xffffffffffffff90) at ../../guile-3.0.0/libguile/bytevectors.c:604 #2 0x00006ffffe73f936 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) BOOTSTRAP GUILEC language/tree-il/analyze.go (gdb) bt #0 0x000000055a8b1b25 in scm_to_uint64 (val=val@entry=0xffffffffffffff90) at ../../guile-3.0.0/libguile/conv-uinteger.i.c:44 #1 0x000000055a86b1ea in scm_bytevector_copy_x (source=0x700000645160, source_start=0x34964a, target=0x7000008012d0, target_start=0x2, len=0xffffffffffffff90) at ../../guile-3.0.0/libguile/bytevectors.c:604 #2 0x00006ffffe753fc6 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) ^C #v- s