Skip to content

Crash on startup with Flatpak + GNOME Platform 48 #9450

@jijinbei

Description

@jijinbei

Bambu Studio Version

2.4.0 Public Release

Where is the application from?

Bambu Lab Official website(Flathub(Flatpak)???)

OS version

Ubuntu 25.10

Additional system information

No response

Printer

Banbu Lab a1 mini

Printer Firmware Version

01.07.02.00

How to reproduce

  1. Install Bambu Studio from Flathub:
flatpak install flathub com.bambulab.BambuStudio
  1. Launch the application:
flatpak run com.bambulab.BambuStudio
  1. The application crashes immediately during startup.

Notes:

  • Forcing X11 does not resolve the issue:
flatpak run --env=GDK_BACKEND=x11 com.bambulab.BambuStudio
  • Forcing Qt XCB backend does not resolve the issue:
flatpak run --env=GDK_BACKEND=x11 --env=QT_QPA_PLATFORM=xcb com.bambulab.BambuStudio
  • Forcing GTK theme (e.g. Adwaita) does not resolve the issue.

Actual results

The application crashes at startup:

[trace] Initializing StaticPrintConfigs

with the following errors:

GLib-GObject-CRITICAL **: invalid (NULL) pointer instance
GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Gtk-CRITICAL **: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed

No UI window is shown.

Expected results

Bambu Studio should start normally and display the main application window.

Project file & Debug log uploads

  • Project file: Not available (application crashes before any project can be created or opened).
  • Debug log: Not available. The application crashes before the configuration/log directory ($HOME/.config/BambuStudio/) is created.

Instead, a screenshot captured at the time of the crash is attached.
Image

Checklist of files to include

  • Log file
  • Project file

Additional clarification about runtime and WebKitGTK dependency

I would like to clarify some points after further investigation.

  • The Flatpak package depends on: (confirmed via flatpak info com.bambulab.BambuStudio).
org.gnome.Platform//48
  • org.gnome.Platform//48 ships WebKitGTK 4.1, not WebKitGTK 4.0.
  • The Linux AppImage builds (including Fedora and Ubuntu variants) and the Flatpak build appear to require
libwebkit2gtk-4.0.so.37

which corresponds to WebKitGTK 4.0 ABI.

  • On Ubuntu 25.10, only WebKitGTK 4.1 is available:
libwebkit2gtk-4.1-0

WebKitGTK 4.0 (libwebkit2gtk-4.0.so.37) is not provided by the distribution.

  • In Flatpak, users cannot install or downgrade WebKitGTK independently, as it is bundled inside the GNOME runtime.
    Therefore, this issue cannot be worked around on the user side by installing WebKitGTK 4.0.

This suggests an ABI/runtime mismatch between the current Linux builds of Bambu Studio and modern Linux environments
using WebKitGTK 4.1 (both via Flatpak GNOME Platform 48 and recent distributions such as Ubuntu 25.10).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions