← Back to team overview

yade-dev team mailing list archive

Re: [Bug 681018] Re: Crash in last revision

 

Sorry, it still crashes....


python: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T*
boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T =
Interaction]: Assertion `px != 0' failed.
python: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T*
boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T =
Interaction]: Assertion `px != 0' failed.
SIGSEGV/SIGABRT handler called; gdb batch file is `SIGSEGV/SIGABRT handler
called; gdb batch file is `/tmp/yade-XQsdXX/tmp-0'
/tmp/yade-XQsdXX/tmp-0'
GNU gdb (GDB) 7.1-ubuntu
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
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.
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"
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
<http://www.gnu.org/software/gdb/bugs/>.
/tmp/yade-XQsdXX/tmp-0:1: Error in sourced command file:
ptrace: Operation not permitted.
(gdb) [Thread debugging using libthread_db enabled]
[New Thread 0x7ff80d9ee710 (LWP 32501)]
[New Thread 0x7ff80e1ef710 (LWP 32500)]
[New Thread 0x7ff8102b8710 (LWP 32499)]
[New Thread 0x7ff8118e4710 (LWP 32498)]
[New Thread 0x7ff8120e5710 (LWP 32497)]
0x00007ff83163911d 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 0x7ff8120e5710 (LWP 32497)):
#0  0x00007ff830502ff3 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 0x223c410, for file
/usr/lib/python2.6/SocketServer.py, line 224, in serve_forever
(self=<ThreadingTCPServer(RequestHandlerClass=<classobj at remote
0x21ff770>, authenticated=[], socket=<_socketobject at remote 0x21ab520>,
server_address=('0.0.0.0', 9000), cookie='kseysu',
_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 0x7ff83194b1b0>, acquire=<built-in
method acquire of thread.lock object at remote 0x7ff83194b1b0>,
_Condition__waiters=[], release=<built-in method release of thread.lock
object at remote 0x7ff83194b1b0>) at remote 0x21e24d0>) at remote
0x21b3250>) at remote 0x21a2a70>, poll_interval=<float at remote 0x1f73ad0>,
r=[], w=[], e=[]), throwflag=<value optimized out>) at
../Python/ceval.c:3750
#3  PyEval_EvalFrameEx (f=Frame 0x223c410, for file
/usr/lib/python2.6/SocketServer.py, line 224, in serve_forever
(self=<ThreadingTCPServer(RequestHandlerClass=<classobj at remote
0x21ff770>, authenticated=[], socket=<_socketobject at remote 0x21ab520>,
server_address=('0.0.0.0', 9000), cookie='kseysu',
_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 0x7ff83194b1b0>, acquire=<built-in
method acquire of thread.lock object at remote 0x7ff83194b1b0>,
_Condition__waiters=[], release=<built-in method release of thread.lock
object at remote 0x7ff83194b1b0>) at remote 0x21e24d0>) at remote
0x21b3250>) at remote 0x21a2a70>, poll_interval=<float at remote 0x1f73ad0>,
r=[], w=[], e=[]), throwflag=<value optimized out>) at
../Python/ceval.c:2412
#4  0x00000000004a9671 in PyEval_EvalCodeEx (co=0x21ad7b0, globals=<value
optimized out>, locals=<value optimized out>, args=0x2, argcount=<value
optimized out>, kws=<value optimized out>, kwcount=0, defs=0x21b35e8,
defcount=1, closure=0x0) at ../Python/ceval.c:3000
#5  0x0000000000537620 in function_call (func=<function at remote
0x21bc7d0>, arg=(<ThreadingTCPServer(RequestHandlerClass=<classobj at remote
0x21ff770>, authenticated=[], socket=<_socketobject at remote 0x21ab520>,
server_address=('0.0.0.0', 9000), cookie='kseysu',
_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 0x7ff83194b1b0>, acquire=<built-in
method acquire of thread.lock object at remote 0x7ff83194b1b0>,
_Condition__waiters=[], release=<built-in method release of thread.lock
object at remote 0x7ff83194b1b0>) at remote 0x21e24d0>) at remote
0x21b3250>) at remote 0x21a2a70>,), kw=0x0) at ../Objects/funcobject.c:524
#6  0x000000000041f0c7 in PyObject_Call (func=<function at remote
0x21bc7d0>, arg=<unknown at remote 0x7ff8120e4850>, kw=<unknown at remote
0x7ff8120e47d0>) at ../Objects/abstract.c:2492
#7  0x0000000000427dff in instancemethod_call (func=<function at remote
0x21bc7d0>, arg=(<ThreadingTCPServer(RequestHandlerClass=<classobj at remote
0x21ff770>, authenticated=[], socket=<_socketobject at remote 0x21ab520>,
server_address=('0.0.0.0', 9000), cookie='kseysu',
_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 0x7ff83194b1b0>, acquire=<built-in
method acquire of thread.lock object at remote 0x7ff83194b1b0>,
_Condition__waiters=[], release=<built-in method release of thread.lock
object at remote 0x7ff83194b1b0>) at remote 0x21e24d0>) at remote
0x21b3250>) at remote 0x21a2a70>,), kw=0x0) at ../Objects/classobject.c:2579
#8  0x000000000041f0c7 in PyObject_Call (func=<instancemethod at remote
0x2195eb0>, arg=<unknown at remote 0x7ff8120e4850>, kw=<unknown at remote
0x7ff8120e47d0>) at ../Objects/abstract.c:2492
#9  0x00000000004a1b03 in PyEval_CallObjectWithKeywords
(func=<instancemethod at remote 0x2195eb0>, arg=(), kw=<unknown at remote
0x7ff8120e47d0>) at ../Python/ceval.c:3619
#10 0x00000000004d7d3d in t_bootstrap (boot_raw=0x21db8d0) at
../Modules/threadmodule.c:425
#11 0x00007ff8316309ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#12 0x00007ff83050a70d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff8118e4710 (LWP 32498)):
#0  0x00007ff830502ff3 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 0x2255080, for file
/usr/lib/python2.6/SocketServer.py, line 224, in serve_forever
(self=<SimpleXMLRPCServer(funcs={}, RequestHandlerClass=<classobj at remote
0x21ffbf0>, socket=<_socketobject at remote 0x21f7520>, encoding=None,
server_address=('0.0.0.0', 21000), logRequests=False,
allow_dotted_names=False, instance=<InfoProvider() at remote 0x221e518>,
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 0x7ff83194b1e0>, acquire=<built-in
method acquire of thread.lock object at remote 0x7ff83194b1e0>,
_Condition__waiters=[], release=<built-in method release of thread.lock
object at remote 0x7ff83194b1e0>) at remote 0x2206990>) at remote
0x2206890>) at remote 0x21f1518>, poll_interval=<float at remote 0x1f73ad0>,
r=[], w=[], e=[]), throwflag=<value optimized out>) at
../Python/ceval.c:3750
#3  PyEval_EvalFrameEx (f=Frame 0x2255080, for file
/usr/lib/python2.6/SocketServer.py, line 224, in serve_forever
(self=<SimpleXMLRPCServer(funcs={}, RequestHandlerClass=<classobj at remote
0x21ffbf0>, socket=<_socketobject at remote 0x21f7520>, encoding=None,
server_address=('0.0.0.0', 21000), logRequests=False,
allow_dotted_names=False, instance=<InfoProvider() at remote 0x221e518>,
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 0x7ff83194b1e0>, acquire=<built-in
method acquire of thread.lock object at remote 0x7ff83194b1e0>,
_Condition__waiters=[], release=<built-in method release of thread.lock
object at remote 0x7ff83194b1e0>) at remote 0x2206990>) at remote
0x2206890>) at remote 0x21f1518>, poll_interval=<float at remote 0x1f73ad0>,
r=[], w=[], e=[]), throwflag=<value optimized out>) at
../Python/ceval.c:2412
#4  0x00000000004a9671 in PyEval_EvalCodeEx (co=0x21ad7b0, globals=<value
optimized out>, locals=<value optimized out>, args=0x2, argcount=<value
optimized out>, kws=<value optimized out>, kwcount=0, defs=0x21b35e8,
defcount=1, closure=0x0) at ../Python/ceval.c:3000
#5  0x0000000000537620 in function_call (func=<function at remote
0x21bc7d0>, arg=(<SimpleXMLRPCServer(funcs={}, RequestHandlerClass=<classobj
at remote 0x21ffbf0>, socket=<_socketobject at remote 0x21f7520>,
encoding=None, server_address=('0.0.0.0', 21000), logRequests=False,
allow_dotted_names=False, instance=<InfoProvider() at remote 0x221e518>,
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 0x7ff83194b1e0>, acquire=<built-in
method acquire of thread.lock object at remote 0x7ff83194b1e0>,
_Condition__waiters=[], release=<built-in method release of thread.lock
object at remote 0x7ff83194b1e0>) at remote 0x2206990>) at remote
0x2206890>) at remote 0x21f1518>,), kw=0x0) at ../Objects/funcobject.c:524
#6  0x000000000041f0c7 in PyObject_Call (func=<function at remote
0x21bc7d0>, arg=<unknown at remote 0x7ff8118e3850>, kw=<unknown at remote
0x7ff8118e37d0>) at ../Objects/abstract.c:2492
#7  0x0000000000427dff in instancemethod_call (func=<function at remote
0x21bc7d0>, arg=(<SimpleXMLRPCServer(funcs={}, RequestHandlerClass=<classobj
at remote 0x21ffbf0>, socket=<_socketobject at remote 0x21f7520>,
encoding=None, server_address=('0.0.0.0', 21000), logRequests=False,
allow_dotted_names=False, instance=<InfoProvider() at remote 0x221e518>,
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 0x7ff83194b1e0>, acquire=<built-in
method acquire of thread.lock object at remote 0x7ff83194b1e0>,
_Condition__waiters=[], release=<built-in method release of thread.lock
object at remote 0x7ff83194b1e0>) at remote 0x2206990>) at remote
0x2206890>) at remote 0x21f1518>,), kw=0x0) at ../Objects/classobject.c:2579
#8  0x000000000041f0c7 in PyObject_Call (func=<instancemethod at remote
0x20dde10>, arg=<unknown at remote 0x7ff8118e3850>, kw=<unknown at remote
0x7ff8118e37d0>) at ../Objects/abstract.c:2492
#9  0x00000000004a1b03 in PyEval_CallObjectWithKeywords
(func=<instancemethod at remote 0x20dde10>, arg=(), kw=<unknown at remote
0x7ff8118e37d0>) at ../Python/ceval.c:3619
#10 0x00000000004d7d3d in t_bootstrap (boot_raw=0x21dd9f0) at
../Modules/threadmodule.c:425
#11 0x00007ff8316309ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#12 0x00007ff83050a70d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff8102b8710 (LWP 32499)):
#0  0x00007ff830502ff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007ff810394e2e in ?? () from /usr/lib/libtcl8.5.so.0
#2  0x00007ff8316309ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#3  0x00007ff83050a70d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff80e1ef710 (LWP 32500)):
#0  0x00007ff8304cdfbd in __libc_waitpid (pid=32503, stat_loc=<value
optimized out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
#1  0x00007ff8304657e9 in do_system (line=<value optimized out>) at
../sysdeps/posix/system.c:149
#2  0x00007ff830465b20 in __libc_system (line=<value optimized out>) at
../sysdeps/posix/system.c:190
#3  0x00007ff82fa7a353 in crashHandler (sig=6) at core/main/pyboot.cpp:45
#4  <signal handler called>
#5  0x00007ff830457a75 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007ff83045b5c0 in *__GI_abort () at abort.c:92
#7  0x00007ff830450941 in *__GI___assert_fail (assertion=0x7ff82a968be4 "px
!= 0", file=<value optimized out>, line=418, function=0x7ff82a98ac20 "T*
boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T =
Interaction]") at assert.c:81
#8  0x00007ff82a726867 in boost::shared_ptr<Interaction>::operator->
(this=0x1a84d30) at /usr/include/boost/smart_ptr/shared_ptr.hpp:418
#9  0x00007ff82a6c6593 in InteractionContainer::requestErase
(this=0x1a84d00, id1=52, id2=73, force=true) at
/home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:87
#10 0x00007ff8190dc8c4 in InteractionLoop::action
(.omp_data_i=0x7ff80e1ee7e0) at
/home/gladk/dem/yade/cleanCompDebug/yade/pkg/common/InteractionLoop.cpp:77
#11 0x00007ff8190ccb21 in InteractionLoop::action (this=0x2cfbb80) at
/home/gladk/dem/yade/cleanCompDebug/yade/pkg/common/InteractionLoop.cpp:63
#12 0x00007ff82a6c8b3e in Scene::moveToNextTimeStep (this=0x1a8ae90) at
/home/gladk/dem/yade/cleanCompDebug/yade/core/Scene.cpp:92
#13 0x00007ff82a6cf8de in SimulationFlow::singleAction (this=0x1a0cb10) at
/home/gladk/dem/yade/cleanCompDebug/yade/core/SimulationFlow.cpp:20
#14 0x00007ff82a6d10f8 in ThreadWorker::callSingleAction (this=0x1a0cb10) at
/home/gladk/dem/yade/cleanCompDebug/yade/core/ThreadWorker.cpp:71
#15 0x00007ff82a6d05eb in ThreadRunner::call (this=0x1a8e2e0) at
/home/gladk/dem/yade/cleanCompDebug/yade/core/ThreadRunner.cpp:53
#16 0x00007ff82a6d031d in ThreadRunner::run (this=0x1a8e2e0) at
/home/gladk/dem/yade/cleanCompDebug/yade/core/ThreadRunner.cpp:27
#17 0x00007ff82a79c1e9 in boost::_mfi::mf0<void, ThreadRunner>::operator()
(this=0x2eca9d0, p=0x1a8e2e0) at
/usr/include/boost/bind/mem_fn_template.hpp:49
#18 0x00007ff82a78d504 in boost::_bi::list1<boost::_bi::value<ThreadRunner*>
>::operator()<boost::_mfi::mf0<void, ThreadRunner>, boost::_bi::list0>
(this=0x2eca9e0, f=..., a=...) at /usr/include/boost/bind/bind.hpp:246
#19 0x00007ff82a779d7b in boost::_bi::bind_t<void, boost::_mfi::mf0<void,
ThreadRunner>, boost::_bi::list1<boost::_bi::value<ThreadRunner*> >
>::operator() (this=0x2eca9d0) at
/usr/include/boost/bind/bind_template.hpp:20
#20 0x00007ff82a766532 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 0x00007ff82a837895 in boost::function0<void>::operator()
(this=0x2eca9c8) at /usr/include/boost/function/function_template.hpp:1013
#22 0x00007ff82a81044a in boost::detail::thread_data<boost::function0<void>
>::run (this=0x2eca8c0) at /usr/include/boost/thread/detail/thread.hpp:56
#23 0x00007ff82f19cb70 in thread_proxy () from
/usr/lib/libboost_thread.so.1.40.0
#24 0x00007ff8316309ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#25 0x00007ff83050a70d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff80d9ee710 (LWP 32501)):
#0  0x00007ff8304cdfbd in __libc_waitpid (pid=32502, stat_loc=<value
optimized out>, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
#1  0x00007ff8304657e9 in do_system (line=<value optimized out>) at
../sysdeps/posix/system.c:149
#2  0x00007ff830465b20 in __libc_system (line=<value optimized out>) at
../sysdeps/posix/system.c:190
#3  0x00007ff82fa7a353 in crashHandler (sig=6) at core/main/pyboot.cpp:45
#4  <signal handler called>
#5  0x00007ff830457a75 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007ff83045b5c0 in *__GI_abort () at abort.c:92
#7  0x00007ff830450941 in *__GI___assert_fail (assertion=0x7ff82a968be4 "px
!= 0", file=<value optimized out>, line=418, function=0x7ff82a98ac20 "T*
boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T =
Interaction]") at assert.c:81
#8  0x00007ff82a726867 in boost::shared_ptr<Interaction>::operator->
(this=0x1a84d30) at /usr/include/boost/smart_ptr/shared_ptr.hpp:418
#9  0x00007ff82a6c6593 in InteractionContainer::requestErase
(this=0x1a84d00, id1=1, id2=0, force=true) at
/home/gladk/dem/yade/cleanCompDebug/yade/core/InteractionContainer.cpp:87
#10 0x00007ff8190dc8c4 in InteractionLoop::action
(.omp_data_i=0x7ff80e1ee7e0) at
/home/gladk/dem/yade/cleanCompDebug/yade/pkg/common/InteractionLoop.cpp:77
#11 0x00007ff82ab7fa02 in ?? () from /usr/lib/libgomp.so.1
#12 0x00007ff8316309ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#13 0x00007ff83050a70d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff831a31700 (LWP 32494)):
#0  0x00007ff83163911d in nanosleep () at
../sysdeps/unix/syscall-template.S:82
#1  0x00007ff815e11740 in pyOmega::wait (this=0x7ff8318cc8e0) at
py/wrapper/yadeWrapper.cpp:365
#2  0x00007ff815f14093 in boost::python::detail::invoke<int, void
(pyOmega::*)(), boost::python::arg_from_python<pyOmega&> > (f=@0x1ae9ec8,
tc=...) at /usr/include/boost/python/detail/invoke.hpp:94
#3  0x00007ff815ef21f1 in boost::python::detail::caller_arity<1u>::impl<void
(pyOmega::*)(), boost::python::default_call_policies,
boost::mpl::vector2<void, pyOmega&> >::operator() (this=0x1ae9ec8,
args_=(<Omega at remote 0x7ff8318cc8a0>,)) at
/usr/include/boost/python/detail/caller.hpp:223
#4  0x00007ff815ed67df 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=0x1ae9ec0,
args=(<Omega at remote 0x7ff8318cc8a0>,), kw=0x0) at
/usr/include/boost/python/object/py_function.hpp:38
#5  0x00007ff82e189c2e in boost::python::objects::function::call(_object*,
_object*) const () from /usr/lib/libboost_python-py26.so.1.40.0
#6  0x00007ff82e189ed8 in ?? () from /usr/lib/libboost_python-py26.so.1.40.0
#7  0x00007ff82e19154b in
boost::python::handle_exception_impl(boost::function0<void>) () from
/usr/lib/libboost_python-py26.so.1.40.0
#8  0x00007ff82e1867d8 in ?? () from /usr/lib/libboost_python-py26.so.1.40.0
#9  0x000000000041f0c7 in PyObject_Call (func=<Boost.Python.function at
remote 0x1ae9ee0>, arg=<unknown at remote 0x7fff14b10570>, kw=<unknown at
remote 0x7fff14b10570>) at ../Objects/abstract.c:2492
#10 0x00000000004a7378 in do_call (f=Frame 0x22a6020, for file
testScript.py, line 92, in <module> (), throwflag=<value optimized out>) at
../Python/ceval.c:3968
#11 call_function (f=Frame 0x22a6020, for file testScript.py, line 92, in
<module> (), throwflag=<value optimized out>) at ../Python/ceval.c:3773
#12 PyEval_EvalFrameEx (f=Frame 0x22a6020, for file testScript.py, line 92,
in <module> (), throwflag=<value optimized out>) at ../Python/ceval.c:2412
#13 0x00000000004a9671 in PyEval_EvalCodeEx (co=0x21f55d0, 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=0x7fff14b10580,
globals=<unknown at remote 0x7fff14b10570>, locals=<unknown at remote
0x7fff14b10570>) at ../Python/ceval.c:541
#15 0x00000000004c9a0e in run_mod (fp=<value optimized out>,
filename=0x7ff831967b7c "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=0x7ff831967b7c
"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 0x2255740, 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 0x2255740, 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=0x7ff831953288,
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 0x2200de0>, <cell at remote
0x2200e88>, <cell at remote 0x22070c0>)) at ../Python/ceval.c:3000
#21 0x00000000004a7809 in fast_function (f=Frame 0x2255280, for file
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 167, in
userSession (qt4=False, runScript=<function at remote 0x21f0488>),
throwflag=<value optimized out>) at ../Python/ceval.c:3846
#22 call_function (f=Frame 0x2255280, for file
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 167, in
userSession (qt4=False, runScript=<function at remote 0x21f0488>),
throwflag=<value optimized out>) at ../Python/ceval.c:3771
#23 PyEval_EvalFrameEx (f=Frame 0x2255280, for file
./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug, line 167, in
userSession (qt4=False, runScript=<function at remote 0x21f0488>),
throwflag=<value optimized out>) at ../Python/ceval.c:2412
#24 0x00000000004a9671 in PyEval_EvalCodeEx (co=0x7ff831953300,
globals=<value optimized out>, locals=<value optimized out>,
args=0x7ff8319595a0, argcount=<value optimized out>, kws=<value optimized
out>, kwcount=0, defs=0x7ff8318befa8, defcount=1, closure=0x0) at
../Python/ceval.c:3000
#25 0x00000000004a7809 in fast_function (f=Frame 0x196d350, 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 0x196d350, 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 0x196d350, 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=0x7ff831953918,
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=0x7fff14b10580,
globals=<unknown at remote 0x7fff14b10570>, locals=<unknown at remote
0x7fff14b10570>) at ../Python/ceval.c:541
#30 0x00000000004c9a0e in run_mod (fp=<value optimized out>,
filename=0x7fff14b12f91
"./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug", start=<value
optimized out>, globals=<value optimized out>, locals=<value optimized out>,
closeit=1, flags=0x7fff14b11410) at ../Python/pythonrun.c:1339
#31 PyRun_FileExFlags (fp=<value optimized out>, filename=0x7fff14b12f91
"./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug", start=<value
optimized out>, globals=<value optimized out>, locals=<value optimized out>,
closeit=1, flags=0x7fff14b11410) at ../Python/pythonrun.c:1325
#32 0x00000000004c9c24 in PyRun_SimpleFileExFlags (fp=<value optimized out>,
filename=0x7fff14b12f91
"./../../../../cleanCompDebug/build/bin/yade-cleanCompDebug", closeit=1,
flags=0x7fff14b11410) at ../Python/pythonrun.c:935
#33 0x000000000041a7ff in Py_Main (argc=831819904, argv=<value optimized
out>) at ../Modules/main.c:572
#34 0x00007ff830442c4d 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=0x7fff14b11528) 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.





References