Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I'm not sure what's going on, but using RDF is causing Sage on Sage Math Cloud to crash.

If I use RR, the result is correct up to precision errors.

I'm not sure what's going on, but using RDF is causing Sage on Sage Math Cloud to crash.

If I use RR, the result is correct up to precision errors.

Here is the error with RDF. This happens after the polynomial ring is declared.

Error in lines 3-3
Traceback (most recent call last):
  File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 905, in execute
    exec compile(block+'\n', '', 'single') in namespace, locals
  File "", line 1, in <module>
  File "sage/matrix/matrix_mpolynomial_dense.pyx", line 552, in sage.matrix.matrix_mpolynomial_dense.Matrix_mpolynomial_dense.determinant (/projects/sage/sage-6.10/src/build/cythonized/sage/matrix/matrix_mpolynomial_dense.cpp:6979)
    d = R(self._singular_().det())
  File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 632, in __call__
    return self._obj.parent().function_call(self._name, [self._obj] + list(args), kwds)
  File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 533, in function_call
    return self.new(s)
  File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/sage/interfaces/interface.py", line 308, in new
    return self(code)
  File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/sage/interfaces/singular.py", line 788, in __call__
    return SingularElement(self, type, x, False)
  File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/sage/interfaces/singular.py", line 1266, in __init__
    raise_(TypeError, x, sys.exc_info()[2])
  File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/sage/interfaces/singular.py", line 1261, in __init__
    self._name = parent._create( value, type)
  File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/sage/interfaces/singular.py", line 749, in _create
    self.set(type, name, value)
  File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/sage/interfaces/singular.py", line 692, in set
    self.eval(cmd)
  File "/projects/sage/sage-6.10/local/lib/python2.7/site-packages/sage/interfaces/singular.py", line 650, in eval
    raise SingularError('Singular error:\n%s'%s)
TypeError: Singular error:
Singular : signal 11 (v: 3170):
current line:>><<
Segment fault/Bus error occurred at 7f7b2025d3b0 because of 10206 (r:296942099)
please inform the authors
trying to restart...

The code actually works fine if you avoid declaring the polynomial ring.