Quantcast

OpenRAVE crashes after mulitple orEnvLoadScene's

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

OpenRAVE crashes after mulitple orEnvLoadScene's

Raquel Phillips
OpenRAVE crashes when I call the Octave/MATLAB function orEnvLoadScene(file, 1) multiple times during one session of OpenRAVE. This is the message that OpenRAVE displays:

[environment.cpp:430] resetting raveviewer
[../KinBody.cpp:1339] Successfully computed joint hierarchy for number of joints 5!
[../KinBody.cpp:1461] forward kinematic type 3 not supported
[../KinBody.cpp:1461] forward kinematic type 3 not supported
[../KinBody.cpp:1461] forward kinematic type 3 not supported
[../KinBody.cpp:1461] forward kinematic type 3 not supported
[basecontrollers.cpp:40] failed to open traj_LHR.txt
openrave(464,0x3827400) malloc: *** vm_allocate(size=73605120) failed (error code=3)
openrave(464,0x3827400) malloc: *** error: can't allocate region
openrave(464,0x3827400) malloc: *** set a breakpoint in szone_error to debug
terminate called after throwing an instance of 'std::bad_alloc'
  what():  St9bad_alloc
Abort trap



Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OpenRAVE crashes after mulitple orEnvLoadScene's

Rosen Diankov-2
can you run openrave in gdb, then print the stack once it crashes (type bt)

rosen,

2008/7/29 Raquel Phillips <[hidden email]>:

> OpenRAVE crashes when I call the Octave/MATLAB function orEnvLoadScene(file,
> 1) multiple times during one session of OpenRAVE. This is the message that
> OpenRAVE displays:
>
> [environment.cpp:430] resetting raveviewer
> [../KinBody.cpp:1339] Successfully computed joint hierarchy for number of
> joints 5!
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [basecontrollers.cpp:40] failed to open traj_LHR.txt
> openrave(464,0x3827400) malloc: *** vm_allocate(size=73605120) failed (error
> code=3)
> openrave(464,0x3827400) malloc: *** error: can't allocate region
> openrave(464,0x3827400) malloc: *** set a breakpoint in szone_error to debug
> terminate called after throwing an instance of 'std::bad_alloc'
>   what():  St9bad_alloc
> Abort trap
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users
>
>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OpenRAVE crashes after mulitple orEnvLoadScene's

Raquel Phillips
Here's what the stack looked like after it crashed:

(gdb) bt
#0  0x90037b57 in mach_wait_until ()
#1  0x9003799e in nanosleep ()
#2  0x9003a222 in usleep ()
#3  0x0000328c in main (argc=1610612736, argv=0x2c000c0c) at main.cpp:275

By the way, this is on a Mac OS 10.4.11 machine.

-Raquel

On Tue, Jul 29, 2008 at 11:53 AM, Rosen Diankov <[hidden email]> wrote:
can you run openrave in gdb, then print the stack once it crashes (type bt)

rosen,

2008/7/29 Raquel Phillips <[hidden email]>:
> OpenRAVE crashes when I call the Octave/MATLAB function orEnvLoadScene(file,
> 1) multiple times during one session of OpenRAVE. This is the message that
> OpenRAVE displays:
>
> [environment.cpp:430] resetting raveviewer
> [../KinBody.cpp:1339] Successfully computed joint hierarchy for number of
> joints 5!
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [basecontrollers.cpp:40] failed to open traj_LHR.txt
> openrave(464,0x3827400) malloc: *** vm_allocate(size=73605120) failed (error
> code=3)
> openrave(464,0x3827400) malloc: *** error: can't allocate region
> openrave(464,0x3827400) malloc: *** set a breakpoint in szone_error to debug
> terminate called after throwing an instance of 'std::bad_alloc'
>   what():  St9bad_alloc
> Abort trap
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users
>
>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: OpenRAVE crashes after mulitple orEnvLoadScene's

Rosen Diankov-2
In reply to this post by Raquel Phillips
The problem is now fixed, it was a memory leak with PQP not releasing
resources when Reset is called.

rosen,

2008/7/29 Raquel Phillips <[hidden email]>:

> OpenRAVE crashes when I call the Octave/MATLAB function orEnvLoadScene(file,
> 1) multiple times during one session of OpenRAVE. This is the message that
> OpenRAVE displays:
>
> [environment.cpp:430] resetting raveviewer
> [../KinBody.cpp:1339] Successfully computed joint hierarchy for number of
> joints 5!
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [../KinBody.cpp:1461] forward kinematic type 3 not supported
> [basecontrollers.cpp:40] failed to open traj_LHR.txt
> openrave(464,0x3827400) malloc: *** vm_allocate(size=73605120) failed (error
> code=3)
> openrave(464,0x3827400) malloc: *** error: can't allocate region
> openrave(464,0x3827400) malloc: *** set a breakpoint in szone_error to debug
> terminate called after throwing an instance of 'std::bad_alloc'
>   what():  St9bad_alloc
> Abort trap
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Openrave-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/openrave-users
>
>


Loading...