[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
dumping core less likely
One of the lesser joys of using KCL has been seeing the message
"Segmentation fault (core dumped)" when certain errors arise, e.g.,
when calling (foo) where foo has been defined with
(defun foo () (car x))
and compiled with safety 0.
Kindly, Bill Schelter has arranged for such errors to be caught and
for Lisp to be resumed in recent versions of AKCL. Of course, if such
an illegal memory reference must be handled, it is a sign that things
may have been corrupted. But it certainly is nice to have a chance at
least to poke around and inspect the state rather than just to have a
big core file dumped. See the documentation for CATCH-FATAL in the
file doc/DOC for details.