#12105: RuntimeError: Segmentation fault with nth_root
-------------------------+--------------------------------------------------
   Reporter:  lfousse    |          Owner:  jason, jkantor
       Type:  defect     |         Status:  needs_review  
   Priority:  major      |      Milestone:  sage-4.8      
  Component:  numerical  |       Keywords:                
Work_issues:             |       Upstream:  N/A           
   Reviewer:             |         Author:  Johan Bosman  
     Merged:             |   Dependencies:                
-------------------------+--------------------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * milestone:  => sage-4.8
  * author:  => Johan Bosman


Old description:

> {{{
> sage: RealField(53)(0.05).nth_root(7 * 10^8)
> ---------------------------------------------------------------------------
> RuntimeError                              Traceback (most recent call
> last)
>
> /opt/sage-4.7.2/<ipython console> in <module>()
>
> /opt/sage-4.7.2/local/lib/python2.6/site-packages/sage/rings/real_mpfr.so
> in sage.rings.real_mpfr.RealNumber.nth_root
> (sage/rings/real_mpfr.c:23889)()
>
> RuntimeError: Segmentation fault
> }}}

New description:

 {{{
 sage: RealField(53)(0.05).nth_root(7 * 10^8)
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)

 /opt/sage-4.7.2/<ipython console> in <module>()

 /opt/sage-4.7.2/local/lib/python2.6/site-packages/sage/rings/real_mpfr.so
 in sage.rings.real_mpfr.RealNumber.nth_root
 (sage/rings/real_mpfr.c:23889)()

 RuntimeError: Segmentation fault
 }}}

 Apply [attachment:12105.patch] to the Sage repository.

--

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