[Ecls-list] sig11 in cl_boot()

Juan Jose Garcia-Ripoll jjgarcia at users.sourceforge.net
Thu Jan 18 09:06:03 UTC 2007


2007/1/16, Stanislaw Halik <sthalik+ecl at tehran.lain.pl>:
> After linking ECL with a certain C program, it crashes in cl_boot().
>
> Backtrace follows:
>
> (gdb) bt
> # 0  0xb79472de in ecl_find_package_nolock (name=0x0) at /tmp/ecl-cvs/ecl/build/ecl/object.h:639
> # 1  0xb7947425 in si_coerce_to_package (p=0x0) at /tmp/ecl-cvs/ecl/src/c/package.d:260
> # 2  0xb794854c in intern (name=0x8164300, p=0x0, intern_flag=0xbffb8164) at /tmp/ecl-cvs/ecl/src/c/package.d:303

In the end it was _not_ a problem with the garbage collector, but a
name clash. The ECL library has a function called current_package()
and your code too.

Hmm, I was right when I said we should prefix all functions in ECL,
but lack of time made it a not so important thing. Perhaps I can come
up with a hack for the weekend -- it depends on how my cold
progresses.

Juanjo

-- 
Dpto. de Fisica Teorica I, Fac. de CC Fisicas, Universidad Complutense,
Ciudad Universitaria s/n Madrid 2804 (Spain)
http://teorica.fis.ucm.es/~jjgarcia/




More information about the ecl-devel mailing list