← Back to team overview

yade-dev team mailing list archive

[Bug 681018] Re: Crash in last revision

 

With r2580, I get the following crash:

But the attached at first messge script does not give this error.

Vaclav, do you need the "crashing" script, or backtrace is enough?

Thank you


python: /home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:44: bool 
 InteractionContainer::erase(int, int): Assertion `b1' failed.
SIGSEGV/SIGABRT handler called; gdb batch file is `/tmp/yade-ZOjnOf/tmp-0'
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f1ad1c9e710 (LWP 4730)]
[New Thread 0x7f1ad9b84710 (LWP 4729)]
[New Thread 0x7f1aeaada710 (LWP 4727)]
[New Thread 0x7f1aeb2db710 (LWP 4725)]
0x00007f1b0adef11d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
82	../sysdeps/unix/syscall-template.S: No such file or directory.
	in ../sysdeps/unix/syscall-template.S
No symbol "info" in current context.

Thread 5 (Thread 0x7f1aeb2db710 (LWP 4725)):
#0  0x00007f1b09cb8ff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004f7013 in select_select (self=<value optimized out>, args=<value optimized out>) at ../Modules/selectmodule.c:278
#2  0x00000000004a7c5e in call_function (f=Frame 0x7f1ae4002cd0, for file /usr/lib/python2.6/SocketServer.py, line 224, in serve_forever (self=<ThreadingTCPServer(RequestHandlerClass=<classobj at remote 0x1d13830>, authenticated=[], socket=<_socketobject at remote 0x1ca0600>, server_address=('0.0.0.0', 9000), cookie='ykuasc', _BaseServer__serving=True, _BaseServer__is_shut_down=<_Event(_Verbose__verbose=False, _Event__flag=False, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f1b0b1021b0>, acquire=<built-in method acquire of thread.lock object at remote 0x7f1b0b1021b0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f1b0b1021b0>) at remote 0x1cf5990>) at remote 0x1ca2710>) at remote 0x1cab7e8>, poll_interval=<float at remote 0x1a5c730>, r=[], w=[], e=[]), throwflag=<value optimized out>) at ../Python/ceval.c:3750
#3  PyEval_EvalFrameEx (f=Frame 0x7f1ae4002cd0, for file /usr/lib/python2.6/SocketServer.py, line 224, in serve_forever (self=<ThreadingTCPServer(RequestHandlerClass=<classobj at remote 0x1d13830>, authenticated=[], socket=<_socketobject at remote 0x1ca0600>, server_address=('0.0.0.0', 9000), cookie='ykuasc', _BaseServer__serving=True, _BaseServer__is_shut_down=<_Event(_Verbose__verbose=False, _Event__flag=False, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f1b0b1021b0>, acquire=<built-in method acquire of thread.lock object at remote 0x7f1b0b1021b0>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f1b0b1021b0>) at remote 0x1cf5990>) at remote 0x1ca2710>) at remote 0x1cab7e8>, poll_interval=<float at remote 0x1a5c730>, r=[], w=[], e=[]), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#4  0x00000000004a9671 in PyEval_EvalCodeEx (co=0x1caee40, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x1ca2aa8, defcount=1, closure=0x0) at ../Python/ceval.c:3000
#5  0x00000000004a7809 in fast_function (f=Frame 0x7f1ae4002b10, for file /home/gladk/dem/yade/cleanCompDebug/build/lib/yade-cleanCompDebug/dbg/py/yade/remote.py, line 121, in run (self=<WorkerThread(func=<instancemethod at remote 0x1c971e0>) at remote 0x1bd2a68>), throwflag=<value optimized out>) at ../Python/ceval.c:3846
#6  call_function (f=Frame 0x7f1ae4002b10, for file /home/gladk/dem/yade/cleanCompDebug/build/lib/yade-cleanCompDebug/dbg/py/yade/remote.py, line 121, in run (self=<WorkerThread(func=<instancemethod at remote 0x1c971e0>) at remote 0x1bd2a68>), throwflag=<value optimized out>) at ../Python/ceval.c:3771
#7  PyEval_EvalFrameEx (f=Frame 0x7f1ae4002b10, for file /home/gladk/dem/yade/cleanCompDebug/build/lib/yade-cleanCompDebug/dbg/py/yade/remote.py, line 121, in run (self=<WorkerThread(func=<instancemethod at remote 0x1c971e0>) at remote 0x1bd2a68>), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#8  0x00000000004a9671 in PyEval_EvalCodeEx (co=0x1cae990, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#9  0x0000000000537620 in function_call (func=<function at remote 0x1cf8cf8>, arg=(<WorkerThread(func=<instancemethod at remote 0x1c971e0>) at remote 0x1bd2a68>,), kw=0x0) at ../Objects/funcobject.c:524
#10 0x000000000041f0c7 in PyObject_Call (func=<function at remote 0x1cf8cf8>, arg=<unknown at remote 0x7f1aeb2da500>, kw=<unknown at remote 0x7f1aeb2da480>) at ../Objects/abstract.c:2492
#11 0x0000000000427dff in instancemethod_call (func=<function at remote 0x1cf8cf8>, arg=(<WorkerThread(func=<instancemethod at remote 0x1c971e0>) at remote 0x1bd2a68>,), kw=0x0) at ../Objects/classobject.c:2579
#12 0x000000000041f0c7 in PyObject_Call (func=<instancemethod at remote 0x1c97230>, arg=<unknown at remote 0x7f1aeb2da500>, kw=<unknown at remote 0x7f1aeb2da480>) at ../Objects/abstract.c:2492
#13 0x00000000004a1b03 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x1c97230>, arg=(), kw=<unknown at remote 0x7f1aeb2da480>) at ../Python/ceval.c:3619
#14 0x00007f1aeb2e5d3b in ?? () from /usr/lib/pymodules/python2.6/sip.so
#15 0x00007f1aeb58d468 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#16 0x00007f1aeb5bd630 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#17 0x00007f1b06147775 in ?? () from /usr/lib/libQtCore.so.4
#18 0x00007f1b0ade69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#19 0x00007f1b09cc070d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1aeaada710 (LWP 4727)):
#0  0x00007f1b09cb8ff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00000000004f7013 in select_select (self=<value optimized out>, args=<value optimized out>) at ../Modules/selectmodule.c:278
#2  0x00000000004a7c5e in call_function (f=Frame 0x1e0e320, for file /usr/lib/python2.6/SocketServer.py, line 224, in serve_forever (self=<SimpleXMLRPCServer(funcs={}, RequestHandlerClass=<classobj at remote 0x1d9e8f0>, socket=<_socketobject at remote 0x1d0bd70>, encoding=None, server_address=('0.0.0.0', 21000), logRequests=False, allow_dotted_names=False, instance=<InfoProvider() at remote 0x1db15a8>, allow_none=True, _BaseServer__serving=True, _BaseServer__is_shut_down=<_Event(_Verbose__verbose=False, _Event__flag=False, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f1b0b102780>, acquire=<built-in method acquire of thread.lock object at remote 0x7f1b0b102780>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f1b0b102780>) at remote 0x1db5710>) at remote 0x1db5610>) at remote 0x1db1368>, poll_interval=<float at remote 0x1a5c730>, r=[], w=[], e=[]), throwflag=<value optimized out>) at ../Python/ceval.c:3750
#3  PyEval_EvalFrameEx (f=Frame 0x1e0e320, for file /usr/lib/python2.6/SocketServer.py, line 224, in serve_forever (self=<SimpleXMLRPCServer(funcs={}, RequestHandlerClass=<classobj at remote 0x1d9e8f0>, socket=<_socketobject at remote 0x1d0bd70>, encoding=None, server_address=('0.0.0.0', 21000), logRequests=False, allow_dotted_names=False, instance=<InfoProvider() at remote 0x1db15a8>, allow_none=True, _BaseServer__serving=True, _BaseServer__is_shut_down=<_Event(_Verbose__verbose=False, _Event__flag=False, _Event__cond=<_Condition(_Verbose__verbose=False, _Condition__lock=<thread.lock at remote 0x7f1b0b102780>, acquire=<built-in method acquire of thread.lock object at remote 0x7f1b0b102780>, _Condition__waiters=[], release=<built-in method release of thread.lock object at remote 0x7f1b0b102780>) at remote 0x1db5710>) at remote 0x1db5610>) at remote 0x1db1368>, poll_interval=<float at remote 0x1a5c730>, r=[], w=[], e=[]), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#4  0x00000000004a9671 in PyEval_EvalCodeEx (co=0x1caee40, globals=<value optimized out>, locals=<value optimized out>, args=0x2, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x1ca2aa8, defcount=1, closure=0x0) at ../Python/ceval.c:3000
#5  0x00000000004a7809 in fast_function (f=Frame 0x1e09540, for file /home/gladk/dem/yade/cleanCompDebug/build/lib/yade-cleanCompDebug/dbg/py/yade/remote.py, line 121, in run (self=<WorkerThread(func=<instancemethod at remote 0x1bc0eb0>) at remote 0x1dc4050>), throwflag=<value optimized out>) at ../Python/ceval.c:3846
#6  call_function (f=Frame 0x1e09540, for file /home/gladk/dem/yade/cleanCompDebug/build/lib/yade-cleanCompDebug/dbg/py/yade/remote.py, line 121, in run (self=<WorkerThread(func=<instancemethod at remote 0x1bc0eb0>) at remote 0x1dc4050>), throwflag=<value optimized out>) at ../Python/ceval.c:3771
#7  PyEval_EvalFrameEx (f=Frame 0x1e09540, for file /home/gladk/dem/yade/cleanCompDebug/build/lib/yade-cleanCompDebug/dbg/py/yade/remote.py, line 121, in run (self=<WorkerThread(func=<instancemethod at remote 0x1bc0eb0>) at remote 0x1dc4050>), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#8  0x00000000004a9671 in PyEval_EvalCodeEx (co=0x1cae990, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#9  0x0000000000537620 in function_call (func=<function at remote 0x1d1a6e0>, arg=(<WorkerThread(func=<instancemethod at remote 0x1bc0eb0>) at remote 0x1dc4050>,), kw=0x0) at ../Objects/funcobject.c:524
#10 0x000000000041f0c7 in PyObject_Call (func=<function at remote 0x1d1a6e0>, arg=<unknown at remote 0x7f1aeaad9500>, kw=<unknown at remote 0x7f1aeaad9480>) at ../Objects/abstract.c:2492
#11 0x0000000000427dff in instancemethod_call (func=<function at remote 0x1d1a6e0>, arg=(<WorkerThread(func=<instancemethod at remote 0x1bc0eb0>) at remote 0x1dc4050>,), kw=0x0) at ../Objects/classobject.c:2579
#12 0x000000000041f0c7 in PyObject_Call (func=<instancemethod at remote 0x1c97190>, arg=<unknown at remote 0x7f1aeaad9500>, kw=<unknown at remote 0x7f1aeaad9480>) at ../Objects/abstract.c:2492
#13 0x00000000004a1b03 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x1c97190>, arg=(), kw=<unknown at remote 0x7f1aeaad9480>) at ../Python/ceval.c:3619
#14 0x00007f1aeb2e5d3b in ?? () from /usr/lib/pymodules/python2.6/sip.so
#15 0x00007f1aeb58d468 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#16 0x00007f1aeb5bd630 in ?? () from /usr/lib/pymodules/python2.6/PyQt4/QtCore.so
#17 0x00007f1b06147775 in ?? () from /usr/lib/libQtCore.so.4
#18 0x00007f1b0ade69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#19 0x00007f1b09cc070d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1ad9b84710 (LWP 4729)):
#0  0x00007f1b09cb8ff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f1ad9c60e2e in ?? () from /usr/lib/libtcl8.5.so.0
#2  0x00007f1b0ade69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f1b09cc070d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1ad1c9e710 (LWP 4730)):
#0  0x00007f1b09c83fbd in __libc_waitpid (pid=20358, stat_loc=<value optimized out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
#1  0x00007f1b09c1b7e9 in do_system (line=<value optimized out>) at ../sysdeps/posix/system.c:149
#2  0x00007f1b09c1bb20 in __libc_system (line=<value optimized out>) at ../sysdeps/posix/system.c:190
#3  0x00007f1b0b091353 in crashHandler (sig=6) at core/main/pyboot.cpp:45
#4  <signal handler called>
#5  0x00007f1b09c0da75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f1b09c115c0 in *__GI_abort () at abort.c:92
#7  0x00007f1b09c06941 in *__GI___assert_fail (assertion=0x7f1b041576b1 "b1", file=<value optimized out>, line=44, function=0x7f1b04197ce0 "bool InteractionContainer::erase(int, int)") at assert.c:81
#8  0x00007f1b03eb918d in InteractionContainer::erase (this=0x14302c0, id1=5271, id2=34763) at /home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:44
#9  0x00007f1af23fba16 in InteractionContainer::erasePending<InsertionSortCollider> (this=0x14302c0, t=..., rb=0x14334e0) at /home/gladk/dem/yade/cleanCompDebug/build-cleanCompDebug/dbg/include/yade/core/InteractionContainer.hpp:146
#10 0x00007f1af23eccc2 in InsertionSortCollider::action (this=0x7c6a510) at /home/gladk/dem/yade/cleanCompDebug/yade/pkg/common/InsertionSortCollider.cpp:242
#11 0x00007f1b03ebbffb in Scene::moveToNextTimeStep (this=0x14334e0) at /home/gladk/dem/yade/cleanCompDebug/yade/core/Scene.cpp:92
#12 0x00007f1b03ec2d9e in SimulationFlow::singleAction (this=0x13880c0) at /home/gladk/dem/yade/cleanCompDebug/yade/core/SimulationFlow.cpp:20
#13 0x00007f1b03ec45b8 in ThreadWorker::callSingleAction (this=0x13880c0) at /home/gladk/dem/yade/cleanCompDebug/yade/core/ThreadWorker.cpp:71
#14 0x00007f1b03ec3aab in ThreadRunner::call (this=0x14366e0) at /home/gladk/dem/yade/cleanCompDebug/yade/core/ThreadRunner.cpp:53
#15 0x00007f1b03ec37dd in ThreadRunner::run (this=0x14366e0) at /home/gladk/dem/yade/cleanCompDebug/yade/core/ThreadRunner.cpp:27
#16 0x00007f1b03f8d6d5 in boost::_mfi::mf0<void, ThreadRunner>::operator() (this=0x3399cd0, p=0x14366e0) at /usr/include/boost/bind/mem_fn_template.hpp:49
#17 0x00007f1b03f7ec6e in boost::_bi::list1<boost::_bi::value<ThreadRunner*> >::operator()<boost::_mfi::mf0<void, ThreadRunner>, boost::_bi::list0> (this=0x3399ce0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:246
#18 0x00007f1b03f6b635 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, ThreadRunner>, boost::_bi::list1<boost::_bi::value<ThreadRunner*> > >::operator() (this=0x3399cd0) at /usr/include/boost/bind/bind_template.hpp:20
#19 0x00007f1b03f57fba in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, ThreadRunner>, boost::_bi::list1<boost::_bi::value<ThreadRunner*> > >, void>::invoke (function_obj_ptr=...) at /usr/include/boost/function/function_template.hpp:153
#20 0x00007f1b04027bff in boost::function0<void>::operator() (this=0x3399cc8) at /usr/include/boost/function/function_template.hpp:1013
#21 0x00007f1b04000f84 in boost::detail::thread_data<boost::function0<void> >::run (this=0x3399bc0) at /usr/include/boost/thread/detail/thread.hpp:56
#22 0x00007f1b0898ab70 in thread_proxy () from /usr/lib/libboost_thread.so.1.40.0
#23 0x00007f1b0ade69ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#24 0x00007f1b09cc070d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1b0b1e7700 (LWP 4722)):
#0  0x00007f1b0adef11d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f1aef4eb4f8 in pyOmega::wait (this=0x13069c0) at py/wrapper/yadeWrapper.cpp:366
#2  0x00007f1aef5ebbc5 in boost::python::detail::invoke<int, void (pyOmega::*)(), boost::python::arg_from_python<pyOmega&> > (f=@0x1492bd8, tc=...) at /usr/include/boost/python/detail/invoke.hpp:94
#3  0x00007f1aef5ca22b in boost::python::detail::caller_arity<1u>::impl<void (pyOmega::*)(), boost::python::default_call_policies, boost::mpl::vector2<void, pyOmega&> >::operator() (this=0x1492bd8, args_=(<Omega at remote 0x1306980>,)) at /usr/include/boost/python/detail/caller.hpp:223
#4  0x00007f1aef5aefe9 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=0x1492bd0, args=(<Omega at remote 0x1306980>,), kw=0x0) at /usr/include/boost/python/object/py_function.hpp:38
#5  0x00007f1b07977c2e in boost::python::objects::function::call(_object*, _object*) const () from /usr/lib/libboost_python-py26.so.1.40.0
#6  0x00007f1b07977ed8 in ?? () from /usr/lib/libboost_python-py26.so.1.40.0
#7  0x00007f1b0797f54b in boost::python::handle_exception_impl(boost::function0<void>) () from /usr/lib/libboost_python-py26.so.1.40.0
#8  0x00007f1b079747d8 in ?? () from /usr/lib/libboost_python-py26.so.1.40.0
#9  0x000000000041f0c7 in PyObject_Call (func=<Boost.Python.function at remote 0x1492bf0>, arg=<unknown at remote 0x7fff314b8b10>, kw=<unknown at remote 0x7fff314b8b10>) at ../Objects/abstract.c:2492
#10 0x00000000004a7378 in do_call (f=Frame 0x33b2690, for file SiebMaschine.py, line 167, in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:3968
#11 call_function (f=Frame 0x33b2690, for file SiebMaschine.py, line 167, in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:3773
#12 PyEval_EvalFrameEx (f=Frame 0x33b2690, for file SiebMaschine.py, line 167, in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#13 0x00000000004a9671 in PyEval_EvalCodeEx (co=0x2d50288, globals=<value optimized out>, locals=<value optimized out>, args=0x0, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#14 0x00000000004a9742 in PyEval_EvalCode (co=0x7fff314b8b20, globals=<unknown at remote 0x7fff314b8b10>, locals=<unknown at remote 0x7fff314b8b10>) at ../Python/ceval.c:541
#15 0x00000000004c9a0e in run_mod (fp=<value optimized out>, filename=0x7f1b0b11dde4 "SiebMaschine.py", start=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>, closeit=1, flags=0x0) at ../Python/pythonrun.c:1339
#16 PyRun_FileExFlags (fp=<value optimized out>, filename=0x7f1b0b11dde4 "SiebMaschine.py", start=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>, closeit=1, flags=0x0) at ../Python/pythonrun.c:1325
#17 0x00000000004a0c37 in builtin_execfile (self=<value optimized out>, args=<value optimized out>) at ../Python/bltinmodule.c:794
#18 0x00000000004a7c5e in call_function (f=Frame 0x339e480, for file ./../../bin/yade-cleanCompDebug, line 162, in runScript (script='SiebMaschine.py'), throwflag=<value optimized out>) at ../Python/ceval.c:3750
#19 PyEval_EvalFrameEx (f=Frame 0x339e480, for file ./../../bin/yade-cleanCompDebug, line 162, in runScript (script='SiebMaschine.py'), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#20 0x00000000004a9671 in PyEval_EvalCodeEx (co=0x7f1b0b10a288, globals=<value optimized out>, locals=<value optimized out>, args=0x1, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=(<cell at remote 0x1f0bef8>, <cell at remote 0x1f0bf30>, <cell at remote 0x2010520>)) at ../Python/ceval.c:3000
#21 0x00000000004a7809 in fast_function (f=Frame 0x2221530, for file ./../../bin/yade-cleanCompDebug, line 177, in userSession (qt4=True, runScript=<function at remote 0x2d501b8>), throwflag=<value optimized out>) at ../Python/ceval.c:3846
#22 call_function (f=Frame 0x2221530, for file ./../../bin/yade-cleanCompDebug, line 177, in userSession (qt4=True, runScript=<function at remote 0x2d501b8>), throwflag=<value optimized out>) at ../Python/ceval.c:3771
#23 PyEval_EvalFrameEx (f=Frame 0x2221530, for file ./../../bin/yade-cleanCompDebug, line 177, in userSession (qt4=True, runScript=<function at remote 0x2d501b8>), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#24 0x00000000004a9671 in PyEval_EvalCodeEx (co=0x7f1b0b10a300, globals=<value optimized out>, locals=<value optimized out>, args=0x7f1b0b111330, argcount=<value optimized out>, kws=<value optimized out>, kwcount=1, defs=0x130d5a8, defcount=1, closure=0x0) at ../Python/ceval.c:3000
#25 0x00000000004a7809 in fast_function (f=Frame 0x129ff80, for file ./../../bin/yade-cleanCompDebug, line 245, in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:3846
#26 call_function (f=Frame 0x129ff80, for file ./../../bin/yade-cleanCompDebug, line 245, in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:3771
#27 PyEval_EvalFrameEx (f=Frame 0x129ff80, for file ./../../bin/yade-cleanCompDebug, line 245, in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#28 0x00000000004a9671 in PyEval_EvalCodeEx (co=0x7f1b0b10a918, globals=<value optimized out>, locals=<value optimized out>, args=0x0, argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, defs=0x0, defcount=0, closure=0x0) at ../Python/ceval.c:3000
#29 0x00000000004a9742 in PyEval_EvalCode (co=0x7fff314b8b20, globals=<unknown at remote 0x7fff314b8b10>, locals=<unknown at remote 0x7fff314b8b10>) at ../Python/ceval.c:541
#30 0x00000000004c9a0e in run_mod (fp=<value optimized out>, filename=0x7fff314bbcad "./../../bin/yade-cleanCompDebug", start=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>, closeit=1, flags=0x7fff314b99b0) at ../Python/pythonrun.c:1339
#31 PyRun_FileExFlags (fp=<value optimized out>, filename=0x7fff314bbcad "./../../bin/yade-cleanCompDebug", start=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>, closeit=1, flags=0x7fff314b99b0) at ../Python/pythonrun.c:1325
#32 0x00000000004c9c24 in PyRun_SimpleFileExFlags (fp=<value optimized out>, filename=0x7fff314bbcad "./../../bin/yade-cleanCompDebug", closeit=1, flags=0x7fff314b99b0) at ../Python/pythonrun.c:935
#33 0x000000000041a7ff in Py_Main (argc=185593984, argv=<value optimized out>) at ../Modules/main.c:572
#34 0x00007f1b09bf8c4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff314b9ac8) at libc-start.c:226
#35 0x00000000004199f9 in _start ()
Aborted

-- 
Crash in last revision
https://bugs.launchpad.net/bugs/681018
You received this bug notification because you are a member of Yade
developers, which is the registrant for Yade.

Status in Yet Another Dynamic Engine: In Progress

Bug description:
The simulation starts and after couple seconds of simulation it crashes.

The problem is in O.bodies.erase(i.id)

Test script and backtrace are attached.





References