13 cds=CompFactory.CoreDumpSvc(FastStackTrace=
True)
16 if flags.Exec.FPE != -2
and hasattr(CompFactory,
"FPEAuditor"):
19 signalsToCatch=[
int(i)
for i
in cds.Signals]
22 cfg.addService(CompFactory.FPEControlSvc(),create=
True)
24 cfg.addAuditor(CompFactory.FPEAuditor(NStacktracesOnFPE=flags.Exec.FPE))
25 from signal
import SIGFPE
26 signalsToCatch.remove(SIGFPE)
27 cds.Signals=signalsToCatch
30 cfg.addService(cds,create=
True)