backtrace missing one argument for (some?) XEPs
Bug #310173 reported by
Nikodemus Siivola
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
High
|
Unassigned |
Bug Description
Test case:
(defun foo (x)
(eval `(/ 1 ,x)))
(foo 0)
shows
0: (SB-KERNEL:
1: ((SB-C::TL-XEP /) 2 1)[:EXTERNAL]
in the backtrace (with *SHOW-ENTRY-
Changed in sbcl: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in sbcl: | |
assignee: | Nikodemus Siivola (nikodemus) → nobody |
status: | In Progress → Triaged |
Changed in sbcl: | |
assignee: | nobody → Nikodemus Siivola (nikodemus) |
status: | Triaged → In Progress |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Upgrading because I know understand what is going on a bit better: this can lead to important information missing from backtraces.
Following functions demonstrate how file-compiling them will show only the required arguments for their TL-XEPs in the backtrace.
(defun fe0 (&rest rest)
(let ((* *))
(apply '/ rest)))
(defun fe1 (x &rest rest)
(let ((* *))
(apply '/ x rest)))
(defun fe2 (x y &rest rest)
(let ((* *))
(apply '/ x y rest)))
(fe0 10 11 0)
(fe1 10 11 0)
(fe2 10 11 0)