From 960309c9ec8cf4c504c3954119d03e8dceaebe19 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 15 Jun 2013 22:26:21 +0200 Subject: [PATCH] #0001150: Abort on startup --- src/Mod/Part/App/AppPart.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Mod/Part/App/AppPart.cpp b/src/Mod/Part/App/AppPart.cpp index b405fc5615..2f5c491894 100644 --- a/src/Mod/Part/App/AppPart.cpp +++ b/src/Mod/Part/App/AppPart.cpp @@ -103,9 +103,13 @@ void PartExport initPart() App::GetApplication().addExportType("STEP with colors (*.step *.stp)","ImportGui"); #endif #endif -#if defined(FC_OS_LINUX) - OSD::SetSignal(); -#endif + // This is highly experimental and we should keep an eye on it + // if we have mysterious crashes + // The argument must be 'Standard_False' to avoid FPE caused by + // Python's cmath module. +//#if defined(FC_OS_LINUX) + OSD::SetSignal(Standard_False); +//#endif PyObject* partModule = Py_InitModule3("Part", Part_methods, module_part_doc); /* mod name, table ptr */ Base::Console().Log("Loading Part module... done\n");