#7794: PolynomialRing_integral_domain ignores Ctrl-C and segfaults
--------------------------+-------------------------------------------------
   Reporter:  SimonKing   |          Owner:  AlexGhitza                       
       Type:  defect      |         Status:  needs_work                       
   Priority:  critical    |      Milestone:  sage-4.7.1                       
  Component:  algebra     |       Keywords:  Polynomial Ring KeyboardInterrupt
Work_issues:              |       Upstream:  N/A                              
   Reviewer:  Simon King  |         Author:                                   
     Merged:              |   Dependencies:                                   
--------------------------+-------------------------------------------------
Changes (by jdemeyer):

  * status:  positive_review => needs_work
  * milestone:  sage-duplicate/invalid/wontfix => sage-4.7.1


Comment:

 I'm still able to reproduce the problem on sage-4.7.rc2 (note that
 interrupt handling was completely rewritten in #9678, merged in
 sage-4.7.alpha1, so testing this with sage-4.6.2 is pointless).

 {{{
 sage: F.<a> = FiniteField(3)
 sage: P.<T> = PolynomialRing(F)
 sage: PP.<z> = PolynomialRing(P)
 sage: (z^3 + T*z)^(81*3)
 ^C^CException KeyboardInterrupt in
 'sage.rings.polynomial.polynomial_zmod_flint.get_cparent' ignored
 z^729 + T^243*z^243
 sage: (z^3 + T*z)^(81*3)
 
^C/usr/local/src/sage-4.7/local/lib/libcsage.so(print_backtrace+0x31)[0x7f3398533e02]
 /usr/local/src/sage-4.7/local/lib/libcsage.so(sigdie+0x14)[0x7f3398533e34]
 
/usr/local/src/sage-4.7/local/lib/libcsage.so(sage_signal_handler+0x1e6)[0x7f3398533a5c]
 /lib/libpthread.so.0(+0xf400)[0x7f339d78c400]
 
/usr/local/src/sage-4.7/local/lib/libgmp.so.3(__gmp_exception+0x1e)[0x7f33982c357e]
 /usr/local/src/sage-4.7/local/lib/libgmp.so.3(+0xb5ae)[0x7f33982c35ae]
 
/usr/local/src/sage-4.7/local/lib/libgmp.so.3(__gmpz_fdiv_ui+0x0)[0x7f33982cfed0]
 /usr/local/src/sage-4.7/local/lib/libflint.so(zn_mod_init+0x5c)[0x7f33902e109c]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 
packages/sage/rings/polynomial/polynomial_zmod_flint.so(+0x19ce6)[0x7f336d5ddce6]
 /usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(+0x9b85c)[0x7f339da3485c]
 
/usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(PyObject_Call+0x53)[0x7f339d9e3cf3]
 
/usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(PyEval_CallObjectWithKeywords+0x47)[0x7f339da76617]
 /usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(+0x61747)[0x7f339d9fa747]
 
/usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(PyObject_Call+0x53)[0x7f339d9e3cf3]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 
packages/sage/rings/polynomial/polynomial_zmod_flint.so(+0xad24)[0x7f336d5ced24]
 /usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(+0xa1098)[0x7f339da3a098]
 
/usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(PyObject_Call+0x53)[0x7f339d9e3cf3]
 
/usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x3a79)[0x7f339da7a689]
 
/usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x879)[0x7f339da7d819]
 /usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(+0x70b26)[0x7f339da09b26]
 
/usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(PyObject_Call+0x53)[0x7f339d9e3cf3]
 /usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(+0x5793f)[0x7f339d9f093f]
 
/usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(PyObject_Call+0x53)[0x7f339d9e3cf3]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/rings/polynomial/polynomial_element.so(+0x12ec1)[0x7f3388decec1]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/rings/polynomial/polynomial_element.so(+0x12beb)[0x7f3388decbeb]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/categories/map.so(+0x6be5)[0x7f3394501be5]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/structure/coerce.so(+0x1fb4d)[0x7f339473eb4d]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/structure/coerce.so(+0x179e0)[0x7f33947369e0]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/structure/element.so(+0x108d9)[0x7f339496b8d9]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/structure/element.so(+0x3a681)[0x7f3394995681]
 /usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(+0x4621c)[0x7f339d9df21c]
 
/usr/local/src/sage-4.7/local/lib/libpython2.6.so.1.0(PyNumber_Add+0x20)[0x7f339d9e1640]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/rings/polynomial/polynomial_element.so(+0x41f03)[0x7f3388e1bf03]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/rings/polynomial/polynomial_element.so(+0x6ff62)[0x7f3388e49f62]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/rings/polynomial/polynomial_element.so(+0x6ed99)[0x7f3388e48d99]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/rings/polynomial/polynomial_element.so(+0x6ef0c)[0x7f3388e48f0c]
 /usr/local/src/sage-4.7/local/lib/python2.6/site-
 packages/sage/rings/polynomial/polynomial_element.so(+0x6edcf)[0x7f3388e48dcf]

 ------------------------------------------------------------------------
 Unhandled SIGFPE: An unhandled floating point exception occurred in Sage.
 This probably occurred because a *compiled* component of Sage has a bug
 in it and is not properly wrapped with sig_on(), sig_off(). You might
 want to run Sage under gdb with 'sage -gdb' to debug this.
 Sage will now terminate.
 ------------------------------------------------------------------------
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7794#comment:3>
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.

Reply via email to