ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Illegal instruction errors usually indicate that you're either using binaries that aren't compiled for your CPU, or you aren't passing the right flags to compiler, so it's producing binaries that aren't compatible with your system.

It sounds like most of the software that you're running was compiled from source, so it's unlikely that it's built for the wrong architecture.

Since you're using Indigo, you should be able to run your node in a debugger easily:

rosrun --prefix 'gdb --args' raspicam raspicam_node
run

And that will at least tell you which library contains the illegal instructions. From there, you can track down the source of that library and try to figure out why it contains illegal instructions.

Illegal instruction errors usually indicate that you're either using binaries that aren't compiled for your CPU, or you aren't passing the right flags to compiler, so it's producing binaries that aren't compatible with your system.

It sounds like most of the software that you're running was compiled from source, so it's unlikely that it's built for the wrong architecture.

Since you're using Indigo, you should be able to run your node in a debugger easily:

rosrun --prefix 'gdb -ex run --args' raspicam raspicam_node
run

And that will at least tell you which library contains the illegal instructions. From there, you can track down the source of that library and try to figure out why it contains illegal instructions.