xapp-sn-watcher segfaults in g_dbus_proxy_get_name every time Blip (Flatpak) registers its tray icon
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 20/100
Línea de trabajo
The crash is in the xapp-sn-watcher binary, inside an async D-Bus callback that calls g_dbus_proxy_get_name; the reporter suspects get_all_properties_callback in sn-item.c, where the item or proxy may be freed before the callback runs. Start by reproducing with a StatusNotifierItem registration (or Blip) under a debug build, then check the object lifetimes around the proxy in that callback. Done means the watcher survives item registration and removal without segfaulting, and other tray icons stay up.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Distribution: Linux Mint 22.3 (zena), Cinnamon 6.6.9
Packages: libxapp1 / xapps-common 3.2.3+zena, libglib2.0-0t64 2.80.0-6ubuntu3.9
Kernel: 7.0.0-38-generic
Application: Blip 1.2.6 (Flathub, net.blip.Blip, runtime org.freedesktop.Platform 26.08)
Issue
xapp-sn-watcher crashes with SIGSEGV every time Blip registers its StatusNotifierItem. Because the watcher is gone, every other tray icon (e.g. blueman) disappears too. cinnamon-session then stops respawning it ("respawning too quickly"), and Blip quits because it can no longer show its tray icon. Blip's "Launch at Login" therefore never works.
Steps to reproduce
- Install Blip from Flathub and enable "Launch at Login" (it starts with
--background --delay 5). - Log in, or start Blip manually:
flatpak run --command=/app/bin/blip net.blip.Blip --background. - About 2 seconds later, xapp-sn-watcher segfaults. All tray icons disappear and Blip exits.
This is reproducible on every attempt. There were 7 core dumps on 2026-10-16.
When it started
Blip's tray icon worked until the first reboot after the update of 2026-10-14, which took xapps 3.2.2 -> 3.2.3, glib 2.80.0-6ubuntu3.6 -> 3.9 and Cinnamon 6.6.4 -> 6.6.9. Since that reboot, it crashes every time.
Journal
kernel: traps: xapp-sn-watcher[3794] general protection fault ip:7b3a0a11546d sp:7ffdf3bcd9e0 error:0 in libgio-2.0.so.0.8000.0[11e46d,7b3a0a030000+117000]
systemd-coredump: Process 3794 (xapp-sn-watcher) of user 1000 dumped core.
cinnamon-session-binary: WARNING: Application 'xapp-sn-watcher.desktop' killed by signal 11
cinnamon-session-binary: WARNING: App 'xapp-sn-watcher.desktop' respawning too quickly
~/.xsession-errors shows that the item is added and then everything is removed:
JS LOG: [LookingGlass/info] Adding XAppStatusIcon: (:1.162/org/x/StatusIcon/Icon_1)
WARNING: Application 'xapp-sn-watcher.desktop' killed by signal 11
JS LOG: [LookingGlass/info] Removing XAppStatusIcon: :1.169 (:1.162/org/x/StatusIcon/Icon_1)
JS LOG: [LookingGlass/info] Removing XAppStatusIcon: blueman (:1.162/org/x/StatusIcon/Icon)
Blip's own log at the same moment:
ERROR msg="requesting autostart via portal" err="org.freedesktop.dbus.errors.UnknownMethod: No such interface "org.freedesktop.portal.Background" on object at path /org/freedesktop/portal/desktop"
ERROR msg="preloading sound theme" exception="kotlinx.coroutines.JobCancellationException: Parent job is Cancelling"
at net.blip.desktop.ui.windowing.LinuxTrayKt$LinuxTray$5$1.invokeSuspend(LinuxTray.kt:70)
Error: The application has experienced an internal error and must quit.
Backtrace (crashing thread)
#0 g_dbus_proxy_get_name (libgio-2.0.so.0 + 0x11e46d)
#1 n/a (xapp-sn-watcher + 0x1036f)
#2 n/a (libgio-2.0.so.0 + 0xb17bb)
#3 n/a (libgio-2.0.so.0 + 0xb5713)
#4 n/a (libgio-2.0.so.0 + 0x10ff72)
#5 n/a (libgio-2.0.so.0 + 0xb17bb)
#6 n/a (libgio-2.0.so.0 + 0xb17f5)
#7 n/a (libglib-2.0.so.0 + 0x5d50e)
#8 n/a (libglib-2.0.so.0 + 0xbcbf7)
#9 g_main_context_iteration (libglib-2.0.so.0 + 0x5cad3)
#10 g_application_run (libgio-2.0.so.0 + 0xe789d)
#11 main (xapp-sn-watcher + 0xa010)
The frame inside xapp-sn-watcher is an async D-Bus callback calling g_dbus_proxy_get_name, which looks like the same crash as the older Fedora reports (get_all_properties_callback in sn-item.c, e.g. https://retrace.fedoraproject.org/faf/reports/1119084). My guess is that the proxy/item is freed before the callback runs. This may be related to #213.
Workaround
Restarting /usr/lib/x86_64-linux-gnu/xapps/xapp-sn-watcher brings the other icons back, but it crashes again the next time Blip starts.
- Lenguaje dominante
- C
- Estrellas
- 170
- Forks
- 50
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de linuxmint/xapp
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
-
Link to online API docs brokenAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
Todos los issues de linuxmint/xapp
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
polhenarejos/pico-fido#302 ·
-
开发板墙缺少 ESP32_S31_MOSAICOAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
espressif/esp-vision#16 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
libsdl-org/SDL#16577 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
halt_error adds a trailing newline for non-string input, contrary to the manualPosiblemente ocupada @Huang-404-Q la tomó hoy. Abierto
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 2 días