#7794: PolynomialRing_integral_domain ignores Ctrl-C and segfaults
-------------------------+--------------------------------------------------
Reporter: SimonKing | Owner: AlexGhitza
Type: defect | Status: new
Priority: critical | Milestone: sage-4.3.1
Component: algebra | Keywords: Polynomial Ring KeyboardInterrupt
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
-------------------------+--------------------------------------------------
The following was reported by Alex P on [http://groups.google.com/group
/sage-support/browse_thread/thread/d92efb12f35e758a sage-support]:
{{{
sage: F.<a> = FiniteField(3)
sage: P.<T> = PolynomialRing(F)
sage: PP.<z> = PolynomialRing(P)
sage: PP
Univariate Polynomial Ring in z over Univariate Polynomial Ring in T over
Finite Field of size 3
sage: type(PP)
<class
'sage.rings.polynomial.polynomial_ring.PolynomialRing_integral_domain'>
sage: (z^3 + T*z)^(81*3)
^CException KeyboardInterrupt: KeyboardInterrupt() in
'sage.rings.polynomial.polynomial_zmod_flint.get_cparent' ignored
^C^C
------------------------------------------------------------
Unhandled SIGFPE: An unhandled floating point exception occured in SAGE.
This probably occured because a *compiled* component
of SAGE has a bug in it (typically accessing invalid memory)
or 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 (sorry).
------------------------------------------------------------
}}}
So: First, Ctrl-C is ignored, which is bad IMO. Then, hitting Ctrl-C again
(actually twice) results in a segfault, which is a desaster.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7794>
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.