Error with boost libraries

Asked by Deepak

Hi,

I had run in to an error while using the energy tracker, for Law2_ScGeom6D_CohFrictPhys_CohesionMoment, and it is sytem specific (the same script works on other computers) and I believe it's got something to do with the boost libraries :

------------------------------------error log------------------------------------------------------------------------------------------
python:22706 terminated with signal 11 at PC=7efc6cdc2510 SP=7efc613c5538. Backtrace:
/kareline/data/deepak/y2/yade_2017/install/lib64/yade-2017.01a/libyade.so(_ZN41Law2_ScGeom6D_CohFrictPhys_CohesionMoment18bendingElastEnergyEv+0x10)[0x7efc6cdc2510]
/kareline/data/deepak/y2/yade_2017/install/lib64/yade-2017.01a/libyade.so(_ZN5boost6python7objects23caller_py_function_implINS0_6detail6callerIM41Law2_ScGeom6D_CohFrictPhys_CohesionMomentFdvENS0_21default_call_policiesENS_3mpl7vector2IdRS5_EEEEEclEP7_objectSG_+0x36)[0x7efc6cdca4f6]
/kareline/data/deepak/yade/mylibs/boostlib/lib/libboost_python.so.1.63.0(_ZNK5boost6python7objects8function4callEP7_objectS4_+0xca)[0x7efc6e68bf3a]
/kareline/data/deepak/yade/mylibs/boostlib/lib/libboost_python.so.1.63.0(+0x292a8)[0x7efc6e68c2a8]
/kareline/data/deepak/yade/mylibs/boostlib/lib/libboost_python.so.1.63.0(_ZN5boost6python21handle_exception_implENS_9function0IvEE+0x53)[0x7efc6e6966d3]
/kareline/data/deepak/yade/mylibs/boostlib/lib/libboost_python.so.1.63.0(+0x27bb3)[0x7efc6e68abb3]
/kareline/data/deepak/yade/mylibs/pyinst/lib/libpython2.7.so.1.0(PyObject_Call+0x43)[0x7efc7c4ec193]
/kareline/data/deepak/yade/mylibs/pyinst/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x1d51)[0x7efc7c59eeb1]
/kareline/data/deepak/yade/mylibs/pyinst/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x482e)[0x7efc7c5a198e]
/kareline/data/deepak/yade/mylibs/pyinst/lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x482e)[0x7efc7c5a198e]
/kareline/data/deepak/yade/mylibs/pyinst/lib/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x80d)[0x7efc7c5a322d]
/kareline/data/deepak/yade/mylibs/pyinst/lib/libpython2.7.so.1.0(PyEval_EvalCode+0x32)[0x7efc7c5a3362]
/kareline/data/deepak/yade/mylibs/pyinst/lib/libpython2.7.so.1.0(PyRun_StringFlags+0x79)[0x7efc7c5cdbd9]
/kareline/data/deepak/yade/mylibs/pyinst/lib/libpython2.7.so.1.0(PyRun_SimpleStringFlags+0x3b)[0x7efc7c5cf82b]
/kareline/data/deepak/y2/yade_2017/install/lib64/yade-2017.01a/libyade.so(_Z11pyRunStringRKSs+0x1b)[0x7efc6d359e1b]
/kareline/data/deepak/y2/yade_2017/install/lib64/yade-2017.01a/libyade.so(_ZN5Scene18moveToNextTimeStepEv+0x41f)[0x7efc6ca4072f]
/kareline/data/deepak/y2/yade_2017/install/lib64/yade-2017.01a/libyade.so(_ZN14SimulationFlow12singleActionEv+0x33)[0x7efc6ca47d83]
/kareline/data/deepak/y2/yade_2017/install/lib64/yade-2017.01a/libyade.so(_ZN12ThreadWorker16callSingleActionEv+0x4e)[0x7efc6ca4ca4e]
/kareline/data/deepak/y2/yade_2017/install/lib64/yade-2017.01a/libyade.so(_ZN12ThreadRunner4callEv+0x4a)[0x7efc6ca4a11a]
/kareline/data/deepak/y2/yade_2017/install/lib64/yade-2017.01a/libyade.so(_ZN12ThreadRunner3runEv+0x50)[0x7efc6ca4a300]
/kareline/data/deepak/y2/yade_2017/install/lib64/yade-2017.01a/libyade.so(_ZN5boost6detail11thread_dataINS_9function0IvEEE3runEv+0x20)[0x7efc6ca4c0f0]
/kareline/data/deepak/yade/mylibs/boostlib/lib/libboost_thread.so.1.63.0(+0x11889)[0x7efc6b12a889]
/lib64/libpthread.so.0[0x3c63607aa1]
/lib64/libc.so.6(clone+0x6d)[0x3c62ee893d]
---------------------------------------------------------------------------------------------------------------------------------------------------------

I had compiled Yade (both 2016 and 2017 versions), with boost 1.63 and python 2.7 (explicitly added --with-python=python2.7 and python root directory while building boost).
The kernel version is 2.6.32-573, CentOs.
 I do understand it's more specific to boost rather than Yade, but did anyone encounter such an error before? (google didn't help much!)

P.S : the scipt runs when I don't use the energy tracker.

Thanks and Regards.

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,
signal 11 should mean segmentation fault, so probably it IS yade issue. Could you please provide the script you use? and also the complate version name of Yade you use
thanks
Jan

Can you help with this problem?

Provide an answer of your own, or ask Deepak for more information if necessary.

To post a message you must log in.