-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems running on Unity due to Qt5 <-> DBusMenu #1094
Comments
@argo2445 Could you please do an system update? I just want to be sure we both use the same packages here. |
@thopiekar I just updated the system. The result semms to be the same. |
Speicherzugriffsfehler means it's a memory error. A segfault, it seems. |
I always had this message here since we've started to work on 2.0.x. Prepared my master PPA to work with the debug version of Python. I'll try to experiment on this later. But back to the problem here. What I personally miss here is the message about OpenGL being loaded.. |
$ glxinfo | grep -i "OpenGL version string:" |
And |
$ glxinfo | grep -i "opengl" |
Great, thanks! Intel GPU and opensource drivers 👍 So let's run Cura without your drivers, but using software rendering by: |
It is crashing again. Seems to be the same :(. |
@Ghostkeeper, just a little update. Now the segmentation fault is away again..
Very strange.. So now it is only related to the NVidia drivers again? 😕 |
@argo2445 I also resetted my configs and I can't reproduce it here. Could you run |
Additionally, are there any modifications on your Xorg's settings? |
I did not modify anything about Xorg. I just upgraded the System from Ubuntu 16.04 to 16.10 two weeks ago. $ dmesg |
Ok, your systems seems to be fine. Your dmesg says that your problem here actually takes place in libQt5XcbQpa.so.5.6.1, which is a Qt5 library.. |
@argo2445 Please run: |
|
Thanks! I see that some debug packages are missing here. Will tell you which are needed here in short. |
Please install |
Also, qtdeclarative5-dbg |
@argo2445 Oh, and please rerun GDB as described before. |
|
@argo2445 Thanks! Just added the missing ``` at the beginning and end for you 😉 |
Well there's your issue... sounds like this is an upstream bug. |
Thank you very much @thopiekar and @awhiemstra! What to do now? |
Sadly, yes. I don't see any proposed updates on the Qt5 package in Ubuntu's repository. |
Okay, I will wait for a fix :(. |
Regarding my PPA: If you are using Unity: No, the problem is known and comes from Unity in some way. You should report the problem at launchpad or even look for issues, which are already open in Launchpad, and mark there that this problem "affects you", too. By doing this the issue might get an higher priority and Canonical will probably take care about it sooner. |
I've been using Unity for years with Cura. The last problem I had with it (blanco menus at random) was fixed by upgrading to Ubuntu 16.10. But that's from source. |
I think I have the same problem on Ubuntu 16.10 with Cura 2.4 (PPA). @thopiekar Do you know what exactly causes the issue on Unity? If there is an issue on Launchpad, can you post a link? |
Hey @claell , |
Not necessarily, this issue is specifically about the QML Menu component. Most other applications will just be using a QWidgets based menu bar, which probably works fine. The QML version however triggers the crash. |
Could someone with knowledge please file a bug report or point to an existing one? I think I am not experienced enough to create or find one. |
Here is a direct link to creating a new issue: https://github.com/Ultimaker/Cura/issues/new |
What I meant is to create an issue on Launchpad so the Ubuntu developers can fix this. |
@claell Ah, you are talking about the problem with Unity? |
Yes |
I would report the bug here: https://bugs.launchpad.net/ubuntu/+source/unity |
Alright, I created a bug report: https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1653345 Since I don't know much about this I hope it is enough. Else feel free to add more information. |
Thanks. I also added some info to it. To the others with the problem: If you have a launchpad account, please visit the ticket and mark yourself there that this issue 'affects' you. This will make the issue more important in Canonicals issue tracker. Regards and happy new year! |
That's very unfortunate. Is there a work around for now, short of changing desktop environment completely? I would quite like to keep using Cura. |
Sadly no. I installed Unity here on my own and compared the environment variables between the both desktop sessions. I just can hope that someone at Canonical will find a solution or even workaround soon, so people won't need to install another desktop in order to use Cura. |
@awhiemstra Do you remember whether we located which patch file causes this problem? I can only remember that we found out that an unpatched Qt5 installation (as we are using it in our AppImages) just works fine. @skorokithakis Alternatively you can try our AppImage. You can find it in our beta section on our download page. |
Thank you, the AppImage sounds great. |
Do you have a link to an AppImage for 2.4.0? All I found (after considerable searching) was one for 2.3.1. |
You can find the end of the list at: https://ultimaker.com/en/products/cura-software/list |
Ah, thanks. That really should say "AppImage" somewhere. |
The AppImage works perfectly, thank you. |
@thopiekar It is one of the dbusmenu related patches in the ubuntu source package. I can't recall which one precisely. In any case, they are not in the debian packages as far as I can tell. |
Same here, as of today, Jan 2018. |
I use the ppa version from 'http://ppa.launchpad.net/thopiekar/cura/ubuntu'.
It does not start any more after upgrade.
I already deleted all cura folders in .cache, .config and .local.
Output on Startup:
`
2016-10-31 12:29:26,787 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin ConsoleLogger
2016-10-31 12:29:26,799 - INFO - /usr/lib/cura/plugins/CuraEngineBackend/CuraEngineBackend.py (init [40]): Found CuraEngine at: /usr/bin/CuraEngine
2016-10-31 12:29:26,799 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin CuraEngineBackend
2016-10-31 12:29:26,804 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin WireframeView
2016-10-31 12:29:26,807 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin SimpleView
2016-10-31 12:29:26,822 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin RotateTool
2016-10-31 12:29:26,827 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin SelectionTool
2016-10-31 12:29:26,841 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin ScaleTool
2016-10-31 12:29:26,849 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin TranslateTool
2016-10-31 12:29:26,855 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin CameraTool
2016-10-31 12:29:26,861 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin MirrorTool
2016-10-31 12:29:26,867 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin LocalFileOutputDevice
2016-10-31 12:29:26,867 - WARNING - .../UM/PluginRegistry.py (loadPlugin [63]): Plugin ConsoleLogger was already loaded
2016-10-31 12:29:26,869 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin FileLogger
2016-10-31 12:29:26,872 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin STLWriter
2016-10-31 12:29:26,875 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin OBJReader
2016-10-31 12:29:26,878 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin OBJWriter
2016-10-31 12:29:26,881 - WARNING - /usr/lib/uranium/plugins/FileHandlers/STLReader/STLReader.py ( [5]): Could not find numpy-stl, falling back to slower code.
2016-10-31 12:29:26,882 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin STLReader
2016-10-31 12:29:26,889 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin 3MFWriter
2016-10-31 12:29:26,891 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin CuraProfileWriter
2016-10-31 12:29:26,921 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Plugin Doodle3D uses an incompatible API version, ignoring
2016-10-31 12:29:26,924 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin LayerView
2016-10-31 12:29:26,926 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin LegacyProfileReader
2016-10-31 12:29:26,928 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin ImageReader
2016-10-31 12:29:26,931 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin GCodeProfileReader
2016-10-31 12:29:26,934 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin MachineSettingsAction
2016-10-31 12:29:26,936 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin X3DReader
2016-10-31 12:29:26,937 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin AutoSave
2016-10-31 12:29:26,940 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin SolidView
2016-10-31 12:29:26,944 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin VersionUpgrade21to22
2016-10-31 12:29:26,946 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin XRayView
2016-10-31 12:29:26,953 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin USBPrinting
2016-10-31 12:29:26,957 - WARNING - .../UM/Preferences.py (getValue [70]): Tried to get the value of non-existing setting cura/active_mode.
2016-10-31 12:29:26,957 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin PerObjectSettingsTool
2016-10-31 12:29:26,967 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin XmlMaterialProfile
2016-10-31 12:29:26,970 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin ChangeLogPlugin
2016-10-31 12:29:26,971 - WARNING - .../UM/PluginRegistry.py (loadPlugin [63]): Plugin CuraEngineBackend was already loaded
2016-10-31 12:29:26,973 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin 3MFReader
2016-10-31 12:29:26,976 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin RemovableDriveOutputDevice
2016-10-31 12:29:26,979 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin CuraProfileReader
2016-10-31 12:29:26,983 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin UltimakerMachineActions
2016-10-31 12:29:26,989 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin SliceInfoPlugin
2016-10-31 12:29:26,991 - INFO - .../UM/PluginRegistry.py (loadPlugin [63]): Loaded plugin GCodeWriter
2016-10-31 12:29:26,992 - INFO - .../UM/Qt/QtApplication.py (init [39]): Command line arguments: {'file': [], 'disable-textures': False, 'external-backend': False, 'debug-mode': False}
2016-10-31 12:29:26,995 - DEBUG - /usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDevice.py (_connect [298]): Attempting to connect to /dev/ttyACM2
2016-10-31 12:29:26,997 - DEBUG - /usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDevice.py (_connect [298]): Attempting to connect to /dev/ttyACM1
2016-10-31 12:29:26,998 - DEBUG - /usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDevice.py (_connect [298]): Attempting to connect to /dev/ttyACM0
2016-10-31 12:29:26,998 - INFO - .../UM/VersionUpgradeManager.py (upgrade [98]): Looking for old configuration files to upgrade.
2016-10-31 12:29:29,250 - DEBUG - .../UM/Backend/Backend.py (_logSocketState [165]): Socket state changed to Listening
2016-10-31 12:29:29,255 - INFO - .../UM/Backend/Backend.py (startEngine [55]): Started engine process: /usr/bin/CuraEngine
2016-10-31 12:29:29,256 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] Calling engine with: ['/usr/bin/CuraEngine', 'connect', '127.0.0.1:49674', '-j', '/usr/share/cura/resources/definitions/fdmprinter.def.json', '']
2016-10-31 12:29:29,257 - WARNING - .../UM/OutputDevice/OutputDeviceManager.py (removeOutputDevice [123]): Could not find output device with id /dev/ttyACM2 to remove
2016-10-31 12:29:29,257 - WARNING - .../UM/OutputDevice/OutputDeviceManager.py (removeOutputDevice [123]): Could not find output device with id /dev/ttyACM1 to remove
2016-10-31 12:29:29,257 - WARNING - .../UM/OutputDevice/OutputDeviceManager.py (removeOutputDevice [123]): Could not find output device with id /dev/ttyACM0 to remove
2016-10-31 12:29:29,259 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend]
2016-10-31 12:29:29,262 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] Cura_SteamEngine version DEV
2016-10-31 12:29:29,266 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] Copyright (C) 2014 David Braam
2016-10-31 12:29:29,267 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend]
2016-10-31 12:29:29,267 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] This program is free software: you can redistribute it and/or modify
2016-10-31 12:29:29,267 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] it under the terms of the GNU Affero General Public License as published by
2016-10-31 12:29:29,267 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] the Free Software Foundation, either version 3 of the License, or
2016-10-31 12:29:29,267 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] (at your option) any later version.
2016-10-31 12:29:29,268 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend]
2016-10-31 12:29:29,268 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] This program is distributed in the hope that it will be useful,
2016-10-31 12:29:29,268 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] but WITHOUT ANY WARRANTY; without even the implied warranty of
2016-10-31 12:29:29,268 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2016-10-31 12:29:29,268 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] GNU Affero General Public License for more details.
2016-10-31 12:29:29,269 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend]
2016-10-31 12:29:29,269 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] You should have received a copy of the GNU Affero General Public License
2016-10-31 12:29:29,269 - DEBUG - .../UM/Backend/Backend.py (_backendLog [88]): [Backend] along with this program. If not, see http://www.gnu.org/licenses/.
2016-10-31 12:29:29,501 - WARNING - .../cura/MachineActionManager.py (addSupportedAction [68]): Unable to add DiscoverUM3Action to ultimaker3_extended, as the action is not recognised
2016-10-31 12:29:29,502 - WARNING - .../cura/MachineActionManager.py (addFirstStartAction [79]): Unable to add DiscoverUM3Action to ultimaker3_extended, as the action is not recognised
2016-10-31 12:29:29,502 - DEBUG - /usr/lib/cura/plugins/MachineSettingsAction/MachineSettingsAction.py (_onContainerAdded [40]): Not attaching MachineSettingsAction to ultimaker3_extended; Multi-extrusion printers are not supported
2016-10-31 12:29:29,707 - INFO - /usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDevice.py (_connect [298]): Could not establish connection on /dev/ttyACM1: 'Timeout'. Device is not arduino based.
2016-10-31 12:29:29,708 - INFO - /usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDevice.py (_connect [298]): Could not establish connection on /dev/ttyACM0: 'Timeout'. Device is not arduino based.
2016-10-31 12:29:29,785 - DEBUG - /usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDevice.py (_connect [298]): Attempting to connect to printer with serial /dev/ttyACM1 on baud rate 115200
2016-10-31 12:29:29,786 - INFO - /usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDevice.py (_connect [298]): Could not establish connection on /dev/ttyACM2: 'Timeout'. Device is not arduino based.
2016-10-31 12:29:29,786 - DEBUG - /usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDevice.py (_connect [298]): Attempting to connect to printer with serial /dev/ttyACM0 on baud rate 115200
2016-10-31 12:29:29,835 - DEBUG - /usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDevice.py (_connect [298]): Attempting to connect to printer with serial /dev/ttyACM2 on baud rate 115200
2016-10-31 12:29:29,929 - DEBUG - /usr/lib/cura/plugins/MachineSettingsAction/MachineSettingsAction.py (_onContainerAdded [40]): Not attaching MachineSettingsAction to ultimaker_original_dual; Multi-extrusion printers are not supported
2016-10-31 12:29:30,263 - DEBUG - /usr/lib/cura/plugins/MachineSettingsAction/MachineSettingsAction.py (_onContainerAdded [40]): Not attaching MachineSettingsAction to ultimaker2_extended_plus; Machines that use variants are not supported
2016-10-31 12:29:30,521 - DEBUG - /usr/lib/cura/plugins/MachineSettingsAction/MachineSettingsAction.py (_onContainerAdded [40]): Not attaching MachineSettingsAction to ultimaker2_plus; Machines that use variants are not supported
2016-10-31 12:29:30,552 - WARNING - .../cura/MachineActionManager.py (addSupportedAction [68]): Unable to add DiscoverUM3Action to ultimaker3, as the action is not recognised
2016-10-31 12:29:30,552 - WARNING - .../cura/MachineActionManager.py (addFirstStartAction [79]): Unable to add DiscoverUM3Action to ultimaker3, as the action is not recognised
2016-10-31 12:29:30,552 - DEBUG - /usr/lib/cura/plugins/MachineSettingsAction/MachineSettingsAction.py (_onContainerAdded [40]): Not attaching MachineSettingsAction to ultimaker3; Multi-extrusion printers are not supported
2016-10-31 12:29:35,013 - DEBUG - .../UM/Backend/Backend.py (_logSocketState [165]): Socket state changed to Connected
2016-10-31 12:29:35,014 - DEBUG - .../UM/Backend/Backend.py (_onSocketStateChanged [155]): Backend connected on port 49674
2016-10-31 12:29:35,015 - DEBUG - .../UM/Controller.py (setActiveView [80]): Setting active view to SolidView
2016-10-31 12:29:35,512 - DEBUG - .../UM/Qt/Bindings/Theme.py (load [118]): Loading theme file: /usr/share/cura/resources/themes/cura/theme.json
2016-10-31 12:29:35,588 - DEBUG - .../UM/Qt/Bindings/Theme.py (load [118]): Loaded theme /usr/share/cura/resources/themes/cura
QObject::connect: Parentheses expected, signal MainWindow::
QObject::connect: Parentheses expected, signal MainWindow::
QObject::connect: Parentheses expected, signal MainWindow::
2016-10-31 12:29:35,713 - WARNING - .../cura/Settings/ContainerManager.py (getContainerMetaDataEntry [171]): Could not get metadata of container because it was not found.
Speicherzugriffsfehler (Speicherabzug geschrieben)
`
The text was updated successfully, but these errors were encountered: