The value NIL is not of type SB-C::CBLOCK

Bug #2054174 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 ()
  (loop for lv3 below 0
        count (and (and t (or t (zerop (catch 'ct7 0))))
                   (> lv3 lv3))))

==>

The value
  NIL
is not of type
  SB-C::CBLOCK
   [Condition of type TYPE-ERROR]

Restarts:
 0: [RETRY] Retry SLIME REPL evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [ABORT] abort thread (#<THREAD tid=23173 "repl-thread" RUNNING {1000F80003}>)

Backtrace:
  0: (SB-C::REFS-UNCHANGED-P #<SB-C::REF :%SOURCE-NAME LV3 :LEAF #<SB-C::LAMBDA-VAR :%SOURCE-NAME LV3 :TYPE #<SB-KERNEL:NUMERIC-TYPE UNSIGNED-BYTE> :WHERE-FROM :DECLARED {100B6573E3}> {100BA54743}> #<SB-C:..
  1: (SB-C::SAME-LEAF-REF-P #<SB-C::LVAR 1 {100BA546F3}> #<SB-C::LVAR 2 {100BA547D3}>)
  2: ((SB-C:DEFTRANSFORM >) #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::GLOBAL-VAR :%SOURCE-NAME > :TYPE #1=#<SB-KERNEL:FUN-TYPE #> :DEFINED-TYPE #1# :WHERE-FROM :DECLARED :KIND :GLOBAL-FUNCTION {1..
  3: (SB-C::IR1-OPTIMIZE-COMBINATION #<SB-C::COMBINATION :FUN #<SB-C::REF :LEAF #<SB-C::GLOBAL-VAR :%SOURCE-NAME > :TYPE #1=#<SB-KERNEL:FUN-TYPE #> :DEFINED-TYPE #1# :WHERE-FROM :DECLARED :KIND :GLOBAL-FU..
  4: (SB-C::IR1-OPTIMIZE #<SB-C:COMPONENT :NAME "<unknown>" :REANALYZE T {100BA56C63}> NIL)
  5: (SB-C::IR1-OPTIMIZE-UNTIL-DONE #<SB-C:COMPONENT :NAME "<unknown>" :REANALYZE T {100BA56C63}>)
  6: (SB-C::IR1-OPTIMIZE-PHASE-1 #<SB-C:COMPONENT :NAME "<unknown>" :REANALYZE T {100BA56C63}>)
  7: (SB-C::IR1-PHASES #<SB-C:COMPONENT :NAME "<unknown>" :REANALYZE T {100BA56C63}>)
  8: (SB-C::COMPILE-COMPONENT #<SB-C:COMPONENT :NAME "<unknown>" :REANALYZE T {100BA56C63}>)
  9: (SB-C::%COMPILE (LAMBDA NIL (LOOP FOR LV3 BELOW 0 COUNT ...)) NIL NIL)
[...]

x86-64, "2.4.1.206-cfe5c7b33"

Stas Boukarev (stassats)
Changed in sbcl:
status: New → 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.