failed AVER: (NOT (PLUSP SB-C::TODO))

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

Bug Description

(defun bug070 (a)
  (flet ((%f17 (&optional
                  (f17-1 (ignore-errors (count (if a 2 3) #*1 :test '<)))
                  (f17-2 0))
           f17-2))
    (when nil (%f17))
    (if t
        (%f17)
        (when nil
          (%f17)))))

==>

failed AVER: (NOT (PLUSP SB-C::TODO))
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::ORDER-UVL-SETS #<SB-C:COMPONENT :NAME (FLET %F17 :IN BUG070) {1037A21F83}>)
  1: (SB-C::STACK-ANALYZE #<SB-C:COMPONENT :NAME (FLET %F17 :IN BUG070) {1037A21F83}>)
  2: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (FLET %F17 :IN BUG070) {1037A21F83}>)
  3: (SB-C::COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (FLET %F17 :IN BUG070) {1037A21F83}>)
  4: (SB-C::%COMPILE (SB-INT:NAMED-LAMBDA BUG070 (A) (BLOCK BUG070 (FLET # # #))) #<SB-C::CORE-OBJECT {1037A02DD3}> :NAME NIL :PATH (SB-C::ORIGINAL-SOURCE-START 0 0))
[...]

Charles (karlosz)
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