Robotics StackExchange | Archived questions

When I run "rosrun rviz rviz"after run"roscore",I got this"Segmentation fault (core dump)",and I try to run "gdb -ex run /opt/ros/indigo/lib/rviz/rviz",and then I got a lot of things like this

ImportError:No module named 'libstdcxx' 
[Thread debugging using libthread_db enabled] 
using host libthread_db library "/lib/arm-linux-gnueabinf/libthread_db.so.1".
Cannot access memory at address 0x0

Program received signal SIGILL,Illegal instruction.
0x74dfa208 in ?? () from /lib/arm-linux-gnueabihf/libcrypto.so.1.0.0
(gdb)

Asked by xuminzero on 2015-12-22 03:07:32 UTC

Comments

Answers

What ROS version are you using? What processor do you have? In case of having an ARM you have to install this ROS version:

http://wiki.ros.org/indigo/Installation/UbuntuARM

Have you tried just running "rviz"?

Asked by solosito on 2015-12-23 06:19:55 UTC

Comments

I am using ros-indigo, and I installed ros-indigo on raspberry, I don't know there is any relationship with this

Asked by xuminzero on 2015-12-27 07:34:17 UTC

I just went through this exact error on an ODROID C1+ (armhf architecture) and immediately got help from the ROS devs.

The bug is here, and the fix is easy--just download and install the latest libpcre3 package (8.35 or higher).

https://github.com/ros/robot_model/issues/110

Asked by dchang0 on 2015-12-24 01:10:11 UTC

Comments

I installed ros-indigo on raspberry pi. Is the error related to this?

Asked by xuminzero on 2015-12-27 07:44:37 UTC

Yes, both the ODROID C1+ and Raspberry Pi use ARM processors, so the ROS software packages would be the same for both.

Asked by dchang0 on 2015-12-29 20:58:52 UTC

Thank you. I have changed the ros-indigo-ros-base to the ros-indigo-desktop and now I can use the rviz.

Asked by xuminzero on 2015-12-30 09:01:01 UTC

@xuminzero could you tell me ho to fix it on raspberry pi 2?

Asked by YingHua on 2016-01-10 04:57:29 UTC

you can use the ros-indigo-desktop,maybe it will be solved.

Asked by xuminzero on 2016-01-21 03:42:13 UTC

@xuminzero do you mean reinstall ROS on raspberry pi 2?

Asked by YingHua on 2016-01-21 04:26:17 UTC

yeah,I am using this version,and I can use the rviz

Asked by xuminzero on 2016-01-21 07:39:44 UTC