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

Adolfo Rodríguez Tsouroukdissian adolfo.rodriguez at pal-robotics.com
Thu Sep 30 09:54:41 UTC 2010


>
> 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.
>

Josh,

I can confirm that the problem is not rosconsole-related. The problem can be
triggered by substituting the ROS_* statements with a fprintf to stderr.
Surprinsingly, writing to stdout works fine. I'll continue the discussion in
the orocos-dev list.

Many thanks,

Adolfo.


> Can you run the app in valgrind and see if it finds anything?
>
> Josh
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>


-- 
Adolfo Rodríguez Tsouroukdissian, Ph. D.

Robotics engineer
PAL ROBOTICS S.L
http://www.pal-robotics.com
Tel. +34.93.414.53.47
Fax.+34.93.209.11.09
AVISO DE CONFIDENCIALIDAD: Este mensaje y sus documentos adjuntos, pueden
contener información privilegiada y/o confidencial que está dirigida
exclusivamente a su destinatario. Si usted recibe este mensaje y no es el
destinatario indicado, o el empleado encargado de su entrega a dicha
persona, por favor, notifíquelo inmediatamente y remita el mensaje original
a la dirección de correo electrónico indicada. Cualquier copia, uso o
distribución no autorizados de esta comunicación queda estrictamente
prohibida.

CONFIDENTIALITY NOTICE: This e-mail and the accompanying document(s) may
contain confidential information which is privileged and intended only for
the individual or entity to whom they are addressed.  If you are not the
intended recipient, you are hereby notified that any disclosure, copying,
distribution or use of this e-mail and/or accompanying document(s) is
strictly prohibited.  If you have received this e-mail in error, please
immediately notify the sender at the above e-mail address.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100930/90337eb2/attachment-0003.html>


More information about the ros-users mailing list