#17964: Singular crashes when reducing a polynomial modulo a prime of a number
field
-------------------------------------+-------------------------------------
       Reporter:  pbruin             |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.6
      Component:  interfaces         |   Resolution:
       Keywords:  singular crash     |    Merged in:
        Authors:  Peter Bruin        |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/pbruin/17964-Singular_currRing_crash|  
52d8a59fbfc23d58f65cd942b0361ac2cf4f767f
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Peter Bruin', 'oldvalue': ''}):

 * status:  new => needs_review
 * commit:   => 52d8a59fbfc23d58f65cd942b0361ac2cf4f767f
 * branch:   => u/pbruin/17964-Singular_currRing_crash
 * author:   => Peter Bruin


Old description:

> In Sage 6.6.beta5:
> {{{
> sage: K.<a> = QuadraticField(17)
> sage: Q.<x,y> = K[]
> sage: f = (-3*a)*y + (5*a)
> sage: p = K.primes_above(5)[0]
> sage: R = K.residue_field(p)
> sage: F = R['x','y']
> sage: g = F(f)
> ...
> Unhandled SIGSEGV: A segmentation fault occurred in Sage.
> }}}

New description:

 In Sage 6.6.beta5:
 {{{
 sage: K.<a> = QuadraticField(17)
 sage: Q.<x,y> = K[]
 sage: f = (-3*a)*y + (5*a)
 sage: p = K.primes_above(5)[0]
 sage: R = K.residue_field(p)
 sage: F = R['x','y']
 sage: g = F(f)
 ...
 Unhandled SIGSEGV: A segmentation fault occurred in Sage.
 }}}
 This is caused by (unnecessarily) changing `currRing` to ''Q'' and not
 setting it back to ''F''.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/17964#comment:1>
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/d/optout.

Reply via email to