FS#57992 - [cura] segfault on startup
Attached to Project:
Community Packages
Opened by Gonçalo Pereira (G-Pereira) - Tuesday, 27 March 2018, 14:34 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 04 April 2018, 22:23 GMT
Opened by Gonçalo Pereira (G-Pereira) - Tuesday, 27 March 2018, 14:34 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 04 April 2018, 22:23 GMT
|
Details
Description:
Since the change of the version code it throws a SEGFAULT when starting the app. This is because the app is confusing configs folders between this two: ~/.config/cura/3.2/cura.cfg ~/.config/cura/master/cura.cfg Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: simply start the app |
This task depends upon
Closed by Antonio Rojas (arojas)
Wednesday, 04 April 2018, 22:23 GMT
Reason for closing: Fixed
Additional comments about closing: python-pyqt5 5.10.1-2
Wednesday, 04 April 2018, 22:23 GMT
Reason for closing: Fixed
Additional comments about closing: python-pyqt5 5.10.1-2
FS#57558?Not much we can do about configs in your home dir.
If you're suggesting you'd like to apply as a Trusted User, this is not really how you go about doing that.
set(CURA_VERSION "master" CACHE STRING "Version name of Cura")
2018-03-28 23:13:49,326 - DEBUG - [(140157118235968)-MainThread] UM.Qt.Bindings.Theme.load [240]: Loaded theme /usr/share/cura/resources/themes/cura-light
2018-03-28 23:13:49,388 - DEBUG - [(140157118235968)-MainThread] LocalContainerProvider.LocalContainerProvider.loadContainer [50]: Loading container fdmprinter
Fatal Python error: Segmentation fault
Thread 0x00007f787de58700 (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 0x00007f787e659700 (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 0x00007f787f794700 (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 0x00007f78a0bb4700 (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 0x00007f78a17fa700 (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 0x00007f78a1ffb700 (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 0x00007f78a27fc700 (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 0x00007f78a2ffd700 (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 0x00007f78a37fe700 (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 0x00007f78a3fff700 (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 0x00007f78a8e8a700 (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 0x00007f78a968b700 (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 0x00007f78df3ec540 (most recent call first):
File "/usr/lib/python3.6/site-packages/UM/Qt/QtApplication.py", line 236 in initializeEngine
File "/usr/lib/python3.6/site-packages/cura/CuraApplication.py", line 730 in run
File "/usr/bin/cura", line 141 in <module>
[1] 9762 segmentation fault (core dumped) cura
So, yes, this problem is definitely not only happening to G-Pereira :)
In /usr/lib/python3.6/site-packages/UM/Qt/QtApplication.py, it segfaults on:
self._engine = QQmlApplicationEngine()
self._engine.load(self._main_qml) # self._main_qml=/usr/share/cura/resources/qml/Cura.qml
File is owned by uranium.
The code to revert is http://pkgbuild.com/~jelle/0001-Revert-register-type-magic.patch