Hi,

more evidence that 3.1.2rc1 is severely broken on PPC platforms, most
probably due to lisp problems, give the following three failures /
maxima crashes on my PowerBook G4 (OS X 10.4):

...
sage -t -long devel/sage/sage/calculus/calculus.py
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/tmp/calculus.py",
line 4732:
    sage: f = a._fast_float_()
Expected nothing
Got:
    Maxima crashed -- automatically restarting.
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/tmp/calculus.py",
line 5802:
    sage: f+sin
Expected:
    x |--> sin(x) + x^2
Got:
    Maxima crashed -- automatically restarting.
    x |--> _tmp_
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/tmp/calculus.py",
line 2985:
    sage: f.poly(a)
Exception raised:
    Traceback (most recent call last):
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src/local/lib/
python2.5/doctest.py", line 1228, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_77[6]>", line 1, in <module>
        f.poly(a)###line 2985:
    sage: f.poly(a)
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 2778, in poly
        for i in range(1, len(G)):
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/interfaces/maxima.py", line 1729, in
__len__
        return int(P.eval('length(%s)'%self.name()))
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/interfaces/expect.py", line 942, in eval
        raise TypeError, 'error evaluating "%s":\n%s'%(code,s)
    TypeError: error evaluating "length(sage1026)":
    Error executing code in Maxima
    CODE:
        length(sage1026);
    Maxima ERROR:

    `length' called on atomic symbol sage1026


**********************************************************************
3 items had failures:
   1 of  10 in __main__.example_131
   1 of  12 in __main__.example_169
   1 of  20 in __main__.example_77
***Test Failed*** 3 failures.
For whitespace errors, see the file /Volumes/SageVolume/sage/
sage-3.1.2.rc1-src2/tmp/.doctest_calculus.py
         [932.2 s]
sage -t -long devel/sage/sage/calculus/desolvers.py
         [53.9 s]
sage -t -long devel/sage/sage/calculus/equations.py
         [328.2 s]
sage -t -long devel/sage/sage/calculus/functional.py
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/tmp/functional.py",
line 158:
    sage: integral( sin(x), x, a, b)
Expected:
    cos(a) - cos(b)
Got:
    Maxima crashed -- automatically restarting.
    sage52
**********************************************************************
1 items had failures:
   1 of  41 in __main__.example_3
***Test Failed*** 1 failures.
For whitespace errors, see the file /Volumes/SageVolume/sage/
sage-3.1.2.rc1-src2/tmp/.doctest_functional.py
         [121.8 s]
...



and


...
georg-webers-powerbook-g4:/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2
georgweber$ ./sage -t -long devel/sage/sage/functions/piecewise.py
sage -t -long devel/sage/sage/functions/piecewise.py        *** ***
Error: TIMED OUT! *** ***
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/tmp/piecewise.py",
line 754:
    sage: f.derivative()
Exception raised:
    Traceback (most recent call last):
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src/local/lib/
python2.5/doctest.py", line 1228, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_20[9]>", line 1, in <module>
        f.derivative()###line 754:
    sage: f.derivative()
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/functions/piecewise.py", line 174, in
__repr__
        self.length(),self.list())
      File "sage_object.pyx", line 92, in
sage.structure.sage_object.SageObject.__repr__ (sage/structure/
sage_object.c:1026)
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4990, in
_repr_
        return self.simplify()._repr_(simplify=False)
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 3273, in
simplify
        S =
evaled_symbolic_expression_from_maxima_string(self._maxima_init_())
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 8543, in
evaled_symbolic_expression_from_maxima_string
        return symbolic_expression_from_maxima_string(maxima.eval(x))
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 8515, in
symbolic_expression_from_maxima_string
        raise TypeError, "unable to make sense of Maxima expression
'%s' in SAGE"%s
    TypeError: unable to make sense of Maxima expression
'"__SAGE_SYNCHRO_MARKER_1867123428"' in SAGE
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/tmp/piecewise.py",
line 1060:
    sage: P = f.plot_fourier_series_partial_sum_cesaro(15,pi,-5,5)   #
long time
Exception raised:
    Traceback (most recent call last):
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src/local/lib/
python2.5/doctest.py", line 1228, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_30[11]>", line 1, in <module>
        P = f.plot_fourier_series_partial_sum_cesaro(Integer(15),pi,-
Integer(5),Integer(5))   # long time###line 1060:
    sage: P = f.plot_fourier_series_partial_sum_cesaro(15,pi,-5,5)   #
long time
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/functions/piecewise.py", line 1074, in
plot_fourier_series_partial_sum_cesaro
        yi = ff(xi)
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4661, in
__call__
        new_ops.append( op(*[args[i] for i in indices]) )
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4661, in
__call__
        new_ops.append( op(*[args[i] for i in indices]) )
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4661, in
__call__
        new_ops.append( op(*[args[i] for i in indices]) )
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4661, in
__call__
        new_ops.append( op(*[args[i] for i in indices]) )
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4661, in
__call__
        new_ops.append( op(*[args[i] for i in indices]) )
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4661, in
__call__
        new_ops.append( op(*[args[i] for i in indices]) )
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4661, in
__call__
        new_ops.append( op(*[args[i] for i in indices]) )
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4661, in
__call__
        new_ops.append( op(*[args[i] for i in indices]) )
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4657, in
__call__
        indices = filter(lambda i: i < len(args), map(variables.index,
op_vars))
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/equations.py", line 831, in
__nonzero__
        if repr(difference) == '0':
      File "sage_object.pyx", line 92, in
sage.structure.sage_object.SageObject.__repr__ (sage/structure/
sage_object.c:1026)
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 4990, in
_repr_
        return self.simplify()._repr_(simplify=False)
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 3273, in
simplify
        S =
evaled_symbolic_expression_from_maxima_string(self._maxima_init_())
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 8543, in
evaled_symbolic_expression_from_maxima_string
        return symbolic_expression_from_maxima_string(maxima.eval(x))
      File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/local/lib/
python2.5/site-packages/sage/calculus/calculus.py", line 8515, in
symbolic_expression_from_maxima_string
        raise TypeError, "unable to make sense of Maxima expression
'%s' in SAGE"%s
    TypeError: unable to make sense of Maxima expression
'"__SAGE_SYNCHRO_MARKER_720485518"' in SAGE
**********************************************************************
File "/Volumes/SageVolume/sage/sage-3.1.2.rc1-src2/tmp/piecewise.py",
line 1196:
    sage: f.fourier_series_value(20,pi)
Expected:
    -1
Got:
    Maxima crashed -- automatically restarting.
    -1
**********************************************************************
3 items had failures:
   1 of  10 in __main__.example_20
   1 of  12 in __main__.example_30
   1 of  18 in __main__.example_33
***Test Failed*** 3 failures.
For whitespace errors, see the file /Volumes/SageVolume/sage/
sage-3.1.2.rc1-src2/tmp/.doctest_piecewise.py*** *** Error: TIMED OUT!
*** ***
         [2252.8 s]
exit code: 1024

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


        sage -t -long devel/sage/sage/functions/piecewise.py
Total time for all tests: 2252.8 seconds
...



(For this last one, I observed that two lisp threads had been started
additionally to the python thread.)

Cheers,
gsw
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to