Skip to content
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

ROS2: Memory Leak with Alvium Camera #111

Open
Shadowald opened this issue Feb 8, 2023 · 0 comments
Open

ROS2: Memory Leak with Alvium Camera #111

Shadowald opened this issue Feb 8, 2023 · 0 comments

Comments

@Shadowald
Copy link

I'm using an Alvium G1-507c camera with ROS2 Humble in a VM. Everytime I try to close the mono_camera_node it fails to cleanly shutdown, which results in a heap corruption message. It is always one of 3 different messages I get in the terminal which are:

corrupted size vs. prev_size in fastbins
malloc_consolidate(): unaligned fastbin chunk detected
malloc_consolidate : invalid chunk size

These messages, however, do not appear when using the same camera with the ROS1 branch in a different VM. I am not sure where this memory leak is coming from, but did notice that the deconstructor for the node is being called twice which may or may not be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant