Skip to content
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

[5.4.0] segfault on Open File(s) menu #16815

Open
oyvindaabling opened this issue Sep 25, 2023 · 8 comments
Open

[5.4.0] segfault on Open File(s) menu #16815

oyvindaabling opened this issue Sep 25, 2023 · 8 comments
Labels
Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior.

Comments

@oyvindaabling
Copy link

Cura Version

5.4.0

Operating System

Linux Debian 12.1

Printer

Artillery Sidewinder X1 v4

Reproduction steps

Start UltiMaker-Cura-5.4.0-linux-modern.AppImage, select File -> Open File(s) ..., or press Ctrl-O.

The legacy Linux version (UltiMaker-Cura-5.4.0-linux.AppImage) on a Debian 11.6 shows the same behaviour.

Cura complains in the logfile (attached) that:
WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [444]: file:///tmp/.mount_UltiMab2t2DI/share/cura/resources/qml/Cura.qml:624:5: QML FileDialog: Failed to load non-native FileDialog implementation:
qrc:/qt-project.org/imports/QtQuick/Dialogs/quickimpl/qml/FileDialog.qml:4 module "Qt.labs.folderlistmodel" is not installed

Actual results

Cura segfaults with these messages:

QFSFileEngine::open: No file name specified
/tmp/.mount_UltiMadZb8FI/AppRun: line 25: 17528 Segmentation fault $scriptdir/UltiMaker-Cura "$@"

If I instead choose File -> Open Recent -> xyz.stl, it works fine - the model loads, and I can slice, preview, save, etc.

Expected results

The "Open File(s)" file selection popup window should appear.

Add your .zip and screenshots here ⬇️

cura.log
stderr.log

@oyvindaabling oyvindaabling added Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior. labels Sep 25, 2023
@phtalo
Copy link

phtalo commented Oct 8, 2023

I want to report having the same bug.

Cura version: 5.4.0-1

Printer: Artillery Sidewinder X1

OS: Arch Linux 6.5.5arch1-1

Thank you for your time.

@niknah
Copy link

niknah commented Oct 16, 2023

The way around it is to open it up from the command line or file browser... https://aur.archlinux.org/packages/cura-bin

@geraldnilles
Copy link

I found a workaround. Posted about it here: #16335 (comment)

./UltiMaker-Cura-5.4.0-linux-modern.AppImage -platformtheme gtk3

@Rushmore75
Copy link

Rushmore75 commented Dec 1, 2023

Same Issue, slightly different error codes:

/usr/bin/cura5: line 5:  7483 Segmentation fault      LD_PRELOAD=/usr/lib/libstdc++.so.6 QT_QPA_PLATFORMTHEME=xdgdesktopportal QT_QPA_PLATAFORM=xdgdesktopportal ./UltiMaker-Cura $@

(@geraldnilles's workaround works tho <3)

@Jorenar
Copy link

Jorenar commented Dec 2, 2023

Issue still present in 5.6.0

@AdamScherlis
Copy link

AdamScherlis commented Feb 1, 2024

Same issue in aur/cura-bin 5.6.0-1 on EndeavourOS 2023.11.17 (KDE):

/usr/bin/cura: line 3: 32254 Segmentation fault (core dumped) /opt/ultimaker-cura/AppRun "$@"

@geraldnilles trick worked for me too! (as cura -platformtheme gtk3)

@dj-foxxy
Copy link

dj-foxxy commented Apr 7, 2024

On Arch Linux updated today cura -platformtheme gtk3 worked.

@krayon
Copy link
Sponsor

krayon commented Aug 3, 2024

Worth noting that, at least for me, the Save Project... and Export... dialogs DO work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage This ticket requires input from someone of the Cura team Type: Bug The code does not produce the intended behavior.
Projects
None yet
Development

No branches or pull requests

9 participants