From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxime Devos Newsgroups: gmane.lisp.guile.bugs Subject: bug#39954: bug#50153: Acknowledgement (call-with-values outside tail position + backtrace + compilation causes segfault) Date: Sat, 21 Aug 2021 20:30:25 +0200 Message-ID: <7a83f11e31a29e540f4d2d12f29024cc153669c3.camel@telenet.be> References: <94f8e7a679318bc39e2099ef0624da49449c16f0.camel@telenet.be> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-/WLSCLVL+pE8Fh2j4AMG" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12187"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.34.2 To: 50153@debbugs.gnu.org, 39954@debbugs.gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Sat Aug 21 20:31:15 2021 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 1mHVly-00033U-8O for guile-bugs@m.gmane-mx.org; Sat, 21 Aug 2021 20:31:14 +0200 Original-Received: from localhost ([::1]:42054 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHVlx-0003wE-4q for guile-bugs@m.gmane-mx.org; Sat, 21 Aug 2021 14:31:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40034) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHVlm-0003vc-O1 for bug-guile@gnu.org; Sat, 21 Aug 2021 14:31:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54566) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHVlm-0003io-G1 for bug-guile@gnu.org; Sat, 21 Aug 2021 14:31:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mHVlm-0001Z1-73 for bug-guile@gnu.org; Sat, 21 Aug 2021 14:31:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Sat, 21 Aug 2021 18:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39954 X-GNU-PR-Package: guile Original-Received: via spool by 39954-submit@debbugs.gnu.org id=B39954.16295706375971 (code B ref 39954); Sat, 21 Aug 2021 18:31:02 +0000 Original-Received: (at 39954) by debbugs.gnu.org; 21 Aug 2021 18:30:37 +0000 Original-Received: from localhost ([127.0.0.1]:37877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHVlM-0001YE-Os for submit@debbugs.gnu.org; Sat, 21 Aug 2021 14:30:37 -0400 Original-Received: from andre.telenet-ops.be ([195.130.132.53]:54190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHVlK-0001Xv-1w for 39954@debbugs.gnu.org; Sat, 21 Aug 2021 14:30:35 -0400 Original-Received: from butterfly.local ([5.23.245.219]) by andre.telenet-ops.be with bizsmtp id kJWX250054kkbhx01JWXcH; Sat, 21 Aug 2021 20:30:32 +0200 In-Reply-To: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1629570632; bh=ImB4oAse3SXrg1sOFxooohoELg72buhqQyvxcOtlwh4=; h=Subject:From:To:Date:In-Reply-To:References; b=R3Glph9uN/6YlvQEk2WXIDk5HRqz8OjlJF9UiFws7R6LS6bkG1TcbMNXaZJ5h+fJj Wh+epS99+2r7WCkJ7v5LFfnltTt83oSiqwEnGAvPlllZVouHHTCu9tk70ifuEI/qA5 hRTcpVDEq26g5CS0rsotYqtxloZ5TIty2bwbJRjt0e1qDZurxRZdhDoleK7PBRjUIl 12QS3L7/nF7rh0tQLaif84xOKeWT1x14B9Bjd4it3NNKBitis5P182clCqjpK6aoAt Xtwia/E2grkskWdgKk7lB+kWxDGrm1fPwk++sqseeG0deDuVbPrIa1VmbsGs8jUXZh 5VxJDO8T+jTFw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:10173 Archived-At: --=-/WLSCLVL+pE8Fh2j4AMG Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This looks rather similar to 39954@debbugs.gnu.org, looking at the backtrace from GDB, maybe the cause is the same? Thread 1 "guile" received signal SIGSEGV, Segmentation fault. 0x00007ffff7f40f3f in scm_is_values (x=3D) at values.h:30 30 return SCM_HAS_TYP7 (x, scm_tc7_values); (gdb) bt #0 0x00007ffff7f40f3f in scm_is_values (x=3D) at values.h:3= 0 #1 vm_debug_engine (thread=3D0x7ffff744cd80) at vm-engine.c:974 #2 0x00007ffff7f45c2d in scm_call_n (proc=3D0x7ffff49612a0, argv=3Dargv@en= try=3D0x7fffffffc080,=20 nargs=3Dnargs@entry=3D4) at vm.c:1608 #3 0x00007ffff7ec1234 in scm_call_4 (proc=3D, arg1=3Darg1@e= ntry=3D0x7ffff35162d0,=20 arg2=3Darg2@entry=3D0x7ffff5ad4600, arg3=3Darg3@entry=3D0x7ffff495a0b0,= arg4=3Darg4@entry=3D0x52) at eval.c:517 #4 0x00007ffff7eb3815 in display_backtrace_body (a=3D) at b= acktrace.c:239 #5 0x00007ffff7ec29ea in scm_c_with_exception_handler (type=3Dtype@entry= =3D0x404,=20 handler=3Dhandler@entry=3D0x7ffff7f3aed0 ,= =20 handler_data=3Dhandler_data@entry=3D0x7fffffffc230, thunk=3Dthunk@entry= =3D0x7ffff7f3b010 ,=20 thunk_data=3Dthunk_data@entry=3D0x7fffffffc230) at exceptions.c:170 #6 0x00007ffff7f3b20d in scm_c_catch (tag=3Dtag@entry=3D0x404,=20 body=3Dbody@entry=3D0x7ffff7eb36f0 , body_data= =3Dbody_data@entry=3D0x7fffffffc2a0,=20 handler=3Dhandler@entry=3D0x7ffff7eb3b20 ,=20 handler_data=3Dhandler_data@entry=3D0x7ffff5ad4600, pre_unwind_handler= =3Dpre_unwind_handler@entry=3D0x0,=20 pre_unwind_handler_data=3D0x0) at throw.c:168 #7 0x00007ffff7f3b22e in scm_internal_catch (tag=3Dtag@entry=3D0x404,=20 body=3Dbody@entry=3D0x7ffff7eb36f0 , body_data= =3Dbody_data@entry=3D0x7fffffffc2a0,=20 handler=3Dhandler@entry=3D0x7ffff7eb3b20 ,=20 handler_data=3Dhandler_data@entry=3D0x7ffff5ad4600) at throw.c:177 #8 0x00007ffff7eb36e5 in scm_display_backtrace_with_highlights (stack=3Dst= ack@entry=3D0x7ffff38604a0,=20 port=3Dport@entry=3D0x7ffff5ad4600, first=3Dfirst@entry=3D0x4, depth=3D= depth@entry=3D0x4,=20 highlights=3Dhighlights@entry=3D0x304) at backtrace.c:277 #9 0x00007ffff7eb3970 in scm_backtrace_with_highlights (highlights=3D0x304= ) at backtrace.c:310 #10 0x00007ffff7f40f3b in vm_debug_engine (thread=3D0x7ffff744cd80) at vm-e= ngine.c:972 #11 0x00007ffff7f45c2d in scm_call_n (proc=3D0x7ffff5a2e030, argv=3Dargv@en= try=3D0x7fffffffc498,=20 nargs=3Dnargs@entry=3D1) at vm.c:1608 #12 0x00007ffff7ec2337 in scm_primitive_eval (exp=3D, exp@en= try=3D0x7ffff5ba1a40) at eval.c:671 #13 0x00007ffff7ec2393 in scm_eval (exp=3D0x7ffff5ba1a40,=20 module_or_state=3Dmodule_or_state@entry=3D0x7ffff5b93c80) at eval.c:705 #14 0x00007ffff7f1b780 in scm_shell (argc=3D4, argv=3D0x7fffffffcb08) at sc= ript.c:357 #15 0x00007ffff7edb1bd in invoke_main_func (body_data=3D0x7fffffffc9a0) at = init.c:313 #16 0x00007ffff7ebc06a in c_body (d=3D0x7fffffffc8e0) at continuations.c:43= 0 #17 0x00007ffff7f447d8 in vm_regular_engine (thread=3D0x7ffff744cd80) at vm= -engine.c:972 #18 0x00007ffff7f45c2d in scm_call_n (proc=3D0x7ffff5b088a0, argv=3Dargv@en= try=3D0x7fffffffc6a0,=20 nargs=3Dnargs@entry=3D2) at vm.c:1608 #19 0x00007ffff7ec11da in scm_call_2 (proc=3D, arg1=3D, arg2=3D) at eval.c:503 #20 0x00007ffff7ec29ea in scm_c_with_exception_handler (type=3Dtype@entry= =3D0x404,=20 handler=3Dhandler@entry=3D0x7ffff7f3aed0 ,= =20 handler_data=3Dhandler_data@entry=3D0x7fffffffc810, thunk=3Dthunk@entry= =3D0x7ffff7f3b010 ,=20 thunk_data=3Dthunk_data@entry=3D0x7fffffffc810) at exceptions.c:170 #21 0x00007ffff7f3b20d in scm_c_catch (tag=3Dtag@entry=3D0x404, body=3Dbody= @entry=3D0x7ffff7ebc060 ,=20 body_data=3Dbody_data@entry=3D0x7fffffffc8e0, handler=3Dhandler@entry= =3D0x7ffff7ebc300 ,=20 handler_data=3Dhandler_data@entry=3D0x7fffffffc8e0,=20 pre_unwind_handler=3Dpre_unwind_handler@entry=3D0x7ffff7ebc160 ,=20 pre_unwind_handler_data=3D0x7ffff5ad45c0) at throw.c:168 #22 0x00007ffff7ebc603 in scm_i_with_continuation_barrier (body=3Dbody@entr= y=3D0x7ffff7ebc060 ,=20 body_data=3Dbody_data@entry=3D0x7fffffffc8e0, handler=3Dhandler@entry= =3D0x7ffff7ebc300 ,=20 handler_data=3Dhandler_data@entry=3D0x7fffffffc8e0,=20 pre_unwind_handler=3Dpre_unwind_handler@entry=3D0x7ffff7ebc160 ,=20 --Type for more, q to quit, c to continue without paging--c pre_unwind_handler_data=3D0x7ffff5ad45c0) at continuations.c:368 #23 0x00007ffff7ebc695 in scm_c_with_continuation_barrier (func=3D, data=3D) at continuations.c:464 #24 0x00007ffff7f39c9f in with_guile (base=3D0x7fffffffc948, data=3D0x7ffff= fffc970) at threads.c:645 #25 0x00007ffff7e16b48 in GC_call_with_stack_base () from /gnu/store/f6kngp= p27585xh4564y9rvshqn8hph8v-libgc-8.0.4/lib/libgc.so.1 #26 0x00007ffff7f39fc8 in scm_i_with_guile (dynamic_state=3D= , data=3Ddata@entry=3D0x7fffffffc970, func=3Dfunc@entry=3D0x7ffff7edb1a0 ) at threads.c:688 #27 scm_with_guile (func=3Dfunc@entry=3D0x7ffff7edb1a0 , = data=3Ddata@entry=3D0x7fffffffc9a0) at threads.c:694 #28 0x00007ffff7edb332 in scm_boot_guile (argc=3Dargc@entry=3D4, argv=3Darg= v@entry=3D0x7fffffffcb08, main_func=3Dmain_func@entry=3D0x401230 , closure=3Dclosure@entry=3D0x0) at init.c:296 #29 0x00000000004010f6 in main (argc=3D4, argv=3D0x7fffffffcb08) at guile.c= :94 --=-/WLSCLVL+pE8Fh2j4AMG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYSFGQRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7mSwAQCFFhlyMYxAmvcn5PY0aaMWKjz1 Rpb6rKNDsxJUS7FvewD/S+d8uUi4lJFIi5l51nN1cQi0bQj4kY5v7O4oLVXgSQs= =mpVg -----END PGP SIGNATURE----- --=-/WLSCLVL+pE8Fh2j4AMG--