Re: [ros-users] Illegal instruction

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Rob Wheeler
Date:  
To: morris, ros-users
Subject: Re: [ros-users] Illegal instruction
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 <>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
>
> https://code.ros.org/mailman/listinfo/ros-users
>