Description of problem: Mayavi crashes during import Version-Release number of selected component (if applicable): python3-mayavi-4.7.2-2.fc34.x86_64 How reproducible: on this PC, always Steps to Reproduce: 1. python3 -c 'from mayavi.mlab import *' Actual results: It crashes with a segmentation fault, backtrace is: #0 0x00007fffbe19f58e in openslide_close () at /usr/lib64/python3.9/site-packages/vtkmodules/../../../libopenslide.so.0 #1 0x00007fffbe1ca767 in vtkOpenSlideReader::~vtkOpenSlideReader() () at /usr/lib64/python3.9/site-packages/vtkmodules/../../../libvtkDomainsMicroscopy.so.1 #2 0x00007fffbe1ca77d in vtkOpenSlideReader::~vtkOpenSlideReader() () at /usr/lib64/python3.9/site-packages/vtkmodules/../../../libvtkDomainsMicroscopy.so.1 #3 0x00007fffe1cd4af3 in vtkGarbageCollectorImpl::CollectComponent(vtkGarbageCollectorImpl::ComponentType*) () at /usr/lib64/python3.9/site-packages/vtkmodules/../../../libvtkCommonCore.so.1 #4 0x00007fffe1cd4b98 in vtkGarbageCollectorImpl::CollectInternal(vtkObjectBase*) () at /usr/lib64/python3.9/site-packages/vtkmodules/../../../libvtkCommonCore.so.1 #5 0x00007fffe1cd4d07 in vtkGarbageCollector::Collect(vtkObjectBase*) () at /usr/lib64/python3.9/site-packages/vtkmodules/../../../libvtkCommonCore.so.1 #6 0x00007fffe1eece11 in vtkPythonUtil::RemoveObjectFromMap(_object*) () at /usr/lib64/python3.9/site-packages/vtkmodules/../../../libvtkWrappingPythonCore.so.1 #7 0x00007fffe1ecf774 in PyVTKObject_Delete () at /usr/lib64/python3.9/site-packages/vtkmodules/../../../libvtkWrappingPythonCore.so.1 #8 0x00007ffff7d62849 in _PyEval_EvalFrameDefault () at /lib64/libpython3.9.so.1.0 #9 0x00007ffff7d6a753 in function_code_fastcall () at /lib64/libpython3.9.so.1.0 #10 0x00007ffff7d5da5a in _PyEval_EvalFrameDefault () at /lib64/libpython3.9.so.1.0 ... Expected results: No errors Additional info: I rebuild mayavi [0], as there is a warning that vtk was updated. However, this does not change anything. Only thing I noticed, is the rawhide build is taking suspiciously long, but I didn't look into it. [0] https://copr.fedorainfracloud.org/coprs/davidsch/preview/build/2216330/
This appears to be an issue with vtk. I've filed https://gitlab.kitware.com/vtk/vtk/-/issues/18233 upstream.
I have a patch [1] that fixes the issue for me. If you want, I can open a pull request later today. I cannot open a PR to upstream, as I don't have an account there. [1] https://github.com/dschwoerer/vtk/commit/1cece00ee5ff9146563bb38a6da9819b91aca866
Upstream appears to have fixed this in essentially the same way. I'll try to get an update out soon.
FEDORA-2021-056f61290b has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-056f61290b
FEDORA-2021-7c11db4a25 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7c11db4a25` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7c11db4a25 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-056f61290b has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-056f61290b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-056f61290b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-056f61290b has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-7c11db4a25 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.