← Back to team overview

yade-dev team mailing list archive

Re: [Bug 415265] Re: Script works only with linkstrategy=monolithic option

 

thread apply all bt

Thread 6 (Thread 0x7f6e43771950 (LWP 29629)):
#0  0x00007f6e650e4d69 in InteractionDispatchers::action
(.omp_data_i=0x7f6e43f71c80) at
pkg/common/Engine/MetaEngine/InteractionDispatchers.cpp:107
#1  0x00007f6e84a67c85 in ?? () from /usr/lib/libgomp.so.1
#2  0x00007f6e87caa3ba in start_thread () from /lib/libpthread.so.0
#3  0x00007f6e834f8fcd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6e43f72950 (LWP 29628)):
#0  0x00007f6e84a68b57 in ?? () from /usr/lib/libgomp.so.1
#1  0x00007f6e84a68041 in ?? () from /usr/lib/libgomp.so.1
#2  0x00007f6e650e5485 in InteractionDispatchers::action (this=0x30ac990,
rootBody=<value optimized out>) at
pkg/common/Engine/MetaEngine/InteractionDispatchers.cpp:107
#3  0x00000000004657da in MetaBody::moveToNextTimeStep (this=0x1b20c10) at
/home/gladk/dem/yade/new_build/trunk/core/MetaBody.cpp:93
#4  0x000000000046d4ba in SimulationFlow::singleAction (this=0x18b7230) at
/home/gladk/dem/yade/new_build/trunk/core/SimulationFlow.cpp:18
#5  0x00000000004647dc in ThreadRunner::call (this=<value optimized out>) at
/home/gladk/dem/yade/new_build/trunk/core/ThreadWorker.cpp:71
#6  0x0000000000464888 in ThreadRunner::run (this=0x1c4d630) at
/home/gladk/dem/yade/new_build/trunk/core/ThreadRunner.cpp:23
#7  0x00007f6e87a9f4de in boost::function0<void,
std::allocator<boost::function_base> >::operator() () from
/usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
#8  0x00007f6e87a9f162 in ?? () from
/usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
#9  0x00007f6e87caa3ba in start_thread () from /lib/libpthread.so.0
#10 0x00007f6e834f8fcd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6e45901950 (LWP 29627)):
#0  0x00007f6e834f1742 in select () from /lib/libc.so.6
#1  0x00007f6e45be4504 in ?? () from /usr/lib/libtcl8.5.so.0
#2  0x00007f6e87caa3ba in start_thread () from /lib/libpthread.so.0
#3  0x00007f6e834f8fcd in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6e48a58950 (LWP 29626)):
#0  0x00007f6e834f1742 in select () from /lib/libc.so.6
#1  0x00007f6e88006618 in ?? () from /usr/lib/libpython2.6.so.1.0
#2  0x00007f6e87fb3dbe in PyEval_EvalFrameEx () from
/usr/lib/libpython2.6.so.1.0
#3  0x00007f6e87fb59a9 in PyEval_EvalCodeEx () from
/usr/lib/libpython2.6.so.1.0
#4  0x00007f6e87f3ba3d in ?? () from /usr/lib/libpython2.6.so.1.0
#5  0x00007f6e87f0cc48 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#6  0x00007f6e87f1d3c0 in ?? () from /usr/lib/libpython2.6.so.1.0
#7  0x00007f6e87f0cc48 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#8  0x00007f6e87fae7c6 in PyEval_CallObjectWithKeywords () from
/usr/lib/libpython2.6.so.1.0
#9  0x00007f6e87fe5dfd in ?? () from /usr/lib/libpython2.6.so.1.0
#10 0x00007f6e87caa3ba in start_thread () from /lib/libpthread.so.0
#11 0x00007f6e834f8fcd in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread 0x7f6e508db950 (LWP 29625)):
#0  0x00007f6e87cb17e1 in nanosleep () from /lib/libpthread.so.0
#1  0x00007f6e4baaf1f3 in pyOmega::step (this=0x1d77930) at
py/yadeWrapper/yadeWrapper.cpp:314
#2  0x00007f6e4ba7fbb0 in
boost::python::objects::caller_py_function_impl<boost::python::detail::caller<void
(pyOmega::*)(), boost::python::default_call_policies,
boost::mpl::vector2<void, pyOmega&> > >::operator() (this=0x1bd4880,
args=<value optimized out>, kw=<value optimized out>) at
/usr/include/boost/python/detail/invoke.hpp:94
#3  0x00007f6e84ea142a in boost::python::objects::function::call () from
/usr/lib/libboost_python-gcc42-mt-1_34_1-py26.so.1.34.1
#4  0x00007f6e84ea1798 in ?? () from
/usr/lib/libboost_python-gcc42-mt-1_34_1-py26.so.1.34.1
#5  0x00007f6e87a9f4de in boost::function0<void,
std::allocator<boost::function_base> >::operator() () from
/usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
#6  0x00007f6e84ea8c08 in boost::python::handle_exception_impl () from
/usr/lib/libboost_python-gcc42-mt-1_34_1-py26.so.1.34.1
#7  0x00007f6e84e9eefe in ?? () from
/usr/lib/libboost_python-gcc42-mt-1_34_1-py26.so.1.34.1
#8  0x00007f6e87f0cc48 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#9  0x00007f6e87fb250f in PyEval_EvalFrameEx () from
/usr/lib/libpython2.6.so.1.0
#10 0x00007f6e87fb59a9 in PyEval_EvalCodeEx () from
/usr/lib/libpython2.6.so.1.0
#11 0x00007f6e87fb5ac2 in PyEval_EvalCode () from
/usr/lib/libpython2.6.so.1.0
#12 0x00007f6e87fd677a in PyRun_FileExFlags () from
/usr/lib/libpython2.6.so.1.0
#13 0x00007f6e87fad712 in ?? () from /usr/lib/libpython2.6.so.1.0
#14 0x00007f6e87fb3dbe in PyEval_EvalFrameEx () from
/usr/lib/libpython2.6.so.1.0
#15 0x00007f6e87fb59a9 in PyEval_EvalCodeEx () from
/usr/lib/libpython2.6.so.1.0
#16 0x00007f6e87fb5ac2 in PyEval_EvalCode () from
/usr/lib/libpython2.6.so.1.0
#17 0x00007f6e87fd677a in PyRun_FileExFlags () from
/usr/lib/libpython2.6.so.1.0
#18 0x00007f6e87fd6a6d in PyRun_SimpleFileExFlags () from
/usr/lib/libpython2.6.so.1.0
#19 0x00007f6e51c65deb in PythonUI::execScript (script=
        {static npos = 18446744073709551615, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data
fields>}, <No data fields>}, _M_p = 0x7f6e508dadd0 "\230k�\001"}}) at
gui/py/PythonUI.cpp:46
#20 0x00007f6e51c67673 in PythonUI::pythonSession () at
gui/py/PythonUI.cpp:99
#21 0x00007f6e87a9f4de in boost::function0<void,
std::allocator<boost::function_base> >::operator() () from
/usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
#22 0x00007f6e87a9f162 in ?? () from
/usr/lib/libboost_thread-gcc42-mt-1_34_1.so.1.34.1
#23 0x00007f6e87caa3ba in start_thread () from /lib/libpthread.so.0
#24 0x00007f6e834f8fcd in clone () from /lib/libc.so.6
#25 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6e884427f0 (LWP 29621)):
#0  0x00007f6e834f1742 in select () from /lib/libc.so.6
#1  0x00007f6e85b73add in QEventLoop::processEvents () from
/usr/lib/libqt-mt.so.3
#2  0x00007f6e85bd9ec1 in QEventLoop::enterLoop () from
/usr/lib/libqt-mt.so.3
#3  0x00007f6e85bd9d82 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#4  0x00007f6e51f7225c in QtGUI::run (this=0x18ba7d0, argc=2,
argv=0x7fff905889a8) at gui/qt3/QtGUI.cpp:79
#5  0x0000000000477463 in main (argc=2, argv=0x7fff905889a8) at
/home/gladk/dem/yade/new_build/trunk/core/yade.cpp:304
0x00007f6e650e4d69    107
I->functorCache.constLaw->go(I->interactionGeometry,I->interactionPhysics,I.get(),rootBody);




