The value 2147483664 is not of type (SIGNED-BYTE 32) when binding SB-X86-64-ASM::VALUE

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

Bug Description

(lambda (fn)
  (let ((s (make-string 536870910)))
    (declare (dynamic-extent s))
    (funcall fn s)))

==>

The value
  2147483664
is not of type
  (SIGNED-BYTE 32)
when binding SB-X86-64-ASM::VALUE
   [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=6676 "repl-thread" RUNNING {10011E80A3}>)

Backtrace:
  0: (SB-X86-64-ASM::EMIT-SIGNED-DWORD #<SB-ASSEM:SEGMENT {101A681483}> 2147483664) [external]
  1: (SB-ASSEM::%ASSEMBLE #<SB-ASSEM:SEGMENT {101A681483}> (#<SB-ASSEM::STMT IGNORE {101A67F7A3}> . #<SB-ASSEM::STMT .ALIGN {101A681603}>))
  2: (SB-ASSEM:ASSEMBLE-SECTIONS #S(SB-ASSEM::ASMSTREAM :DATA-SECTION (#<SB-ASSEM::STMT IGNORE {101A67F7A3}> . #<SB-ASSEM::STMT .ALIGN {101A681603}>) :CODE-SECTION (#1=#<SB-ASSEM::STMT IGNORE {101A67F7E3}>..
  3: (SB-C::GENERATE-CODE #<SB-C:COMPONENT :NAME "<unknown>" {101A65A823}>)
  4: (SB-C::%COMPILE-COMPONENT #<SB-C:COMPONENT :NAME "<unknown>" {101A65A823}>)
  5: (SB-C::COMPILE-COMPONENT #<SB-C:COMPONENT :NAME "<unknown>" {101A65A823}>)
  6: (SB-C::%COMPILE (LAMBDA (FN) (LET (#) (DECLARE #) (FUNCALL FN S))) NIL NIL)
 [...]
x86-64, "2.3.9.58-11d0ec46f"

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.