Closed thopiekar closed 6 years ago
Can't reproduce. Printers add fine in the 2.7 beta.
2017-07-25 09:48:22,236 - WARNING - UM.OutputDevice.OutputDeviceManager.removeOutputDevice [125]: Could not find output device with id /dev/ttyACM0 to remove
Perhaps it has something to do with the removable drive? Or the USB printing that seems to be going on at the time of the crash? I must say that I never dared switching printers while USB printing.
For me it is reproducible on my work laptop and private laptop, which are running Ubuntu and use my PPA packages.
Ok, not related to the USB printing plugin. Just removed it and got almost the same:
thopiekar@hp:~$ cura
UM.Resources.__initializeStoragePaths [342]: Initializing storage paths
UM.Resources.__initializeStoragePaths [353]: Config storage path is /home/thopiekar/.config/cura/2.6
UM.Resources.__initializeStoragePaths [361]: Data storage path is /home/thopiekar/.local/share/cura/2.6
UM.Resources.__initializeStoragePaths [373]: Cache storage path is /home/thopiekar/.cache/cura/2.6
UM.View.GL.OpenGLContext.detectBestOpenGLVersion [103]: Trying OpenGL context 4.1...
UM.View.GL.OpenGLContext.detectBestOpenGLVersion [119]: Trying OpenGL context 2.0...
UM.View.GL.OpenGLContext.detectBestOpenGLVersion [128]: We got at least OpenGL context 2.0: 2.1 No profile
UM.Qt.QtApplication.__init__ [82]: Detected most suitable OpenGL context version: 2.0 No profile
2017-08-29 14:27:05,094 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ConsoleLogger
2017-08-29 14:27:05,112 - INFO - CuraEngineBackend.CuraEngineBackend.__init__ [64]: Found CuraEngine at: /usr/bin/CuraEngine
2017-08-29 14:27:05,113 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraEngineBackend
2017-08-29 14:27:05,122 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LocalFileOutputDevice
2017-08-29 14:27:05,123 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin ConsoleLogger was already loaded
2017-08-29 14:27:05,126 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin FileLogger
2017-08-29 14:27:05,135 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin TranslateTool
2017-08-29 14:27:05,144 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ScaleTool
2017-08-29 14:27:05,151 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CameraTool
2017-08-29 14:27:05,160 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin MirrorTool
2017-08-29 14:27:05,168 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin RotateTool
2017-08-29 14:27:05,173 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SelectionTool
2017-08-29 14:27:05,177 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin OBJWriter
2017-08-29 14:27:05,183 - WARNING - STLReader.STLReader.<module> [25]: Could not find numpy-stl, falling back to slower code.
2017-08-29 14:27:05,186 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin STLReader
2017-08-29 14:27:05,191 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin STLWriter
2017-08-29 14:27:05,195 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin OBJReader
2017-08-29 14:27:05,198 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SimpleView
2017-08-29 14:27:05,202 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin PluginBrowser
2017-08-29 14:27:05,206 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin XRayView
2017-08-29 14:27:05,210 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SolidView
2017-08-29 14:27:05,223 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin UltimakerMachineActions
2017-08-29 14:27:05,240 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeReader
2017-08-29 14:27:05,244 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LegacyProfileReader
2017-08-29 14:27:05,253 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin 3MFWriter
2017-08-29 14:27:05,257 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeWriter
2017-08-29 14:27:05,260 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraProfileReader
2017-08-29 14:27:05,265 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin XmlMaterialProfile
2017-08-29 14:27:05,269 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin GCodeProfileReader
2017-08-29 14:27:05,274 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ImageReader
2017-08-29 14:27:05,340 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin SliceInfoPlugin
2017-08-29 14:27:05,344 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade25to26
2017-08-29 14:27:05,348 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade21to22
2017-08-29 14:27:05,352 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade22to24
2017-08-29 14:27:05,356 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin VersionUpgrade26to27
2017-08-29 14:27:05,362 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin 3MFReader
2017-08-29 14:27:05,363 - WARNING - UM.PluginRegistry.loadPlugin [193]: Plugin CuraEngineBackend was already loaded
2017-08-29 14:27:05,367 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin PerObjectSettingsTool
2017-08-29 14:27:05,372 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin AutoSave
2017-08-29 14:27:05,378 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin RemovableDriveOutputDevice
2017-08-29 14:27:05,395 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin LayerView
2017-08-29 14:27:05,414 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin X3DReader
2017-08-29 14:27:05,418 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin CuraProfileWriter
2017-08-29 14:27:05,423 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin ChangeLogPlugin
2017-08-29 14:27:05,428 - INFO - UM.PluginRegistry.loadPlugin [231]: Loaded plugin MachineSettingsAction
2017-08-29 14:27:05,429 - INFO - UM.Qt.QtApplication.__init__ [114]: Command line arguments: {'external-backend': False, 'disable-textures': False, 'qmljsdebugger': None, 'file': [], 'single_instance': False}
2017-08-29 14:27:05,434 - INFO - UM.VersionUpgradeManager.upgrade [112]: Looking for old configuration files to upgrade.
2017-08-29 14:27:05,455 - DEBUG - UM.Backend.Backend._logSocketState [173]: Socket state changed to Listening
2017-08-29 14:27:05,463 - INFO - UM.Backend.Backend.startEngine [74]: Started engine process: /usr/bin/CuraEngine
2017-08-29 14:27:05,464 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] Calling engine with: ['/usr/bin/CuraEngine', 'connect', '127.0.0.1:49674', '-j', '/usr/share/cura/resources/definitions/fdmprinter.def.json', '']
2017-08-29 14:27:05,472 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend]
2017-08-29 14:27:05,472 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] Cura_SteamEngine version DEV
2017-08-29 14:27:05,475 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] Copyright (C) 2014 David Braam
2017-08-29 14:27:05,475 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend]
2017-08-29 14:27:05,476 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] This program is free software: you can redistribute it and/or modify
2017-08-29 14:27:05,477 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] it under the terms of the GNU Affero General Public License as published by
2017-08-29 14:27:05,477 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] the Free Software Foundation, either version 3 of the License, or
2017-08-29 14:27:05,478 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] (at your option) any later version.
2017-08-29 14:27:05,480 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend]
2017-08-29 14:27:05,481 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] This program is distributed in the hope that it will be useful,
2017-08-29 14:27:05,481 - DEBUG - UM.Backend.Backend._logSocketState [177]: Socket state changed to Connected
2017-08-29 14:27:05,482 - DEBUG - UM.Backend.Backend._onSocketStateChanged [167]: Backend connected on port 49674
2017-08-29 14:27:05,482 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] but WITHOUT ANY WARRANTY; without even the implied warranty of
2017-08-29 14:27:05,484 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2017-08-29 14:27:05,485 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] GNU Affero General Public License for more details.
2017-08-29 14:27:05,487 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend]
2017-08-29 14:27:05,488 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] You should have received a copy of the GNU Affero General Public License
2017-08-29 14:27:05,489 - DEBUG - UM.Backend.Backend._backendLog [92]: [Backend] along with this program. If not, see <http://www.gnu.org/licenses/>.
2017-08-29 14:27:06,674 - WARNING - cura.MachineActionManager.addSupportedAction [77]: Unable to add DiscoverUM3Action to ultimaker3_extended, as the action is not recognised
2017-08-29 14:27:06,675 - WARNING - cura.MachineActionManager.addFirstStartAction [90]: Unable to add DiscoverUM3Action to ultimaker3_extended, as the action is not recognised
2017-08-29 14:27:08,681 - WARNING - cura.MachineActionManager.addSupportedAction [77]: Unable to add DiscoverUM3Action to ultimaker3, as the action is not recognised
2017-08-29 14:27:08,682 - WARNING - cura.MachineActionManager.addFirstStartAction [90]: Unable to add DiscoverUM3Action to ultimaker3, as the action is not recognised
2017-08-29 14:27:25,490 - DEBUG - UM.Settings.ContainerRegistry.load [214]: Loading data into container registry took 19.87753200531006 seconds
2017-08-29 14:27:25,494 - DEBUG - UM.Controller.setActiveView [84]: Setting active view to SolidView
WARNING: Cannot find style "org.kde.desktop" - fallback: "/usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Controls/Styles/Desktop"
2017-08-29 14:27:26,719 - DEBUG - UM.Qt.Bindings.Theme.load [165]: Loading theme file: /usr/share/cura/resources/themes/cura/theme.json
2017-08-29 14:27:26,749 - DEBUG - UM.Qt.Bindings.Theme.load [232]: Loaded theme /usr/share/cura/resources/themes/cura
file:///usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick/Dialogs/DefaultFileDialog.qml:210:25: QML ListView: Binding loop detected for property "model"
QObject::connect: Parentheses expected, signal MainWindow::
QObject::connect: Parentheses expected, signal MainWindow::
QObject::connect: Parentheses expected, signal MainWindow::
QObject::connect: Parentheses expected, signal MainWindow::
Fatal Python error: Segmentation fault
Thread 0x00007fd564ad0700 (most recent call first):
File "/usr/lib/python3/dist-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 0x00007fd5652d1700 (most recent call first):
File "/usr/lib/python3/dist-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 0x00007fd5664d3700 (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/dist-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3/dist-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 0x00007fd566cd4700 (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/dist-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3/dist-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 0x00007fd5674d5700 (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/dist-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3/dist-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 0x00007fd567cd6700 (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/dist-packages/UM/JobQueue.py", line 86 in _nextJob
File "/usr/lib/python3/dist-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 0x00007fd58cce1700 (most recent call first):
File "/usr/lib/cura/plugins/RemovableDriveOutputDevice/RemovableDrivePlugin.py", line 58 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
Current thread 0x00007fd59db93700 (most recent call first):
File "/usr/lib/python3/dist-packages/UM/Qt/QtApplication.py", line 233 in initializeEngine
File "/usr/lib/python3/dist-packages/cura/CuraApplication.py", line 671 in run
File "/usr/bin/cura", line 73 in <module>
Speicherzugriffsfehler (Speicherabzug geschrieben)
This seems like a pyqt or qt version issue. I just added an UM3 and it works as expected
Ok, so I can only blame it on some ugly patches applied by Canonical and/or Debian.
Works fine for me on Ubuntu 17.04 as well as 16.04.3 LTS.
@thopiekar neither debian nor ubuntu apply ugly patches. Such comments are not helpful. The segfault happens in Debian testing, too. Somewhere deep in qt5:
#0 0x00007f14ff3c2d99 in QWindow::geometry (this=0x555560dcfc60) at kernel/qwindow.cpp:1633
No locals.
#1 0x00007f14ff3c87f1 in QWindow::width (this=<optimized out>) at kernel/qwindow.h:226
No locals.
#2 QWindow::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>,
_a=<optimized out>) at .moc/moc_qwindow.cpp:560
_t = <optimized out>
_v = 0x7fffffffcfe0
#3 0x00007f1500bb9bcb in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
No symbol table info available.
#4 0x00007f1500bbad40 in QV4::QObjectWrapper::getQmlProperty(QQmlContextData*, QV4::String*, QV4::QObjectWrapper::RevisionMode, bool*, bool) const () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
No symbol table info available.
#5 0x00007f1500bd205f in QV4::Runtime::method_getProperty(QV4::ExecutionEngine*, QV4::Value const&, int) () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
No symbol table info available.
#6 0x00007f14b0bd1823 in ?? ()
No symbol table info available.
#7 0x000055556201c480 in ?? ()
No symbol table info available.
#8 0x00007f14b1340388 in ?? ()
[.... removed a ton of extra lines ...]
I need to install more debug packages to figure out where it comes from and whats going on there.
Even worse, python3-dbg segfaults earlier.
Updating to packages from unstable with python3.6 resulted in a better backtrace, directly from python:
2017-09-26 23:06:23,219 - DEBUG - UM.Qt.QtRenderer._initialize [172]: Support for Vertex Array Objects: True
2017-09-26 23:06:23,251 - CRITICAL - cura.CrashHandler.show [39]: An uncaught exception has occurred!
2017-09-26 23:06:23,254 - CRITICAL - cura.CrashHandler.show [42]: Traceback (most recent call last):
2017-09-26 23:06:23,254 - CRITICAL - cura.CrashHandler.show [42]: File "/home/bzed/workspace/3d/tools/lib/python3/dist-packages/UM/Qt/Bindings/MainWindow.py", line 182, in _render
2017-09-26 23:06:23,254 - CRITICAL - cura.CrashHandler.show [42]: renderer.beginRendering()
2017-09-26 23:06:23,254 - CRITICAL - cura.CrashHandler.show [42]: File "/home/bzed/workspace/3d/tools/lib/python3/dist-packages/UM/Qt/QtRenderer.py", line 111, in beginRendering
2017-09-26 23:06:23,255 - CRITICAL - cura.CrashHandler.show [42]: self._initialize()
2017-09-26 23:06:23,255 - CRITICAL - cura.CrashHandler.show [42]: File "/home/bzed/workspace/3d/tools/lib/python3/dist-packages/UM/Qt/QtRenderer.py", line 174, in _initialize
2017-09-26 23:06:23,255 - CRITICAL - cura.CrashHandler.show [42]: OpenGL.setInstance(OpenGL())
2017-09-26 23:06:23,255 - CRITICAL - cura.CrashHandler.show [42]: File "/home/bzed/workspace/3d/tools/lib/python3/dist-packages/UM/View/GL/OpenGL.py", line 43, in __init__
2017-09-26 23:06:23,255 - CRITICAL - cura.CrashHandler.show [42]: self._gl = QOpenGLContext.currentContext().versionFunctions(profile)
2017-09-26 23:06:23,256 - CRITICAL - cura.CrashHandler.show [42]: ImportError: No module named 'PyQt5._QOpenGLFunctions_2_0'
2017-09-26 23:06:23,311 - DEBUG - UM.Qt.QtRenderer._initialize [172]: Support for Vertex Array Objects: True
file:///home/bzed/workspace/3d/tools/share/cura/resources/qml/AddMachineDialog.qml:34: Error: Cannot assign [undefined] to QString
*** Error in `python3': double free or corruption (fasttop): 0x000055bea582f3d0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7fdf22fccbfb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7fdf22fd2fc6]
/lib/x86_64-linux-gnu/libc.so.6(+0x7780e)[0x7fdf22fd380e]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QMetaType7destroyEiPv+0x41)[0x7fdf1df071f1]
/usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so(+0x1e318a)[0x7fdf1af4018a]
/usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so(+0x1f2789)[0x7fdf1af4f789]
/usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so(+0x1f2892)[0x7fdf1af4f892]
/usr/lib/python3/dist-packages/PyQt5/QtQml.cpython-35m-x86_64-linux-gnu.so(+0x7bed0)[0x7fdf1aae2ed0]
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5(_ZN17QQmlVMEMetaObject8metaCallEP7QObjectN11QMetaObject4CallEiPPv+0x1ee)[0x7fdf1a65640e]
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5(_ZNK3QV420QQmlValueTypeWrapper5writeEP7QObjecti+0xb8)[0x7fdf1a6eda48]
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5(+0x2c3904)[0x7fdf1a6e7904]
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5(+0x2c455e)[0x7fdf1a6e855e]
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5(_ZN11QQmlBinding6updateE6QFlagsIN16QQmlPropertyData9WriteFlagEE+0x253)[0x7fdf1a6e5323]
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5(_ZN12QQmlNotifier10emitNotifyEP20QQmlNotifierEndpointPPv+0x253)[0x7fdf1a6bbf63]
/usr/lib/x86_64-linux-gnu/libQt5Qml.so.5(_ZN8QQmlData13signalEmittedEP24QAbstractDeclarativeDataP7QObjectiPPv+0x109)[0x7fdf1a65af39]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x9f)[0x7fdf1df1d11f]
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN7QWindow12widthChangedEi+0x41)[0x7fdf18e3dda1]
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(+0x10b53b)[0x7fdf18e4553b]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x865)[0x7fdf1df1d8e5]
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN7QWindow12widthChangedEi+0x41)[0x7fdf18e3dda1]
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate26processGeometryChangeEventEPN29QWindowSystemInterfacePrivate19GeometryChangeEventE+0x284)[0x7fdf18e36ec4]
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE+0x22d)[0x7fdf18e3bb1d]
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xab)[0x7fdf18e13cab]
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x9c5a0)[0x7fdf0727e5a0]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2e7)[0x7fdf1cf68f67]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4b1a0)[0x7fdf1cf691a0]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7fdf1cf6922c]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5f)[0x7fdf1df4747f]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x13a)[0x7fdf1deece3a]
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN7QDialog4execEv+0x207)[0x7fdf19821557]
/usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so(+0x38deb7)[0x7fdf1a072eb7]
python3(PyCFunction_Call+0x4f)[0x55be99bf215f]
python3(PyEval_EvalFrameEx+0x5af)[0x55be99bda51f]
python3(PyEval_EvalFrameEx+0x423f)[0x55be99bde1af]
python3(PyEval_EvalCodeEx+0x20d)[0x55be99be35dd]
python3(+0x1c5f83)[0x55be99bf3f83]
python3(PyObject_Call+0x47)[0x55be99c342e7]
python3(PyEval_CallObjectWithKeywords+0x30)[0x55be99bbb2f0]
python3(+0xb8699)[0x55be99ae6699]
/usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so(+0x1ea123)[0x7fdf1af47123]
/usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so(+0x1f011d)[0x7fdf1af4d11d]
/usr/lib/python3/dist-packages/PyQt5/QtCore.cpython-35m-x86_64-linux-gnu.so(+0x1f0a37)[0x7fdf1af4da37]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x929)[0x7fdf1df1d9a9]
/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5(_ZN19QQuickWindowPrivate16renderSceneGraphERK5QSize+0x70)[0x7fdf07d2f860]
/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5(+0x189359)[0x7fdf07cc5359]
/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5(+0x18a33a)[0x7fdf07cc633a]
/usr/lib/python3/dist-packages/PyQt5/QtQuick.cpython-35m-x86_64-linux-gnu.so(+0x91533)[0x7fdf0825e533]
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN7QWindow5eventEP6QEvent+0xc5)[0x7fdf18e45d35]
/usr/lib/x86_64-linux-gnu/libQt5Quick.so.5(_ZN12QQuickWindow5eventEP6QEvent+0x85)[0x7fdf07d39ce5]
/usr/lib/python3/dist-packages/PyQt5/QtQuick.cpython-35m-x86_64-linux-gnu.so(+0x90ff3)[0x7fdf0825dff3]
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c)[0x7fdf195f546c]
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x2a4)[0x7fdf195fcd34]
/usr/lib/python3/dist-packages/PyQt5/QtWidgets.cpython-35m-x86_64-linux-gnu.so(+0x3ab8be)[0x7fdf1a0908be]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x118)[0x7fdf1deeede8]
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate18processExposeEventEPN29QWindowSystemInterfacePrivate11ExposeEventE+0xcf)[0x7fdf18e3ae5f]
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE+0x1ad)[0x7fdf18e3ba9d]
/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5(_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0xab)[0x7fdf18e13cab]
/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x9c5a0)[0x7fdf0727e5a0]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2e7)[0x7fdf1cf68f67]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4b1a0)[0x7fdf1cf691a0]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x2c)[0x7fdf1cf6922c]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x5f)[0x7fdf1df4747f]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0x13a)[0x7fdf1deece3a]
Installing python3-pyqt5.qtopengl actually fixed the segfault. A better check for missing dependencies might be necessary.
@bzed Most of the dependencies shall be detected by the debhelper tools, but still some of them seem to be detected as optional, like plugins. Thank you for finding this package, will add it manually and force the installation of it.
Ah! This is strange.. The package should be there already! https://github.com/thopiekar/Cura-packaging/blob/master/Uranium/control#L33
@bzed Which PPA are you using? Stable? Master?
@thopiekar None, I build stuff on my own, in this case not using debhelper and friends. Just run into the exactly that issue and tried to figure out whats going on. I'm actually not sure if the missing package was the problem at all as python should never throw a core dump because of that. I think there must be actually a strange bug somewhere in the QT stuff that triggers the coredump, maybe due to hardening compiler options.
As you are seeing the same bugs in Ubuntu: since when do you see them? Which Ubuntu are you running on your machine? Were there updates for qt5 or python3 recently?
@bzed Well, before I began to work for Ultimaker I never had to add an UM3. Also during work I'm often doing other things then printing with an UM3. Therefore I have no idea for how long this issue exists. Also I have the feeling that most of the people, who are using my PPA, are using either older Ultimaker printers then the UM3 or printers from other vendors. Thus, I never heard of this issue from one of the users so far and it seems like I'm the only one who has got these issues at the moment.
Well, there were issues in the past, because of Ubuntu patches to Qt5, so Cura from my PPA was not working with Unity. However, Unity is dead, but no idea what else Canonical is doing to these packages. Thus I can imaging the issue comes from their patches. The vanilla Qt build inside the AppImage is not throwing any issues.
I'm going to close this since it hasn't seen any activity for 7 months. If it's still an issue let me know @thopiekar.
Nope, that's not an issue anymore. I guess it was in the past due to problems in Canonical's PyQt5.
Btw: What I find very interesting is that I'm using the builds from master and cura is still using the 2.6 config dirs. :thinking: