#12777: Add signal handling to libecm.pyx
----------------------------------+-----------------------------------------
Reporter: jdemeyer | Owner: tbd
Type: enhancement | Status: new
Priority: major | Milestone: sage-5.0
Component: factorization | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Paul Zimmermann
Authors: Jeroen Demeyer | Merged in:
Dependencies: #12757 | Stopgaps:
----------------------------------+-----------------------------------------
Changes (by jdemeyer):
* status: closed => new
* resolution: fixed =>
* merged: sage-5.0.beta14 =>
Comment:
On `hawk (OpenSolaris 06.2009-32)`, I regularly get:
{{{
sage -t --long -force_lib devel/sage/sage/libs/libecm.pyx
**********************************************************************
File
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta14/devel
/sage-main/sage/libs/libecm.pyx", line 132:
sage: ecmfactor(1, 100)
Exception raised:
Traceback (most recent call last):
File
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta14/local/bin/ncadoctest.py",
line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta14/local/bin/sagedoctest.py",
line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/export/home/buildbot/build/sage/hawk-1/hawk_full/build/sage-5.0.beta14/local/bin/ncadoctest.py",
line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_1[19]>", line 1, in <module>
ecmfactor(Integer(1), Integer(100))###line 132:
sage: ecmfactor(1, 100)
File "libecm.pyx", line 152, in sage.libs.libecm.ecmfactor
(sage/libs/libecm.c:1899)
sig_on()
RuntimeError: Floating point exception
**********************************************************************
}}}
I have not yet investigated what causes this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12777#comment:23>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.