Home | Tutorials | Wiki | Issues
Ask Your Question
1

Gazebo GUI crashed immediately on start!

asked 2013-03-06 11:01:28 -0500

updated 2013-03-20 15:11:12 -0500

Hi :)

after i install gazebo on ubuntu 11.10 with Tarball. after install, i trying to type "gazebo" on terminal:

mohsen@mohsen-ThinkPad-R500:~$ gazebo

Gazebo multi-robot simulator, version 1.4.0

Copyright (C) 2013 Open Source Robotics Foundation.

Released under the Apache 2 License.

http://gazebosim.org

Gazebo multi-robot simulator, version 1.4.0

Copyright (C) 2013 Open Source Robotics Foundation.

Released under the Apache 2 License.

http://gazebosim.org

Msg Waiting for master.Msg Waiting for master

Msg Connected to gazebo master @ http://127.0.0.1:11345

Msg Publicized address: 192.168.14.139

Msg Connected to gazebo master @ http://127.0.0.1:11345

Msg Publicized address: 192.168.14.139

(gazebo:5099): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

mohsen@mohsen-ThinkPad-R500:~$

my gazebo gui show and exit immedietly without any error or warning!

what am i shoud to0 do0? :)

===============================================================

after i installed "gtk2-engines-pixbuf" by synaptic, it didn,t any error or warning but my gazebo shut down immediately after call!

gmohsen@mohsen-ThinkPad-R500:~$ gazebo

Gazebo multi-robot simulator, version 1.4.0

Copyright (C) 2013 Open Source Robotics Foundation.

Released under the Apache 2 License.

http://gazebosim.org

Gazebo multi-robot simulator, version 1.4.0

Copyright (C) 2013 Open Source Robotics Foundation.

Released under the Apache 2 License.

http://gazebosim.org

Msg Waiting for master.Msg Waiting for master

Msg Connected to gazebo master @ http://127.0.0.1:11345

Msg Publicized address: 192.168.1.51

Msg Connected to gazebo master @ http://127.0.0.1:11345

Msg Publicized address: 192.168.1.51

mohsen@mohsen-ThinkPad-R500:~$

===============================================================

* i re install ubuntu ,but 12.04 64bit! and try to0 install pre-compile binary gazebo with "synaptic" but still i have this problem! :( *

===============================================================

mohsen@mohsen-ThinkPad-R500:~$ gdb --args gzserver empty.world

GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
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.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/gzserver...Reading symbols from /usr/lib/debug/usr/bin/gzserver-1.5.0...done.
done.

(gdb) run

Starting program: /usr/bin/gzserver empty.world
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe5289700 (LWP 2511)]
Gazebo multi-robot simulator, version 1.5.0
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[New Thread 0x7fffe4a88700 (LWP 2512)]
[New Thread 0x7fffdffff700 (LWP 2513)]
Msg Waiting for master
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 192.168.1.52
[New Thread 0x7fffd6a68700 (LWP 2515)]
[New Thread 0x7fffd6267700 (LWP 2516)]
[New Thread 0x7fffd5866700 (LWP 2517)]
[New Thread 0x7fffd4c43700 (LWP 2518)]
[New Thread 0x7fffc3fff700 (LWP 2522)]
[New Thread 0x7fffc37fe700 (LWP ...
(more)
edit retag flag offensive close merge delete

Comments

1

Can you provide a backtrace on gzclient. See here: http://gazebosim.org/wiki/Help

nkoenig gravatar imagenkoenig ( 2013-03-07 20:21:53 -0500 )edit

i did it, my error added to0 my question.

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-14 06:57:18 -0500 )edit

after the program segfaults in GDB, please enter bt then hit enter, and post the results. The bt command produces the backtrace information.

nkoenig gravatar imagenkoenig ( 2013-03-19 11:47:51 -0500 )edit
1

Can you try removing the fglrx video driver? I think there is an open source alternative which may work better.

nkoenig gravatar imagenkoenig ( 2013-03-19 17:30:53 -0500 )edit

oh! it's work! @};- thank you :)

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-19 18:33:50 -0500 )edit
1

