isl-org / Open3D

Open3D: A Modern Library for 3D Data Processing
http://www.open3d.org
Other
11.38k stars 2.29k forks source link

`terminated by signal SIGSEGV` when `o3d.utility.Vector3dVector([[0,0,0]])` #7026

Open FavorMylikes opened 4 hours ago

FavorMylikes commented 4 hours ago

Checklist

Describe the issue

I noticed that my program just suddenly crashed without any log and stack. I found that it is because of this line o3d.utility.Vector3dVector([[0,0,0]]). However, it does not always happen.

fish: Job 1, 'python' terminated by signal SIGSEGV (Address boundary error)

Steps to reproduce the bug

import open3d as o3b

o3d.utility.Vector3dVector([[0,0,0]])

Error message

fish: Job 1, 'python' terminated by signal SIGSEGV (Address boundary error)

Expected behavior

No response

Open3D, Python and System information

- Open3D version: 0.18.0
- System architecture: x86
- Is this a remote workstation?: no
- How did you install Open3D?: pip
- Compiler version (if built from source): gcc 11.4.0

Additional information

No response

FavorMylikes commented 4 hours ago

Solved this issue by downgrading numpy from numpy==2.1.2 to numpy==1.23.5