Open3D
Open3D copied to clipboard
Segmentation Fault when creating alpha shape from point cloud
Checklist
- [X] I have searched for similar issues.
- [X] For Python issues, I have tested with the latest development wheel.
- [X] I have checked the release documentation and the latest documentation (for
mainbranch).
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
pls uninstall numpy and reinstall numpy < 2.0 such as numpy==1.24.3
It would be great if you can add numpy<2.0 into dependency
@James-JLC i am using number 1.26.4 in the python environment that had the segfualt