ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Gazebo UI crashing on launch

asked 2011-06-22 12:06:18 -0600

adesh gravatar image

updated 2014-01-28 17:09:54 -0600

ngrennan gravatar image

Hi, I am new to the ROS community. why is gazebo GUI crashing when you try simulation tutorial instruction 'roslaunch gazebo_worlds empty_world.launch' ?

The error that I get is

[gazebo-2] process has died [pid 32382, exit code -6]. log files: /home/username/.ros/log/ef5ae1c0-9d25-11e0-99ad-001d0900b3d5/gazebo-2*.log

Any idea ? bdw ..I am using ubuntu 10.04

Thanks in advance.

edit retag flag offensive close merge delete

Comments

Did you look in the logfiles? What do they say?
dornhege gravatar image dornhege  ( 2011-06-22 22:22:15 -0600 )edit
Hi Dornhege, it has created just blank (o bytes) log files. So I am not sure why is it not logging anything. One more thing that I observed it after I restart my machine, it works as a get around and I do not see a crash.
adesh gravatar image adesh  ( 2011-06-23 09:10:28 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2011-06-23 10:59:17 -0600

hsu gravatar image

updated 2011-06-23 11:00:14 -0600

Please check per Bemfica's suggestion on graphics support first. And list graphics card and driver are you using in this post.

You might want to try disabling Compiz to see if it helps.

Just double checking, but did you install diamondback version? if so, instead of roslaunching empty_world.launch, try

roslaunch gazebo_worlds debug.launch

upon gazebo crash, you should see gdb terminal in the console, type "bt"

(gdb) bt

and please post any outputs here.

thanks!

John

edit flag offensive delete link more

Comments

Thanks John.. using 'roslaunch gazebo_worlds debug.launch' seems to have solved this in diamondback. Thanks again
adesh gravatar image adesh  ( 2011-06-27 09:44:37 -0600 )edit
0

answered 2011-06-23 04:35:34 -0600

Bemfica gravatar image

Have you the sufficient graphics support?
If you don't, take a look here to run gazebo without a graphics card.

edit flag offensive delete link more

Comments

Hi Bemfica, I have installed ROS on ubuntu by following all the instructions given on ROS documentation page (diamondback/Installation/Ubuntu). The installation went through without issues.Are there any commands to check current graphics support ?
adesh gravatar image adesh  ( 2011-06-23 09:19:14 -0600 )edit
you can do 'glxinfo' and check if 'direct rendering: Yes'.
hsu gravatar image hsu  ( 2011-06-23 09:34:12 -0600 )edit
Yes I checked that direct rendering is 'Yes'. Thanks
adesh gravatar image adesh  ( 2011-06-23 10:43:46 -0600 )edit

Question Tools

Stats

Asked: 2011-06-22 12:06:18 -0600

Seen: 1,276 times

Last updated: Jun 23 '11