Bug 1911365

Summary: Cura RPM crashes when trying to open a file (when qgnomeplatform is installed)
Product: [Fedora] Fedora Reporter: Ryan <dasgeekchannel>
Component: qgnomeplatformAssignee: Jan Grulich <jgrulich>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: g, jgrulich, jlayton, jpazdziora, mhroncok, m, ngompa13, python-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
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:14 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
Cura Log From Install To Crash
none
output crash with cura run from console none

Description Ryan 2020-12-28 23:41:18 UTC
Description of problem: If you try to open any file in the tool it just crashes back to desktop. 


Version-Release number of selected component (if applicable):
1:4.7.1-1.fc33

How reproducible:
Happens every time you open it and try to open any file to 3D print

Steps to Reproduce:
1. Open Cura
2. Click File > Open
3. Select File and program will crash

Actual results:
Crash to desktop

Expected results:
Open the file

Additional info:
This is a common problem based on user feedback on the app in the software store. Users are recommending using the AppImage instead in the comments in the Gnome Software Store.

Comment 1 Miro Hrončok 2020-12-29 07:42:10 UTC
1) Ryan, could you please launch cura from the terminal and upload the logs here?

2) Also, there is Cura 4.8.0 availbale in: https://bodhi.fedoraproject.org/updates/FEDORA-2020-ea37731516

Get it by:

    $ sudo dnf upgrade --enablerepo=updates-testing cura

And let me know if it helps.

3) Any chance you run KDE?

Comment 2 Ryan 2020-12-31 13:53:45 UTC
Created attachment 1743437 [details]
Cura Log From Install To Crash

This is the log from install of Cura to the point it opens. Once Cura opens, if you attempt to open a file from within Cura it will crash immediately.

Comment 3 Ryan 2020-12-31 13:59:09 UTC
1) I've uploaded the log as requested. This includes the installation of Cura through to it crashing once open and attempting to open a file.
2) I performed the Cura 4.8.0 upgrade and same issue:

Current thread 0x00007f2eae26e740 (most recent call first):
  File "/usr/lib/python3.9/site-packages/UM/Qt/QtApplication.py", line 378 in exec_
  File "/usr/lib/python3.9/site-packages/cura/CuraApplication.py", line 847 in run
  File "/usr/bin/cura", line 235 in <module>
Segmentation fault (core dumped)

3) I run the GNOME desktop. 

Thank you for your help!

Comment 4 Jeff Layton 2020-12-31 15:02:40 UTC
Created attachment 1743450 [details]
output crash with cura run from console

