-
Notifications
You must be signed in to change notification settings - Fork 251
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
Fix warning from ClassLoader in sequential compression reader and writer #1299
Conversation
- Fix for warning messages "Warning: class_loader.ClassLoader: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap!" Signed-off-by: Michael Orlov <michael.orlov@apex.ai>
Gist: https://gist.githubusercontent.com/MichaelOrlov/4c8aa0c122501a4120e6d8a0f53c50a3/raw/df1c6de050bd4e9fd7aa2d567796fc64f3d880b1/ros2.repos |
https://github.com/Mergifyio backport humble |
✅ Backports have been created
|
https://github.com/Mergifyio backport iron |
✅ Backports have been created
|
…ter (#1299) (#1316) - Fix for warning messages "Warning: class_loader.ClassLoader: SEVERE WARNING!!! Attempting to unload library while objects created by this loader exist in the heap!" Signed-off-by: Michael Orlov <michael.orlov@apex.ai> (cherry picked from commit dded5cf) Co-authored-by: Michael Orlov <michael.orlov@apex.ai>
This pull request has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2023-05-18/31587/1 |
RCA:
It was incorrect order of objects destruction.
First should be destructed child objects produced by
compression_factory
such ascompressor
anddecompressor
since insidecompression_factory
destructor will be called ClassLoader destructor which will generate such warning.