isl-org / isl-org/Open3D

Segmentation Fault when creating alpha shape from point cloud

Open
#6,908 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
14k
Forks
2.6k
Avg merge
5d 18h
Merged PRs (30d)
6

Description

### Checklist

- [X] I have searched for [similar issues](https://github.com/isl-org/Open3D/issues).
- [X] For Python issues, I have tested with the [latest development wheel](https://www.open3d.org/docs/latest/getting_started.html#development-version-pip).
- [X] I have checked the [release documentation](https://www.open3d.org/docs/release/) and the [latest documentation](https://www.open3d.org/docs/latest/) (for `main` branch).

### Describe the issue

When trying to create alpha share from this specific point cloud (ply attached)
[segfault_example.ply.tar.gz](https://github.com/user-attachments/files/16487291/segfault_example.ply.tar.gz)
the process dies on segfault

### Steps to reproduce the bug

```python
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

```markdown
- 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.