Bug 538642: Temporarily disable the floating-point exception handler. r=bsmedberg
authorChris Jones <jones.chris.g@gmail.com>
Fri, 08 Jan 2010 15:09:31 -0600
changeset 36961 256c51e15d679219d3efd186ac5055bf9abb4437
parent 36960 ca10f6b27b95898f9ee7e066128578e4a67c6e9d
child 36962 a970bbfb56f7bb714a133cc5f41f71f96d76d103
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersbsmedberg
bugs538642
milestone1.9.3a1pre
Bug 538642: Temporarily disable the floating-point exception handler. r=bsmedberg
toolkit/xre/nsSigHandlers.cpp
--- a/toolkit/xre/nsSigHandlers.cpp
+++ b/toolkit/xre/nsSigHandlers.cpp
@@ -403,17 +403,21 @@ LONG __stdcall FpeHandler(PEXCEPTION_POI
 #endif
       return EXCEPTION_CONTINUE_EXECUTION;
   }
   return EXCEPTION_CONTINUE_SEARCH;
 }
 
 void InstallSignalHandlers(const char *ProgramName)
 {
+#if 0
+  // FIXME/bug 538642: disabled because it doesn't play well with
+  // breakpad, and vice versa
   SetUnhandledExceptionFilter(FpeHandler);
+#endif
 }
 
 #else
 
 void InstallSignalHandlers(const char *ProgramName)
 {
 }