nodelet_core
nodelet_core copied to clipboard
File descriptor issue
Short description of the scenario:
- ROS Melodic
- at least two nodelets under the same nodelet manager
- in one of the nodelet have a file descriptor created in "onInit"
- no other nodelets are using file descriptors
- use a launch with roslaunch
Whats happening is that there is an operation on the file descriptor that was not triggered by the nodelet. If I'm looking over the file descriptors that are in use, most of them are SOCKETS and it looks like one of the file descriptor that was closed is reused by the "open" function from the nodelet (at this point I cannot confirm if the closed descriptor was a SOCKET).
What I think is happening is that there is a bug somewhere and the file descriptor is used after been closed. I'm not sure if this is the right place to open the issue, since this can be related to ROS core. Let me know if more details are required. Thank you