#14082: PARI stack overflow crashes Sage
----------------------------+-----------------------------------------------
       Reporter:  jdemeyer  |         Owner:  jdemeyer
           Type:  defect    |        Status:  new     
       Priority:  critical  |     Milestone:  sage-5.7
      Component:  c_lib     |    Resolution:          
       Keywords:            |   Work issues:          
Report Upstream:  N/A       |     Reviewers:          
        Authors:            |     Merged in:          
   Dependencies:            |      Stopgaps:          
----------------------------+-----------------------------------------------
Description changed by jdemeyer:

Old description:

> The following crashes Sage hard:
> {{{
> sage: i = CDF.0
> sage: fz=animate([line([zeta(s+i*t) for t in srange(0,50,0.01)]) for s in
> srange(0,0.9,0.01)],xmin=-1.5,ymin=-2,xmax=2.5,ymax=2)
>   ***   the PARI stack overflows !
>   current stack size: 16000000 (15.259 Mbytes)
>   [hint] you can increase GP stack with allocatemem()
>
>   ***   Error in the PARI system. End of program.
> }}}

New description:

 The following crashes Sage hard:
 {{{
 sage: i = CDF.0
 sage: fz=animate([line([zeta(s+i*t) for t in srange(0,50,0.01)]) for s in
 srange(0,0.9,0.01)],xmin=-1.5,ymin=-2,xmax=2.5,ymax=2)
   ***   the PARI stack overflows !
   current stack size: 16000000 (15.259 Mbytes)
   [hint] you can increase GP stack with allocatemem()

   ***   Error in the PARI system. End of program.
 }}}

 The problem is simple: istead of using the '''proper PARI interface''' in
 `sage/libs/pari/gen.pyx`, somebody decided to call PARI directly.
 Solution: use the proper interface instead.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14082#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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to