#246: CFFI: dynamically generated classes referred from .fasl can not be found after ABCL restart ------------------------+--------------------------------------------------- Reporter: avodonosov | Owner: somebody Type: defect | Status: new Priority: major | Milestone: Component: other | Version: Keywords: | ------------------------+--------------------------------------------------- Armed Bear Common Lisp 1.1.0-dev-svn-14181 Java 1.6.0_24 Sun Microsystems Inc.
{{{ (java:add-to-classpath "my-jna/jna.jar") (provide 'jna) (ql:quickload :drakma) ;; depends on CL+SSL }}}
Do it first time after removing ~/.cache/common-lisp/. Works OK.
Restart ABCL. Try the same code:
{{{ Error loading C:/Users/anton/AppData/Local/common-lisp/cache/abcl-1.1.0 -dev- svn-14181-fasl39-win-x86/C/Users/anton/quicklisp/dists/quicklisp/software/cl+ssl-20120703-git/ffi.abcl at line 168 (offset 9483) #<THREAD "interpreter" {1A705D7}>: Debugger invoked on condition of type ERROR Class not found: org.armedbear.jna.dynamic.callbacks.G91513 Restarts: 0: TRY-RECOMPILING Recompile ffi and try loading it again 1: RETRY Retry loading FASL for #<ASDF:CL-SOURCE-FILE "cl+ssl" "ffi">. 2: ACCEPT Continue, treating loading FASL for #<ASDF:CL-SOURCE- FILE "cl+ssl" "ffi"> as having been successful. 3: ABORT Give up on "drakma" 4: TOP-LEVEL Return to top level. [1] CL+SSL(4): }}}
#246: CFFI: dynamically generated classes referred from .fasl can not be found after ABCL restart ------------------------+--------------------------------------------------- Reporter: avodonosov | Owner: mevenson Type: defect | Status: new Priority: major | Milestone: Component: libraries | Version: Keywords: cffi | ------------------------+--------------------------------------------------- Changes (by avodonosov):
* keywords: => cffi * owner: somebody => mevenson * component: other => libraries
#246: CFFI: dynamically generated classes referred from .fasl can not be found after ABCL restart ------------------------+--------------------------------------------------- Reporter: avodonosov | Owner: mevenson Type: defect | Status: new Priority: major | Milestone: Component: libraries | Version: 1.1.0-dev Keywords: cffi | ------------------------+--------------------------------------------------- Changes (by avodonosov):
* version: => 1.1.0-dev
#246: CFFI: dynamically generated classes referred from .fasl can not be found after ABCL restart ------------------------+--------------------------------------------------- Reporter: avodonosov | Owner: mevenson Type: defect | Status: accepted Priority: critical | Milestone: 1.1.0 Component: libraries | Version: 1.1.0-dev Keywords: cffi | ------------------------+--------------------------------------------------- Changes (by mevenson):
* priority: major => critical * status: new => accepted * milestone: => 1.1.0
Comment:
Work around: use the interactive restart provided.
Real solution: create a hash scheme that doesn't change for the same interface.
#246: CFFI: dynamically generated classes referred from .fasl can not be found after ABCL restart -------------------------+-------------------------------------------------- Reporter: avodonosov | Owner: mevenson Type: defect | Status: closed Priority: critical | Milestone: 1.1.0 Component: libraries | Version: 1.1.0-dev Resolution: fixed | Keywords: cffi -------------------------+-------------------------------------------------- Changes (by mevenson):
* status: accepted => closed * resolution: => fixed
Comment:
Duplicate of #235.
armedbear-ticket@common-lisp.net