enthought / mayavi

3D visualization of scientific data in Python
http://docs.enthought.com/mayavi/mayavi/
Other
1.28k stars 282 forks source link

mlab crashes on close() #1190

Open qazmonk opened 1 year ago

qazmonk commented 1 year ago

OS Info: Operating System: Manjaro Linux KDE Plasma Version: 5.26.2 KDE Frameworks Version: 5.99.0 Qt Version: 5.15.6 Kernel Version: 5.15.76-1-MANJARO (64-bit) Graphics Platform: X11

Python version: 3.9.15 mayavi version: 4.8.1

To reproduce:

from mayavi import mlab
mlab.points3d(0,0,0)

Then closing the window crashes with:

File "/home/nate/.pyenv/versions/3.9.15/lib/python3.9/site-packages/pyface/ui/qt4/action/action_item.py", line 379, in _qt4_on_destroyed
    if hasattr(self.control, "_tool_instance"):
RuntimeError: wrapped C/C++ object of type QAction has been deleted