-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cura 2.7.0 Segfault in Ubuntu 16.04.3 LTS #2558
Comments
I got simular issue on my ubuntu 16.04 LTS after upgrading from Cura 2.5.0 to 2.7.0. First it crashed on the changelog splash screen after the update. Throwing a "Fatal Python error: Segmentation fault" error. The I removed ~/.config/cura and ~/.local/shared/cura, after backing up the files naturally. Then I restarted Cura and now it launched as a fresh install asking you to ad a printer. When adding a custom FDM printer and are clicking the "Add printer" button Cura craches with a "Fatal Python error: Segmentation fault" error. |
Just ran into this myself, the easy work around is this: merely add a Printer that isn't a "Custom FDM Printer" and then modify all the settings. My printer uses RepRap Gcode for example ... so far it seems to be printing just fine. What's with the fonts though? I haven't seen fonts look like this since trying to use the nouveau driver for my nVidia 7600GS board ... Should I just upgrade to 17.04 and get it over with ... or? |
Did you run via appimage? |
Same for me. Everything working well and then along came the update to 2.7.0. Crashdump on Only running one custom printer. Haven't tried the "hack a non-custom printer" work-around yet. Not keen on it as there are lots of custom profiles defined. |
None of you mention, but I am guessing you all use the (unsupported) PPA? Please try the official AppImage instead. The crash seems to be in the specific version of Qt that is available for your LTS Ubuntu. AFAIK, the AppImage comes with its own Qt. |
Similar error on openSUSE Tumbleweed. System: Case 1: Using OBS package https://build.opensuse.org/package/show/science/cura. Case 2: Then I tried to run the AppImage (as @nallath, @fieldOfView suggested) from https://ultimaker.com/en/products/cura-software and it also fails with segmentation fault: cura_appimg_segv.txt. The splash is visible and it dies after "Loading Interface..." again. Both were fresh installs. |
Same problem here on Kubuntu 17.04 |
The appimage version worked for me and even pulled in my existing profile settings. Yes, I was using the PPA. My search on how to install Cura came up with that, and the recommended appimage option didn't come up anywhere near the top, at least that I noticed. Thanks to fieldOfView for the note. |
Everything old is new again, I'll be switching to AppImage which old farts like me used to call "statically linked computer programs". Please don't bother explaining why they're "not the same". |
@jpathuber I didn't take a close look at the log, but this is what I get when using Cura 3.0.0.
|
Same trouble for me, after and before python update 2.7 to 3.5, cura 2.7 & master crashed, first one at printer choise window, and the other just after the splash screen. |
@JEFF2A Have you already tried the AppImage? Same there? |
going to try... |
ok !! it seems working very better !! many thanks ! |
@JEFF2A Well, then we can only blame it on Ubuntu again, I guess.. Nothing in the logs is indicating something else. |
I'm experiencing the same problem on Kubuntu 17.04. |
If 2.7 does not show your printer configuration, the upgrader must have gone wrong. Could you share your logs? |
I can confirm that the AppImage 2.7 works, but my settings were not upgraded. I copied the settings manually to the 2.7 folder, now it works. |
I hope this is the log information you need. Appimage 2.7 Edit: Woah, that's long. -> I put it into a file. Also: That's what she said |
if it could help here is my log |
@thopiekar are you sure it is Ubuntu that should be blamed ?
|
Well, since the AppImage is working, I only the the difference that all the other distros are using their own dependencies. Ultimaker is using only mainline sources to build their AppImage.. Things like the Qt libraries are build and inside the AppImage already. Since most distros are patching a lot, I can only imagine of this reason. Additionally there was already something in the past, that Cura from my PPA was not able to run on Unity, but the AppImage was. Ok, there is no Unity anymore, but the issue back then was related to a patch made by Canonical. |
So it's most likely related to some Qt libraries versions ? |
Well, this could be the reason including PyQt, which is on top. What we could do, to see whether it is a upstream bug or a patch, is to build a AppImage with Qt 5.9.1 and PyQt 5.7 (just like the deps we are using on our distros). |
PyQt is a dependency of Uranium which is a dependency of Cura so it is automatically installed. |
I fixed my crashing AppImage by installing libglvnd-devel. |
I just installed cura on openSUSE Tumbleweed and it crashed too but installing "libglvnd-devel" as ezavod suggested solved the problem for me. |
@zimmski : For me it was the same. However, in Ubuntu 18.04 the issue is solved now. |
I'm running Cura on Solus Linux and the only fix was installing libglvnd-devel. |
Surely the issue stems from
|
I lost way too much sanity even figuring out wth is going on, so instead I moved the Issue will fix itself there on Friday.. |
@ikeydoherty All I know is that this section was needed in the past to get Cura working. |
Since this is old-ish and affects a relatively minuscule slice of users, and sounds like it's resolved?... I'm going to close it. If that's a mistake we can reopen it. |
Fatal Python error: Segmentation fault
Thread 0x00007f26b7fff700 (most recent call first):
File "/usr/lib/python3/dist-packages/UM/Backend/Backend.py", line 156 in _storeStderrToLogThread
File "/usr/lib/python3.5/threading.py", line 862 in run
File "/usr/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26d4ff9700 (most recent call first):
File "/usr/lib/python3/dist-packages/UM/Backend/Backend.py", line 148 in _storeOutputToLogThread
File "/usr/lib/python3.5/threading.py", line 862 in run
File "/usr/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26d5ffb700 (most recent call first):
File "/usr/lib/python3.5/threading.py", line 297 in wait
File "/usr/lib/python3/dist-packages/zeroconf.py", line 1392 in wait
File "/usr/lib/python3/dist-packages/zeroconf.py", line 1046 in run
File "/usr/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26d67fc700 (most recent call first):
File "/usr/lib/python3.5/threading.py", line 297 in wait
File "/usr/lib/python3/dist-packages/zeroconf.py", line 1392 in wait
File "/usr/lib/python3/dist-packages/zeroconf.py", line 915 in run
File "/usr/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26d6ffd700 (most recent call first):
File "/usr/lib/python3/dist-packages/zeroconf.py", line 829 in run
File "/usr/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26d7fff700 (most recent call first):
File "/usr/lib/cura/plugins/USBPrinting/USBPrinterOutputDeviceManager.py", line 88 in _updateThread
File "/usr/lib/python3.5/threading.py", line 862 in run
File "/usr/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26f8ff9700 (most recent call first):
File "/usr/lib/python3.5/threading.py", line 293 in wait
File "/usr/lib/python3.5/threading.py", line 424 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.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26f97fa700 (most recent call first):
File "/usr/lib/python3.5/threading.py", line 293 in wait
File "/usr/lib/python3.5/threading.py", line 424 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.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26f9ffb700 (most recent call first):
File "/usr/lib/python3.5/threading.py", line 293 in wait
File "/usr/lib/python3.5/threading.py", line 424 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.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26fa7fc700 (most recent call first):
File "/usr/lib/python3.5/threading.py", line 293 in wait
File "/usr/lib/python3.5/threading.py", line 424 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.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26faffd700 (most recent call first):
File "/usr/lib/python3.5/threading.py", line 293 in wait
File "/usr/lib/python3.5/threading.py", line 424 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.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26fb7fe700 (most recent call first):
File "/usr/lib/python3.5/threading.py", line 293 in wait
File "/usr/lib/python3.5/threading.py", line 424 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.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f26fbfff700 (most recent call first):
File "/usr/lib/python3.5/threading.py", line 293 in wait
File "/usr/lib/python3.5/threading.py", line 424 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.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f2700afd700 (most recent call first):
File "/usr/lib/python3.5/threading.py", line 293 in wait
File "/usr/lib/python3.5/threading.py", line 424 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.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Thread 0x00007f270137e700 (most recent call first):
File "/usr/lib/cura/plugins/RemovableDriveOutputDevice/RemovableDrivePlugin.py", line 58 in _updateThread
File "/usr/lib/python3.5/threading.py", line 862 in run
File "/usr/lib/python3.5/threading.py", line 914 in _bootstrap_inner
File "/usr/lib/python3.5/threading.py", line 882 in _bootstrap
Current thread 0x00007f2745605700 (most recent call first):
File "/usr/lib/python3/dist-packages/UM/Qt/ListModel.py", line 63 in setItems
File "/usr/lib/python3/dist-packages/cura/Settings/ExtrudersModel.py", line 224 in __updateExtruders
File "/usr/lib/python3/dist-packages/cura/CuraApplication.py", line 682 in run
File "/usr/bin/cura", line 73 in
Segmentation fault (core dumped)
The text was updated successfully, but these errors were encountered: