#14058: Weakly reference binary operation codomains
-----------------------------------+----------------------------------------
       Reporter:  robertwb         |         Owner:  rlm         
           Type:  enhancement      |        Status:  needs_review
       Priority:  major            |     Milestone:  sage-5.7    
      Component:  memleak          |    Resolution:              
       Keywords:                   |   Work issues:              
Report Upstream:  N/A              |     Reviewers:              
        Authors:  Robert Bradshaw  |     Merged in:              
   Dependencies:  #12313           |      Stopgaps:              
-----------------------------------+----------------------------------------

Comment (by SimonKing):

 I did make ptest with a highly patched debug version of sage-5.7.beta2.
 Hence, I have the dependencies of #13864 and additionally #9107, #12951,
 #13916. #12313, #14058 and #13370 applied.

 In the parallel test, I got two timeouts, namely in
 devel/sage/doc/en/bordeaux_2008/birds_other.rst and
 devel/sage/sage/interfaces/maxima.py. Running the former individually is
 long, but fine:
 {{{
 sage -t -force_lib "devel/sage/doc/en/bordeaux_2008/birds_other.rst"
          [339.8 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 339.9 seconds
 }}}

 However, the maxima test is suspicious. I ran it twice individually. The
 first time I got an evil error:
 {{{
 sage -t -force_lib "devel/sage/sage/interfaces/maxima.py"
 **********************************************************************
 File
 "/home/simon/SAGE/debug/sage-5.7.beta2/devel/sage/sage/interfaces/maxima.py",
 line 355:
     sage: T.tlimit('n','inf')
 Exception raised:
     Traceback (most recent call last):
       File
 "/home/simon/SAGE/debug/sage-5.7.beta2/local/bin/ncadoctest.py", line
 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File
 "/home/simon/SAGE/debug/sage-5.7.beta2/local/bin/sagedoctest.py", line 38,
 in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File
 "/home/simon/SAGE/debug/sage-5.7.beta2/local/bin/ncadoctest.py", line
 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_0[77]>", line 1, in <module>
         T.tlimit('n','inf')###line 355:
     sage: T.tlimit('n','inf')
       File "/home/simon/SAGE/debug/sage-5.7.beta2/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 588, in __call__
         return self._obj.parent().function_call(self._name, [self._obj] +
 list(args), kwds)
       File "/home/simon/SAGE/debug/sage-5.7.beta2/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 489, in function_call
         return self.new(s)
       File "/home/simon/SAGE/debug/sage-5.7.beta2/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 264, in new
         return self(code)
       File "/home/simon/SAGE/debug/sage-5.7.beta2/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 199, in __call__
         return cls(self, x, name=name)
       File "/home/simon/SAGE/debug/sage-5.7.beta2/local/lib/python/site-
 packages/sage/interfaces/maxima.py", line 1153, in __init__
         ExpectElement.__init__(self, parent, value, is_name=False,
 name=None)
       File "/home/simon/SAGE/debug/sage-5.7.beta2/local/lib/python/site-
 packages/sage/interfaces/expect.py", line 1280, in __init__
         self._name = parent._create(value, name=name)
       File "/home/simon/SAGE/debug/sage-5.7.beta2/local/lib/python/site-
 packages/sage/interfaces/interface.py", line 389, in _create
         self.set(name, value)
       File "/home/simon/SAGE/debug/sage-5.7.beta2/local/lib/python/site-
 packages/sage/interfaces/maxima.py", line 998, in set
         self._eval_line(cmd)
       File "/home/simon/SAGE/debug/sage-5.7.beta2/local/lib/python/site-
 packages/sage/interfaces/maxima.py", line 754, in _eval_line
         assert line_echo.strip() == line.strip()
     AssertionError
 **********************************************************************
 1 items had failures:
    1 of  97 in __main__.example_0
 ***Test Failed*** 1 failures.
 For whitespace errors, see the file /home/simon/.sage//tmp/maxima_30383.py
          [13.7 s]

 ----------------------------------------------------------------------
 The following tests failed:


         sage -t -force_lib "devel/sage/sage/interfaces/maxima.py"
 Total time for all tests: 13.8 seconds
 }}}
 and the second time I got
 {{{
 sage -t -force_lib "devel/sage/sage/interfaces/maxima.py"
          [12.6 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 12.6 seconds
 }}}

 Is the error something we should worry about? Or is that likely to be the
 effect of a neutrino hitting my laptop?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14058#comment:24>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to