[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A question about the FFI

On Wed, 6 Sep 1995, Marcus Daniels wrote:

> Oliver> After I included my module and I simply type () for example,
> Oliver> the system crashes with the following output.
> Oliver> handle_fault error1 !  SIGSEGV cannot be cured. Fault address
> Oliver> = 0x38.  Segmentation fault
> Oliver> But if I use the initscr function from the ncurses first, than
> Oliver> it doesn't crash at all.
> What does the module do on initialization?  Can you get a gdb
> backtrace?  (use "signal 11 noprint" in gdb if you are using
> a generational GC version of CLISP -- which it appears that you are).

Well, as it was my first try with the FFI, I simply copied the linux.lsp 
file from the linux bindings module. :-) I changed all relevant data and 
added my functions as Bruno Haible did in linux.lsp. Well, that is all I 
have done for now. 

See ya on the darkside,        "Love is an act of blood and I am bleeding
				a pool in the shape of the heart."
Oliver.                           (Dreamtheater - Space-Dye West)
email: andrich@infko.uni-koblenz.de      (reachable only from .de)
http://www.uni-koblenz.de/~andrich       (My dark chamber ]|->)
Gothic: 13:490/2.33 / Fido: 2:2454/130.103 / Vnet: 46:9611/1102.103