[Ecls-list] Random ecl segfaults on OpenBSD

qsd qsd at rogers.com
Fri Dec 2 18:03:03 UTC 2005


Hi,

Now that I've been using ecl on OpenBSD for a while, I've noticed that it
randomly segfaults (just by starting the interpreter). I noticed no pattern
nor was able to reliably reproduce the crashes, but they keep occuring.
I suspect the memory randomization in OpenBSD.

There are the first 18 lines of the backtrace:

#0  0x0e18955c in vfprintf () from /usr/lib/libc.so.38.2
#1  0x0e147d31 in printf () from /usr/lib/libc.so.38.2
#2  0x02594b62 in error () from /usr/local/lib/ecl/libecl.so
#3  0x02595103 in FEinvalid_function_name () from /usr/local/lib/ecl/libecl.so
#4  0x025b3666 in APPLY () from /usr/local/lib/ecl/libecl.so
#5  0x0257e20e in cl_funcall () from /usr/local/lib/ecl/libecl.so
#6  0x02594c21 in FEerror () from /usr/local/lib/ecl/libecl.so
#7  0x025857f3 in cl_find_class () from /usr/local/lib/ecl/libecl.so
#8  0x025541d1 in clos_install_method () from /usr/local/lib/ecl/libecl.so
#9  0x025b4b3a in APPLY_fixed () from /usr/local/lib/ecl/libecl.so
#10 0x0257dd7d in cl_apply_from_stack () from /usr/local/lib/ecl/libecl.so
#11 0x025a58d0 in cl_mapcar () from /usr/local/lib/ecl/libecl.so
#12 0x02554118 in clos_install_method () from /usr/local/lib/ecl/libecl.so
#13 0x02563c5e in init_ECL_PRINT () from /usr/local/lib/ecl/libecl.so
#14 0x02590c30 in read_VV () from /usr/local/lib/ecl/libecl.so
#15 0x02508635 in init_LSP () from /usr/local/lib/ecl/libecl.so
#16 0x02590c30 in read_VV () from /usr/local/lib/ecl/libecl.so
#17 0x02507912 in cl_boot () from /usr/local/lib/ecl/libecl.so
#18 0x1c0007c8 in init_ECL ()

Hope that helps. I have the core files if you need them.

Also, I noticed that when trying to build the executable with (c:build-program),
it fails when there is a dot in the output file name. That's annoying. Is this a bug
or not? It seems like one.




More information about the ecl-devel mailing list