Comment 5 Miro Hrončok 2020-12-31 18:25:46 UTC
A segfault :(

It would be helpful if I could reproduce this, but I cannot :/

Comment 6 Jeff Layton 2020-12-31 21:00:44 UTC
Yeah. I can, so if there's any info you need me to collect, then I should be able to do it. It's interesting that both crashes are in the UM (uranium?) modules.

Comment 7 Miro Hrončok 2021-01-01 13:39:39 UTC
Could you try to get a backtrace? ABRT should give you one automatically, or you can reproduce the crash under gdb.

Comment 8 Jeff Layton 2021-01-01 13:52:19 UTC
Yeah. Running it under gdb helped:

Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
0x00007fff5c399624 in QtPrivate::RefCount::ref() () from /usr/lib64/qt5/plugins/platformthemes/libqgnomeplatform.so
(gdb) bt
#0  0x00007fff5c399624 in QtPrivate::RefCount::ref() () at /usr/lib64/qt5/plugins/platformthemes/libqgnomeplatform.so
#1  0x00007fff5c3a52d7 in QtMetaTypePrivate::QMetaTypeFunctionHelper<QXdgDesktopPortalFileDialog::Filter, true>::Construct(void*, void const*) () at /usr/lib64/qt5/plugins/platformthemes/libqgnomeplatform.so
#2  0x00007fffe9452902 in (anonymous namespace)::customConstruct(QVariant::Private*, void const*) () at /lib64/libQt5Core.so.5
#3  0x00007fffe9452c8d in QVariant::QVariant(int, void const*, unsigned int) () at /lib64/libQt5Core.so.5
#4  0x00007fff5c3aa5cb in QXdgDesktopPortalFileDialog::openPortal() () at /usr/lib64/qt5/plugins/platformthemes/libqgnomeplatform.so
#5  0x00007fff5c3ab545 in QXdgDesktopPortalFileDialog::show(QFlags<Qt::WindowType>, Qt::WindowModality, QWindow*) () at /usr/lib64/qt5/plugins/platformthemes/libqgnomeplatform.so
#6  0x00007ffec4273f24 in QQuickAbstractDialog::setVisible(bool) () at /usr/lib64/qt5/qml/QtQuick/Dialogs/libdialogplugin.so
#7  0x00007ffec4281103 in QQuickAbstractDialog::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/qt5/qml/QtQuick/Dialogs/libdialogplugin.so
#8  0x00007ffec428112a in QQuickAbstractFileDialog::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/qt5/qml/QtQuick/Dialogs/libdialogplugin.so
#9  0x00007ffec428120a in QQuickFileDialog::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/qt5/qml/QtQuick/Dialogs/libdialogplugin.so
#10 0x00007fff5e717cf5 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () at /lib64/libQt5Qml.so.5
#11 0x00007fff5e61f4a6 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () at /lib64/libQt5Qml.so.5
#12 0x00007fff5e6213f7 in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /lib64/libQt5Qml.so.5
#13 0x00007fff5e6369dd in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () at /lib64/libQt5Qml.so.5
#14 0x00007fff5e63c775 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) [clone .part.0] () at /lib64/libQt5Qml.so.5
#15 0x00007fff5e5db7bd in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /lib64/libQt5Qml.so.5
#16 0x00007fff5e736e71 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /lib64/libQt5Qml.so.5
#17 0x00007fff5e6f3011 in QQmlBoundSignalExpression::evaluate(void**) () at /lib64/libQt5Qml.so.5
#18 0x00007fff5e6f4a63 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () at /lib64/libQt5Qml.so.5
#19 0x00007fff5e717c0d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib64/libQt5Qml.so.5
#20 0x00007fffe944a2f2 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#21 0x00007ffec436a037 in QQuickAction1::trigger(QObject*) [clone .part.0] () at /usr/lib64/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#22 0x00007ffec4389d23 in QQuickAction1::qt_metacall(QMetaObject::Call, int, void**) () at /usr/lib64/qt5/qml/QtQuick/Controls/libqtquickcontrolsplugin.so
#23 0x00007fff5e717cf5 in QQmlObjectOrGadget::metacall(QMetaObject::Call, int, void**) const () at /lib64/libQt5Qml.so.5
#24 0x00007fff5e61f4a6 in CallPrecise(QQmlObjectOrGadget const&, QQmlPropertyData const&, QV4::ExecutionEngine*, QV4::CallData*, QMetaObject::Call) () at /lib64/libQt5Qml.so.5
#25 0x00007fff5e62159b in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /lib64/libQt5Qml.so.5
#26 0x00007fff5e6369dd in QV4::Moth::VME::interpret(QV4::CppStackFrame*, QV4::ExecutionEngine*, char const*) () at /lib64/libQt5Qml.so.5
#27 0x00007fff5e63c775 in QV4::Moth::VME::exec(QV4::CppStackFrame*, QV4::ExecutionEngine*) [clone .part.0] () at /lib64/libQt5Qml.so.5
#28 0x00007fff5e5db7bd in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /lib64/libQt5Qml.so.5
#29 0x00007fff5e736e71 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /lib64/libQt5Qml.so.5
#30 0x00007fff5e6f3011 in QQmlBoundSignalExpression::evaluate(void**) () at /lib64/libQt5Qml.so.5
#31 0x00007fff5e6f4a63 in QQmlBoundSignal_callback(QQmlNotifierEndpoint*, void**) () at /lib64/libQt5Qml.so.5
#32 0x00007fff5e717c0d in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /lib64/libQt5Qml.so.5
#33 0x00007fffe944a2f2 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#34 0x00007ffea1af3081 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () at /lib64/libQt5QuickTemplates2.so.5
#35 0x00007ffea1b0daf9 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () at /lib64/libQt5QuickTemplates2.so.5
#36 0x00007fff5de7e7f9 in QQuickItem::event(QEvent*) () at /lib64/libQt5Quick.so.5
#37 0x00007fffe556aec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#38 0x00007fffe5c6b626 in sipQApplication::notify(QObject*, QEvent*) () at /usr/lib64/python3.9/site-packages/PyQt5/QtWidgets.so
#39 0x00007fffe941abd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#40 0x00007fff5de92555 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () at /lib64/libQt5Quick.so.5
#41 0x00007fff5de92ee3 in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () at /lib64/libQt5Quick.so.5
#42 0x00007fff5e2734ff in meth_QQuickWindow_mouseReleaseEvent.lto_priv.0 () at /usr/lib64/python3.9/site-packages/PyQt5/QtQuick.so
#43 0x00007ffff7d5491a in cfunction_call () at /lib64/libpython3.9.so.1.0
#44 0x00007ffff7d458e3 in _PyObject_MakeTpCall () at /lib64/libpython3.9.so.1.0
#45 0x00007ffff7d425ad in _PyEval_EvalFrameDefault () at /lib64/libpython3.9.so.1.0
#46 0x00007ffff7d3bfaf in _PyEval_EvalCode () at /lib64/libpython3.9.so.1.0
#47 0x00007ffff7d4a256 in _PyFunction_Vectorcall () at /lib64/libpython3.9.so.1.0
#48 0x00007ffff7d53270 in method_vectorcall () at /lib64/libpython3.9.so.1.0
--Type <RET> for more, q to quit, c to continue without paging--
#49 0x00007fffe9b2644a in call_method () at /usr/lib64/python3.9/site-packages/PyQt5/sip.so
#50 0x00007fffe9b2652f in sip_api_call_procedure_method () at /usr/lib64/python3.9/site-packages/PyQt5/sip.so
#51 0x00007fff5e27338a in sipQQuickWindow::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/python3.9/site-packages/PyQt5/QtQuick.so
#52 0x00007fffe4f1c7b5 in QWindow::event(QEvent*) () at /lib64/libQt5Gui.so.5
#53 0x00007fff5e27266b in sipQQuickWindow::event(QEvent*) () at /usr/lib64/python3.9/site-packages/PyQt5/QtQuick.so
#54 0x00007fffe556aec3 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#55 0x00007fffe5c6b626 in sipQApplication::notify(QObject*, QEvent*) () at /usr/lib64/python3.9/site-packages/PyQt5/QtWidgets.so
#56 0x00007fffe941abd8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#57 0x00007fffe4f11143 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /lib64/libQt5Gui.so.5
#58 0x00007fffe4ef28cc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Gui.so.5
#59 0x00007fff5d03947e in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
#60 0x00007fffe869f96f in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#61 0x00007fffe86f1758 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#62 0x00007fffe869cd43 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#63 0x00007fffe94676f3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#64 0x00007fffe941957b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#65 0x00007fffe94211b4 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#66 0x00007fffe5c6cbbe in meth_QApplication_exec_.lto_priv.0 () at /usr/lib64/python3.9/site-packages/PyQt5/QtWidgets.so
#67 0x00007ffff7d5491a in cfunction_call () at /lib64/libpython3.9.so.1.0
#68 0x00007ffff7d535b8 in _PyObject_Call () at /lib64/libpython3.9.so.1.0
#69 0x00007ffff7d43368 in _PyEval_EvalFrameDefault () at /lib64/libpython3.9.so.1.0
#70 0x00007ffff7d3bfaf in _PyEval_EvalCode () at /lib64/libpython3.9.so.1.0
#71 0x00007ffff7d4a256 in _PyFunction_Vectorcall () at /lib64/libpython3.9.so.1.0
#72 0x00007ffff7d53074 in method_vectorcall () at /lib64/libpython3.9.so.1.0
#73 0x00007ffff7d41c45 in _PyEval_EvalFrameDefault () at /lib64/libpython3.9.so.1.0
#74 0x00007ffff7d3bfaf in _PyEval_EvalCode () at /lib64/libpython3.9.so.1.0
#75 0x00007ffff7d4a256 in _PyFunction_Vectorcall () at /lib64/libpython3.9.so.1.0
#76 0x00007ffff7d53074 in method_vectorcall () at /lib64/libpython3.9.so.1.0
#77 0x00007ffff7d41c45 in _PyEval_EvalFrameDefault () at /lib64/libpython3.9.so.1.0
#78 0x00007ffff7d3bbe1 in _PyEval_EvalCode () at /lib64/libpython3.9.so.1.0
#79 0x00007ffff7dba0d5 in _PyEval_EvalCodeWithName () at /lib64/libpython3.9.so.1.0
#80 0x00007ffff7dba06d in PyEval_EvalCodeEx () at /lib64/libpython3.9.so.1.0
#81 0x00007ffff7dba01f in PyEval_EvalCode () at /lib64/libpython3.9.so.1.0
#82 0x00007ffff7de6edd in run_eval_code_obj () at /lib64/libpython3.9.so.1.0
#83 0x00007ffff7de28c6 in run_mod () at /lib64/libpython3.9.so.1.0
#84 0x00007ffff7cb76a0 in PyRun_FileExFlags.cold () at /lib64/libpython3.9.so.1.0
#85 0x00007ffff7ddd2a2 in PyRun_SimpleFileExFlags () at /lib64/libpython3.9.so.1.0
#86 0x00007ffff7dda746 in Py_RunMain () at /lib64/libpython3.9.so.1.0
#87 0x00007ffff7dacc2d in Py_BytesMain () at /lib64/libpython3.9.so.1.0
#88 0x00007ffff7a8f1e2 in __libc_start_main () at /lib64/libc.so.6
#89 0x000055555555509e in _start ()

Comment 9 Jeff Layton 2021-01-01 13:53:24 UTC
This is from me just me running cura, and clicking on the little folder icon. It crashed a couple of seconds later.

Comment 10 Miro Hrončok 2021-01-02 00:03:29 UTC
OK. I've been able to reproduce this issue when I install qgnomeplatform. Without it, open works just fine.

Reassigning to qgnomeplatform because I don't know how to debug this any further.

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

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

Comment 13 Fedora Update System 2021-01-06 01:10:10 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 14 Fedora Update System 2021-01-06 01:29:39 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 15 Fedora Update System 2021-01-07 01:15:14 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 16 Fedora Update System 2021-01-14 01:42:53 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.