Skip to content

ROS2: Memory Leak with Alvium Camera #111

@Shadowald

Description

@Shadowald

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions