id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,merged,author,reviewer,upstream,work_issues,branch,commit,dependencies,stopgaps
7794,PolynomialRing_integral_domain ignores Ctrl-C and segfaults,SimonKing,AlexGhitza,"The following was reported by Alex P on [http://groups.google.com/group/sage-support/browse_thread/thread/d92efb12f35e758a sage-support]:
{{{
sage: F. = FiniteField(3)
sage: P. = PolynomialRing(F)
sage: PP. = PolynomialRing(P)
sage: PP
Univariate Polynomial Ring in z over Univariate Polynomial Ring in T over Finite Field of size 3
sage: type(PP)
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.
",defect,closed,critical,sage-4.7.1,algebra,fixed,Polynomial Ring KeyboardInterrupt,,sage-4.7.1.alpha2,Jeroen Demeyer,Simon King,N/A,,,,,