#12313: Fix yet another memory leak caused by caching of coercion data
-------------------------------------------------+--------------------------
       Reporter:  SimonKing                      |         Owner:  rlm         
           Type:  defect                         |        Status:  needs_review
       Priority:  major                          |     Milestone:  sage-5.0    
      Component:  memleak                        |    Resolution:              
       Keywords:  coercion weak dictionary       |   Work issues:              
Report Upstream:  N/A                            |     Reviewers:              
        Authors:  Simon King, Jean-Pierre Flori  |     Merged in:              
   Dependencies:  #715, #11599                   |      Stopgaps:              
-------------------------------------------------+--------------------------

Comment (by jpflori):

 I was wrong about the error itself. On my machine (amd64, last (quite old)
 ubuntu LTS, sage-5.0.beta7, several tickets applied...), I indeed get one
 error in coerce_dict.pyx when running "make ptest", but not when running
 only "./sage -t -force_lib -long
 devel/sage/sage/structure/coerce_dict.pyx" and could reproduce this
 behavior several times.

 The failing doctest is

 {{{
     sage: list(sorted(L.iteritems()))
 Expected:
     [(-15, 3), ('a', 1), ('ab', 2)]
 Got:
     [('a', 1), ('ab', 2), (-15, 3)]

 }}}
 I'm currently building sage-5.0.beta10 on the same computer and a
 different one to check that it's not only something I messed up with.

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