#7795: MPolynomialRing segfaults when getting high exponents
-----------------------------------+----------------------------------------
Reporter: SimonKing | Owner: malb
Type: defect | Status: new
Priority: major | Milestone:
Component: commutative algebra | Keywords: MPolynomialRing_libsingular
segfault with high exponents
Work_issues: | Author:
Upstream: N/A | Reviewer:
Merged: |
-----------------------------------+----------------------------------------
In the following example, a segfault occurs. Shouldn't an error be raised
instead?
{{{
sage: F.<a> = FiniteField(3)
sage: P.<T,z> = PolynomialRing(F)
sage: type(P)
<type
'sage.rings.polynomial.multi_polynomial_libsingular.MPolynomialRing_libsingular'>
sage: z^(3^10)
z^59049
sage: z^(3^11)
z^177147
sage: (z^3 + T*z)^(3^4)
z^243 + T^81*z^81
sage: (z^3 + T*z)^(3^7)
z^6561 + T^2187*z^2187
sage: (z^3 + T*z)^(3^10)
z^177147 + T^59049*z^59049
sage: (z^3 + T*z)^(3^15)
/home/king/SAGE/sage-4.3/local/bin/sage-sage: line 206: 20938 Segmentation
fault sage-ipython "$@" -i
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7795>
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.