Another failed AVER: (NOT (SB-C::FUNCTIONAL-HAS-EXTERNAL-REFERENCES-P SB-C::CLAMBDA))

Bug #1951889 reported by Paul F. Dietz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

(defun bug069 ()
  (declare (optimize (debug 2)))
  (block nil
    (flet ((%f6 (x &key) (return 0)))
      (loop for lv3 below 1 count
            (if (%f6 0)
                (%f6 0)
                (eval (%f6 0)))))))

==>

failed AVER:
    (NOT
     (SB-C::FUNCTIONAL-HAS-EXTERNAL-REFERENCES-P SB-C::CLAMBDA))
This is probably a bug in SBCL itself. (Alternatively, SBCL
might have been corrupted by bad user code, e.g. by an undefined
Lisp operation like (FMAKUNBOUND 'COMPILE), or by stray pointers
from alien code or from unsafe Lisp code; or there might be a
bug in the OS or hardware that SBCL is running on.) If it seems
to be a bug in SBCL itself, the maintainers would like to know
about it. Bug reports are welcome on the SBCL mailing lists,
which you can find at <http://sbcl.sourceforge.net/>.
   [Condition of type SB-INT:BUG]
[...]
  0: (SB-C::DELETE-LAMBDA #<SB-C::CLAMBDA :%SOURCE-NAME SB-C::.ANONYMOUS. :%DEBUG-NAME (SB-C::TL-XEP BUG069) :KIND :EXTERNAL :TYPE #<SB-KERNEL:BUILT-IN-CLASSOID FUNCTION (read-only)> :WHERE-FROM :DEFINED :..
  1: (SB-C::DELETE-BLOCK #<SB-C::CBLOCK 21 :START c1 {10156B2EC3}> NIL)
  2: (SB-C::CLEAN-COMPONENT #<SB-C:COMPONENT :NAME (FLET %F6 :IN BUG069) :REANALYZE T {10156B41C3}> #<SB-C::CBLOCK NIL :START c2 {10156B7293}>)
  3: (SB-C::IR1-OPTIMIZE #<SB-C:COMPONENT :NAME (FLET %F6 :IN BUG069) :REANALYZE T {10156B41C3}> NIL)
  4: (SB-C::IR1-OPTIMIZE-UNTIL-DONE #<SB-C:COMPONENT :NAME (FLET %F6 :IN BUG069) :REANALYZE T {10156B41C3}>)
  5: (SB-C::IR1-OPTIMIZE-PHASE-1 #<SB-C:COMPONENT :NAME (FLET %F6 :IN BUG069) :REANALYZE T {10156B41C3}>)
  6: (SB-C::IR1-PHASES #<SB-C:COMPONENT :NAME (FLET %F6 :IN BUG069) :REANALYZE T {10156B41C3}>)
  7: (SB-C::COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (FLET %F6 :IN BUG069) :REANALYZE T {10156B41C3}>)
[...]

Stas Boukarev (stassats)
Changed in sbcl:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers