Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix crash in symengine.tests.test_sage.test_sage_conversions #240

Closed
jcfr opened this issue Aug 3, 2018 · 2 comments
Closed

Fix crash in symengine.tests.test_sage.test_sage_conversions #240

jcfr opened this issue Aug 3, 2018 · 2 comments

Comments

@jcfr
Copy link
Contributor

jcfr commented Aug 3, 2018

Config:

BUILD_TYPE="Release"
WITH_SAGE="yes"
WITH_MPC="yes"
PYTHON_VERSION="2.7"

Compiler:

$ gcc --version
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4

Reported failure copied from https://travis-ci.org/symengine/symengine.py/jobs/411619561:

symengine.tests.test_sage.test_sage_conversions ... /home/travis/our_usr/lib/python2.7/site-packages/nose/case.py:197: DeprecationWarning: Calling function('f',x) is deprecated. Use function('f')(x) instead.
See http://trac.sagemath.org/17447 for details.
  self.test(*self.arg)
------------------------------------------------------------------------
/home/travis/our_usr/lib/python2.7/site-packages/cysignals/signals.so(+0x6da5)[0x7f65e336dda5]
/home/travis/our_usr/lib/python2.7/site-packages/cysignals/signals.so(+0x6e4f)[0x7f65e336de4f]
/home/travis/our_usr/lib/python2.7/site-packages/cysignals/signals.so(+0x9bd5)[0x7f65e3370bd5]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f65ee1e6330]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_RichCompare+0x49)[0x7f65ee489de9]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_RichCompareBool+0x2d)[0x7f65ee48a13d]
/home/travis/build/symengine/symengine.py/symengine/lib/symengine_wrapper.so(_ZNK9SymEngine8PyNumber7is_zeroEv+0x1a)[0x7f65e800eaba]
/home/travis/build/symengine/symengine.py/symengine/lib/symengine_wrapper.so(_ZN9SymEngine3Add13dict_add_termERSt13unordered_mapINS_3RCPIKNS_5BasicEEENS2_IKNS_6NumberEEENS_12RCPBasicHashENS_13RCPBasicKeyEqESaISt4pairIKS5_S8_EEERKS8_RSC_+0x40)[0x7f65e8011760]
/home/travis/build/symengine/symengine.py/symengine/lib/symengine_wrapper.so(_ZN9SymEngine3addERKNS_3RCPIKNS_5BasicEEES5_+0x224)[0x7f65e8011fa4]
/home/travis/build/symengine/symengine.py/symengine/lib/symengine_wrapper.so(+0x33af77)[0x7f65e7f91f77]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x4a8c2)[0x7f65ee43e8c2]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyNumber_Add+0x20)[0x7f65ee43ee80]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x189f)[0x7f65ee4e9dcf]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x793a1)[0x7f65ee46d3a1]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6267)[0x7f65ee4ee797]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x8665)[0x7f65ee4f0b95]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x794a8)[0x7f65ee46d4a8]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6267)[0x7f65ee4ee797]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x793a1)[0x7f65ee46d3a1]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x5c4bf)[0x7f65ee4504bf]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0xb675c)[0x7f65ee4aa75c]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a24)[0x7f65ee4eef54]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x8665)[0x7f65ee4f0b95]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x794a8)[0x7f65ee46d4a8]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6267)[0x7f65ee4ee797]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x793a1)[0x7f65ee46d3a1]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x5c4bf)[0x7f65ee4504bf]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0xb675c)[0x7f65ee4aa75c]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a24)[0x7f65ee4eef54]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x794a8)[0x7f65ee46d4a8]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6267)[0x7f65ee4ee797]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x793a1)[0x7f65ee46d3a1]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x5c4bf)[0x7f65ee4504bf]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0xb675c)[0x7f65ee4aa75c]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a24)[0x7f65ee4eef54]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x794a8)[0x7f65ee46d4a8]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6267)[0x7f65ee4ee797]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x793a1)[0x7f65ee46d3a1]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x5c4bf)[0x7f65ee4504bf]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0xb675c)[0x7f65ee4aa75c]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a24)[0x7f65ee4eef54]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x794a8)[0x7f65ee46d4a8]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6267)[0x7f65ee4ee797]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x793a1)[0x7f65ee46d3a1]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x5c4bf)[0x7f65ee4504bf]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0xb675c)[0x7f65ee4aa75c]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a24)[0x7f65ee4eef54]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x794a8)[0x7f65ee46d4a8]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6267)[0x7f65ee4ee797]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x793a1)[0x7f65ee46d3a1]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x5c4bf)[0x7f65ee4504bf]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0xb675c)[0x7f65ee4aa75c]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a24)[0x7f65ee4eef54]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x794a8)[0x7f65ee46d4a8]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6267)[0x7f65ee4ee797]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x793a1)[0x7f65ee46d3a1]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x5c4bf)[0x7f65ee4504bf]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0xb675c)[0x7f65ee4aa75c]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a24)[0x7f65ee4eef54]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x8665)[0x7f65ee4f0b95]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x8665)[0x7f65ee4f0b95]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x794a8)[0x7f65ee46d4a8]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x5c4bf)[0x7f65ee4504bf]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6267)[0x7f65ee4ee797]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x793a1)[0x7f65ee46d3a1]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0x5c4bf)[0x7f65ee4504bf]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0xb6320)[0x7f65ee4aa320]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(+0xacdd8)[0x7f65ee4a0dd8]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyObject_Call+0x53)[0x7f65ee43dd23]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6a24)[0x7f65ee4eef54]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x89e)[0x7f65ee4f1a2e]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7f65ee4f1b42]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyRun_FileExFlags+0xb0)[0x7f65ee512050]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(PyRun_SimpleFileExFlags+0xef)[0x7f65ee51222f]
/home/travis/our_usr/bin/../lib/libpython2.7.so.1.0(Py_Main+0xca4)[0x7f65ee527b74]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f65ed721f45]
/home/travis/our_usr/bin/python[0x400649]
------------------------------------------------------------------------
Attaching gdb to process id 5488.
Cannot find gdb installed
GDB is not installed.
Install gdb for enhanced tracebacks.
------------------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.
@certik
Copy link
Contributor

certik commented Aug 3, 2018

Yes, I think that #239 is a duplicate of this.

@jcfr
Copy link
Contributor Author

jcfr commented Aug 3, 2018

Closing. Duplicate

@jcfr jcfr closed this as completed Aug 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants