Skip to content

[2.1.3] Crashes when attempting to Open File #44

Description

@sh17box

Application Version
Stratos 2.1.3 appimage linux

Operating System
Debian 12.8
ldd (Debian GLIBC 2.36-9+deb12u9) 2.36
libqt6core6 6.4.2+dfsg-10
libqt6qml6 6.4.2+dfsg-1

Machine
Epsilon W27 Serial 050-200106-0045

Reproduction steps

  1. Run program from console from home directory, "Downloads/BCN3D_Stratos-2.1.3.AppImage"
  2. Click File Open or Click the icon to open file

Console output
/tmp/.mount_BCN3D_fL5ig7/AppRun: line 25: 200079 Segmentation fault $scriptdir/BCN3D-Stratos "$@"

Actual results
hard crash

Expected results
file dialog box should open

Project file
never get chance to open file

Log file
2025-01-04 13:18:11,121 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [448]: file:///tmp/.mount_BCN3D_RhecQD/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

Additional information
Fixed issue by editing AppRun file and changing QT_QPA_PLATFORMTHEME to gtk3

=== CUT ========================================

--- AppRun.orig 2025-01-04 13:35:00.840741820 -0500
+++ AppRun      2025-01-04 13:34:54.936698358 -0500
@@ -7,7 +7,7 @@
 export QT_PLUGIN_PATH="$scriptdir/qt/plugins"
 export QML2_IMPORT_PATH="$scriptdir/qt/qml"
 export QT_QPA_FONTDIR=/usr/share/fonts
-export QT_QPA_PLATFORMTHEME=xdgdesktopportal
+export QT_QPA_PLATFORMTHEME="gtk3"
 export QT_XKB_CONFIG_ROOT=/usr/share/X11/xkb
 
 # Use the openssl.cnf packaged in the AppImage

=== CUT ========================================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions