#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.8   
   Component:  number theory     |    Resolution:             
    Keywords:                    |   Work_issues:             
    Upstream:  N/A               |      Reviewer:  Keshav Kini
      Author:  Michael Orlitzky  |        Merged:             
Dependencies:                    |  
---------------------------------+------------------------------------------

Comment(by mjo):

 Sorry, the sys.maxint was (apparently not so) carefully chosen to prevent
 an overflow error on 32-bit systems (see #11741 and #7017). My reasoning
 was that it should also be large enough to cause the not-enough-memory
 error on any 32-bit system, but I've been outsmarted.

 It looks like Pari actually created a list of `(2^32 - 1)` primes? I think
 I still have an OpenSolaris VM somewhere I can test on.

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