[ros-users] rosconsole segfault in xenomai-linked application

Josh Faust jfaust at willowgarage.com
Wed Sep 29 17:50:30 UTC 2010


>
> is it OK if the FilterBase * pointer is null? (maybe it means use no
> filter?).


Yes, that's fine.

That backtrace is odd... the line of code it's crashing on is:
 fprintf(f, "%s\n", ss.str().c_str());

The only thing I can think of that might crash it is if somehow the string
being passed is not null terminated, or if there's some memory corruption or
something.

Can you run the app in valgrind and see if it finds anything?

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100929/c18cacd7/attachment-0003.html>


More information about the ros-users mailing list