From 1a0f83f63b02d6c04dd1a1539f09a7524ae4b98c 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 --- source/lib/fault.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/lib/fault.c') diff --git a/source/lib/fault.c b/source/lib/fault.c index 22efb4825d7..3670575dcc7 100644 --- a/source/lib/fault.c +++ b/source/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