#18172: Random failure in singular leakcheck
--------------------------------------+------------------------
       Reporter:  vbraun              |        Owner:
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:  sage-6.6
      Component:  packages: standard  |   Resolution:
       Keywords:  random_fail         |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------

Comment (by vbraun):

 If you think of the git log as a DAG with time stamps at nodes its fairly
 obvious what you have to do. The git trac command provides an
 implementation:
 {{{
 $ git blame src/sage/libs/singular/polynomial.pyx | grep Leaked
 fd197189 (Jeroen Demeyer                     2015-02-05 11:00:09 +0100
 178)         ....:     print("Leaked {} bytes".format(n))
 f16fdec5 (Jeroen Demeyer                     2015-02-05 15:56:43 +0100
 185)         Leaked...
 fd197189 (Jeroen Demeyer                     2015-02-05 11:00:09 +0100
 186)         Leaked 0 bytes
 fd197189 (Jeroen Demeyer                     2015-02-05 11:00:09 +0100
 187)         Leaked 0 bytes
 fd197189 (Jeroen Demeyer                     2015-02-05 11:00:09 +0100
 188)         Leaked 0 bytes
 fd197189 (Jeroen Demeyer                     2015-02-05 11:00:09 +0100
 189)         Leaked 0 bytes
 fd197189 (Jeroen Demeyer                     2015-02-05 11:00:09 +0100
 190)         Leaked 0 bytes

 $ git trac find fd197189
 Commit has been merged in 6.5.rc1.
 commit 659b644ac3d3bfe5caf6b2bb3d581c305cc94088
 Merge: 4f2c69b f16fdec
 Author: Release Manager <[email protected]>
 Date:   Sun Feb 8 10:40:30 2015 +0100

     Trac #17666: False positive for memory leak check on OSX

     False positive on OSX:
     {{{
     sage -t --long src/sage/libs/singular/polynomial.pyx
     **********************************************************************
     File "src/sage/libs/singular/polynomial.pyx", line 166, in
     sage.libs.singular.polynomial.singular_polynomial_call
     Failed example:
         leak(10000)
     Expected:
         0
     Got:
         83886080
     }}}

     URL: http://trac.sagemath.org/17666
     Reported by: vbraun
     Ticket author(s): Volker Braun, Jeroen Demeyer
     Reviewer(s): Volker Braun
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18172#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to