#5943: Sage 3.4.2.a0: len(prime_range(2^50)) segfaults
-----------------------------+----------------------------------------------
   Reporter:  mabshoff       |          Owner:  was       
       Type:  defect         |         Status:  new       
   Priority:  critical       |      Milestone:  sage-4.7.2
  Component:  number theory  |       Keywords:            
Work_issues:                 |       Upstream:  N/A       
   Reviewer:                 |         Author:            
     Merged:                 |   Dependencies:            
-----------------------------+----------------------------------------------

Comment(by kini):

 In Sage 4.7.2.alpha3, I get the following:

 {{{
 sage: len(prime_range(2^50))
 ---------------------------------------------------------------------------
 PariError                                 Traceback (most recent call
 last)

 /home/keshav/<ipython console> in <module>()

 /home/keshav/sage/local/lib/python2.6/site-
 packages/sage/rings/fast_arith.so in sage.rings.fast_arith.prime_range
 (sage/rings/fast_arith.c:4082)()

 /home/keshav/sage/local/lib/python2.6/site-
 packages/sage/rings/fast_arith.so in sage.rings.fast_arith.prime_range
 (sage/rings/fast_arith.c:3717)()

 /home/keshav/sage/local/lib/python2.6/site-packages/sage/libs/pari/gen.so
 in sage.libs.pari.gen._pari_trap (sage/libs/pari/gen.c:47679)()

 PariError: not enough memory (28)
 }}}

 Is there something wrong with this, or should this ticket be closed?

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