#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-5.0                 
      Component:  number theory     |    Resolution:                           
       Keywords:                    |   Work issues:                           
Report Upstream:  N/A               |     Reviewers:  Keshav Kini, Volker Braun
        Authors:  Michael Orlitzky  |     Merged in:                           
   Dependencies:                    |      Stopgaps:                           
------------------------------------+---------------------------------------
Changes (by vbraun):

  * status:  needs_review => positive_review
  * reviewer:  Keshav Kini => Keshav Kini, Volker Braun


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
>
> ----
>
> Apply [attachment:sage-trac_5943-doctest.patch] to
> `$SAGE_ROOT/devel/sage`.

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

 ----

 Fixed in #11741.

--

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