Open3D icon indicating copy to clipboard operation
Open3D copied to clipboard

open3d crashes python kernel after closing window

Open Mossi8 opened this issue 2 years ago • 4 comments

Checklist

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: Screenshot 2022-03-03 at 10 45 24

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

Mossi8 avatar Mar 03 '22 11:03 Mossi8