Comments (2)
Yes, there are leaks from the pluginlib.
Here is a minimal pluginlib example: https://github.com/bsinno/rosbag2/tree/pluginlib_leak_example
It exhibits the same error I can see when running the test through valgrind:
==11631== 152 bytes in 1 blocks are indirectly lost in loss record 6 of 8
==11631== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11631== by 0x528F670: class_loader::impl::AbstractMetaObjectBase::AbstractMetaObjectBase(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) (meta_object.cpp:56)
==11631== by 0x791766A: ???
==11631== by 0x79172FE: ???
==11631== by 0x791710A: ???
==11631== by 0x7916E49: ???
==11631== by 0x7916F33: ???
==11631== by 0x7916F49: ???
==11631== by 0x40106B9: call_init.part.0 (dl-init.c:72)
==11631== by 0x40107CA: call_init (dl-init.c:30)
==11631== by 0x40107CA: _dl_init (dl-init.c:120)
==11631== by 0x40158E1: dl_open_worker (dl-open.c:575)
==11631== by 0x4010563: _dl_catch_error (dl-error.c:187)
==11631==
==11631== 267 (16 direct, 251 indirect) bytes in 1 blocks are definitely lost in loss record 7 of 8
==11631== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==11631== by 0x79170F4: ???
==11631== by 0x7916E49: ???
==11631== by 0x7916F33: ???
==11631== by 0x7916F49: ???
==11631== by 0x40106B9: call_init.part.0 (dl-init.c:72)
==11631== by 0x40107CA: call_init (dl-init.c:30)
==11631== by 0x40107CA: _dl_init (dl-init.c:120)
==11631== by 0x40158E1: dl_open_worker (dl-open.c:575)
==11631== by 0x4010563: _dl_catch_error (dl-error.c:187)
==11631== by 0x4014DA8: _dl_open (dl-open.c:660)
==11631== by 0x6C78F08: dlopen_doit (dlopen.c:66)
==11631== by 0x4010563: _dl_catch_error (dl-error.c:187)
from rosbag2.
closing this as it's more related to poco and pluginlib than to rosbag2 as-is.
from rosbag2.
Related Issues (20)
- mcap_vendor files not found HOT 1
- Support Writing to ostreams
- [rosbag2_py] Typo in Recorder's signal restoration? (second `SIGTERM` should be `SIGINT`) HOT 1
- [Documentation/Example] Please add example on how to read a rosbag with python HOT 3
- Can you explain what you are trying to address with this fix? I really do not understand this fix.
- Can you explain what you are trying to address with this fix? I really do not understand this fix. HOT 1
- Issue with rosbag2_transport Recorder - not continuously recording after node start HOT 2
- Reindexing fails to read custom_data and ros_distro from storage
- error: ament_cmake_vendor_package not found when building from source HOT 1
- Move the `ReaderWriterFactory` to the `rosbag2_cpp` layer
- [SequentialWriter] Allow directory to exist as long as there is no metadata.yaml HOT 3
- Ros bag reindex failed to generate topic inside metadata.yaml if the message_count is 0 HOT 6
- Strange linking errors when building rosbag2_transport with GCC on Windows, Debug build HOT 2
- ros2 bag play error HOT 2
- ros2 bag play not working - 'Opened database '<bag.db3>' for READ
- ros2 bag play not working - "Opened database '<bagname>.db3' for READ_ONLY HOT 2
- No metadata.yaml is created after recording is stopped HOT 2
- Strange location of recorder and player executables HOT 4
- Support for Time-Series Database and H.264 Encoding HOT 2
- Bug: Incorrect fractional part of seconds in output from the ` ros2 bag info` HOT 3
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 rosbag2.