-
-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
Hello developers,
The xdg-desktop-portal-hyprland service is consistently failing to start on a fully updated Arch Linux system. When run directly from the terminal, it immediately crashes with a segmentation fault.
This crash prevents the main xdg-desktop-portal service from staying active, which in turn causes Electron applications (like Element Messenger) to fail to find the Secret Service backend, reporting an "unsupported keyring" error.
Environment
- OS: Arch Linux (fully updated as of June 16, 2025)
- Hyprland version:
hyprland 0.49.0-1 - xdg-desktop-portal-hyprland version:
xdg-desktop-portal-hyprland 1.3.9-9 - wayland version:
wayland 1.23.1-2
Steps to Reproduce
- On a fully updated Arch Linux system with Hyprland installed.
- Install the necessary portal packages (
xdg-desktop-portal,xdg-desktop-portal-gtk,xdg-desktop-portal-hyprland). - Attempt to run the service directly from a terminal:
/usr/lib/xdg-desktop-portal-hyprland
Expected Behavior
The process should start correctly without errors and remain running to serve portal requests.
Actual Behavior
The process immediately crashes with a segmentation fault (SEGV).
Logs
Here is the relevant output from journalctl --user showing the coredump and stack trace:
Jun 16 02:29:53 abolfazl systemd[1664]: Starting Portal service...
Jun 16 02:29:53 abolfazl systemd[1664]: Starting flatpak document portal service...
Jun 16 02:29:53 abolfazl systemd[1664]: Started flatpak document portal service.
Jun 16 02:29:53 abolfazl systemd[1664]: Starting Portal service (GTK/GNOME implementation)...
Jun 16 02:29:54 abolfazl systemd[1664]: Started Portal service (GTK/GNOME implementation).
Jun 16 02:29:54 abolfazl systemd[1664]: Starting Portal service (Hyprland implementation)...
Jun 16 02:29:54 abolfazl systemd[1664]: Started Portal service (Hyprland implementation).
Jun 16 02:29:54 abolfazl systemd[1664]: Started Portal service.
Jun 16 02:56:18 abolfazl systemd[1664]: xdg-desktop-portal-gtk.service: Main process exited, code=killed, status=9/KILL
Jun 16 02:56:18 abolfazl systemd[1664]: xdg-desktop-portal-gtk.service: Failed with result 'signal'.
Jun 16 03:00:46 abolfazl systemd[1664]: Starting Portal service...
Jun 16 03:00:46 abolfazl systemd[1664]: Starting Portal service (GTK/GNOME implementation)...
Jun 16 03:00:46 abolfazl systemd[1664]: Started Portal service (GTK/GNOME implementation).
Jun 16 03:00:46 abolfazl systemd[1664]: Starting Portal service (Hyprland implementation)...
Jun 16 03:00:46 abolfazl systemd[1664]: Started Portal service (Hyprland implementation).
Jun 16 03:00:46 abolfazl systemd[1664]: Started Portal service.
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Jun 16 03:02:14 abolfazl systemd-coredump[30229]: [🡕] Process 28415 (xdg-desktop-por) of user 1000 dumped core.
Stack trace of thread 28415:
#0 0x000079c5ea9c48ac n/a (libwayland-client.so.0 + 0x58ac)
#1 0x000079c5ea9c4a21 n/a (libwayland-client.so.0 + 0x5a21)
#2 0x000079c5ea9c67d7 wl_proxy_marshal_array_flags (libwayland-client.so.0 + 0x77d7)
#3 0x000079c5ea9c73cb wl_proxy_marshal_flags (libwayland-client.so.0 + 0x83cb)
#4 0x000061299f50db78 n/a (/usr/lib/xdg-desktop-portal-hyprland + 0x25b78)
#5 0x000061299f51a841 n/a (/usr/lib/xdg-desktop-portal-hyprland + 0x32841)
#6 0x000061299f51acbd n/a (/usr/lib/xdg-desktop-portal-hyprland + 0x32cbd)
#7 0x000079c5ea2505e1 n/a (libc.so.6 + 0x405e1)
#8 0x000079c5ea2506be exit (libc.so.6 + 0x406be)
#9 0x000079c5ea2376bc n/a (libc.so.6 + 0x276bc)
#10 0x000079c5ea237769 __libc_start_main (libc.so.6 + 0x27769)
#11 0x000061299f4ffb05 n/a (/usr/lib/xdg-desktop-portal-hyprland + 0x17b05)
ELF object binary architecture: AMD x86-64
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Main process exited, code=dumped, status=11/SEGV
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Failed with result 'core-dump'.
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Scheduled restart job, restart counter is at 1.
Jun 16 03:02:14 abolfazl systemd[1664]: Starting Portal service (Hyprland implementation)...
Jun 16 03:02:14 abolfazl systemd[1664]: Started Portal service (Hyprland implementation).
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Failed with result 'exit-code'.
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Scheduled restart job, restart counter is at 2.
Jun 16 03:02:14 abolfazl systemd[1664]: Starting Portal service (Hyprland implementation)...
Jun 16 03:02:14 abolfazl systemd[1664]: Started Portal service (Hyprland implementation).
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Failed with result 'exit-code'.
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Scheduled restart job, restart counter is at 3.
Jun 16 03:02:14 abolfazl systemd[1664]: Starting Portal service (Hyprland implementation)...
Jun 16 03:02:14 abolfazl systemd[1664]: Started Portal service (Hyprland implementation).
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 03:02:14 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Failed with result 'exit-code'.
Jun 16 03:02:15 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Scheduled restart job, restart counter is at 4.
Jun 16 03:02:15 abolfazl systemd[1664]: Starting Portal service (Hyprland implementation)...
Jun 16 03:02:15 abolfazl systemd[1664]: Started Portal service (Hyprland implementation).
Jun 16 03:02:15 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 03:02:15 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Failed with result 'exit-code'.
Jun 16 03:02:15 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Scheduled restart job, restart counter is at 5.
Jun 16 03:02:15 abolfazl systemd[1664]: Starting Portal service (Hyprland implementation)...
Jun 16 03:02:15 abolfazl systemd[1664]: Started Portal service (Hyprland implementation).
Jun 16 03:02:15 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Main process exited, code=exited, status=1/FAILURE
Jun 16 03:02:15 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Failed with result 'exit-code'.
Jun 16 03:02:15 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Scheduled restart job, restart counter is at 6.
Jun 16 03:02:15 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Start request repeated too quickly.
Jun 16 03:02:15 abolfazl systemd[1664]: xdg-desktop-portal-hyprland.service: Failed with result 'exit-code'.
Jun 16 03:02:15 abolfazl systemd[1664]: Failed to start Portal service (Hyprland implementation).
Jun 16 03:02:22 abolfazl systemd[1664]: Starting Portal service (GTK/GNOME implementation)...
Jun 16 03:02:22 abolfazl systemd[1664]: Started Portal service (GTK/GNOME implementation).
Jun 16 03:02:23 abolfazl systemd[1664]: xdg-desktop-portal-gtk.service: Main process exited, code=killed, status=9/KILL
Jun 16 03:02:23 abolfazl systemd[1664]: xdg-desktop-portal-gtk.service: Failed with result 'signal'.
Jun 16 03:02:25 abolfazl systemd[1664]: Starting Portal service (GTK/GNOME implementation)...
Jun 16 03:02:25 abolfazl systemd[1664]: Started Portal service (GTK/GNOME implementation).
fals
Metadata
Metadata
Assignees
Labels
No labels