Wrong closure values in the debugger

Bug #1099500 reported by Stas Boukarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Fix Released
Low
Unassigned

Bug Description

(let ((a 1))
  (labels
    ((f1 ()
       (princ a)
       (incf a)
       (break))
     (f2 ()
       (f1)))
    (f2)))

Backtrace:
  0: ((LABELS F1))
      Locals:
        A = 70368591571592
  1: ((LABELS F2))
      Locals:
        A = 70368591571592
  2: ((LAMBDA ()))
      Locals:
        A = 2

Reported by flip214 on #sbcl

Tags: debugger
Revision history for this message
Alastair Bridgewater (alastair-bridgewater) wrote : Re: [Bug 1099500] [NEW] Wrong closure values in the debugger

I haven't tried to replicate this, but it seems likely to me that the
closure value cell in question has been d-x allocated, and thus is stored
on the stack... And I don't recall ever looking into debugger interactions
with the d-x value cell changes.

Anyway, a possible starting point if someone wants to dig into this.

Revision history for this message
Stas Boukarev (stassats) wrote :

In 000a07de2a12437af30f28e75b39037b2bb6d63f

Changed in sbcl:
status: Triaged → Fix Committed
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.