From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Newsgroups: gmane.lisp.guile.bugs Subject: bug#57948: [PATCH] Avoid 'frame-local-ref' errors when printing backtrace. Date: Wed, 12 Oct 2022 22:34:24 +0200 Message-ID: <87czawvl0v.fsf__20506.4195835561$1665606935$gmane$org@gnu.org> References: <56d1283b-ac09-8f62-8657-de99578e1a6c@telenet.be> <20220922135358.22139-1-whatson@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39071"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Cc: 57948@debbugs.gnu.org, guile-devel@gnu.org To: Andrew Whatson Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Wed Oct 12 22:35:30 2022 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 1oiiRt-0009yd-Gb for guile-bugs@m.gmane-mx.org; Wed, 12 Oct 2022 22:35:29 +0200 Original-Received: from localhost ([::1]:37764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiiRs-0002vN-BA for guile-bugs@m.gmane-mx.org; Wed, 12 Oct 2022 16:35:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiiRT-0002u4-Ao for bug-guile@gnu.org; Wed, 12 Oct 2022 16:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59436) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiiRT-0004TP-0o for bug-guile@gnu.org; Wed, 12 Oct 2022 16:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oiiRS-0004UF-BI for bug-guile@gnu.org; Wed, 12 Oct 2022 16:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Wed, 12 Oct 2022 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57948 X-GNU-PR-Package: guile Original-Received: via spool by 57948-submit@debbugs.gnu.org id=B57948.166560687617212 (code B ref 57948); Wed, 12 Oct 2022 20:35:02 +0000 Original-Received: (at 57948) by debbugs.gnu.org; 12 Oct 2022 20:34:36 +0000 Original-Received: from localhost ([127.0.0.1]:58514 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiiR2-0004TX-3Y for submit@debbugs.gnu.org; Wed, 12 Oct 2022 16:34:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47518) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oiiQz-0004TK-Sv for 57948@debbugs.gnu.org; Wed, 12 Oct 2022 16:34:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiiQu-0004Pt-Cn; Wed, 12 Oct 2022 16:34:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=XupqehmbLAYwKbLaPGap9mIV5841IoIiGW2r5LBMHaE=; b=eST7cOaMJIhW3agEr3eO 9epIpVmPEdJLxZWL+TgtMS7bxgt6lX8DxP478AzDwNU+2fFYiqoA3Puo49eBHur4u1iClt1jTR9B6 srhEmdz3PicoWbBcMS7Yb0+ESPGCB5u4+pNLU+gLWAtvw93F5+AI+3sfPXqqgk4ImSLQBjeFGfCJT XFqy9v671er4NVJqdaLQHsMbYt4NMY3Ek8tQps83LLURSCBcFZjYO6Lxql5H0HthDDqa0D+MGlVZH 9FJFRxwEw8KiK/8LHyBN0xsCZQdO9BIGfM8oShUQzM2QlLoz+/wrDCL0G2yVLboPLEQ7QVzmpo8hZ wCpgPx6cfwJhHA==; Original-Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:57955 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiiQs-0003aD-3a; Wed, 12 Oct 2022 16:34:28 -0400 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 21 =?UTF-8?Q?Vend=C3=A9miaire?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Chanvre X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu In-Reply-To: <20220922135358.22139-1-whatson@gmail.com> (Andrew Whatson's message of "Thu, 22 Sep 2022 23:53:59 +1000") 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:10397 Archived-At: Hi Andrew, Andrew Whatson skribis: > Workaround for . > > * module/system/vm/frame.scm (frame-call-representation): Treat a > binding as "unspecified" if its slot exceeds 'frame-num-locals'. Yay, great to see that fixed (or almost)! It would be great if you could add a simple test case though, so that the bug doesn=E2=80=99t eventually come back to haunt us. Could you send an updated patch? Thanks, Ludo=E2=80=99. PS: BTW, it=E2=80=99ll be great to have more patches from you! :-) To that= end, please check out the new Guile copyright policy and let us know what option you=E2=80=99d like to choose: .