#208 segmentation violation in bytecode compiler when loading cl-popen

Unstable_git-CVS
closed
nobody
None
1
2014-09-23
2012-09-25
Anton Vodonosov
No

ecl-12.7.1-ce653d88-linux-x86-bytecode

(ql:quickload "cl-popen")

leads to segmentation violation when bytecode compiler is used:
https://cl-test-grid.appspot.com/blob?key=430179

lisp-to-c compiler doesn't have this.

Note, the library depends on iolib, so maybe it's an ffi issue, but it's just a guess.

Discussion

  • The cl-popen redefines STREAMP. This confuses the bytecodes compiler, which optimized its function call when compiling QUICKLISP itself. I have changed the optimizer so that the generated code is more robust.

     


Anonymous


Cancel   Add attachments