Robotics StackExchange | Archived questions

rosrun rviz rviz segment fault

here is my detail error message:

xlib: extension "RANDR" missing on display ":1.0".
[INFO] [1464500665. 072712581]: rviz version 1.11.14
[INFO] [1464500665. 073763304]: compiled against Qt version 4.8.6
[INFO] [1464500665. 073981688]: compiled against OGRE version 1.9.0 (Ghadamon)
Segmentation fault

after I set export OPENSSL_cp=0 error messages like this:

[INFO] [1464509255. 713055269]: rviz version 1.11.14
[INFO] [1464509255. 714392812]: compiled against Qt version 4.8.6
[INFO] [1464509255. 714826350]: compiled against OGRE version 1.9.0 (Ghadamon)
[New Thread 0x6da32210 (LWP 2171)]
[New Thread 0x6d0ff210 (LWP 2172)]
[New Thread 0x6c8ff210 (LWP 2173)]
[New Thread 0x6c0ff210 (LWP 2178)]

Program received signal SIGSEGV, Segmentation fault.
0x74276f4c in glXCreateContext() from /usr/lib/arm-linux-gnueabihf/libGL.so.1

by the way, on my raspbian OS, I can not run glxgears, here is the error message:

 Error: could not get an RGB, Double-buffered visual

but I could run glxgears on my computer

 301 frames in 5.0 seconds = 60.121 FPS

OS: raspbian jessie. device: raspberry Pi 3. my computer: ubuntu 14.04 LTS, I use my computer to connect raspberrt by ssh.

that is all. anyone else could tell me how to fix this? thanks a lot!

Asked by Oakafka on 2016-05-29 00:52:05 UTC

Comments

Please format console copy/pastes with the Preformatted text button (the one with 101010 on it), as otherwise your error message is not visible. Thanks.

Asked by gvdhoorn on 2016-05-29 03:02:47 UTC

And please add some more information to your post:

  • what OS is this
  • which version
  • which version of ROS
  • how did you install it (which tutorial did you follow (if any))
  • what graphics card do you have
  • have you installed the driver for it (which version)

etc, etc.

Asked by gvdhoorn on 2016-05-29 03:03:53 UTC

my OS is raspbian, and I've installed ROS indigo on it. I install ROS follow this reference:http://wiki.ros.org/ROSberryPi/Installing%20ROS%20Indigo%20on%20Raspberry%20Pi VGA compatible controller:Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)

Asked by Oakafka on 2016-05-29 03:28:06 UTC

VGA compatible controller:Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)

I doubt the Pi has an Intel graphics controller ..

Asked by gvdhoorn on 2016-05-29 03:39:45 UTC

No, that VGA controller I've post up is my computer's

Asked by Oakafka on 2016-05-29 03:43:19 UTC

I think you'll need to clarify what system we are troubleshooting here: a Raspberry Pi with raspbian, or a normal desktop PC (with raspbian?). Please include all information in your question. It's really rather hard to help someone if they don't include enough information.

Asked by gvdhoorn on 2016-05-29 03:47:32 UTC

As to your problem: you most likely don't have accelerated OpenGL working, which is why it's crashing. Can you run glxgears?

Asked by gvdhoorn on 2016-05-29 03:48:02 UTC

I use computer to control Raspberry by ssh, but when I turn to use HDMI wire connect raspberry to screen, that segmentation fault error just gone. It is awsome. All I need is a HDMI wire. as to glxgears, I will try it out. Thanks for your comment

Asked by Oakafka on 2016-05-29 04:16:57 UTC

So basically you were trying to run RViz over SSH X-forwarding? That will not work.

If you had mentioned this in your original post, we could've helped you much sooner.

Asked by gvdhoorn on 2016-05-29 04:33:19 UTC

Answers

If you look at the install section for Indigo Arm you'll see at the end (3.11) notes for rviz: http://wiki.ros.org/indigo/Installation/UbuntuARM

Asked by K7 on 2016-05-29 03:47:30 UTC

Comments

thanks for your answer, but this solution could not fix my trouble. thank you anyway.

Asked by Oakafka on 2016-05-30 01:15:33 UTC