claw-legacy icon indicating copy to clipboard operation
claw-legacy copied to clipboard

The index 64 is out of range for sequence "__claw_libctest_loader_..."

Open desoi opened this issue 4 years ago • 1 comments

After working around the pathname issue, I get the error below.

Condition: The index 64 is out of range for sequence "__claw_libctest_loader_F6D054DFA7C9E57DFE1F11FC030D38CD79A3411A".

Call to SYSTEM::END-OUT-OF-RANGE-ERROR {offset 66}
  SYSTEM::SEQ   : "__claw_libctest_loader_F6D054DFA7C9E57DFE1F11FC030D38CD79A3411A"
  SYSTEM::START : 0
  SYSTEM::END   : 64

Call to SUBSEQ {offset 92}
  SEQUENCE      : "__claw_libctest_loader_F6D054DFA7C9E57DFE1F11FC030D38CD79A3411A"
  SYSTEM::START : 0
  SYSTEM::END   : 64

Call to (METHOD CLAW.CFFI.C::EXPAND-ADAPTER-ROUTINES (CLAW.CFFI.C::DYNAMIC-ADAPTER T)) {offset 624}
  CLAW.CFFI.C::THIS                : #<CLAW.CFFI.C::DYNAMIC-ADAPTER 42002EA2FB>
  CLAW.CFFI.C::WRAPPER             : #S(CLAW.WRAPPER::WRAPPER :NAME CLAW.TESTS::LIBCTEST :HEADERS ("c.h") :SPECIFICATION #<CLAW.SPEC::LIBRARY-DESCRIPTOR 42002C62E3> :STANDARD NIL :INCLUDES (#P"/Lisp/claw/claw/t/c/cffi" #P"/Lisp/claw/claw/t/c/lib/" #P"/usr/local/include" #P"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.3/include" #P"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" #P"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include" #P"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1") :LAST-UPDATE-TIME 3801577522 :PATH-MAPPER #<Closure 1 subfunction of CLAW.WRAPPER:DEFWRAPPER 422000D13C>)
  CLOS::.ISL.                      : :DONT-KNOW
  CLAW.CFFI.C::NAME                : CLAW.TESTS::LIBCTEST
  CLAW.CFFI.C::SHARED-LIBRARY-NAME : "adapter.dylib"

desoi avatar Jun 20 '20 14:06 desoi

Thanks for the report. This system is going through huge refactoring at the moment. I might look into the issue later, but I don't have access to LispWorks implementation, so I'm not sure I'll be able to fix it. I intend to ensure it works on x86_64 SBCL, ECL and CCL.

borodust avatar Jun 20 '20 15:06 borodust