Bug 1911344

Summary: spyder SIGSEGV-s on Open->File dialog
Product: [Fedora] Fedora Reporter: oleg.makarenko
Component: qgnomeplatformAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: jgrulich, m, nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: qgnomeplatform-0.7.0-2.fc33 qgnomeplatform-0.7.0-2.fc32 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-01-07 01:15:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log from ~/cysignals_crash_logs/ none

Description oleg.makarenko 2020-12-28 18:56:14 UTC
Created attachment 1742764 [details]
log from ~/cysignals_crash_logs/

Created attachment 1742764 [details]
log from ~/cysignals_crash_logs/

Created attachment 1742764 [details]
log from ~/cysignals_crash_logs/

Description of problem:
spyder3 SIGSEGV-s on File->Open, File->Save As operations

Version-Release number of selected component (if applicable):

python3-spyder-4.1.5-1.fc33.noarch
python3-qt5-5.15.0-4.fc33.x86_64
qt5-qtbase-5.15.2-2.fc33.x86_64


How reproducible: spyder crashes 100%

Steps to Reproduce:
1. sudo dnf update --refresh
2. /usr/bin/spyder3 --reset
3. /usr/bin/spyder3
4. Click Open->File or Ctrl-O

Actual results:
Segmentation fault (core dumped)

Expected results:


Additional info:

the following downgrade helps

sudo dnf downgrade python3-qt5, it downgrades:

- python3-qt5* to 5.15.0-2 (python3-qt5-5.15.0-2.fc33.x86_64)
- qt5-qt* to 5.15.1 (qt5-qtbase-5.15.1-5.fc33.x86_64)
- qgnomeplatform- to qgnomeplatform-0.6.1-3.fc33.x86_64

Also, for testing purpose I selectively downgraded gnomeplatform-0.6 (rebuilt it from from srpm against the new qt5-5.15.2 and force installed it over gnomeplatform-0.7.0) -- spyder3 does not crash with gnomeplatform-0.6

Comment 1 Mukundan Ragavan 2020-12-29 22:05:21 UTC
These are the components on my system

$ rpm -qa *spyder python3-qt5 qt5-qtbase
python3-spyder-4.1.5-1.fc33.noarch
qt5-qtbase-5.15.2-2.fc33.x86_64
python3-qt5-5.15.0-4.fc33.x86_64


And, I have not been able to reproduce this crash at all.


Do you see anything other than segfault if you open spyder from a terminal?

Comment 2 oleg.makarenko 2020-12-30 21:32:03 UTC
*** Bug 1911614 has been marked as a duplicate of this bug. ***

Comment 3 oleg.makarenko 2020-12-30 22:13:25 UTC

Today:

- installed a clean Fedora 33 into a virtual machine with all default settings
- dnf updated it with dnf update -y
- to crash spyder3 run it and press Ctrl-O to open a file chooser

On my console I can see only:

[test@localhost ~]$ spyder3
QSocketNotifier: Can only be used with threads started with QThread
"/proc/2309/root"
Segmentation fault (core dumped)

On the test machine the crush is automatically reported to bugzilla and in "problem Reporter" I can see the culprit

traps: spyder3[21411] general protection fault ip:7fc755700624 sp:7ffe9d9714d8 error:0 in libqgnomeplatform.so[7fc7556f8000+30000]

[test@localhost ~]$ rpm -q qgnomeplatform
qgnomeplatform-0.7.0-1.fc33.x86_64


My blind guess is that qgnomeplatform-0.6 to 0.7 added new xdg-desktop-portal file chooser from QT and wants to use it on my machine and it is not working when it is called from spyder3.

Comment 4 Mukundan Ragavan 2021-01-01 20:59:06 UTC
Okay, I can now reproduce this and this affects spyder 4.2.x as well.

Let me move this the component to qgomeplatform for comment.

Comment 5 Fedora Update System 2021-01-05 10:50:32 UTC
FEDORA-2021-4badd755a9 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4badd755a9

Comment 6 Fedora Update System 2021-01-05 10:50:41 UTC
FEDORA-2021-c8bf9e1d53 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-c8bf9e1d53

Comment 7 oleg.makarenko 2021-01-05 19:03:22 UTC
qgnomeplatform-0.7.0-2.fc33.x86_64.rpm has fixed spyder3 crash for me.

Many thanks.

Comment 8 Fedora Update System 2021-01-06 01:10:07 UTC
FEDORA-2021-4badd755a9 has been pushed to the Fedora 32 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4badd755a9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4badd755a9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2021-01-06 01:29:37 UTC
FEDORA-2021-c8bf9e1d53 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-c8bf9e1d53`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-c8bf9e1d53

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2021-01-07 01:15:12 UTC
FEDORA-2021-c8bf9e1d53 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2021-01-14 01:42:51 UTC
FEDORA-2021-4badd755a9 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.