Skip to content

Exit-time SIGABRT on Linux/NVIDIA/Wayland: eglMakeCurrent failed → epoxy assertion (16+ crashes since Sep 3) #1149

Description

@kasztral

Description

Closing/quitting Fladder on Linux + NVIDIA + Wayland frequently crashes the app with SIGABRT instead of exiting cleanly:

Gdk-WARNING: eglMakeCurrent failed
fladder: ../src/dispatch_common.c:872: epoxy_get_proc_address: Assertion `0 && "Couldn't find current GLX or EGL context."' failed.

eglMakeCurrent fails during shutdown (no current GL context anymore), and when epoxy then tries to resolve a GL function pointer it hits its internal assertion and aborts. The window is already closed when this happens, so it's cosmetic in the moment — but it pollutes coredump/journal logs, can leave the Flatpak scope torn down uncleanly, and points to a real GL-context lifetime problem in the desktop build.

This is long-standing and frequent: the local coredump journal shows 16 SIGABRT crashes of /app/bin/fladder between Sep 3 and Sep 22 (plus 2 SIGSEGV), all with the same eglMakeCurrent failed + epoxy assertion signature where journal output was captured.

Not related to Ambient blur — it reproduces with that setting disabled. Likely the same class of NVIDIA/Wayland EGL-context-loss issue as the artifacts discussed in flutter/flutter#179322 and in #1148, but surfacing at context teardown instead of during texture upload.

Suggestion: guard the shutdown path so GL calls are skipped once the context is gone (or make the epoxy lookup failure non-fatal), and ensure the EGL context is released before GTK/Gdk drops the window.

Reproduction steps

1. Start Fladder (Flathub Flatpak) on GNOME Wayland with NVIDIA proprietary drivers
2. Optionally play a video (hardware acceleration on)
3. Close the window / quit the app
4. Observe SIGABRT in journal / coredumpctl instead of a clean exit
   (intermittent — historically many quits are clean, ~16 aborted since Sep 3)

Screenshots

n/a

Logs

(fladder:2): Gdk-WARNING **: 22:29:03.887: eglMakeCurrent failed
fladder: ../src/dispatch_common.c:872: epoxy_get_proc_address: Assertion `0 && "Couldn't find current GLX or EGL context.\n"' failed.
systemd-coredump[...]: Process ... (fladder) of user ... terminated abnormally without generating a coredump.

Recurring instances (journal): Sep 3, 4, 5, 6, 10, 11, 21 ×3, 22 ×2 — all the same assertion.

Platform

Linux — GNOME on Wayland, Fedora 44, NVIDIA RTX 3050, driver 615.71.09.

App version

Fladder v0.11.1 (Flathub Flatpak, runtime org.freedesktop.Platform 26.08, Flutter 3.35.7)

Jellyfin server

n/a — client-side crash, occurs regardless of server/stream state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions