Bug 1966135 - Mayavi: Crash during import
Summary: Mayavi: Crash during import
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: vtk
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-31 13:11 UTC by david08741
Modified: 2021-09-24 20:32 UTC (History)
6 users (show)

Fixed In Version: vtk-9.0.3-1.fc35 vtk-9.0.3-1.fc34
Clone Of:
Environment:
Last Closed: 2021-09-24 20:26:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description david08741 2021-05-31 13:11:13 UTC
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/

Comment 1 Orion Poplawski 2021-06-10 04:25:39 UTC
This appears to be an issue with vtk.  I've filed https://gitlab.kitware.com/vtk/vtk/-/issues/18233 upstream.

Comment 2 david08741 2021-08-31 08:03:26 UTC
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

Comment 3 Orion Poplawski 2021-09-15 03:56:08 UTC
Upstream appears to have fixed this in essentially the same way.  I'll try to get an update out soon.

Comment 4 Fedora Update System 2021-09-17 02:29:19 UTC
FEDORA-2021-056f61290b has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-056f61290b

Comment 5 Fedora Update System 2021-09-17 15:19:48 UTC
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.

Comment 6 Fedora Update System 2021-09-17 19:41:20 UTC
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.

Comment 7 Fedora Update System 2021-09-24 20:26:50 UTC
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.

Comment 8 Fedora Update System 2021-09-24 20:32:00 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.