[Ecls-list] [ANN] ECL v9.10.2

Alexander Gavrilov angavrilov at gmail.com
Sat Oct 10 10:00:59 UTC 2009


>  - In Linux there is a problem with handlers for SIGFPE being totally ignored
>    by the system. The problem seems to be solved by avoiding the use of
>    feenableexcept() and restricting to C99 exception tests. That is bad because
>    we can not reliably and cheaply detect underflow exceptions.

Hi, I reverted the change, and SIGFPE seems to work normally here.
I tested with the following compiled code and "ecl --trap-fpe":

(defun test (x)
  (ffi:c-inline (x) (:float) :void
    "printf(\"%f\\n\", 1.0f/#0);"))

(test 2.0)
(test 0.0)


The crashes with Ctrl-C seem to be gone, but :continue
after manually interrupting a thread still does not work
(there is no continue restart).

Alexander




More information about the ecl-devel mailing list