Closed
Description
Describe the bug
Bambu Studio crashes at startup, right after [trace] Initializing StaticPrintConfigs, with no UI window ever shown. The KasmVNC/Selkies desktop (labwc + Wayland streaming) starts and works correctly — it's actively capturing and streaming an empty desktop, which is why the browser shows a black screen with the sidebar visible but no app window.
To reproduce
- Fresh install via docker-compose (PUID=1000, PGID=1000, shm_size 1gb, empty
/configvolume) - Open the web UI
- Screen is black; sidebar loads fine
Logs
Running /opt/bambustudio/AppRun manually as the abc user reproduces the crash directly:
[trace] Initializing StaticPrintConfigs
(bambu-studio:PID): GLib-GObject-CRITICAL **: invalid (NULL) pointer instance
(bambu-studio:PID): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Process exits immediately after, no further output.
Tested
- Tag
latest/02.08.01(buildv02.08.01.55-ls157, 2026-07-15): crash - Tag
02.08.00: identical crash, same binary
Environment
- Host: Fedora CoreOS, rootless-adjacent Podman (system quadlet,
/etc/containers/systemd/) - Wayland stack (labwc), CPU has AVX2 so no X11 fallback
- No GPU passthrough (
DRINODE unset. Initializing Software Renderer (Pixman)), CPU H264 encoding
Additional context
Same exact GLib-GObject assertion signature as bambulab/BambuStudio#9217, #9450, #2479 (upstream GTK/GLib compatibility issue, not container-specific).
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
github-actions commentedon Jul 16, 2026
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
MarieFK59 commentedon Jul 16, 2026
Found the actual root cause on my setup — it's SELinux, not Bambu Studio itself.
Host: Fedora CoreOS with SELinux enforcing, container running via a Podman system quadlet (
container_tdomain, noSecurityLabelDisable).ausearch -m avcshowed repeated denials at the exact time of the crash:bwrap(used by the sandboxed GTK4glycinicon loader, and apparently something earlier in the Wayland/labwc startup path too) can't create the namespace/mount it needs under SELinux confinement, which cascades intoGLib-GObject-CRITICAL: invalid (NULL) pointer instanceright afterInitializing StaticPrintConfigs, and the app exits with no window.Fix: add
--security-opt label=disable(orSecurityLabelDisable=truein a Podman quadlet) to run the container unconfined instead of undercontainer_t. With that alone (no need to force X11 viaPIXELFLUX_WAYLAND=false), Bambu Studio starts normally in native Wayland mode on my machine.Tried both
latest/02.08.01and02.08.00— identical crash on both until the SELinux fix was applied, so this isn't a regression between those two builds. Might be worth a note in the docs for SELinux-enforcing hosts (Fedora, RHEL, CoreOS, etc.), sincebwrapsandboxing + SELinux container confinement is a fairly common combination to hit.MarieFK59 commentedon Jul 16, 2026
Closing as resolved on my end — root cause was SELinux confinement on the host (Fedora CoreOS), not an image bug. The comment above has the fix for anyone else hitting this on an SELinux-enforcing host.
outscale-gjt commentedon Oct 21, 2026
Hello,
I am experiencing the same symptoms with the LinuxServer Bambu Studio container, but on Ubuntu 24.04 inside a virtual machine.
The application briefly displays "Loading configuration...", then the screen turns black and the Bambu Studio process exits with code 255.
The same issue occurs both with and without GPU access.
I previously tested with a P6 GPU.
I also tried running the container with:
Neither option resolved the problem.
The application outputs the same GLib-GObject-CRITICAL messages reported in this issue.
Since the workaround described here concerns SELinux on Fedora CoreOS, could you advise whether there is an equivalent cause or workaround on Ubuntu 24.04?
Thank you!
jbhenry commentedon Nov 2, 2026
I am getting the same error messages while trying to run the .appimage version of Bambu Studio, under Linux Mint 22.3. I can fall back to the 2.7.x version, which still runs as expected.
Any similar workaround available for this environment?
Thanks!