Wrong closure values in the debugger
Bug #1099500 reported by
Stas Boukarev
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
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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.