Changes between Initial Version and Version 1 of Ticket #23925


Ignore:
Timestamp:
Sep 25, 2017, 7:14:42 AM (5 years ago)
Author:
jdemeyer
Comment:

In the future, please remember to POST TRACEBACKS such that people reading this ticket can actually understand what it is about.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23925

    • Property Component changed from symbolics to cython
  • Ticket #23925 – Description

    initial v1  
    22{{{
    33sage: (x/(x^1431655765-1)).normalize()
     4sage: (x/(x^1431655765-1)).normalize()
    45Exception (FLINT memory_manager). Unable to allocate memory.
     6------------------------------------------------------------------------
     7/usr/local/src/sage-config/local/lib/python2.7/site-packages/cysignals/signals.so(+0x5db8)[0x7fb72168edb8]
     8/usr/local/src/sage-config/local/lib/python2.7/site-packages/cysignals/signals.so(+0x5e25)[0x7fb72168ee25]
     9/usr/local/src/sage-config/local/lib/python2.7/site-packages/cysignals/signals.so(+0x8aba)[0x7fb721691aba]
     10/lib64/libpthread.so.0(+0x10860)[0x7fb729d0a860]
     11/lib64/libc.so.6(gsignal+0x37)[0x7fb729299fa7]
     12/lib64/libc.so.6(abort+0x16a)[0x7fb72929b30a]
     13/usr/local/src/sage-config/local/lib/libflint.so.13(+0x4d104)[0x7fb7148a1104]
     14/usr/local/src/sage-config/local/lib/libflint.so.13(+0x534b8)[0x7fb7148a74b8]
     15/usr/local/src/sage-config/local/lib/libflint.so.13(fmpz_poly_init2+0x3d)[0x7fb7148f435d]
     16/usr/local/src/sage-config/local/lib/libfactory-4.1.0.so(_Z24convertFacCF2Fmpz_poly_tP16fmpz_poly_structRK13CanonicalForm+0x3a)[0x7fb68fe03b7a]
     17/usr/local/src/sage-config/local/lib/libfactory-4.1.0.so(_Z17gcd_univar_flint0RK13CanonicalFormS1_+0x37)[0x7fb68fd4f817]
     18/usr/local/src/sage-config/local/lib/libfactory-4.1.0.so(_Z11subResGCD_0RK13CanonicalFormS1_+0x611)[0x7fb68fd4f5d1]
     19/usr/local/src/sage-config/local/lib/libfactory-4.1.0.so(_Z8gcd_polyRK13CanonicalFormS1_+0x128)[0x7fb68fcfaaa8]
     20/usr/local/src/sage-config/local/lib/libfactory-4.1.0.so(_Z3gcdRK13CanonicalFormS1_+0x3c4)[0x7fb68fcfb0d4]
     21/usr/local/src/sage-config/local/lib/libpynac.so.14(_ZN5GiNaC7gcdpolyERKNS_2exES2_PS0_S3_b+0x259)[0x7fb68915f159]
     22/usr/local/src/sage-config/local/lib/libpynac.so.14(+0x120312)[0x7fb689176312]
     23/usr/local/src/sage-config/local/lib/libpynac.so.14(_ZNK5GiNaC3mul6normalERSt3mapINS_2exES2_NS_10ex_is_lessESaISt4pairIKS2_S2_EEES9_ij+0x417)[0x7fb689177587]
     24/usr/local/src/sage-config/local/lib/libpynac.so.14(_ZNK5GiNaC2ex6normalEibb+0xd6)[0x7fb689171446]
     25/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/symbolic/expression.so(+0xd4daf)[0x7fb688da5daf]
     26/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x84cc)[0x7fb72a028cdc]
     27/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x830)[0x7fb72a02a4e0]
     28/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7fb72a02a609]
     29/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x82cc)[0x7fb72a028adc]
     30/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x830)[0x7fb72a02a4e0]
     31/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7f9f)[0x7fb72a0287af]
     32/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x830)[0x7fb72a02a4e0]
     33/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7f9f)[0x7fb72a0287af]
     34/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x830)[0x7fb72a02a4e0]
     35/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7f9f)[0x7fb72a0287af]
     36/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x830)[0x7fb72a02a4e0]
     37/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7f9f)[0x7fb72a0287af]
     38/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x830)[0x7fb72a02a4e0]
     39/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7f9f)[0x7fb72a0287af]
     40/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x830)[0x7fb72a02a4e0]
     41/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7f9f)[0x7fb72a0287af]
     42/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x830)[0x7fb72a02a4e0]
     43/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7fb72a02a609]
     44/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyRun_FileExFlags+0x8a)[0x7fb72a04f4da]
     45/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(PyRun_SimpleFileExFlags+0xe7)[0x7fb72a050a17]
     46/usr/local/src/sage-config/local/lib/libpython2.7.so.1.0(Py_Main+0xc7a)[0x7fb72a06760a]
     47/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fb7292876a5]
     48python(_start+0x29)[0x400769]
     49------------------------------------------------------------------------
     50Unhandled SIGABRT: An abort() occurred.
     51This probably occurred because a *compiled* module has a bug
     52in it and is not properly wrapped with sig_on(), sig_off().
     53Python will now terminate.
     54------------------------------------------------------------------------
    555}}}
    656while the underlying operation only aborts with `RuntimeError`:
    757{{{
    858gcd(x,x^1431655765-1)
     59Exception (FLINT memory_manager). Unable to allocate memory.
     60---------------------------------------------------------------------------
     61RuntimeError                              Traceback (most recent call last)
     62<ipython-input-1-468b83720c84> in <module>()
     63      1
     64----> 2 gcd(x,x**Integer(1431655765)-Integer(1))
     65
     66/usr/local/src/sage-config/local/lib/python2.7/site-packages/sage/arith/misc.pyc in gcd(a, b, **kwargs)
     67   1576     if b is not None:
     68   1577         try:
     69-> 1578             return a.gcd(b, **kwargs)
     70   1579         except (AttributeError, TypeError):
     71   1580             pass
     72
     73/usr/local/src/sage-config/src/sage/symbolic/expression.pyx in sage.symbolic.expression.Expression.gcd (build/cythonized/sage/symbolic/expression.cpp:41191)()
     74   6888         cdef Expression r = self.coerce_in(b)
     75   6889         cdef GEx x
     76-> 6890         sig_on()
     77   6891         try:
     78   6892             x = g_gcd(self._gobj, r._gobj)
     79
     80RuntimeError: Aborted
    981}}}
    1082