Re: [Yade-dev] [Bug 681018] Re: Crash in last revision

2010-12-02 Thread Anton Gladky
Ok, thanks, fixed in r2585.

Anton


2010/12/2 Václav Šmilauer e...@doxos.eu

 Sorry, the last one is not related to this bug. You can fix it easily,
 right? There is obviously a loop over bodies in VTKRecorder which does
 not check if(!b) continue; (to handle erased bodies).

 ** Changed in: yade
   Status: In Progress = Fix Released

 --
 You received this bug notification because you are a direct subscriber
 of the bug.
 https://bugs.launchpad.net/bugs/681018

 Title:
  Crash in last revision

 Status in Yet Another Dynamic Engine:
   Fix Released

 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.

 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/yade/+bug/681018/+subscribe


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

Title:
  Crash in last revision

Status in Yet Another Dynamic Engine:
  Fix Released

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


Re: [Yade-dev] [Bug 681018] Re: Crash in last revision

2010-12-01 Thread Anton Gladky
Thanks a lot, Vaclav! All is ok now.

Is 0.60 branch affected by this bug?

Anton


2010/12/1 Václav Šmilauer e...@doxos.eu

 r2581 should fix that (reopen if not).

 ** Changed in: yade
   Status: In Progress = Fix Released

 --
 Crash in last revision
 https://bugs.launchpad.net/bugs/681018
 You received this bug notification because you are a direct subscriber
 of the bug.

 Status in Yet Another Dynamic Engine: Fix Released

 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.

 To unsubscribe from this bug, go to:
 https://bugs.launchpad.net/yade/+bug/681018/+subscribe


-- 
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: Fix Released

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


Re: [Yade-dev] [Bug 681018] Re: Crash in last revision

2010-11-25 Thread Klaus Thoeni
Hi Guys!

I just had a try with the new version, and finally, it works fine for me as
well.

Thanks

Klaus

On Thu, Nov 25, 2010 at 10:15 AM, Anton Gladky
681...@bugs.launchpad.netwrote:

 Thanks a lot, Vaclav! All is Ok now.

 Anton

 --
 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-devhttps://launchpad.net/%7Eyade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : 
 https://launchpad.net/~yade-devhttps://launchpad.net/%7Eyade-dev
 More help   : https://help.launchpad.net/ListHelp


-- 
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


Re: [Yade-dev] [Bug 681018] Re: Crash in last revision

2010-11-24 Thread Anton Gladky
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)]
0x7ff83163911d 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  0x7ff830502ff3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x004f7013 in select_select (self=value optimized out,
args=value optimized out) at ../Modules/selectmodule.c:278
#2  0x004a7c5e 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  0x004a9671 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  0x00537620 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