#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):

 This is indeed really strange and I agree that it should be dealt with
 somewhere else.
 I'll post a slightly modified "reviewer" patch taking care of this issue
 by replacing the (useless) call to list in front by set.

 To summarize our investigation of yesterday, we confirmed the bug when
 running "make ptest" on :
 - one computer running either beta10
 - two other computers running beta11
 - one other computer running beta10 and beta11
 All of them are quite or very recent Intel amd64 cpus running more or less
 recent Debian or Ubuntu OSes.
 On all these computers the test passed when running "sage -t
 devel/sage/sage/structure/coerce_dict.pyx".
 I also checked on some of them that running "sage -tp 0 devel/sage/sage"
 does NOT raise the error, so the culprit is to be found in some magic of
 the "ptest" target.

 Finally I could also NOT reproduce the bug on a last corei7 (Lenovo X220)
 computer running beta11 (but there I had some doctest failure in
 fast_digraph.pyx or something like that, not sure of the name).

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