#<sb-c:tn> is not valid as the third argument to VOP: SB-KERNEL:%RAW-INSTANCE-SET/WORD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We can trigger a bug using the following in a fresh session.
(funcall (lambda ()
(A 0 :TYPE (unsigned-byte 64)))
#<SB-C:TN #:G320!1 :DEBUG-ENVIRONMENT> is not valid as the third argument to VOP:
SB-KERNEL:
Primitive type: T
SC restrictions:
(SB-VM:
The primitive type disallows these loadable SCs:
(SB-VM:
[Condition of type SIMPLE-ERROR]
Subsequent calls to this piece of code will not trigger the error.
SBCL Versions tested: 2.3.3 and 2.4.1.60-9863540f7
uname -a
Linux <username> 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
-----------------
Additional notes:
This was noticed in the wild in the context of a testing suite that spawned test-related structures as part of the test.
Edit: `:type (unsigned-byte 64)` and `:type (signed-byte 64)` both throw this error, but the 8,16, and 32-bit equivalents do not.
description: | updated |
Changed in sbcl: | |
status: | New → Fix Committed |
Changed in sbcl: | |
status: | Fix Committed → Fix Released |