From 2a65d17e06da3b1f1f78d9586fd82a79ba2f73a6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 21 Jul 2005 14:04:13 +0000 Subject: r8685: an alpha in the build farm is dying with a floating point exception. Catch these in out fault handler, so we get a backtrace (This used to be commit 802724cf69e65a07202f3399a4321a35c2f3c018) --- source4/lib/fault.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source4/lib/fault.c b/source4/lib/fault.c index 22efb4825d..3670575dcc 100644 --- a/source4/lib/fault.c +++ b/source4/lib/fault.c @@ -187,6 +187,9 @@ void fault_setup(const char *pname) #ifdef SIGABRT CatchSignal(SIGABRT,SIGNAL_CAST sig_fault); #endif +#ifdef SIGFPE + CatchSignal(SIGFPE,SIGNAL_CAST sig_fault); +#endif } /* -- cgit