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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jelle van der Waa (jelly)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

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
Comment by Gonçalo Pereira (G-Pereira) - Sunday, 18 February 2018, 01:18 GMT
new version of qt has come out, is that it?
Comment by Jelle van der Waa (jelly) - Sunday, 25 February 2018, 15:20 GMT
I can open stl and gcode files, is your system up to date?
Comment by Renato Caldas (rmsc) - Sunday, 04 March 2018, 18:39 GMT
I believe I can reproduce this bug, and it's also present in master. In my case it happens immediately at startup though.

I was able to workaround it by downgrading python-pyqt5 to the previous version (5.10-3).
Comment by Aaron Fischer (aaronmueller) - Tuesday, 06 March 2018, 20:14 GMT Comment by Greg Darke (skunktrader) - Thursday, 08 March 2018, 02:51 GMT
Sorry for the "me too" post, but I can confirm this problem (crash on startup) with the suggested downgrade of pyqt5 also solving it for me.
Comment by Jelle van der Waa (jelly) - Sunday, 11 March 2018, 20:42 GMT
Yup, I'm aware of the issue, sadly not much time to look into it.
Comment by Moabit (Moabit) - Saturday, 17 March 2018, 07:50 GMT
For me, I can't even launch cura itself. Downgrading to python-pyqt5 5.10-3 also fixes it for me.

I can also report that I get the same issue with cura-git from the AUR too, with the same fix working.
Comment by Jelle van der Waa (jelly) - Saturday, 17 March 2018, 13:01 GMT
Yes PyQt is somehow broken
Comment by Aaron Fischer (aaronmueller) - Sunday, 18 March 2018, 19:25 GMT
I understand if there is sometimes things in life, which are more important than this, but the package is completely unusable/broken at the moment. If this is a AUR package, ok, but it is a official community package.

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.
Comment by Eli Schwartz (eschwartz) - Monday, 19 March 2018, 05:05 GMT
Because the old pyqt5 package is no longer available on the mirrors, so it would be very nearly the same thing as simply pulling the package from the repos altogether?

Might make more sense to try chasing down the issue yourself e.g. see https://www.riverbankcomputing.com/mailman/listinfo/pyqt
Comment by winch (winch) - Sunday, 08 April 2018, 12:49 GMT

Loading...