The value #<unknown immediate object, lowtag=#b1001, widetag=#x79 {21F12979}> is not of type REAL when binding SB-KERNEL::N

Bug #1791712 reported by Paul F. Dietz on 2018-09-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

(declaim (special *s6*))

((lambda (a b)
    (declare (notinline min max round))
    (declare (optimize (debug 3)))
    (unwind-protect
        (unwind-protect 0
          (round
           (let ((*s6* b))
             a)
           (max 16 (progv nil nil 0)))
          (let ((v8 0))
            (unwind-protect 0
              (min
               (unwind-protect v8
                 (shiftf a 60137632)
                 (shiftf v8 574814341823251282)))))))) 2 2)

;; ==> The value #<unknown immediate object, lowtag=#b1001, widetag=#x79 {21F12979}> is not of type REAL when binding SB-KERNEL::N

Stas Boukarev (stassats) on 2018-09-10
Changed in sbcl:
status: New → Incomplete
Paul F. Dietz (paul-f-dietz) wrote :

This is SBCL 1.4.11.42-7c02e89b9

Paul F. Dietz (paul-f-dietz) wrote :

It was built with --dynamic-space-size=4Gb

Paul F. Dietz (paul-f-dietz) wrote :

*features*:

(:X86-64 :64-BIT :64-BIT-REGISTERS :ALIEN-CALLBACKS :ANSI-CL :ASH-RIGHT-VOPS
 :C-STACK-IS-CONTROL-STACK :CALL-SYMBOL :COMMON-LISP :COMPACT-INSTANCE-HEADER
 :COMPARE-AND-SWAP-VOPS :COMPLEX-FLOAT-VOPS :CYCLE-COUNTER :ELF :FLOAT-EQL-VOPS
 :FP-AND-PC-STANDARD-SAVE :GCC-TLS :GENCGC :IEEE-FLOATING-POINT :IMMOBILE-CODE
 :IMMOBILE-SPACE :INLINE-CONSTANTS :INTEGER-EQL-VOP :LARGEFILE :LINKAGE-TABLE
 :LINUX :LITTLE-ENDIAN :MEMORY-BARRIER-VOPS :MULTIPLY-HIGH-VOPS
 :OS-PROVIDES-BLKSIZE-T :OS-PROVIDES-DLADDR :OS-PROVIDES-DLOPEN
 :OS-PROVIDES-GETPROTOBY-R :OS-PROVIDES-POLL :OS-PROVIDES-PUTWC
 :OS-PROVIDES-SUSECONDS-T :PACKAGE-LOCAL-NICKNAMES :RAW-INSTANCE-INIT-VOPS
 :RAW-SIGNED-WORD :RELOCATABLE-HEAP :SB-DOC :SB-EVAL :SB-FUTEX :SB-LDB
 :SB-PACKAGE-LOCKS :SB-SIMD-PACK :SB-SOURCE-LOCATIONS :SB-THREAD :SB-UNICODE
 :SBCL :STACK-ALLOCATABLE-CLOSURES :STACK-ALLOCATABLE-FIXED-OBJECTS
 :STACK-ALLOCATABLE-LISTS :STACK-ALLOCATABLE-VECTORS
 :STACK-GROWS-DOWNWARD-NOT-UPWARD :SYMBOL-INFO-VOPS :UNBIND-N-VOP
 :UNDEFINED-FUN-RESTARTS :UNIX :UNWIND-TO-FRAME-AND-CALL-VOP)

Paul F. Dietz (paul-f-dietz) wrote :

This went away when I built the sbcl using a more current version of sbcl (the bugged version had been using 1.3.2). So, this may reflect a bug in that older sbcl.

Stas Boukarev (stassats) wrote :

No, the problem was present in 1.4.11.42, but got fixed by later commits.

Changed in sbcl:
status: Incomplete → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers