Open3D
Open3D copied to clipboard
open3d crashes python kernel after closing window
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
master
branch).
Describe the issue
I have been using open3d.visualization.Visualizer() to plot large point clouds, around millions of dots. I get the following warning on jupyter lab:
Premature drain of QMacAutoReleasePool(0x7ff7b44d9b98) This can happen if you've allocated the pool on the heap, or as a member of a heap-allocated object. This is not a supported use of QMacAutoReleasePool, and might result in crashes when objects in the pool are deallocated and then used later on under the assumption they will be valid until QMacAutoReleasePool(0x7ff7b44d9b98) has been drained.
But everything seems to run fine until I close the visualisation window. Then python crashes and I get the following macOS report:
Steps to reproduce the bug
# I have not been able to simplify the code but I am using open3d.visualization.Visualizer() and calling update_geometry(), poll_events() and update_renderer() similarly to the non-blocking visualization example.
Error message
No response
Expected behavior
No response
Open3D, Python and System information
- Operating system: macOS 12.2.1
- Python version: Python 3.8
- Open3D version: 0.15.1
Additional information
No response