#12217: Finite field polynomials allow division by zero
------------------------------------+--------------------------
Reporter: johanbosman | Owner: AlexGhitza
Type: defect | Status: new
Priority: major | Milestone: sage-5.13
Component: basic arithmetic | Resolution:
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
------------------------------------+--------------------------
Description changed by jdemeyer:
Old description:
> For prime finite fields, one gets a strange message:
> {{{
> sage: P.<x> = GF(5)[]
> sage: x/5
> Exception ZeroDivisionError: 'Inverse does not exist.' in
> 'sage.rings.fraction_field_FpT.normalize' ignored
> 1/0
> }}}
> And non-prime finite fields don't complain at all:
> {{{
> sage: P.<x> = GF(25,'a')[]
> sage: x/5
> x
> }}}
New description:
For prime finite fields, one gets a strange message:
{{{
sage: P.<x> = GF(5)[]
sage: x/5
------------------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault 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().
Sage will now terminate.
------------------------------------------------------------------------
}}}
And non-prime finite fields don't complain at all:
{{{
sage: P.<x> = GF(25,'a')[]
sage: x/5
x
}}}
--
--
Ticket URL: <http://trac.sagemath.org/ticket/12217#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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.