Failed assertion about JVM:OFFSET trying to load something
Hi, I know it may be hard to see what's going on but, I'm trying to load a lisp file into Maxima compiled with ABCL, and I get the error shown below: The assertion (<= -32768 JVM::OFFSET 32767) failed. I've also included a stack trace if that helps. I can supply more info if you tell me what to look for. Thanks so much for your help, Robert Dodier PS. This is in a Maxima session after compiling and launching Maxima. (%i1) :lisp (load "../share/odepack/load-dlsode.lisp") ; (IN-PACKAGE "ODEPACK") ; (LET (# # ...) ...) Error loading /Users/dodier/tmp/maxima-code/share/odepack/load-dlsode.lisp at line 25 (offset 770) #<THREAD "interpreter" {19E01A93}>: Debugger invoked on condition of type SIMPLE-ERROR The assertion (<= -32768 JVM::OFFSET 32767) failed. Restarts: 0: CONTINUE Retry assertion. 1: MACSYMA-QUIT Maxima top-level 2: TOP-LEVEL Return to top level. [1] ODEPACK(5): :bt 0: (SYSTEM:BACKTRACE) 1: (INVOKE-DEBUGGER #<SIMPLE-ERROR {6789AA04}>) 2: (ERROR #<SIMPLE-ERROR {6789AA04}>) 3: (SYSTEM::ASSERT-ERROR (<= -32768 JVM::OFFSET 32767) NIL NIL) 4: (JVM::CODE-BYTES #<(VECTOR T 18397) {4783535E}>) 5: (JVM::FINALIZE-CODE-ATTRIBUTE #<JVM::CODE-ATTRIBUTE {43CBA720}> NIL #<JVM::ABCL-CLASS-FILE {67BB799A}>) 6: (JVM::FINALIZE-ATTRIBUTES (#<JVM::CODE-ATTRIBUTE {43CBA720}>) NIL #<JVM::ABCL-CLASS-FILE {67BB799A}>) 7: (JVM::FINALIZE-METHOD #<JVM::JVM-METHOD {72946D27}> #<JVM::ABCL-CLASS-FILE {67BB799A}>)
On Dec 23, 2020, at 02:12, Robert Dodier <robert.dodier@gmail.com> wrote:
Hi,
I know it may be hard to see what's going on but, I'm trying to load a lisp file into Maxima compiled with ABCL, and I get the error shown below: The assertion (<= -32768 JVM::OFFSET 32767) failed.
I've also included a stack trace if that helps.
I can supply more info if you tell me what to look for.
Thanks so much for your help,
Robert Dodier
PS. This is in a Maxima session after compiling and launching Maxima.
(%i1) :lisp (load "../share/odepack/load-dlsode.lisp")
; (IN-PACKAGE "ODEPACK")
; (LET (# # ...) ...)
Error loading /Users/dodier/tmp/maxima-code/share/odepack/load-dlsode.lisp at line 25 (offset 770)
#<THREAD "interpreter" {19E01A93}>: Debugger invoked on condition of type SIMPLE-ERROR
The assertion (<= -32768 JVM::OFFSET 32767) failed.
Thanks for the report; filed as [483][]. Any special instructions on how to replicate this? What network accessible URI corresonds to the source under <file:/Users/dodier/tmp/maxima-code/>? Just the standard maxima source? [483]: <https://abcl.org/trac/ticket/483> -- "A screaming comes across the sky. It has happened before but there is nothing to compare to it now."
Thanks a lot, Mark. I'm working w/ a recently updated Git sandbox with some minor unrelated changes. I'm working on macOS, with ABCL 1.7.0 installed via Homebrew. I got to the reported state via these steps more or less: $ cd maxima-code # top level directory $ abcl (load "configure.lisp") (configure) ;; answer questions here (quit) $ cd src $ abcl (load "maxima-build.lisp") ;; use defsystem. ASDF fails, I didn't investigate (maxima-compile) (quit) $ abcl (load "maxima-build.lisp") ;; yeah, Maxima has a nutty build system. Oh well (maxima-load) (run) At this point you should have a Maxima prompt and you can issue :lisp (load "../share/odepack/load-dlsode.lisp") as shown before. ODEPACK is translated automatically from Fortran (via f2cl), so it is probably idiosyncratic Lisp, and might contain large functions. You made a login for me for Trac on abcl.org, but my login doesn't seem to be recognized (it wasn't then and it isn't now). Not a problem, I'm happy to just post this to the mailing list. Thanks for your help, Robert Dodier
participants (2)
-
Mark Evenson
-
Robert Dodier