set_error_handler/3 can crash on 5.1 patch branch (0911)

From: Kish Shen <k.shen_at_icparc.ic.ac.uk>
Date: Thu 22 Mar 2001 08:49:36 PM GMT
Message-ID: <3ABA6560.791F5A71@icparc.ic.ac.uk>
On my main branch:

ECLiPSe Constraint Logic Programming System [kernel]
Copyright Imperial College London and ICL
Certain libraries copyright Parc Technologies Ltd
GMP library copyright Free Software Foundation
Version 5.1.0, Thu Jan 11 19:49 2001
[eclipse 1]: set_error_handler(3, undef / 1).

yes.
[eclipse 2]: halt.

but on my patch branch:

ECLiPSe Constraint Logic Programming System [kernel]
Copyright Imperial College London and ICL
Certain libraries copyright Parc Technologies Ltd
GMP library copyright Free Software Foundation
Version 5.1.1, Thu Mar 22 14:26 2001
[eclipse 1]: set_error_handler(3, undef / 1).
Segmentation violation - possible reasons are:
- a faulty external C function
- certain operations on circular terms
- machine stack overflow
- an internal error in ECLiPSe
Aborting execution....

*** ECLiPSe fatal error: reset/0 called

(there is no error 3 defined)
Received on Thu Mar 22 20:49:39 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:05 PM GMT GMT