Skip to content

AppImage crashes immediately on Arch Linux with mesa 25.x (workaround: extract AppImage) #2957

@S4r4h-O

Description

@S4r4h-O

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

Running the AppImage on Arch Linux causes an immediate segfault. Doesn't matter which backend you force (x11, wayland, software rendering), all crash the same way:

(spotube:332629): Gdk-CRITICAL **: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT (context)' failed
[1]    332629 segmentation fault (core dumped)

Extracting the AppImage and running the binary directly works fine:

~/Apps/spotube.appimage --appimage-extract
cd squashfs-root
./spotube

My guess is that the EGL/GTK libs bundled in the AppImage don't play nice with mesa 25.x. When you extract and run directly, the system's own libEGL gets loaded instead of the bundled one, and it works.

Environment:

  • Arch Linux, kernel 6.12.74-1-lts
  • Compositor: niri (Wayland) + Xwayland 24.1.9
  • GPU: AMD Radeon Renoir (amdgpu)
  • Mesa: 25.3.5-arch1.1, radeonsi
  • Spotube: v5.1.0 AppImage

Workaround: extract the AppImage as above and run the binary directly.

#117 Related?

Expected Behavior

The AppImage launches normally without needing to be extracted first.

Steps to reproduce

  1. Download Spotube-linux-x86_64.AppImage from the v5.1.0 release
  2. chmod +x Spotube-linux-x86_64.AppImage
  3. Run ./Spotube-linux-x86_64.AppImage
  4. Segfault occurs immediately, app never opens

Logs

󰣇 sarah /tmp/squashfs-root   11:15  ❯ ~/Apps/spotube.appimage

(spotube:358081): Gdk-CRITICAL **: 11:16:02.506: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT (context)' failed
[1]    358081 segmentation fault (core dumped)  ~/Apps/spotube.appimage

󰣇 sarah /tmp/squashfs-root   11:16   in 2s258ms ❯ GDK_BACKEND=wayland ~/Apps/spotube.appimage

(spotube:358512): Gdk-CRITICAL **: 11:16:12.997: gdk_gl_context_make_current: assertion 'GDK_IS_GL_CONTEXT (context)' failed
[1]    358512 segmentation fault (core dumped)  GDK_BACKEND=wayland ~/Apps/spotube.appimage

󰣇 sarah /tmp/squashfs-root   11:16   in 2s211ms ❯ pwd
/tmp/squashfs-root

󰣇 sarah /tmp/squashfs-root   11:17  ❯ ls
AppRun  data  lib  spotube  spotube.desktop  spotube.png  usr