______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями

Anton Gladkyy


2009/8/18 Anton Gladky <gladky.anton@xxxxxxxxx>

> Starting program: /home/gladk/dem/yade/new_build/build/bin/yade-new_build
> pr.py
> [Thread debugging using libthread_db enabled]
> warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at
> 0000000000000158
> [New Thread 0x7fc7be1ca7f0 (LWP 29612)]
> [New Thread 0x7fc786663950 (LWP 29615)]
> Python TCP server listening on localhost:9000, auth cookie is `cesasu'
> [New Thread 0x7fc77e88f950 (LWP 29616)]
> Running script pr.py
> /usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module
> pylab was already imported from /usr/lib/python2.6/dist-packages/pylab.py,
> but /usr/lib/python2.6/dist-packages is being added to sys.path
>   from pkg_resources import resource_stream
> /usr/lib/python2.6/dist-packages/pytz/__init__.py:32: UserWarning: Module
> matplotlib was already imported from
> /usr/lib/python2.6/dist-packages/matplotlib/__init__.py, but
> /usr/lib/python2.6/dist-packages is being added to sys.path
>   from pkg_resources import resource_stream
> [New Thread 0x7fc77b738950 (LWP 29617)]
> [New Thread 0x7fc779d5a950 (LWP 29618)]
> [New Thread 0x7fc779559950 (LWP 29619)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fc779559950 (LWP 29619)]
> 0x00007fc79ae6cd69 in InteractionDispatchers::action (
>     .omp_data_i=0x7fc779d59c80)
>     at pkg/common/Engine/MetaEngine/InteractionDispatchers.cpp:107
> 107
> I->functorCache.constLaw->go(I->interactionGeometry,I->interactionPhysics,I.get(),rootBody);
> (gdb) quit
>
>
>
> ______________________________
> [ENG] Best Regards
> [GER] Mit freundlichen Grüßen
> [RUS] С наилучшими пожеланиями
> [UKR] З найкращими побажаннями
>
> Anton Gladkyy
>
>
> 2009/8/18 Václav Šmilauer <eudoxos@xxxxxxxx>
>
>>
>> $ gdb yade-trunk
>> (gdb) run /tmp/pr.py
>> [wait till it crashes]
>> (gdb) thread apply all bt
>> (gdb) quit
>>
>> --
>> Script works only with linkstrategy=monolithic option
>> https://bugs.launchpad.net/bugs/415265
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in Yet Another Dynamic Engine: New
>>
>> Bug description:
>> When I start the simulation with the attached script, I get:
>>
>> gdb 6.8-debian
>> Copyright (C) 2008 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later <
>> http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
>> and "show warranty" for details.
>> This GDB was configured as "x86_64-linux-gnu".
>> /home/gladk/.yade-current/gdb_crash_batch-pid13289:1: Error in sourced
>> command file:
>> ptrace: No such process.
>> (gdb)
>>
>> But when I do the same on installation with linkstrategy=monolithic
>> compilation option it works normally.
>>
>
>

-- 
Script works only with linkstrategy=monolithic option
https://bugs.launchpad.net/bugs/415265
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: New

Bug description:
When I start the simulation with the attached script, I get:

gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
/home/gladk/.yade-current/gdb_crash_batch-pid13289:1: Error in sourced command file:
ptrace: No such process.
(gdb)

But when I do the same on installation with linkstrategy=monolithic compilation option it works normally.



References