Hyprland: Hyprland not starting after updating to v0.35.0 on Arch
Hyprland Version
Updating to v0.35.0 on arch broke hyprland
Bug or Regression?
Bug
Description
Unable to start hyprland after upgrading to v0.35.0 on Arch. Downgraded back to v0.34.0, and my problem was fixed.
How to reproduce
- Run
sudo pacman -Syyu - Upgrade hyprland to v0.35.0
- Restart pc
- Login
Expected result
Hyprland starting up
Actual results
Hyprland crashes, and my monitors flicker for a while, then i am back to my login manager.
Crash reports, logs, images, videos
Some logs
coredumpctl-info-xdg-desktop-portal-hyprland.log
journalctl-logs-at-hyprland-startup.log
xdg-desktop-portal-hyprland[1172]: [CRITICAL] Couldn't connect to a wayland compositor
Feb 08 22:43:38 arch systemd-coredump[1162]: [š”] Process 1117 (xdg-desktop-por) of user 1000 dumped core.
Stack trace of thread 1117:
#0 0x00007e7171939f9b n/a (libsdbus-c++.so.1 + 0x19f9b)
#1 0x00007e717194487e n/a (libsdbus-c++.so.1 + 0x2487e)
#2 0x00007e7171944d8a n/a (libsdbus-c++.so.1 + 0x24d8a)
#3 0x00006479aea32840 n/a (xdg-desktop-portal-hyprland + 0x1f840)
#4 0x00006479aea32a35 n/a (xdg-desktop-portal-hyprland + 0x1fa35)
#5 0x00007e717125cb36 n/a (libc.so.6 + 0x3eb36)
#6 0x00007e717125cc80 exit (libc.so.6 + 0x3ec80)
#7 0x00007e7171243cd7 n/a (libc.so.6 + 0x25cd7)
#8 0x00007e7171243d8a __libc_start_main (libc.so.6 + 0x25d8a)
#9 0x00006479aea24f25 n/a (xdg-desktop-portal-hyprland + 0x11f25)
Stack trace of thread 1119:
#0 0x00007e71713227cb __madvise (libc.so.6 + 0x1047cb)
#1 0x00007e71712a95a3 n/a (libc.so.6 + 0x8b5a3)
#2 0x00007e7171326a3c n/a (libc.so.6 + 0x108a3c)
ELF object binary architecture: AMD x86-64
Feb 08 22:43:39 arch systemd[782]: Failed to start Portal service (Hyprland implementation).
Temporary Solution (Downgrade to v0.34.0 againā¦)
Open up a TTY (CTRL + ALT + F3)
Check if you have the previous version cached
ls /var/cache/pacman/pkg | grep hyprland
Downgrade to hyprland-0.34.0-1
sudo pacman -U /var/cache/pacman/pkg/<previous-version>
Now restart hyprland or (CTRL + ALT + F2 -> Login)
This solved it for me, hopefully there is something i can do in order to make v0.35.0 work, but until then. i will be stuck on this version.
About this issue
- Original URL
- State: open
- Created 5 months ago
- Reactions: 1
- Comments: 26 (10 by maintainers)
The segfaul is in
src/render/Renderbuffer.cpp:55 because of throwing in constructorThe previous commit passed this check for some reason.
Update:
Changing
to
does not trigger the segfault. The only reasonable explanation is that the āevil hackā is somehow UB.