failed AVER: (NOT (EQ SB-KERNEL:CTYPE SB-KERNEL:*WILD-TYPE*))

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

Bug Description

(lambda (b)
  (declare (optimize (speed 3)))
  (unwind-protect 0
    (max 0
         (labels ((f () 0))
           (declare (dynamic-extent (function f)))
           (rem 268435462
                (max 69
                     (ignore-errors
                      (truncate
                       (if b
                           0
                           -16376878388414639)
                       (min -43 0)))))))))

==>

failed AVER: (NOT (EQ SB-KERNEL:CTYPE SB-KERNEL:*WILD-TYPE*))
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]
[...]
Backtrace:
  0: (SB-C::CAST-CHECK-TYPES #<SB-ALIEN:CAST :%TYPE-CHECK T :VALUE #<SB-C::LVAR 1 {101F1C1703}> :ASSERTED-TYPE #<SB-KERNEL:UNION-TYPE (OR (INTEGER 380857636939875 380857636939875) (INTEGER 0 0))> :TYPE-TO-..
  1: (SB-C::GENERATE-TYPE-CHECKS #<SB-C:COMPONENT :NAME (FLET "FORM-FUN-13" :IN #:CLEANUP-FUN-0) {101F18A0C3}>)
  2: (SB-C::IR1-PHASES #<SB-C:COMPONENT :NAME (FLET "FORM-FUN-13" :IN #:CLEANUP-FUN-0) {101F18A0C3}>)
  3: (SB-C::COMPILE-COMPONENT #<SB-C:COMPONENT :NAME (FLET "FORM-FUN-13" :IN #:CLEANUP-FUN-0) {101F18A0C3}>)
[...]

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.