Edit: pr2_gazebo crashes during launch (Ubuntu 10.04 Lucid, Fuerte) [closed]

asked 2012-07-17 13:34:00 -0500

c_radialline gravatar image

updated 2014-01-28 17:13:03 -0500

ngrennan gravatar image

Edit: I did a fresh install of Precise and Precise/Fuerte runs gazebo without error. However, Lucid/Fuerte still does not run properly.

Original: I have recently changed my system from Diamondback/Natty to Fuerte/Lucid. In order to do so, I did a fresh install of Lucid (Diamondback/Natty) and successfully downloaded ros-fuerte-desktop-full and ros-fuerte-pr2-simulator. I have also done rosmake pr2_gazebo and rosmake gazebo_worlds with no failures.

Here is my problem: On Fuerte/Lucid, when I launch gazebo (using roslaunch pr2_gazebo pr2_empty_world.launch), the window appears for maybe 4 seconds, then crashes, accompanied by the error message listed below.

Error [Transport.cc:102] Unable to get topic namespaces in [50] tries. Error [Node.cc:68] No namespace found terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui: line 2: 8292 Aborted rospack find gazebo/gazebo/bin/gzclient -g rospack find gazebo/lib/libgazebo_ros_paths_plugin.so [gazebo_gui-2] process has died [pid 8289, exit code 134, cmd /opt/ros/fuerte/stacks/simulator_gazebo/gazebo/scripts/gui __name:=gazebo_gui __log:=/home/rin/.ros/log/60d6655c-d062-11e1-b0c9-58b035ffc45e/gazebo_gui-2.log]. log file: /home/rin/.ros/log/60d6655c-d062-11e1-b0c9-58b035ffc45e/gazebo_gui-2*.log

My attempts at solution:

rin@sherlock:~$ roscd ~/.ros/log/60d6655c-d062-11e1-b0c9-58b035ffc45e/ roscd: No such package/stack '/home/rin/.ros/log/60d6655c-d062-11e1-b0c9-58b035ffc45e/'

However, I can get to /home/rin/.ros/log/60d6655c-d062-11e1-b0c9-58b035ffc45e/ manually. Furthermore, /home/rin/.ros/log/60d6655c-d062-11e1-b0c9-58b035ffc45e/gazebo_gui-2*.log doesn't exist.

I deleted the log files, (everything in /home/rin/.ros/log/) as recommended by my advisor, and this did not help.

In my previous configuration (Diamondback/Natty), I had no trouble launching and running gazebo, I only mention this because I don't think this error is a problem with my graphics card.

I searched through ROS answers, and to my understanding problems of this nature have not been answered. Please inform me if you need more information to solve this puzzle, I will gladly provide it. Thank you for your time.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-04-18 08:04:50

Comments

I had a problem of RVIZ crashing on ubuntu 10.04 which worked fine previously. I changed to 12.04 and had no problems..

sai gravatar image sai  ( 2012-09-18 22:29:33 -0500 )edit