[Ecls-list] trouble with si:load-foreign-module

Luis Oliveira luismbo at gmail.com
Tue Apr 17 17:13:30 UTC 2007


Hello,

While trying to bring CFFI's ECL backend up to date, I stumbled across a
crash caused by trying to place the result si:load-foreign-module in a
CLOS slot.

  > (defclass foo () ((x :initarg :x)))
  #<The STANDARD-CLASS FOO>
  > (make-instance 'foo :x (si:load-foreign-module "/usr/lib/libz.so"))

  Internal or unrecoverable error in:
  not a lisp data object
  Aborted

Doing the same thing with, e.g., a struct works fine but whenever I try
to put a "codeblock" object in a CLOS slot, ECL gets upset.  This
happens with latest CVS, running on linux/x86-64.  HTH.

-- 
Luís Oliveira
http://student.dei.uc.pt/~lmoliv/





More information about the ecl-devel mailing list