ros / ros_comm

ROS communications-related packages, including core client libraries (roscpp, rospy, roslisp) and graph introspection tools (rostopic, rosnode, rosservice, rosparam).
http://wiki.ros.org/ros_comm
747 stars 914 forks source link

xmlrpcpp: EINTR is not handled correctly #2275

Open Hugal31 opened 1 year ago

Hugal31 commented 1 year ago

The syscalls (mainly the blocking one, poll) are not handling EINTR correctly: they should retry instead of returning (see https://stackoverflow.com/questions/2957759/using-gprof-with-sockets).

This make profiling ROS programs impossible, as it will cause random errors in the XmlRpcClient.