Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

Segmentation Fault when creating alpha shape from point cloud

Open shteren1 opened this issue 1 year ago • 3 comments

Checklist

Describe the issue

When trying to create alpha share from this specific point cloud (ply attached) segfault_example.ply.tar.gz the process dies on segfault

Steps to reproduce the bug

import open3d as o3d
pcd = o3d.io.read_point_cloud('segfault_example.ply')
alpha_shape = o3d.geometry.TriangleMesh.create_from_point_cloud_alpha_shape(pcd, 0.6)

Error message

No response

Expected behavior

the code will produce a valid alpha shape

Open3D, Python and System information

- Operating system: Ubuntu 18.04
- Python version: Python 3.10.14
- Open3D version: 0.18.0
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: conda-forge build py310h01ad8e9_4

Additional information

No response

shteren1 avatar Aug 04 '24 11:08 shteren1

pls uninstall numpy and reinstall numpy < 2.0 such as numpy==1.24.3

James-JLC avatar Aug 07 '24 10:08 James-JLC

It would be great if you can add numpy<2.0 into dependency

Clarivy avatar Aug 07 '24 22:08 Clarivy

@James-JLC i am using number 1.26.4 in the python environment that had the segfualt

shteren1 avatar Aug 11 '24 06:08 shteren1