gzclient Segfault Breaking Gazebo User Interface
Hello Community,
I am having trouble with my Gazebo user interface. When I first boot my computer, Gazebo works fine, and will load a blank map when I ask it to. However, if I ever restart Gazebo for any reason (close out and start again, etc.), the user interface glitches out. Instead of seeing a gridded map as usual, the gazebo screen appears black. I can still insert models and delete models and edit the environment, I just can't see what I'm doing.
When I run dmesg in the terminal, I get this line that I suspect is the root of the problem:
[ 605.908616] gzclient[2329]: segfault at 4 ip b6adada9 sp bff9b8a0 error 4 in libQtGui.so.4.8.1[b64d9000+aaa000]
EDIT:
I tried logging out and logging back into my user, then running gazebo, and got this error:
Gazebo multi-robot simulator, version 1.9.5
Copyright (C) 2014 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
Gazebo multi-robot simulator, version 1.9.5
Copyright (C) 2014 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: 134.197.42.190
Msg Connected to gazebo master @ http://127.0.0.1:11345
Msg Publicized address: 134.197.42.190
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 137 (DRI2)
Minor opcode of failed request: 3 (DRI2CreateDrawable)
Resource id in failed request: 0x3400002
Serial number of failed request: 28
Current serial number in output stream: 30
gzclient: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr<T>::operator->() const [with T = gazebo::transport::Connection]: Assertion `px != 0' failed.
Can anyone tell me what the problem is and how to fix it, or at least give me some leads on how to solve this?
Thanks, skyguyjedi