community/xdg-desktop-portal: SEGFAULT at startup
Package Information
- Package name and version: xdg-desktop-portal-1.18.3-r1
- Alpine version: 3.20.0_alpha20240329
- Alpine architecture: x86_64
Summary
xdg-desktop-portal
segfaults at startup. Applications that depend on it (e.g.: waybar) fail to start.
> /usr/libexec/xdg-desktop-portal --verbose
XDP: Looking for portals configuration in '/home/hugo/.config/xdg-desktop-portal/portals.conf'
XDP: Preferred portals for interface 'org.freedesktop.impl.portal.ScreenCast': wlr
XDP: Preferred portals for interface 'org.freedesktop.impl.portal.Screenshot': wlr
XDP: Preferred portals for interface 'org.freedesktop.impl.portal.Settings': darkman
XDP: Using portal configuration file '/home/hugo/.config/xdg-desktop-portal/portals.conf' for non-specific desktop
XDP: load portals from /usr/share/xdg-desktop-portal/portals
XDP: loading /usr/share/xdg-desktop-portal/portals/wlr.portal
XDP: portal implementation supports org.freedesktop.impl.portal.Screenshot
XDP: portal implementation supports org.freedesktop.impl.portal.ScreenCast
XDP: loading /usr/share/xdg-desktop-portal/portals/darkman.portal
XDP: portal implementation supports org.freedesktop.impl.portal.Settings
zsh: segmentation fault /usr/libexec/xdg-desktop-portal --verbose
Stacktrace:
I installed glib-dbg
to improve the stacktrace. I'm not sure how to improve if further (there is no xdg-desktop-portal-dbg
package).
#0 0x000055555559a7b7 in ??? ()
#1 0x000055555559a949 in ??? ()
#2 0x00005555555a9a67 in ??? ()
#3 0x00007ffff7d25f34 in connection_get_cb (source_object=<optimized out>, res=0x7ffff78ba020, user_data=0x7ffff78e6550)
at ../gio/gdbusnameowning.c:494
#4 0x00007ffff7cbbf44 in g_task_return_now (task=task@entry=0x7ffff78ba020 [GTask]) at ../gio/gtask.c:1361
#5 0x00007ffff7cbcc2d in g_task_return (type=<optimized out>, task=0x7ffff78ba020 [GTask]) at ../gio/gtask.c:1430
#6 g_task_return (task=0x7ffff78ba020 [GTask], type=<optimized out>) at ../gio/gtask.c:1387
#7 0x00007ffff7d157f3 in bus_get_async_initable_cb
(source_object=0x7ffff795f440 [GDBusConnection], res=<optimized out>, user_data=0x7ffff78ba020) at ../gio/gdbusconnection.c:7516
#8 0x00007ffff7cbbf44 in g_task_return_now (task=task@entry=0x7ffff78ba0e0 [GTask]) at ../gio/gtask.c:1361
#9 0x00007ffff7cbbf79 in complete_in_idle_cb (task=0x7ffff78ba0e0) at ../gio/gtask.c:1375
#10 0x00007ffff7e6010a in g_main_dispatch (context=context@entry=0x7ffff7c10ea0) at ../glib/gmain.c:3344
#11 0x00007ffff7e63357 in g_main_context_dispatch_unlocked (context=0x7ffff7c10ea0) at ../glib/gmain.c:4152
#12 g_main_context_iterate_unlocked (context=0x7ffff7c10ea0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at ../glib/gmain.c:4217
#13 0x00007ffff7e63c47 in g_main_loop_run (loop=0x7ffff79663c0) at ../glib/gmain.c:4419
#14 0x000055555555e920 in ??? ()
#15 0x00007ffff7f786d1 in libc_start_main_stage2 (main=0x55555555e04a, argc=2, argv=0x7fffffffdbe8) at src/env/__libc_start_main.c:95
#16 0x000055555555e99d in ??? ()
#17 0x0000000000000002 in ??? ()
#18 0x00007fffffffdff6 in ??? ()
#19 0x0000000000000000 in ??? ()