FS#57558 - [cura] Crashes on file dialog
Attached to Project:
Community Packages
Opened by Gonçalo Pereira (G-Pereira) - Sunday, 18 February 2018, 01:18 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 08 April 2018, 18:30 GMT
Opened by Gonçalo Pereira (G-Pereira) - Sunday, 18 February 2018, 01:18 GMT
Last edited by Jelle van der Waa (jelly) - Sunday, 08 April 2018, 18:30 GMT
|
Details
Description:
Crashes after clicking on the folder icon to open stl Additional info: * package version(s): 3.2.1-1 * config and/or log files etc. Steps to reproduce: Open file chooser Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged. Fatal Python error: Segmentation fault Thread 0x00007fcf70ff9700 (most recent call first): File "/usr/lib/python3.6/site-packages/UM/Backend/Backend.py", line 155 in _storeStderrToLogThread File "/usr/lib/python3.6/threading.py", line 864 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcf717fa700 (most recent call first): File "/usr/lib/python3.6/site-packages/UM/Backend/Backend.py", line 147 in _storeOutputToLogThread File "/usr/lib/python3.6/threading.py", line 864 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcf727fc700 (most recent call first): File "/usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDeviceManager.py", line 86 in _updateThread File "/usr/lib/python3.6/threading.py", line 864 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcf72ffd700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 299 in wait File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1716 in wait File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1317 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcf737fe700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 299 in wait File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1716 in wait File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1181 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcf73fff700 (most recent call first): File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1102 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcf88f79700 (most recent call first): File "/usr/lib/cura/plugins/RemovableDriveOutputDevice/RemovableDrivePlugin.py", line 61 in _updateThread File "/usr/lib/python3.6/threading.py", line 864 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcf89b9d700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 299 in wait File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1716 in wait File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1317 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcf8a39e700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 299 in wait File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1716 in wait File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1181 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcf8ab9f700 (most recent call first): File "/usr/lib/python3.6/site-packages/zeroconf.py", line 1102 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcf8b3a0700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 299 in wait File "/usr/lib/python3.6/threading.py", line 551 in wait File "/usr/lib/cura/plugins/UM3NetworkPrinting/NetworkPrinterOutputDevicePlugin.py", line 330 in _handleOnServiceChangedRequests File "/usr/lib/python3.6/threading.py", line 864 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcfacff9700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 295 in wait File "/usr/lib/python3.6/threading.py", line 426 in acquire File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcfad7fa700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 295 in wait File "/usr/lib/python3.6/threading.py", line 426 in acquire File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcfadffb700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 295 in wait File "/usr/lib/python3.6/threading.py", line 426 in acquire File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcfae7fc700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 295 in wait File "/usr/lib/python3.6/threading.py", line 426 in acquire File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcfaeffd700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 295 in wait File "/usr/lib/python3.6/threading.py", line 426 in acquire File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcfaf7fe700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 295 in wait File "/usr/lib/python3.6/threading.py", line 426 in acquire File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcfaffff700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 295 in wait File "/usr/lib/python3.6/threading.py", line 426 in acquire File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Thread 0x00007fcfb8e9a700 (most recent call first): File "/usr/lib/python3.6/threading.py", line 295 in wait File "/usr/lib/python3.6/threading.py", line 426 in acquire File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 86 in _nextJob File "/usr/lib/python3.6/site-packages/UM/JobQueue.py", line 116 in run File "/usr/lib/python3.6/threading.py", line 916 in _bootstrap_inner File "/usr/lib/python3.6/threading.py", line 884 in _bootstrap Current thread 0x00007fcfebeb2540 (most recent call first): File "/usr/lib/python3.6/site-packages/UM/Qt/QtApplication.py", line 241 in exec_ File "/usr/lib/python3.6/site-packages/cura/CuraApplication.py", line 743 in run File "/usr/bin/cura", line 141 in <module> [1] 9709 segmentation fault (core dumped) cura |
This task depends upon
Closed by Jelle van der Waa (jelly)
Sunday, 08 April 2018, 18:30 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in pyqt5
Sunday, 08 April 2018, 18:30 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in pyqt5
I was able to workaround it by downgrading python-pyqt5 to the previous version (5.10-3).
It seems this introduces the problem: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/pyqt5&id=794c5cc581afe0d95bc530fb1f95c6a0b689f9d9
Downgrading python-pyqt5 to 5.10-3 solves the problem on my side
https://archive.archlinux.org/packages/p/python-pyqt5/python-pyqt5-5.10-3-x86_64.pkg.tar.xz
I can also report that I get the same issue with cura-git from the AUR too, with the same fix working.
A temporary workaround is postet and verified several times here, so why not just pin the python-pyqt5 package to the version needed. I know, this is not the best way to deal with it, but better than installing a broken software and let the user search for hours and finally find this bug report here to solve the problem.
Might make more sense to try chasing down the issue yourself e.g. see https://www.riverbankcomputing.com/mailman/listinfo/pyqt
pyqt5 5.10.1-2 has been patched to fix the cura crash at startup.