Skip to content

SupervoxelClustering extract generates "double free or corruption (out)" #2598

Closed
@fverdoja

Description

@fverdoja

Your Environment

  • Operating System and version: Arch Linux, kernel v.4.18.16
  • Compiler: gcc 8.2.1
  • PCL Version: 1.8.1 (from AUR)

Context

Trying to perform supervoxel clustering, even when using the example code provided here, results in an error.

Expected Behavior

Running the example code on a pcd file should produce a clustering of the pointcloud in the pcd

Current Behavior

The execution crashes when running the extract function in SupervoxelClustering generating the following error: double free or corruption (out)

Code to Reproduce

  1. download the example cpp file, CMakeLists.txt and sample pointcloud.
  2. compile the example file (cmake and make)
  3. run ./supervoxel_clustering milk_cartoon_all_small_clorox.pcd --NT
> Loading point cloud...
> Extracting supervoxels!
double free or corruption (out)

Possible Solution

Could this be related to #2100 ? I tried the solutions proposed there but they don't seem to work for me.

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