rviz Illegal instruction (core dumped)

asked 2015-10-30 16:49:18 -0500

rastaxe gravatar image

updated 2015-11-02 09:13:04 -0500

I cannot start rviz, everytime I got an Illegal Instruction (Hydro). I know there is a similar thread, but it is related on a virtual machine. On the contrary, my machine is a laptop with Intel i5 and nvidia GT540M (Ubuntu 12.04.5 64 bit). I have installed Bumblebee. Direct rendering is enabled and glxgears works and also optirun glxgears. Video details:

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev ff)

Running gdb on rviz I have:

Program received signal SIGILL, Illegal instruction. 0x00007fffd4fc3045 in ?? ()  from /usr/lib/x86_64-linux-gnu/qt4/plugins/imageformats/libqgif.so

I really do not know how to solve this problem. Anyone can help?

edit retag flag offensive close merge delete



This isn't enough information to solve the problem there's no telling why the illegal instruction happened without a core dump or a traceback from gdb. I'd also suggest upgrading to the latest LTS of Ubuntu (Trusty) and ROS (Jade), since Hydro is now EOL.

William gravatar image William  ( 2015-10-30 17:21:06 -0500 )edit

I have dual boot on this machine. With Ubuntu 14.04 and Indigo everything is ok. However, I have 3 robots with 12.04 and Hydro and I cannot upgrade since we are conducting experiments. I want just to set up another PC to control our robots. I edit my question with additional information from gdb.

rastaxe gravatar image rastaxe  ( 2015-11-02 09:10:35 -0500 )edit

Like I said, without a core dump or a traceback from gdb, the origin of the error can probably not be determined. See: http://wiki.ros.org/rviz/Troubleshoot... (The part about a core file)

William gravatar image William  ( 2015-11-02 13:11:55 -0500 )edit

I think I found the problem, It was Qt related. My computer had a dual boot (Ubuntu 12 and 14) with a shared /home folder. This caused segfault on the Qt side in Ubuntu 12.

rastaxe gravatar image rastaxe  ( 2015-11-06 10:58:45 -0500 )edit