[ros-users] Illegal instruction

Rob Wheeler wheeler at willowgarage.com
Fri Jun 18 16:22:11 UTC 2010


This has nothing to do with ROS.  This is what the default signal handler
for SIGILL does; print a message and abort.

-R

On Fri, Jun 18, 2010 at 9:07 AM, Bill Morris <morris at ee.ccny.cuny.edu>wrote:

> 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 at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100618/1218cfb5/attachment-0003.html>


More information about the ros-users mailing list