-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get "Unhandled exception. ROS2.RuntimeError: publisher's context is invalid, at ./src/rcl/publisher.c:389" when I run example more than 20+ minutes. #49
Comments
Can reproduce this issue on Ubuntu with Ros2 Humble and the talker example, removing the I think it is somehow caused by the garbage collector since removing all calls to Furthermore, the issue does not occur using the changes in #47, which allocate the structs in native memory. |
Hi Deric, According to your suggestion, I revert my changes on listener and talker example. After launching program, it's running smoothly for over 5 hours. It seems that my changes caused the issue, and I don't know why... Nick |
Hi, |
While I am not 100% certain I think it is because of the garbage collector moving the |
@Nickiven was this issue resolved for you? |
OS: Ubuntu22.04
ROS2 Humble
.NET 6.0
Hi,
I have modified example "ROSTalker" and "ROSListener" files to implement these two nodes can send and receive data at the same time. Details as below:
After build and launch, everything goes well. But 20mintues later, I get an exception as below:
Please Help. Thanks.
The text was updated successfully, but these errors were encountered: