fukamachi / lack

Lack, the core of Clack
MIT License
156 stars 33 forks source link

Build problem using cl-isaac #64

Closed K1D77A closed 2 years ago

K1D77A commented 2 years ago
Invalid index 43674 for (SIMPLE-ARRAY (UNSIGNED-BYTE 64) (256)), should be a non-negative integer below 256.
   [Condition of type SB-INT:INVALID-ARRAY-INDEX-ERROR]

Restarts:
 0: [TRY-RECOMPILING] Recompile src/util and try loading it again
 1: [RETRY] Retry loading FASL for #<CL-SOURCE-FILE "lack-util" "src/util">.
 2: [ACCEPT] Continue, treating loading FASL for #<CL-SOURCE-FILE "lack-util" "src/util"> as having been successful.
 3: [RETRY] Retry ASDF operation.
 4: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the configuration.
 5: [RETRY] Retry ASDF operation.
 --more--

Backtrace:
 0: (CL-ISAAC:GENERATE-NEXT-ISAAC64-BLOCK #S(CL-ISAAC:ISAAC64-CTX :RANDCNT 0 :RANDRSL #(5374624969215232072 17148908624283769999 8799541328346278713 18236092964202266362 12499317167920873191 1503245789526..
 1: (CL-ISAAC:SCRAMBLE64 #S(CL-ISAAC:ISAAC64-CTX :RANDCNT 0 :RANDRSL #(5374624969215232072 17148908624283769999 8799541328346278713 18236092964202266362 12499317167920873191 15032457895263714483 ...) :RAN..
 2: (CL-ISAAC:INIT-KERNEL-SEED :IS64 T)
 3: (CL-ISAAC:INIT-SELF-SEED :COUNT 5 :IS64 T)
 4: ((SB-C::TOP-LEVEL-FORM (SB-IMPL::%DEFPARAMETER (QUOTE *ISAAC-CTX*) (CL-ISAAC:INIT-SELF-SEED :COUNT 5 :IS64 T) (SB-C:SOURCE-LOCATION)))) [toplevel]
 5: (SB-FASL::LOAD-FASL-GROUP #S(SB-FASL::FASL-INPUT :STREAM #<SB-SYS:FD-STREAM for "file /home/josh/.cache/common-lisp/sbcl-2.2.0-linux-x64/home/josh/quicklisp/dists/ultralisp/software/fukamachi-lack-202..
 6: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file /home/josh/.cache/common-lisp/sbcl-2.2.0-linux-x64/home/josh/quicklisp/dists/ultralisp/software/fukamachi-lack-20220214000611/src/util.fasl" {10052D..
      Locals:
        FASL-INPUT = #S(SB-FASL::FASL-INPUT ..)
        PRINT = NIL
        STREAM = #<SB-SYS:FD-STREAM for "file /home/josh/.cache/common-lisp/sbcl-2.2.0-linux-x64/home/josh/quicklisp/dists/ultralisp/software/fukamachi-lack-20220214000611/src/util.fasl" {10052DA083}>
        VERBOSE = NIL
 7: ((LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) #<SB-SYS:FD-STREAM for "file /home/josh/.cache/common-lisp/sbcl-2.2.0-linux-x64/home/josh/quicklisp/dists/ultralisp/software/fukamachi-lack-20220214000611/src..
 8: (SB-FASL::CALL-WITH-LOAD-BINDINGS #<FUNCTION (LABELS SB-FASL::LOAD-STREAM-1 :IN LOAD) {7F54B036C3FB}> #<SB-SYS:FD-STREAM for "file /home/josh/.cache/common-lisp/sbcl-2.2.0-linux-x64/home/josh/quicklis..
 9: (LOAD #P"/home/josh/.cache/common-lisp/sbcl-2.2.0-linux-x64/home/josh/quicklisp/dists/ultralisp/software/fukamachi-lack-20220214000611/src/util.fasl" :VERBOSE NIL :PRINT NIL :IF-DOES-NOT-EXIST T :EXTE..
10: (UIOP/UTILITY:CALL-WITH-MUFFLED-CONDITIONS #<FUNCTION (LAMBDA NIL :IN UIOP/LISP-BUILD:LOAD*) {10052D990B}> ("Overwriting already existing readtable ~S." #(#:FINALIZERS-OFF-WARNING :ASDF-FINALIZERS)))
11: ((SB-PCL::EMF ASDF/ACTION:PERFORM) #<unused argument> #<unused argument> #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "lack-util" "src/util">)
12: ((LAMBDA NIL :IN ASDF/ACTION:CALL-WHILE-VISITING-ACTION))
13: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS (ASDF/LISP-ACTION:LOAD-OP ASDF/LISP-ACTION:CL-SOURCE-FILE)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "lack-util" "src/util">) [fast-me..
14: ((:METHOD ASDF/ACTION:PERFORM-WITH-RESTARTS :AROUND (T T)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/LISP-ACTION:CL-SOURCE-FILE "lack-util" "src/util">) [fast-method]
15: ((:METHOD ASDF/PLAN:PERFORM-PLAN (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {100B065643}>) [fast-method]
16: ((FLET SB-C::WITH-IT :IN SB-C::%WITH-COMPILATION-UNIT))
17: ((:METHOD ASDF/PLAN:PERFORM-PLAN :AROUND (T)) #<ASDF/PLAN:SEQUENTIAL-PLAN {100B065643}>) [fast-method]
18: ((LAMBDA (SB-PCL::.ARG0. SB-INT:&MORE SB-PCL::.MORE-CONTEXT. SB-PCL::.MORE-COUNT.) :IN "/home/josh/quicklisp/setup.lisp") #<ASDF/PLAN:SEQUENTIAL-PLAN {100B065643}>)
19: ((:METHOD ASDF/OPERATE:OPERATE (ASDF/OPERATION:OPERATION ASDF/COMPONENT:COMPONENT)) #<ASDF/LISP-ACTION:LOAD-OP > #<ASDF/SYSTEM:SYSTEM "jo"> :PLAN-CLASS NIL :PLAN-OPTIONS NIL) [fast-met..
 --more--

Hi I get this stack when building from ultra and from master. Thanks.

K1D77A commented 2 years ago

Cloning from https://github.com/fukamachi/lack/commit/156ef010d5a90e629107b44661221b26b507d7ef removes the problem

fukamachi commented 2 years ago

Can't reproduce it. Perhaps it's an environmental issue. Required to try to do in different ways. More information would be appreciated.

K1D77A commented 2 years ago

https://github.com/thephoeron/cl-isaac/issues/6