Skip to content

OcTreeNode with 64 bits members crashes #95

@lsouchet

Description

@lsouchet

Hello,
I created a OcTreeNodeX64 containing a timestamp stored on 64 bits.
I experienced that when using my new octree, I get an error on linux32, but not on linux64 :

*** Error in `octomap/bin/test_octree_x64': free(): invalid pointer: 0x080ec500 ***

when inserting rays.

If I replace my timestampType from int64_t to int32_t, my test passes just fine.

You can check this in PR #94 (#94)

This looks like at some point, we are working on a Node that has already been deleted, but I don't get how such parallel behaviors could appear just because of the data type.
It kind of bothers me as I intend to use more complex node structures and I am not sure about the scalability of this architecture.
Has anyone encountered the same issues or has any thoughts?

Thanks,

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