Open
Description
Checklist
- I have searched for similar issues.
- For Python issues, I have tested with the latest development wheel.
- I have checked the release documentation and the latest documentation (for
main
branch).
Describe the issue
I wrote a loop for reading a point cloud with about 30_000_000 points.
Regularly it crashes sometimes after 50-70 runs and other times after 500.
triangle_mesh, densities = o3d.geometry.TriangleMesh.create_from_point_cloud_poisson(point_cloud, depth=7)
Steps to reproduce the bug
import open3d as o3d
from numpy import full, argmax
import numpy as np
def main():
print(o3d.__version__)
print(np.__version__)
PATH = "/../../../../tester.pcd"
#o3d.utility.set_verbosity_level(verbosity_level=o3d.utility.VerbosityLevel.Debug)
point_cloud = o3d.io.read_point_cloud(PATH)
for i in range(10000):
try:
triangle_mesh, densities = o3d.geometry.TriangleMesh.create_from_point_cloud_poisson(point_cloud, depth=7)
except Exception as e:
print(f"Error in convert_point_cloud_to_mesh: {e}")
raise
print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Finished loop ", i, " ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
if __name__ == "__main__":
main()
Error message
Segmentation fault (core dumped)
Expected behavior
No response
Open3D, Python and System information
- Operating system: Windows 10 64-bit
- Python version: Python 3.12.8
- Open3D version: 0.19.0
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: pip
Additional information
Ran it first with numpy 1.26.4 now i updated to 2.2.5 in the hopes of it maybe not crashing but didn't help.