Skip to content

Segmentation fault (core dumped) when using create_from_point_cloud_poisson #7229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
bmMohamad opened this issue Apr 24, 2025 · 0 comments
Open
3 tasks done
Labels
bug Not a build issue, this is likely a bug.

Comments

@bmMohamad
Copy link

Checklist

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.

@bmMohamad bmMohamad added the bug Not a build issue, this is likely a bug. label Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not a build issue, this is likely a bug.
Projects
None yet
Development

No branches or pull requests

1 participant