Hi, Vaclav!
Thanks, but unfortunately I still get a crash:

****************************************************
python: 
/home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:69: 
const boost::shared_ptr<Interaction>& InteractionContainer::find(int, int): 
Assertion `b1' failed.
python: 
/home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:69: 
const boost::shared_ptr<Interaction>& InteractionContainer::find(int, int): 
Assertion `b1' failed.
SIGSEGV/SIGABRT handler called; gdb batch file is `/tmp/yade-EBaLiZ/tmp-0'
Aborted
****************************************************
And sometimes:

Welcome to Yade bzr2568 (debug build)
TCP python prompt on localhost:9000, auth cookie `seakyu'
XMLRPC info provider on http://localhost:21000
Running script testScript.py
Added 109 particles
Total number of elements is 109
python: 
/home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:69: 
const boost::shared_ptr<Interaction>& InteractionContainer::find(int, int): 
Assertion `b1' failed.
python: 
/home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:69: 
const boost::shared_ptr<Interaction>& InteractionContainer::find(int, int): 
Assertion `b1' failed.
SIGSEGV/SIGABRT handler called; gdb batch file is `SIGSEGV/SIGABRT handler 
called; gdb batch file is `/tmp/yade-NqH4Wa/tmp-0'
/tmp/yade-NqH4Wa/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/>.
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/>.
/tmp/yade-NqH4Wa/tmp-0:1: Error in sourced command file:
ptrace: Operation not permitted.
(gdb) [Thread debugging using libthread_db enabled]
[New Thread 0x7ffea0c26710 (LWP 29259)]
[New Thread 0x7ffea1427710 (LWP 29258)]
[New Thread 0x7ffea34f0710 (LWP 29257)]
[New Thread 0x7ffea4b1c710 (LWP 29256)]
[New Thread 0x7ffea531d710 (LWP 29255)]
0x00007ffec487111d 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 6 (Thread 0x7ffea531d710 (LWP 29255)):
#0  0x00007ffec373aff3 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 0x2499410, for file 
/usr/lib/python2.6/SocketServer.py, line 224, in serve_forever 
(self=<ThreadingTCPServer(RequestHandlerClass=<classobj at remote 0x245c770>, 
authenticated=[], socket=<_socketobject at remote 0x2408520>, 
server_address=('0.0.0.0', 9000), cookie='seakyu', _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 0x7ffec4b831b0>, acquire=<built-in method acquire of thread.lock 
object at remote 0x7ffec4b831b0>, _Condition__waiters=[], release=<built-in 
method release of thread.lock object at remote 0x7ffec4b831b0>) at remote 
0x243f4d0>) at remote 0x2410250>) at remote 0x23ffa70>, poll_interval=<float at 
remote 0x21d0ad0>, r=[], w=[], e=[]), throwflag=<value optimized out>) at 
../Python/ceval.c:3750
#3  PyEval_EvalFrameEx (f=Frame 0x2499410, for file 
/usr/lib/python2.6/SocketServer.py, line 224, in serve_forever 
(self=<ThreadingTCPServer(RequestHandlerClass=<classobj at remote 0x245c770>, 
authenticated=[], socket=<_socketobject at remote 0x2408520>, 
server_address=('0.0.0.0', 9000), cookie='seakyu', _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 0x7ffec4b831b0>, acquire=<built-in method acquire of thread.lock 
object at remote 0x7ffec4b831b0>, _Condition__waiters=[], release=<built-in 
method release of thread.lock object at remote 0x7ffec4b831b0>) at remote 
0x243f4d0>) at remote 0x2410250>) at remote 0x23ffa70>, poll_interval=<float at 
remote 0x21d0ad0>, r=[], w=[], e=[]), throwflag=<value optimized out>) at 
../Python/ceval.c:2412
#4  0x00000000004a9671 in PyEval_EvalCodeEx (co=0x240a7b0, globals=<value 
optimized out>, locals=<value optimized out>, args=0x2, argcount=<value 
optimized out>, kws=<value optimized out>, kwcount=0, defs=0x24105e8, 
defcount=1, closure=0x0) at ../Python/ceval.c:3000
#5  0x0000000000537620 in function_call (func=<function at remote 0x24197d0>, 
arg=(<ThreadingTCPServer(RequestHandlerClass=<classobj at remote 0x245c770>, 
authenticated=[], socket=<_socketobject at remote 0x2408520>, 
server_address=('0.0.0.0', 9000), cookie='seakyu', _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 0x7ffec4b831b0>, acquire=<built-in method acquire of thread.lock 
object at remote 0x7ffec4b831b0>, _Condition__waiters=[], release=<built-in 
method release of thread.lock object at remote 0x7ffec4b831b0>) at remote 
0x243f4d0>) at remote 0x2410250>) at remote 0x23ffa70>,), kw=0x0) at 
../Objects/funcobject.c:524
#6  0x000000000041f0c7 in PyObject_Call (func=<function at remote 0x24197d0>, 
arg=<unknown at remote 0x7ffea531c850>, kw=<unknown at remote 0x7ffea531c7d0>) 
at ../Objects/abstract.c:2492
#7  0x0000000000427dff in instancemethod_call (func=<function at remote 
0x24197d0>, arg=(<ThreadingTCPServer(RequestHandlerClass=<classobj at remote 
0x245c770>, authenticated=[], socket=<_socketobject at remote 0x2408520>, 
server_address=('0.0.0.0', 9000), cookie='seakyu', _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 0x7ffec4b831b0>, acquire=<built-in method acquire of thread.lock 
object at remote 0x7ffec4b831b0>, _Condition__waiters=[], release=<built-in 
method release of thread.lock object at remote 0x7ffec4b831b0>) at remote 
0x243f4d0>) at remote 0x2410250>) at remote 0x23ffa70>,), kw=0x0) at 
../Objects/classobject.c:2579
#8  0x000000000041f0c7 in PyObject_Call (func=<instancemethod at remote 
0x23f1f00>, arg=<unknown at remote 0x7ffea531c850>, kw=<unknown at remote 
0x7ffea531c7d0>) at ../Objects/abstract.c:2492
#9  0x00000000004a1b03 in PyEval_CallObjectWithKeywords (func=<instancemethod 
at remote 0x23f1f00>, arg=(), kw=<unknown at remote 0x7ffea531c7d0>) at 
../Python/ceval.c:3619
#10 0x00000000004d7d3d in t_bootstrap (boot_raw=0x24388d0) at 
../Modules/threadmodule.c:425
#11 0x00007ffec48689ca in start_thread (arg=<value optimized out>) at 
pthread_create.c:300
#12 0x00007ffec374270d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ffea4b1c710 (LWP 29256)):
#0  0x00007ffec373aff3 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 0x24b2080, for file 
/usr/lib/python2.6/SocketServer.py, line 224, in serve_forever 
(self=<SimpleXMLRPCServer(funcs={}, RequestHandlerClass=<classobj at remote 
0x245cbf0>, socket=<_socketobject at remote 0x2454520>, encoding=None, 
server_address=('0.0.0.0', 21000), logRequests=False, allow_dotted_names=False, 
instance=<InfoProvider() at remote 0x247b518>, 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 0x7ffec4b831e0>, acquire=<built-in method acquire of thread.lock 
object at remote 0x7ffec4b831e0>, _Condition__waiters=[], release=<built-in 
method release of thread.lock object at remote 0x7ffec4b831e0>) at remote 
0x2463990>) at remote 0x2463890>) at remote 0x244e518>, poll_interval=<float at 
remote 0x21d0ad0>, r=[], w=[], e=[]), throwflag=<value optimized out>) at 
../Python/ceval.c:3750
#3  PyEval_EvalFrameEx (f=Frame 0x24b2080, for file 
/usr/lib/python2.6/SocketServer.py, line 224, in serve_forever 
(self=<SimpleXMLRPCServer(funcs={}, RequestHandlerClass=<classobj at remote 
0x245cbf0>, socket=<_socketobject at remote 0x2454520>, encoding=None, 
server_address=('0.0.0.0', 21000), logRequests=False, allow_dotted_names=False, 
instance=<InfoProvider() at remote 0x247b518>, 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 0x7ffec4b831e0>, acquire=<built-in method acquire of thread.lock 
object at remote 0x7ffec4b831e0>, _Condition__waiters=[], release=<built-in 
method release of thread.lock object at remote 0x7ffec4b831e0>) at remote 
0x2463990>) at remote 0x2463890>) at remote 0x244e518>, poll_interval=<float at 
remote 0x21d0ad0>, r=[], w=[], e=[]), throwflag=<value optimized out>) at 
../Python/ceval.c:2412
#4  0x00000000004a9671 in PyEval_EvalCodeEx (co=0x240a7b0, globals=<value 
optimized out>, locals=<value optimized out>, args=0x2, argcount=<value 
optimized out>, kws=<value optimized out>, kwcount=0, defs=0x24105e8, 
defcount=1, closure=0x0) at ../Python/ceval.c:3000
#5  0x0000000000537620 in function_call (func=<function at remote 0x24197d0>, 
arg=(<SimpleXMLRPCServer(funcs={}, RequestHandlerClass=<classobj at remote 
0x245cbf0>, socket=<_socketobject at remote 0x2454520>, encoding=None, 
server_address=('0.0.0.0', 21000), logRequests=False, allow_dotted_names=False, 
instance=<InfoProvider() at remote 0x247b518>, 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 0x7ffec4b831e0>, acquire=<built-in method acquire of thread.lock 
object at remote 0x7ffec4b831e0>, _Condition__waiters=[], release=<built-in 
method release of thread.lock object at remote 0x7ffec4b831e0>) at remote 
0x2463990>) at remote 0x2463890>) at remote 0x244e518>,), kw=0x0) at 
../Objects/funcobject.c:524
#6  0x000000000041f0c7 in PyObject_Call (func=<function at remote 0x24197d0>, 
arg=<unknown at remote 0x7ffea4b1b850>, kw=<unknown at remote 0x7ffea4b1b7d0>) 
at ../Objects/abstract.c:2492
#7  0x0000000000427dff in instancemethod_call (func=<function at remote 
0x24197d0>, arg=(<SimpleXMLRPCServer(funcs={}, RequestHandlerClass=<classobj at 
remote 0x245cbf0>, socket=<_socketobject at remote 0x2454520>, encoding=None, 
server_address=('0.0.0.0', 21000), logRequests=False, allow_dotted_names=False, 
instance=<InfoProvider() at remote 0x247b518>, 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 0x7ffec4b831e0>, acquire=<built-in method acquire of thread.lock 
object at remote 0x7ffec4b831e0>, _Condition__waiters=[], release=<built-in 
method release of thread.lock object at remote 0x7ffec4b831e0>) at remote 
0x2463990>) at remote 0x2463890>) at remote 0x244e518>,), kw=0x0) at 
../Objects/classobject.c:2579
#8  0x000000000041f0c7 in PyObject_Call (func=<instancemethod at remote 
0x2335e60>, arg=<unknown at remote 0x7ffea4b1b850>, kw=<unknown at remote 
0x7ffea4b1b7d0>) at ../Objects/abstract.c:2492
#9  0x00000000004a1b03 in PyEval_CallObjectWithKeywords (func=<instancemethod 
at remote 0x2335e60>, arg=(), kw=<unknown at remote 0x7ffea4b1b7d0>) at 
../Python/ceval.c:3619
#10 0x00000000004d7d3d in t_bootstrap (boot_raw=0x243a9f0) at 
../Modules/threadmodule.c:425
#11 0x00007ffec48689ca in start_thread (arg=<value optimized out>) at 
pthread_create.c:300
#12 0x00007ffec374270d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffea34f0710 (LWP 29257)):
#0  0x00007ffec373aff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ffea35cce2e in ?? () from /usr/lib/libtcl8.5.so.0
#2  0x00007ffec48689ca in start_thread (arg=<value optimized out>) at 
pthread_create.c:300
#3  0x00007ffec374270d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffea1427710 (LWP 29258)):
#0  0x00007ffec3705fbd in __libc_waitpid (pid=29260, stat_loc=<value optimized 
out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
#1  0x00007ffec369d7e9 in do_system (line=<value optimized out>) at 
../sysdeps/posix/system.c:149
#2  0x00007ffec369db20 in __libc_system (line=<value optimized out>) at 
../sysdeps/posix/system.c:190
#3  0x00007ffec2cb2353 in crashHandler (sig=6) at core/main/pyboot.cpp:45
#4  <signal handler called>
#5  0x00007ffec368fa75 in *__GI_raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007ffec36935c0 in *__GI_abort () at abort.c:92
#7  0x00007ffec3688941 in *__GI___assert_fail (assertion=0x7ffebdb9fff1 "b1", 
file=<value optimized out>, line=69, function=0x7ffebdbe05a0 "const 
boost::shared_ptr<Interaction>& InteractionContainer::find(int, int)") at 
assert.c:81
#8  0x00007ffebd8fe400 in InteractionContainer::find (this=0x1ce1d00, id1=0, 
id2=1) at 
/home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:69
#9  0x00007ffebd8fe611 in InteractionContainer::requestErase (this=0x1ce1d00, 
id1=1, id2=0, force=true) at 
/home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:88
#10 0x00007ffeac3148c4 in InteractionLoop::action (.omp_data_i=0x7ffea14267e0) 
at /home/gladk/dem/yade/cleanCompDebug/yade/pkg/common/InteractionLoop.cpp:77
#11 0x00007ffeac304b21 in InteractionLoop::action (this=0x2f58b80) at 
/home/gladk/dem/yade/cleanCompDebug/yade/pkg/common/InteractionLoop.cpp:63
#12 0x00007ffebd900bc4 in Scene::moveToNextTimeStep (this=0x1ce7e90) at 
/home/gladk/dem/yade/cleanCompDebug/yade/core/Scene.cpp:92
#13 0x00007ffebd907964 in SimulationFlow::singleAction (this=0x1c69b10) at 
/home/gladk/dem/yade/cleanCompDebug/yade/core/SimulationFlow.cpp:20
#14 0x00007ffebd90917e in ThreadWorker::callSingleAction (this=0x1c69b10) at 
/home/gladk/dem/yade/cleanCompDebug/yade/core/ThreadWorker.cpp:71
#15 0x00007ffebd908671 in ThreadRunner::call (this=0x1ceb2e0) at 
/home/gladk/dem/yade/cleanCompDebug/yade/core/ThreadRunner.cpp:53
#16 0x00007ffebd9083a3 in ThreadRunner::run (this=0x1ceb2e0) at 
/home/gladk/dem/yade/cleanCompDebug/yade/core/ThreadRunner.cpp:27
#17 0x00007ffebd9d426f in boost::_mfi::mf0<void, ThreadRunner>::operator() 
(this=0x31279d0, p=0x1ceb2e0) at /usr/include/boost/bind/mem_fn_template.hpp:49
#18 0x00007ffebd9c558a in boost::_bi::list1<boost::_bi::value<ThreadRunner*> 
>::operator()<boost::_mfi::mf0<void, ThreadRunner>, boost::_bi::list0> 
(this=0x31279e0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:246
#19 0x00007ffebd9b1e01 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, 
ThreadRunner>, boost::_bi::list1<boost::_bi::value<ThreadRunner*> > 
>::operator() (this=0x31279d0) at /usr/include/boost/bind/bind_template.hpp:20
#20 0x00007ffebd99e5b8 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
#21 0x00007ffebda6f91b in boost::function0<void>::operator() (this=0x31279c8) 
at /usr/include/boost/function/function_template.hpp:1013
#22 0x00007ffebda484d0 in boost::detail::thread_data<boost::function0<void> 
>::run (this=0x31278c0) at /usr/include/boost/thread/detail/thread.hpp:56
#23 0x00007ffec23d4b70 in thread_proxy () from 
/usr/lib/libboost_thread.so.1.40.0
#24 0x00007ffec48689ca in start_thread (arg=<value optimized out>) at 
pthread_create.c:300
#25 0x00007ffec374270d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffea0c26710 (LWP 29259)):
#0  0x00007ffec3705fbd in __libc_waitpid (pid=29261, stat_loc=<value optimized 
out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
#1  0x00007ffec369d7e9 in do_system (line=<value optimized out>) at 
../sysdeps/posix/system.c:149
#2  0x00007ffec369db20 in __libc_system (line=<value optimized out>) at 
../sysdeps/posix/system.c:190
#3  0x00007ffec2cb2353 in crashHandler (sig=6) at core/main/pyboot.cpp:45
#4  <signal handler called>
#5  0x00007ffec368fa75 in *__GI_raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007ffec36935c0 in *__GI_abort () at abort.c:92
#7  0x00007ffec3688941 in *__GI___assert_fail (assertion=0x7ffebdb9fff1 "b1", 
file=<value optimized out>, line=69, function=0x7ffebdbe05a0 "const 
boost::shared_ptr<Interaction>& InteractionContainer::find(int, int)") at 
assert.c:81
#8  0x00007ffebd8fe400 in InteractionContainer::find (this=0x1ce1d00, id1=52, 
id2=73) at 
/home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:69
#9  0x00007ffebd8fe611 in InteractionContainer::requestErase (this=0x1ce1d00, 
id1=52, id2=73, force=true) at 
/home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:88
#10 0x00007ffeac3148c4 in InteractionLoop::action (.omp_data_i=0x7ffea14267e0) 
at /home/gladk/dem/yade/cleanCompDebug/yade/pkg/common/InteractionLoop.cpp:77
#11 0x00007ffebddb7a02 in ?? () from /usr/lib/libgomp.so.1
#12 0x00007ffec48689ca in start_thread (arg=<value optimized out>) at 
pthread_create.c:300
#13 0x00007ffec374270d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffec4c69700 (LWP 29252)):
#0  0x00007ffec487111d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ffea9049740 in pyOmega::wait (this=0x7ffec4b048e0) at 
py/wrapper/yadeWrapper.cpp:365
#2  0x00007ffea914c093 in boost::python::detail::invoke<int, void 
(pyOmega::*)(), boost::python::arg_from_python<pyOmega&> > (f...@0x1d46ec8, 
tc=...) at /usr/include/boost/python/detail/invoke.hpp:94
#3  0x00007ffea912a1f1 in boost::python::detail::caller_arity<1u>::impl<void 
(pyOmega::*)(), boost::python::default_call_policies, boost::mpl::vector2<void, 
pyOmega&> >::operator() (this=0x1d46ec8, args_=(<Omega at remote 
0x7ffec4b048a0>,)) at /usr/include/boost/python/detail/caller.hpp:223
#4  0x00007ffea910e7df 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=0x1d46ec0, 
args=(<Omega at remote 0x7ffec4b048a0>,), kw=0x0) at 
/usr/include/boost/python/object/py_function.hpp:38
#5  0x00007ffec13c1c2e in boost::python::objects::function::call(_object*, 
_object*) const () from /usr/lib/libboost_python-py26.so.1.40.0
#6  0x00007ffec13c1ed8 in ?? () from /usr/lib/libboost_python-py26.so.1.40.0
#7  0x00007ffec13c954b in 
boost::python::handle_exception_impl(boost::function0<void>) () from 
/usr/lib/libboost_python-py26.so.1.40.0
#8  0x00007ffec13be7d8 in ?? () from /usr/lib/libboost_python-py26.so.1.40.0
#9  0x000000000041f0c7 in PyObject_Call (func=<Boost.Python.function at remote 
0x1d46ee0>, arg=<unknown at remote 0x7ffff16cccd0>, kw=<unknown at remote 
0x7ffff16cccd0>) at ../Objects/abstract.c:2492
#10 0x00000000004a7378 in do_call (f=Frame 0x2503020, for file testScript.py, 
line 92, in <module> (), throwflag=<value optimized out>) at 
../Python/ceval.c:3968
#11 call_function (f=Frame 0x2503020, for file testScript.py, line 92, in 
<module> (), throwflag=<value optimized out>) at ../Python/ceval.c:3773
#12 PyEval_EvalFrameEx (f=Frame 0x2503020, for file testScript.py, line 92, in 
<module> (), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#13 0x00000000004a9671 in PyEval_EvalCodeEx (co=0x24525d0, 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=0x7ffff16ccce0, globals=<unknown 
at remote 0x7ffff16cccd0>, locals=<unknown at remote 0x7ffff16cccd0>) at 
../Python/ceval.c:541
#15 0x00000000004c9a0e in run_mod (fp=<value optimized out>, 
filename=0x7ffec4b9fb44 "testScript.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=0x7ffec4b9fb44 
"testScript.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 0x24b2740, for file 
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 152, in 
runScript (script='testScript.py'), throwflag=<value optimized out>) at 
../Python/ceval.c:3750
#19 PyEval_EvalFrameEx (f=Frame 0x24b2740, for file 
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 152, in 
runScript (script='testScript.py'), throwflag=<value optimized out>) at 
../Python/ceval.c:2412
#20 0x00000000004a9671 in PyEval_EvalCodeEx (co=0x7ffec4b8b288, 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 0x245eda8>, <cell at remote 0x245ee50>, <cell at 
remote 0x2464088>)) at ../Python/ceval.c:3000
#21 0x00000000004a7809 in fast_function (f=Frame 0x24b2280, for file 
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 167, in 
userSession (qt4=False, runScript=<function at remote 0x244d488>), 
throwflag=<value optimized out>) at ../Python/ceval.c:3846
#22 call_function (f=Frame 0x24b2280, for file 
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 167, in 
userSession (qt4=False, runScript=<function at remote 0x244d488>), 
throwflag=<value optimized out>) at ../Python/ceval.c:3771
#23 PyEval_EvalFrameEx (f=Frame 0x24b2280, for file 
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 167, in 
userSession (qt4=False, runScript=<function at remote 0x244d488>), 
throwflag=<value optimized out>) at ../Python/ceval.c:2412
#24 0x00000000004a9671 in PyEval_EvalCodeEx (co=0x7ffec4b8b300, globals=<value 
optimized out>, locals=<value optimized out>, args=0x7ffec4b915a0, 
argcount=<value optimized out>, kws=<value optimized out>, kwcount=0, 
defs=0x7ffec4af6fa8, defcount=1, closure=0x0) at ../Python/ceval.c:3000
#25 0x00000000004a7809 in fast_function (f=Frame 0x1bca350, for file 
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 226, in 
<module> (), throwflag=<value optimized out>) at ../Python/ceval.c:3846
#26 call_function (f=Frame 0x1bca350, for file 
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 226, in 
<module> (), throwflag=<value optimized out>) at ../Python/ceval.c:3771
#27 PyEval_EvalFrameEx (f=Frame 0x1bca350, for file 
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 226, in 
<module> (), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#28 0x00000000004a9671 in PyEval_EvalCodeEx (co=0x7ffec4b8b918, 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=0x7ffff16ccce0, globals=<unknown 
at remote 0x7ffff16cccd0>, locals=<unknown at remote 0x7ffff16cccd0>) at 
../Python/ceval.c:541
#30 0x00000000004c9a0e in run_mod (fp=<value optimized out>, 
filename=0x7ffff16cef77 
"./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug", start=<value 
optimized out>, globals=<value optimized out>, locals=<value optimized out>, 
closeit=1, flags=0x7ffff16cdb70) at ../Python/pythonrun.c:1339
#31 PyRun_FileExFlags (fp=<value optimized out>, filename=0x7ffff16cef77 
"./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug", start=<value 
optimized out>, globals=<value optimized out>, locals=<value optimized out>, 
closeit=1, flags=0x7ffff16cdb70) at ../Python/pythonrun.c:1325
#32 0x00000000004c9c24 in PyRun_SimpleFileExFlags (fp=<value optimized out>, 
filename=0x7ffff16cef77 
"./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug", closeit=1, 
flags=0x7ffff16cdb70) at ../Python/pythonrun.c:935
#33 0x000000000041a7ff in Py_Main (argc=-994570112, argv=<value optimized out>) 
at ../Modules/main.c:572
#34 0x00007ffec367ac4d 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=0x7ffff16cdc88) 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 subscribed to 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.



_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to