Control stack exhaustion during compile of code with type error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(compile
nil
'(lambda (f g n)
(funcall
f
(funcall g (* 2 n))
(let ((p (make-array n :element-type 'double-float)))
(dotimes (i n)
(setf (aref p i)
==>
Control stack exhausted (no more space for function call frames).
This is probably due to heavily nested or infinitely recursive function
calls, or a tail call that SBCL cannot or has not optimized away.
PROCEED WITH CAUTION.
[Condition of type SB-KERNEL:
Restarts:
0: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: (SB-KERNEL:
1: ("foreign function: call_into_lisp")
2: ("foreign function: post_signal_tramp")
3: ((LABELS SB-C::UNLINK :IN SB-C::LTN-
4: ((LABELS SB-C::UNLINK :IN SB-C::LTN-
5: ((LABELS SB-C::UNLINK :IN SB-C::LTN-
6: ((LABELS SB-C::UNLINK :IN SB-C::LTN-
[...]
Changed in sbcl: | |
status: | Fix Committed → Fix Released |
In a5df756473dea52 5340882bd2b21db cbba4851c2.