GNU bug report logs - #57948
Frame bindings referring to non-existent locals

Previous Next

Package: guile;

Reported by: Andrew Whatson <whatson <at> gmail.com>

Date: Tue, 20 Sep 2022 07:17:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andrew Whatson <whatson <at> gmail.com>
Cc: 57948 <at> debbugs.gnu.org, guile-devel <at> gnu.org
Subject: bug#57948: [PATCH] Avoid 'frame-local-ref' errors when printing backtrace.
Date: Wed, 12 Oct 2022 22:34:24 +0200
Hi Andrew,

Andrew Whatson <whatson <at> gmail.com> skribis:

> Workaround for <https://bugs.gnu.org/57948>.
>
> * 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’t eventually come back to haunt us.

Could you send an updated patch?

Thanks,
Ludo’.

PS: BTW, it’ll 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’d like to choose:
    <https://lists.gnu.org/archive/html/guile-devel/2022-10/msg00008.html>.




This bug report was last modified 2 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.