#5943: Sage 3.4.2.a0: len(prime_range(2^50)) segfaults
---------------------------+------------------------------------------------
Reporter: mabshoff | Owner: was
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.0
Component: number theory | Keywords:
---------------------------+------------------------------------------------
Description changed by mabshoff:
Old description:
> This is *bad*.
>
> Cheers,
>
> Michael
New description:
This ticket used to be about prime_pi() segfaulting, but due to a mixup of
versions used and switching to a new algorithm in 3.4.2.a0 the cause is
the following:
{{{
mabsh...@sage:/scratch/mabshoff/sage-3.4.2.final$ ./sage
----------------------------------------------------------------------
| Sage Version 3.4.2.rc0, Release Date: 2009-04-30 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
sage: len(prime_range(2^50))
/scratch/mabshoff/sage-3.4.2.final/local/bin/sage-sage: line 198: 13833
Segmentation fault sage-ipython "$@" -i
}}}
Alex's comments are about the old ticket. This problem with wrong results
has been moved to #5963.
Cheers,
Michael
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5943#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---