it is known problem with HD4xxx : https://bitbucket.org/osrf/gazebo/issue/132/startup-error-on-some-gpus#comment-2784443 The crash is cased by broken sky shaders.

konradb3 gravatar imagekonradb3 ( 2013-04-13 03:16:02 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted
0

answered 2013-03-20 11:55:11 -0500

updated 2013-03-20 15:08:17 -0500

i found answre!

sudo apt-get --purge remove fglrx*

sudo apt-get install build-essential cdbs fakeroot dh-make debhelper
debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0
dh-modaliases

sudo apt-get remove --purge fglrx-updates fglrx-amdcccle-update

for more detials:

http://askubuntu.com/questions/159586/how-to-install-radeon-open-source-driver

https://help.ubuntu.com/community/RadeonHD

https://help.ubuntu.com/community/RadeonDriver

edit flag offensive delete link more

Comments

If anybody finds this and tries to run the last line, try fglrx-amdcccle-updates instead

4dahalibut gravatar image4dahalibut ( 2014-07-11 14:49:47 -0500 )edit
1

answered 2013-03-06 11:25:46 -0500

logicalguy gravatar image

Try installing the package gtk2-engines-pixbuf

edit flag offensive delete link more

Comments

Question edited. i did it but i have same bug!

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-10 03:46:29 -0500 )edit
1

answered 2013-03-17 17:44:00 -0500

nkoenig gravatar image

It looks like you're running a ThinkPad, which may not have GLX and DRI capabilities:

http://answers.gazebosim.org/question...

edit flag offensive delete link more

Comments

mohsen@mohsen-ThinkPad-R500:~$ glxgears 294 frames in 5.0 seconds = 58.702 FPS

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-18 17:03:55 -0500 )edit
1

post the output of: glxinfo | grep render

logicalguy gravatar imagelogicalguy ( 2013-03-18 17:50:46 -0500 )edit

mohsen@mohsen-ThinkPad-R500:~$ glxinfo | grep render direct rendering: Yes OpenGL renderer string: ATI Mobility Radeon HD 3400 Series GL_NV_conditional_render, GL_NV_copy_depth_to_color, GL_NV_copy_image,

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-18 18:47:02 -0500 )edit

mohsen@mohsen-ThinkPad-R500:~$ gdb gzclient GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. 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. ---Type <return> to continue, or q <return> to quit---run There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-19 05:03:04 -0500 )edit
0

answered 2013-03-18 17:41:06 -0500

nkoenig gravatar image

Can you run gzserver and gzclient in gdb, and post backtraces?

edit flag offensive delete link more

Comments

mohsen@mohsen-ThinkPad-R500:~$ gzclient >> Gazebo multi-robot simulator, version 1.5.0 Copyright (C) 2013 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org

Msg Waiting for master Msg Connected to gazebo master @ http://127.0.0.1:11345 Msg Publicized address: 192.168.1.52 Segmentation fault (core dumped)

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-18 19:42:12 -0500 )edit

error box >> The crashed program seems to use third-party or local libraries: /opt/ros/fuerte/lib/libconsole_bridge.so /opt/ros/fuerte/lib/liburdfdom_world.so /opt/ros/fuerte/lib/liburdfdom_model.so It is highly recommended to check if the problem persists without those first.

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-18 19:44:08 -0500 )edit

crashh title >> gzclient-1.5.0 crashed with SIGSEGV

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-18 19:45:27 -0500 )edit

mohsen@mohsen-ThinkPad-R500:~$ gdb gzclient (...some thing here,,,) Program received signal SIGSEGV, Segmentation fault. 0x00007fffd2aae307 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-19 04:42:39 -0500 )edit

you can see full details in updated question upon. what am i should to0 do0 :-s

Mohsen Hk gravatar imageMohsen Hk ( 2013-03-19 04:46:15 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2013-03-06 11:01:28 -0500

Seen: 4,881 times

Last updated: Mar 20 '13