#11403: Segfault while inverting q-adic number with fixed modulus precision
------------------------+---------------------------------------------------
   Reporter:  jdemeyer  |          Owner:  tbd       
       Type:  defect    |         Status:  new       
   Priority:  major     |      Milestone:  sage-4.7.1
  Component:  packages  |       Keywords:            
Work_issues:            |       Upstream:  N/A       
   Reviewer:            |         Author:            
     Merged:            |   Dependencies:            
------------------------+---------------------------------------------------
Description changed by jdemeyer:

Old description:

> {{{
> sage: R.<t> = Zq(8,2,'fixed-mod')
> sage: 1/(t+t^2)
> ...
> Unhandled SIGABRT: An abort() occurred in Sage.
> }}}

New description:

 {{{
 sage: R.<t> = Zq(8,2,'fixed-mod')
 sage: 1/(t+t^2)
 ...
 Unhandled SIGABRT: An abort() occurred in Sage.
 }}}

 Note that {{{t + t^2}}} is invertible:
 {{{
 sage: R.<t> = Zq(8,2,'fixed-mod')
 sage: u = (t+1) + 2*t^2; u
 (t + 1) + t^2*2 + O(2^2)
 sage: u * (t + t^2)
 1 + O(2^2)
 }}}

 There seem to be two issues:

 * There is a missing {{{sig_on()}}}/{{{sig_off()}}}.

 * NTL does not want to invert the invertible `t + t^2`.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11403#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 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.

Reply via email to