󰣇 sarah /tmp/squashfs-root   11:17  ❯ ./spotube
Gdk-Message: 11:17:25.920: Unable to load  from the cursor theme
package:media_kit_libs_linux registered.
hetu: 5ms	to load module	hetu (compiled at 2022-08-09 10:27:17 UTC with hetu@0.4.2)
hetu: 1ms	to load module	hetu (compiled at 2022-08-09 10:27:17 UTC with hetu@0.4.2)
hetu: 2ms	to load module	std (compiled at 2025-11-14 06:34:06 UTC with hetu@0.4.2)
hetu: 2ms	to load module	std (compiled at 2025-11-14 06:34:06 UTC with hetu@0.4.2)
hetu: 0ms	to load module	otp_util (compiled at 2025-05-23 13:02:13 UTC with hetu@0.4.2)
hetu: 0ms	to load module	otp_util (compiled at 2025-05-23 13:02:13 UTC with hetu@0.4.2)
hetu: 1ms	to load module	spotube_plugin (compiled at 2025-10-19 06:02:03 UTC with hetu@0.4.2)
hetu: 3ms	to load module	plugin (compiled at 2025-11-07 16:25:20 UTC with hetu@0.4.2)
hetu: 1ms	to parse	[$script_cbb6a6e7: import "module:plu...]
hetu: 0ms	to bundle	[$script_cbb6a6e7: import "module:plu...]
hetu: 0ms	to compile	[$script_cbb6a6e7: import "module:plu...]
hetu: 2ms	to load module	$script_cbb6a6e7: import "module:plu... (compiled at 2026-02-23 14:17:26 UTC with hetu@0.4.2)
hetu: 0ms	to parse	[$script_7eabcfc4: metadataPlugin.aut...]
hetu: 0ms	to bundle	[$script_7eabcfc4: metadataPlugin.aut...]
hetu: 0ms	to compile	[$script_7eabcfc4: metadataPlugin.aut...]
hetu: 0ms	to load module	$script_7eabcfc4: metadataPlugin.aut... (compiled at 2026-02-23 14:17:26 UTC with hetu@0.4.2)
hetu: 1ms	to parse	[$script_7366b485: metadataPlugin.aut...]
hetu: 0ms	to bundle	[$script_7366b485: metadataPlugin.aut...]
hetu: 0ms	to compile	[$script_7366b485: metadataPlugin.aut...]
hetu: 0ms	to load module	$script_7366b485: metadataPlugin.aut... (compiled at 2026-02-23 14:17:26 UTC with hetu@0.4.2)
hetu: 0ms	to load module	spotube_plugin (compiled at 2025-10-19 06:02:03 UTC with hetu@0.4.2)
hetu: 1ms	to load module	plugin (compiled at 2025-11-14 09:46:59 UTC with hetu@0.4.2)
hetu: 0ms	to parse	[$script_6b137ed7: import "module:plu...]
hetu: 0ms	to bundle	[$script_6b137ed7: import "module:plu...]
hetu: 5ms	to compile	[$script_6b137ed7: import "module:plu...]
hetu: 0ms	to load module	$script_6b137ed7: import "module:plu... (compiled at 2026-02-23 14:17:26 UTC with hetu@0.4.2)
hetu: 0ms	to parse	[$script_7eabcfc4: metadataPlugin.aut...]
hetu: 0ms	to bundle	[$script_7eabcfc4: metadataPlugin.aut...]
hetu: 0ms	to compile	[$script_7eabcfc4: metadataPlugin.aut...]
hetu: 0ms	to load module	$script_7eabcfc4: metadataPlugin.aut... (compiled at 2026-02-23 14:17:26 UTC with hetu@0.4.2)
hetu: 0ms	to parse	[$script_7366b485: metadataPlugin.aut...]
hetu: 0ms	to bundle	[$script_7366b485: metadataPlugin.aut...]
hetu: 1ms	to compile	[$script_7366b485: metadataPlugin.aut...]
hetu: 0ms	to load module	$script_7366b485: metadataPlugin.aut... (compiled at 2026-02-23 14:17:26 UTC with hetu@0.4.2)

Operating System

Arch Linux 6.12.74-1-lts

Spotube version

No response

Installation source

GitHub Releases (Binary)

Additional information

inxi -Ce
System:
  Host: archlinux Kernel: 6.12.74-1-lts arch: x86_64 bits: 64
  Desktop: niri v: N/A Distro: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 82MF v: IdeaPad 3 15ALC6
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: NO DPK serial: <superuser required>
    Firmware: UEFI vendor: LENOVO v: GLCN52WW date: 12/09/2022
Battery:
  ID-1: BAT0 charge: 29.7 Wh (97.1%) condition: 30.6/38 Wh (80.4%)
CPU:
  Info: 8-core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 400 min/max: 400/4372 cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400
    15: 400 16: 400
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Lucienne driver: amdgpu v: kernel
  Device-2: Bison Integrated Camera driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.21 with: Xwayland v: 24.1.9
    compositor: niri driver: gpu: amdgpu resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.3.5-arch1.1
    renderer: AMD Radeon Graphics (radeonsi renoir ACO DRM 3.61 6.12.74-1-lts)
  API: Vulkan v: 1.4.341 drivers: radv surfaces: N/A
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo wl: wayland-info
    x11: xprop,xrandr
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Renoir/Cezanne HDMI/DP Audio
    driver: snd_hda_intel
  Device-2: Advanced Micro Devices [AMD] Audio Coprocessor driver: N/A
  Device-3: Advanced Micro Devices [AMD] Ryzen HD Audio
    driver: snd_hda_intel
  API: ALSA v: k6.12.74-1-lts status: kernel-api
  Server-1: PipeWire v: 1.4.10 status: active
Network:
  Device-1: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter
    driver: rtw89_8852ae
  IF: wlan0 state: up mac: b8:1e:a4:72:23:75
  IF-ID-1: virbr0 state: down mac: 52:54:00:a3:b6:45
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb type: USB
  Report: btmgmt ID: hci0 rfk-id: 13 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: N/A
Drives:
  Local Storage: total: 476.94 GiB used: 231.48 GiB (48.5%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZALQ512HBLU-00BL2
    size: 476.94 GiB
Partition:
  ID-1: / size: 467.4 GiB used: 231.36 GiB (49.5%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot size: 1022 MiB used: 121.2 MiB (11.9%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 8 GiB used: 11.9 MiB (0.1%) file: /swapfile
Sensors:
  System Temperatures: cpu: 49.8 C mobo: N/A gpu: amdgpu temp: 40.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 20 GiB note: est. available: 17.41 GiB used: 8.33 GiB (47.8%)
  Processes: 424 Uptime: 2d 16h 24m Shell: Zsh inxi: 3.3.40

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions