#5943: Sage 3.4.2.a0: len(prime_range(2^50)) segfaults
-----------------------------+----------------------------------------------
   Reporter:  mabshoff       |          Owner:  was             
       Type:  defect         |         Status:  positive_review 
   Priority:  critical       |      Milestone:  sage-4.8        
  Component:  number theory  |       Keywords:                  
Work_issues:                 |       Upstream:  N/A             
   Reviewer:  Keshav Kini    |         Author:  Michael Orlitzky
     Merged:                 |   Dependencies:                  
-----------------------------+----------------------------------------------
Changes (by newvalueoldvalue):

  * status:  needs_review => positive_review
  * reviewer:  => Keshav Kini
  * author:  => Michael Orlitzky


Old 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:
> {{{
> mabshoff@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

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:
 {{{
 mabshoff@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

 ----

 Apply [attachment:sage-trac_5943-doctest.patch] to
 `$SAGE_ROOT/devel/sage`.

--

Comment:

 Sounds good to me.

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