This has nothing to do with ROS. This is what the default signal handler for SIGILL does; print a message and abort.
-R
std::string foo;
...
ROS_INFO("Foo: %s",foo);
$ bin/my_node
Illegal instruction
This throws an illegal instruction during execution.
ROS_INFO("Foo: %s",foo.c_str());
Obviously works correctly.
Is it possible to get this to produce a better error message?
_______________________________________________
ros-users mailing list
ros-users@code.ros.org
https://code.ros.org/mailman/listinfo/ros-users