Comments (2)
It would be really nice if this was fixed and a CI job added to test class_loader (and pluginlib) with ASAN to defend it against this coming back. @v4hn commented here about it: #131 (comment)
Without a tool like ASAN and tests, any software like this that does manual memory management is doomed to have memory errors unless the authors of the software are prefect. Here is an example of a memory error in rclcpp I also discovered today by trying to use asan in my project's CI that depends on these various tools in the ros ecosystem: ros2/rclcpp#1948
To error is human, to write tests and use sanitizers is to have compassion for your users.
from class_loader.
+1, we try to have asan on our code, and are limited to having to deal with these leaks.
from class_loader.
Related Issues (20)
- Could not find a package configuration file provided by "ament_cmake" with any of the following names: HOT 10
- [ros2] Cannot find Poco on Windows HOT 1
- Memory leak: meta objects not destroyed HOT 3
- Progress toward Quality Level 1 HOT 3
- Link error with Poco when using libc++ HOT 1
- ClassLoaderTest.threadSafety test is noisy
- SEVERE WARNING!!! in tests
- Project 'class_loader' specifies '/include' as an include dir HOT 2
- Towards Quality Level 1 - Activate DCO
- Library/Dependency Detetction; Bug?
- mac ros build class_loader issue HOT 2
- ROS 2 Travis / AppVeyor CI broken
- Method createSharedInstance missing in ROS2 branches HOT 2
- Question: How to load library when dependencies are not in the LD_LIBRARY_PATH? HOT 2
- Can we have a 0.4.2 tag? HOT 4
- Is load_ref_count_ no need to count number?
- Notes on `RTLD_GLOBAL` in the code ? HOT 2
- Unnecessary conditional judgment in isLibraryLoaded ? HOT 1
- undefined reference to `class_loader HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from class_loader.