#20116: Random segfault in linbox charpoly
--------------------------------------+------------------------
       Reporter:  vbraun              |        Owner:
           Type:  defect              |       Status:  new
       Priority:  major               |    Milestone:  sage-7.1
      Component:  packages: standard  |   Resolution:
       Keywords:  random_fail         |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------

Comment (by jdemeyer):

 I just got this on sage-7.1.beta5, which look related:
 {{{
 **********************************************************************
 File "src/sage/schemes/elliptic_curves/ell_rational_field.py", line 3807,
 in
 
sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.congruence_number
 Failed example:
     E.congruence_number()  # long time (4s on sage.math, 2011)
 Exception raised:
     Traceback (most recent call last):
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 496, in _run
         self.compile_and_execute(example, compiler, test.globs)
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/doctest/forker.py", line 858, in compile_and_execute
         exec(compiled, globs)
       File "<doctest
 
sage.schemes.elliptic_curves.ell_rational_field.EllipticCurve_rational_field.congruence_number[8]>",
 line 1, in <module>
         E.congruence_number()  # long time (4s on sage.math, 2011)
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/schemes/elliptic_curves/ell_rational_field.py", line 3847,
 in congruence_number
         V = W.complement().cuspidal_subspace()
       File "sage/misc/cachefunc.pyx", line 1909, in
 sage.misc.cachefunc.CachedMethodCaller.__call__
 (build/cythonized/sage/misc/cachefunc.c:9941)
         w = self._instance_call(*args, **kwds)
       File "sage/misc/cachefunc.pyx", line 1785, in
 sage.misc.cachefunc.CachedMethodCaller._instance_call
 (build/cythonized/sage/misc/cachefunc.c:9408)
         return self.f(self._instance, *args, **kwds)
       File "/usr/local/src/sage-git/local/lib/python2.7/site-
 packages/sage/modular/hecke/submodule.py", line 370, in complement
         g = T.charpoly('x')
       File "sage/matrix/matrix_rational_dense.pyx", line 946, in
 sage.matrix.matrix_rational_dense.Matrix_rational_dense.charpoly
 (build/cythonized/sage/matrix/matrix_rational_dense.c:11037)
         f = A.charpoly(var, algorithm='linbox')
       File "sage/matrix/matrix_integer_dense.pyx", line 1252, in
 sage.matrix.matrix_integer_dense.Matrix_integer_dense.charpoly
 (build/cythonized/sage/matrix/matrix_integer_dense.c:12798)
         g = self._charpoly_linbox(var)
       File "sage/matrix/matrix_integer_dense.pyx", line 1305, in
 sage.matrix.matrix_integer_dense.Matrix_integer_dense._charpoly_linbox
 (build/cythonized/sage/matrix/matrix_integer_dense.c:13598)
         return self._poly_linbox(var=var, typ='charpoly')
       File "sage/matrix/matrix_integer_dense.pyx", line 1328, in
 sage.matrix.matrix_integer_dense.Matrix_integer_dense._poly_linbox
 (build/cythonized/sage/matrix/matrix_integer_dense.c:13957)
         sig_on()
     MemoryError: failed to allocate 8589934600 bytes
 **********************************************************************
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/20116#comment:4>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to