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

Gazebo UI crashing on launch

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

adesh gravatar image

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

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


Did you look in the logfiles? What do they say?
dornhege gravatar image dornhege  ( 2011-06-22 22:22:15 -0500 )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 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

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

hsu gravatar image

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

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.



edit flag offensive delete link more


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 -0500 )edit

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

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


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 -0500 )edit
you can do 'glxinfo' and check if 'direct rendering: Yes'.
hsu gravatar image hsu  ( 2011-06-23 09:34:12 -0500 )edit
Yes I checked that direct rendering is 'Yes'. Thanks
adesh gravatar image adesh  ( 2011-06-23 10:43:46 -0500 )edit

Question Tools


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

Seen: 1,054 times

Last updated: Jun 23 '11