[Ecls-list] bt of a hard-to-reproduce SEGV during LOAF-AS-FASL

Samium Gromoff _deepfire at feelingofgreen.ru
Thu May 22 18:34:27 UTC 2008


> Good evening,
> 
> what follows is a backtrace of an ASDF:MAKE-BUILD going awry
> during LOAD of one of generated FASLs, with ECL CVS 2008-05-20 14:05:

I narrowed it down with a test case:

deepfire at canopus:~/local$ cat foo.lisp
(ffi:def-function "foo" 
    ((val :unsigned-byte)
     (port :unsigned-int))
 :returning :void
 :module "./libfoo.so")

deepfire at canopus:~/local$ cat foo.asd
(defpackage :foo.system
  (:use :cl :asdf))

(in-package :foo.system)

(defsystem :foo
  :components
  ((:file "foo")))
deepfire at canopus:~/local$ touch libfoo.so
deepfire at canopus:~/local$ ecl -eval '(require :asdf)' -eval '(asdf:make-build :foo :monolithic t :type :fasl)' -eval '(load "foo.fasb")'
[snip]
;;; gcc -o "/mnt/ext/home/deepfire/local/foo.fasb" -L"/usr/lib/" "/mnt/ext/home/deepfire/local/ECLINITRlZHJr.o" "/mnt/ext/home/deepfire/local/libfoo.a"  -shared    -lecl -ldl  -lm   -lgc -lgmp
;;; Loading "/mnt/ext/home/deepfire/local/foo.fasb"
An error occurred during initialization:
Segmentation violation..

Gdb backtrace looks the same I provided in the previous message.


regards, Samium Gromoff




More information about the ecl-devel mailing list