rviz Illegal instruction (core dumped)
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?
Asked by rastaxe on 2015-10-30 16:49:18 UTC
Comments
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.
Asked by William on 2015-10-30 17:21:06 UTC
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.
Asked by rastaxe on 2015-11-02 10:10:35 UTC
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/Troubleshooting#How_to_make_a_usable_bug_report (The part about a core file)
Asked by William on 2015-11-02 14:11:55 UTC
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.
Asked by rastaxe on 2015-11-06 11:58:45 UTC