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.
you put a wall of text with close to 0 useful information. Crash report?
you put a wall of text with close to 0 useful information. Crash report?
First time reporting issues for Hyprland. Was not sure how to gather logs other than journalctl and coredumpctl. But i read the wiki for how to do it and tried to reproduce the issues again. Here are some additional logs that might help.
coredumpctl-info-xdg-desktop-portal-hyprland.log hyprland-report.log journalctl-logs-at-hyprland-startup.log
Let me know if there is anything else i can add that might help investigate this problem.
you still haven't posted a crash report.
Confront https://github.com/hyprwm/Hyprland/blob/main/docs/ISSUE_GUIDELINES.md
you still haven't posted a crash report.
Confront https://github.com/hyprwm/Hyprland/blob/main/docs/ISSUE_GUIDELINES.md
Thanks, for pointing me to the right direction.
I only have crash reports for v0.34.0. For some reason, the crash on v0.35.0 didn't generate..
I can link the ones i have, but i think they will be quire irrelevant to the actual issue i am facing.
hyprlandCrashReport778.txt hyprlandCrashReport785.txt
I will update hyprland again and see if i am able to generate that crash report this time..
you can try looking in coredumpctl then, but for hyprland, not xdph...
ok i updated hyprland again, and did not restart my computer. but just ran "Hyprland" in the terminal, while hyprland was still running. And i got some logs,
But also. when checking coredumpctl i did not find anything regarding hyprland.. I instead see that the latest "dump" comes from /usr/bin/dunst
# coredumpctl list
Mon 2024-01-29 17:52:47 CET 1640 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 1.4M
Tue 2024-01-30 19:41:37 CET 785 1000 1000 SIGABRT present /usr/bin/Hyprland 10.8M
Tue 2024-01-30 19:41:39 CET 43810 1000 1000 SIGSEGV present /home/haze/.local/share/spotify-launcher/install/usr/share/spotify/spotify 34.9M
Wed 2024-01-31 21:18:46 CET 1735 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 1.5M
Fri 2024-02-02 21:40:48 CET 158408 1000 1000 SIGILL present /home/haze/.local/share/Steam/ubuntu12_64/steamwebhelper 11.6M
Fri 2024-02-02 22:31:27 CET 23483 1000 1000 SIGSYS present /usr/bin/dash 12.0K
Fri 2024-02-02 22:48:32 CET 778 1000 1000 SIGABRT present /usr/bin/Hyprland 15.2M
Fri 2024-02-02 22:54:35 CET 58054 1000 1000 SIGSYS present /home/haze/.local/share/Steam/compatibilitytools.d/GE-Proton8-30/files/bin/wine64-preloader 11.2K
Fri 2024-02-02 22:57:18 CET 46419 1000 1000 SIGABRT present /usr/bin/waybar 2.8M
Fri 2024-02-02 23:15:27 CET 64734 1000 1000 SIGABRT present /usr/bin/waybar 1.8M
Sat 2024-02-03 23:22:29 CET 334019 1000 1000 SIGSYS present /usr/bin/dash 12.0K
Sat 2024-02-03 23:27:07 CET 336174 1000 1000 SIGSEGV inaccessible GameThread -
Sat 2024-02-03 23:38:42 CET 349646 1000 1000 SIGSEGV inaccessible GameThread -
Sun 2024-02-04 11:29:15 CET 163136 1000 1000 SIGSEGV present /usr/bin/rofi 3.2M
Sun 2024-02-04 13:21:12 CET 198253 1000 1000 SIGSEGV present /home/haze/.local/share/Steam/ubuntu12_64/streaming_client 38.3M
Sun 2024-02-04 14:37:16 CET 358286 1000 1000 SIGSYS present /usr/bin/bash 14.0K
Mon 2024-02-05 22:09:38 CET 1768 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 1.4M
Wed 2024-02-07 17:21:58 CET 38659 1000 1000 SIGABRT present /usr/bin/nvim 15.0M
Wed 2024-02-07 18:07:36 CET 116836 1000 1000 SIGABRT present /usr/bin/nvim 6.9M
Wed 2024-02-07 18:09:19 CET 119191 1000 1000 SIGABRT present /usr/bin/nvim 6.8M
Wed 2024-02-07 18:18:42 CET 136333 1000 1000 SIGSEGV present /usr/bin/wine-preloader 32.4M
Thu 2024-02-08 17:52:47 CET 3699 1000 1000 SIGABRT present /opt/visual-studio-code/code 549.7M
Thu 2024-02-08 21:52:57 CET 1144 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 147.8K
Thu 2024-02-08 21:53:29 CET 2003 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 148.0K
Thu 2024-02-08 21:53:58 CET 2472 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 147.9K
Thu 2024-02-08 21:55:09 CET 1099 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 148.4K
Thu 2024-02-08 21:58:46 CET 1144 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 148.4K
Thu 2024-02-08 22:04:37 CET 1151 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 148.1K
Thu 2024-02-08 22:19:21 CET 2374 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 148.4K
Thu 2024-02-08 22:41:15 CET 7710 1000 1000 SIGTRAP present /usr/bin/dunst 296.8K
Thu 2024-02-08 22:43:38 CET 1117 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 148.1K
Fri 2024-02-09 17:07:11 CET 2278 1000 1000 SIGSEGV present /usr/lib/xdg-desktop-portal-hyprland 148.2K
Fri 2024-02-09 18:48:51 CET 70103 1000 1000 SIGSYS present /usr/bin/dash 12.5K
Fri 2024-02-09 19:52:02 CET 153720 1000 1000 SIGTRAP present /usr/bin/dunst 296.5K
These logs came from me just running Hyprland after the update.
❯ Hyprland
Welcome to Hyprland!
[LOG] Instance Signature: 84ab8d11e8951a6551d1e1bf87796a8589da6d47_1707504721
[LOG] Hyprland PID: 153663
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: arch
[LOG] Release: 6.7.4-arch1-1
[LOG] Version: #1 SMP PREEMPT_DYNAMIC Mon, 05 Feb 2024 22:07:49 +0000
[LOG] GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] [1002:747e] (rev c8) (prog-if 00 [VGA controller])
0f:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev cb) (prog-if 00 [VGA controller])
[LOG] os-release:
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
[LOG] ========================
[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/
[LOG]
Current splash: Join the discord server!
[LOG] Creating the HookSystem!
[LOG] Creating the KeybindManager!
[LOG] [hookSystem] New hook event registered: configReloaded
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 13.99µs. Estimated average calc time: 0.04µs.
[LOG] Creating the ConfigManager!
[LOG] NOTE: further logs to stdout / logfile are disabled by default. Use debug:disable_logs and debug:enable_stdout_logs to override this.
[LOG] Creating the CHyprError!
[LOG] [hookSystem] New hook event registered: focusedMon
[LOG] [hookSystem] New hook event registered: preRender
[LOG] Creating the LayoutManager!
[LOG] [hookSystem] New hook event registered: preConfigReload
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 6.41µs. Estimated average calc time: 0.03µs.
[LOG] Using config: /home/haze/.config/hypr/hyprland.conf
[LOG] Registered dynamic var "$scrPath" -> ~/.config/hypr/scripts
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 6.39µs. Estimated average calc time: 0.03µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 6.40µs. Estimated average calc time: 0.03µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 6.39µs. Estimated average calc time: 0.04µs.
[LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 6.38µs. Estimated average calc time: 0.04µs.
[LOG] Registered dynamic var "$mainMod" -> SUPER
[LOG] Registered dynamic var "$term" -> kitty
[LOG] Registered dynamic var "$editor" -> code --disable-gpu
[LOG] Registered dynamic var "$file" -> dolphin
[LOG] Registered dynamic var "$browser" -> firefox
[LOG] Registered dynamic var "$discord" -> discord
[LOG] Registered dynamic var "$keepassxc" -> keepassxc
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
[ERR] Invalid dispatcher!
amdgpu: amdgpu_cs_ctx_create2 failed. (-13)
grep: /sys/class/power_supply/BAT*/type: No such file or directory
Cannot Detect a Battery. If this seems an error please report an issue to https://github.com/prasanthrangan/hyprdots.
Hyprland: symbol lookup error: /home/haze/.local/share/hyprload/plugins/session.9890575956275930/split-monitor-workspaces.so: undefined symbol: _ZN11CCompositor22moveWorkspaceToMonitorEP10CWorkspaceP8CMonitor
The compositor does not seem to implement seat, which is required for wl-clipboard to work
The compositor does not seem to implement seat, which is required for wl-clipboard to work
The Wayland connection broke. Did the Wayland compositor die?
Couldn't read (5)
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
jq: parse error: Invalid numeric literal at line 1, column 9
WARNING: compositor doesn't support wl_compositor
WARNING: Couldn't initialize wayland output. Falling back to X11 output.
(nm-applet:153718): Gtk-WARNING **: 19:52:02.085: cannot open display: :2
(waybar:153714): Gtk-WARNING **: 19:52:02.085: cannot open display: :2
WARNING: Cannot open X11 display.
ERROR: [ get_x11_output:0065] Couldn't initialize X11 output. Aborting...
jq: parse error: Invalid numeric literal at line 1, column 9
DP-1: 1920x1080, scale: 1, currently displaying: image: /home/haze/.config/swww/Catppuccin-Mocha/cat_leaves.png
DP-2: 1920x1080, scale: 1, currently displaying: image: /home/haze/.config/swww/Catppuccin-Mocha/cat_leaves.png
DP-3: 1920x1080, scale: 1, currently displaying: image: /home/haze/.config/swww/Catppuccin-Mocha/cat_leaves.png
~ xdg-desktop-portal-gnome: no process found 127 ✘ 07:52:02 PM
xdg-desktop-portal-kde: no process found
xdg-desktop-portal-lxqt: no process found
xdg-desktop-portal-wlr: no process found
[LOG] Initializing xdph...
[CRITICAL] Couldn't connect to a wayland compositor
(/usr/lib/xdg-desktop-portal:153897): xdg-desktop-portal-WARNING **: 19:52:06.042: No skeleton to export
and lastly the coredump for dunst
❯ coredumpctl info 153720
PID: 153720 (dunst)
UID: 1000 (haze)
GID: 1000 (haze)
Signal: 5 (TRAP)
Timestamp: Fri 2024-02-09 19:52:02 CET (6min ago)
Command Line: dunst
Executable: /usr/bin/dunst
Control Group: /user.slice/user-1000.slice/session-2.scope
Unit: session-2.scope
Slice: user-1000.slice
Session: 2
Owner UID: 1000 (haze)
Boot ID: fea519b989de418280136e1c9b5efc56
Machine ID: aab66b8ff16045deb9233e7ddf37dee2
Hostname: arch
Storage: /var/lib/systemd/coredump/core.dunst.1000.fea519b989de418280136e1c9b5efc56.153720.1707504722000000.zst (present)
Size on Disk: 296.5K
Message: Process 153720 (dunst) of user 1000 dumped core.
Stack trace of thread 153720:
#0 0x000071ee1eb5e485 g_logv (libglib-2.0.so.0 + 0x62485)
#1 0x000071ee1eb5e724 g_log (libglib-2.0.so.0 + 0x62724)
#2 0x00005a5ce6a5c39d n/a (dunst + 0x1439d)
#3 0x00005a5ce6a558c1 n/a (dunst + 0xd8c1)
#4 0x000071ee1e923cd0 n/a (libc.so.6 + 0x25cd0)
#5 0x000071ee1e923d8a __libc_start_main (libc.so.6 + 0x25d8a)
#6 0x00005a5ce6a55ce5 n/a (dunst + 0xdce5)
Stack trace of thread 153725:
#0 0x000071ee1ea0488d syscall (libc.so.6 + 0x10688d)
#1 0x000071ee1ebaf337 g_cond_wait (libglib-2.0.so.0 + 0xb3337)
#2 0x000071ee1eb211b4 n/a (libglib-2.0.so.0 + 0x251b4)
#3 0x000071ee1eb89ace n/a (libglib-2.0.so.0 + 0x8dace)
#4 0x000071ee1eb87a45 n/a (libglib-2.0.so.0 + 0x8ba45)
#5 0x000071ee1e98955a n/a (libc.so.6 + 0x8b55a)
#6 0x000071ee1ea06a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 153726:
#0 0x000071ee1e9f90bf __poll (libc.so.6 + 0xfb0bf)
#1 0x000071ee1ebb42f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x000071ee1eb54162 g_main_context_iteration (libglib-2.0.so.0 + 0x58162)
#3 0x000071ee1eb541b2 n/a (libglib-2.0.so.0 + 0x581b2)
#4 0x000071ee1eb87a45 n/a (libglib-2.0.so.0 + 0x8ba45)
#5 0x000071ee1e98955a n/a (libc.so.6 + 0x8b55a)
#6 0x000071ee1ea06a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 153728:
#0 0x000071ee1ea0488d syscall (libc.so.6 + 0x10688d)
#1 0x000071ee1ebafd13 g_cond_wait_until (libglib-2.0.so.0 + 0xb3d13)
#2 0x000071ee1eb21185 n/a (libglib-2.0.so.0 + 0x25185)
#3 0x000071ee1eb8a57b n/a (libglib-2.0.so.0 + 0x8e57b)
#4 0x000071ee1eb87a45 n/a (libglib-2.0.so.0 + 0x8ba45)
#5 0x000071ee1e98955a n/a (libc.so.6 + 0x8b55a)
#6 0x000071ee1ea06a3c n/a (libc.so.6 + 0x108a3c)
Stack trace of thread 153729:
#0 0x000071ee1e9f90bf __poll (libc.so.6 + 0xfb0bf)
#1 0x000071ee1ebb42f6 n/a (libglib-2.0.so.0 + 0xb82f6)
#2 0x000071ee1eb56b97 g_main_loop_run (libglib-2.0.so.0 + 0x5ab97)
#3 0x000071ee1edbe19c n/a (libgio-2.0.so.0 + 0x11219c)
#4 0x000071ee1eb87a45 n/a (libglib-2.0.so.0 + 0x8ba45)
#5 0x000071ee1e98955a n/a (libc.so.6 + 0x8b55a)
#6 0x000071ee1ea06a3c n/a (libc.so.6 + 0x108a3c)
ELF object binary architecture: AMD x86-64
I will kill the hyprland process and start it again to see if that dumps anything.
Still no hyprland crash reports.. but coredumpctl now got a hyprland entry.
❯ coredumpctl info 791
PID: 791 (Hyprland)
UID: 1000 (haze)
GID: 1000 (haze)
Signal: 6 (ABRT)
Timestamp: Fri 2024-02-09 20:01:54 CET (3min 54s ago)
Command Line: Hyprland
Executable: /usr/bin/Hyprland
Control Group: /user.slice/user-1000.slice/session-2.scope
Unit: session-2.scope
Slice: user-1000.slice
Session: 2
Owner UID: 1000 (haze)
Boot ID: fea519b989de418280136e1c9b5efc56
Machine ID: aab66b8ff16045deb9233e7ddf37dee2
Hostname: arch
Storage: /var/lib/systemd/coredump/core.Hyprland.1000.fea519b989de418280136e1c9b5efc56.791.1707505314000000.zst (present)
Size on Disk: 6.0M
Message: Process 791 (Hyprland) of user 1000 dumped core.
Stack trace of thread 840:
#0 0x000071e23c7bf32c n/a (libc.so.6 + 0x8d32c)
#1 0x000071e23c76e6c8 raise (libc.so.6 + 0x3c6c8)
#2 0x000071e23c7564b8 abort (libc.so.6 + 0x244b8)
#3 0x000071e23ca9ca6f _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6 + 0x9ca6f)
#4 0x000071e23cab011c _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xb011c)
#5 0x000071e23cab0189 _ZSt9terminatev (libstdc++.so.6 + 0xb0189)
#6 0x000071e23cab03ed __cxa_throw (libstdc++.so.6 + 0xb03ed)
#7 0x000071e23caa683b _ZNSt10filesystem9canonicalERKNS_7__cxx114pathE (libstdc++.so.6 + 0xa683b)
#8 0x000057d2eeb748c0 n/a (/usr/bin/Hyprland (deleted) + 0x1358c0)
Stack trace of thread 791:
#0 0x000071e23c7b9ebe n/a (libc.so.6 + 0x87ebe)
#1 0x000071e23c7bf0e3 n/a (libc.so.6 + 0x8d0e3)
#2 0x000071e238d0b5e0 n/a (radeonsi_dri.so + 0x10b5e0)
#3 0x000071e238d0b694 n/a (radeonsi_dri.so + 0x10b694)
#4 0x000071e23c770b36 n/a (libc.so.6 + 0x3eb36)
#5 0x000071e23c770c80 exit (libc.so.6 + 0x3ec80)
#6 0x000071e23c757cd7 n/a (libc.so.6 + 0x25cd7)
#7 0x000071e23c757d8a __libc_start_main (libc.so.6 + 0x25d8a)
#8 0x000057d2eeaeb815 n/a (/usr/bin/Hyprland (deleted) + 0xac815)
#9 0x000000000000001c n/a (n/a + 0x0)
#10 0x0000000000000000 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
uh... huh?
can you coredumpctl debug instead of info and bt -full?
like this?
❯ coredumpctl debug 791
PID: 791 (Hyprland)
UID: 1000 (haze)
GID: 1000 (haze)
Signal: 6 (ABRT)
Timestamp: Fri 2024-02-09 20:01:54 CET (17min ago)
Command Line: Hyprland
Executable: /usr/bin/Hyprland
Control Group: /user.slice/user-1000.slice/session-2.scope
Unit: session-2.scope
Slice: user-1000.slice
Session: 2
Owner UID: 1000 (haze)
Boot ID: fea519b989de418280136e1c9b5efc56
Machine ID: aab66b8ff16045deb9233e7ddf37dee2
Hostname: arch
Storage: /var/lib/systemd/coredump/core.Hyprland.1000.fea519b989de418280136e1c9b5efc56.791.1707505314000000.zst (present)
Size on Disk: 6.0M
Message: Process 791 (Hyprland) of user 1000 dumped core.
Stack trace of thread 840:
#0 0x000071e23c7bf32c n/a (libc.so.6 + 0x8d32c)
#1 0x000071e23c76e6c8 raise (libc.so.6 + 0x3c6c8)
#2 0x000071e23c7564b8 abort (libc.so.6 + 0x244b8)
#3 0x000071e23ca9ca6f _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6 + 0x9ca6f)
#4 0x000071e23cab011c _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xb011c)
#5 0x000071e23cab0189 _ZSt9terminatev (libstdc++.so.6 + 0xb0189)
#6 0x000071e23cab03ed __cxa_throw (libstdc++.so.6 + 0xb03ed)
#7 0x000071e23caa683b _ZNSt10filesystem9canonicalERKNS_7__cxx114pathE (libstdc++.so.6 + 0xa683b)
#8 0x000057d2eeb748c0 n/a (/usr/bin/Hyprland (deleted) + 0x1358c0)
Stack trace of thread 791:
#0 0x000071e23c7b9ebe n/a (libc.so.6 + 0x87ebe)
#1 0x000071e23c7bf0e3 n/a (libc.so.6 + 0x8d0e3)
#2 0x000071e238d0b5e0 n/a (radeonsi_dri.so + 0x10b5e0)
#3 0x000071e238d0b694 n/a (radeonsi_dri.so + 0x10b694)
#4 0x000071e23c770b36 n/a (libc.so.6 + 0x3eb36)
#5 0x000071e23c770c80 exit (libc.so.6 + 0x3ec80)
#6 0x000071e23c757cd7 n/a (libc.so.6 + 0x25cd7)
#7 0x000071e23c757d8a __libc_start_main (libc.so.6 + 0x25d8a)
#8 0x000057d2eeaeb815 n/a (/usr/bin/Hyprland (deleted) + 0xac815)
#9 0x000000000000001c n/a (n/a + 0x0)
#10 0x0000000000000000 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64
warning: Can't open file /usr/bin/Hyprland (deleted) during file-backed mapping note processing
warning: Can't open file /home/haze/.local/share/hyprload/plugins/session.0900712721481589/split-monitor-workspaces.so (deleted) during file-backed mapping note processing
warning: Can't open file /usr/lib/libexpat.so.1.8.10 (deleted) during file-backed mapping note processing
warning: Can't open file /usr/lib/libwlroots.so.13032 (deleted) during file-backed mapping note processing
[New LWP 840]
[New LWP 791]
[New LWP 817]
[New LWP 818]
[New LWP 819]
[New LWP 821]
[New LWP 820]
[New LWP 822]
[New LWP 823]
[New LWP 824]
[New LWP 835]
[New LWP 825]
[New LWP 826]
[New LWP 827]
[New LWP 848]
[New LWP 828]
[New LWP 833]
--Type <RET> for more, q to quit, c to continue without paging--bt -full
[New LWP 829]
[New LWP 831]
[New LWP 832]
[New LWP 834]
[New LWP 836]
[New LWP 837]
[New LWP 842]
[New LWP 838]
[New LWP 839]
[New LWP 1114]
[New LWP 18866]
[New LWP 18865]
[New LWP 18867]
[New LWP 830]
[New LWP 18868]
warning: .dynamic section for "/usr/lib/libexpat.so.1" is not at the expected address (wrong library or version mismatch?)
warning: Could not load shared library symbols for /home/haze/.local/share/hyprload/plugins/session.0900712721481589/split-monitor-workspaces.so.
Do you need "set solib-search-path" or "set sysroot"?
--Type <RET> for more, q to quit, c to continue without paging--
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `Hyprland'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x71e20a0006c0 (LWP 840))]
(gdb)
(gdb) bt -full
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
tid = <optimized out>
ret = 0
pd = <optimized out>
old_mask = {__val = {125216495579542}}
ret = <optimized out>
#1 0x000071e23c7bf393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x000071e23c76e6c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
ret = <optimized out>
#3 0x000071e23c7564b8 in __GI_abort () at abort.c:79
save_stage = 1
act = {__sigaction_handler = {sa_handler = 0x20, sa_sigaction = 0x20}, sa_mask = {__val = {125216492664032, 125216492654672, 125216492664163, 1, 125216491256356, 1, 10, 125215644321472, 125215644313808, 125215644314336, 125216491259945, 125216492664032, 125216491261283, 125216492664032, 10, 125215644321472}}, sa_flags = 1014697562, sa_restorer = 0x71e23c90b6a0 <stderr>}
#4 0x000071e23ca9ca6f in __gnu_cxx::__verbose_terminate_handler () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
terminating = true
t = <optimized out>
#5 0x000071e23cab011c in __cxxabiv1::__terminate (handler=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#6 0x000071e23cab0189 in std::terminate () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#7 0x000071e23cab03ed in __cxxabiv1::__cxa_throw
(obj=<optimized out>, tinfo=0x71e23cc72738 <typeinfo for std::filesystem::__cxx11::filesystem_error>, dest=0x71e23cb9cab0 <std::filesystem::__cxx11::filesystem_error::~filesystem_error()>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
globals = <optimized out>
header = 0x71e16c003380
#8 0x000071e23caa683b in std::filesystem::canonical (p=filesystem::path "/proc/self/exe" = {...})
at /usr/src/debug/gcc/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/new_allocator.h:100
ec = std::error_code = {"generic": ENOENT}
res = filesystem::path ""
#9 0x000057d2eeb748c0 in CrashReporter::createAndSaveCrash(int) ()
#10 0x000057d2eeaee5ec in handleUnrecoverableSignal(int) ()
#11 0x000071e23c76e770 in <signal handler called> () at /usr/lib/libc.so.6
#12 malloc_consolidate (av=0x71e23c90aac0 <main_arena>) at malloc.c:4866
fb = 0x71e23c90aad0 <main_arena+16>
maxfb = 0x71e23c90ab18 <main_arena+88>
p = 0x8
nextp = 0x57d2f0b60da0
unsorted_bin = 0x71e23c90ab20 <main_arena+96>
first_unsorted = <optimized out>
nextchunk = 0x57d2f1ab3730
size = 96563509278504
nextsize = 1440
prevsize = 96563509278472
nextinuse = <optimized out>
#13 0x000071e23c7cafdd in _int_free_maybe_consolidate (av=av@entry=0x71e23c90aac0 <main_arena>, size=<optimized out>) at malloc.c:4779
--Type <RET> for more, q to quit, c to continue without paging--
__PRETTY_FUNCTION__ = "_int_free_maybe_consolidate"
#14 0x000071e23c7cb330 in _int_free_maybe_consolidate (size=<optimized out>, av=0x71e23c90aac0 <main_arena>) at malloc.c:4702
__PRETTY_FUNCTION__ = "_int_free_maybe_consolidate"
heap = <optimized out>
#15 0x000071e23c7cb669 in _int_free (av=0x71e23c90aac0 <main_arena>, p=<optimized out>, have_lock=<optimized out>, have_lock@entry=0) at malloc.c:4646
size = <optimized out>
fb = <optimized out>
#16 0x000071e23c7cde93 in __GI___libc_free (mem=<optimized out>) at malloc.c:3398
ar_ptr = <optimized out>
p = <optimized out>
err = 0
#17 0x000071e23c7cdf82 in tcache_thread_shutdown () at malloc.c:3234
e = <optimized out>
i = <optimized out>
tcache_tmp = 0x71e16c0008e0
i = <optimized out>
tcache_tmp = <optimized out>
e = <optimized out>
#18 __malloc_arena_thread_freeres () at /usr/src/debug/glibc/glibc/malloc/arena.c:897
a = <optimized out>
__PRETTY_FUNCTION__ = "__malloc_arena_thread_freeres"
#19 0x000071e23c7d03a5 in __libc_thread_freeres () at thread-freeres.c:41
#20 0x000071e23c7bd342 in start_thread (arg=<optimized out>) at pthread_create.c:458
pd = <optimized out>
out = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {125215644321472, 4121496119849911877, -744, 13, 140728433791040, 125215635931136, -2668825755197241787, -2668939038625364411}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#21 0x000071e23c83aa3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78
hm, yeah, crash reporter itself is unable to save the crash report, thats why. Can you capture more frames? looks like not all of them?
Hello I am having the same issue on:
Linux rikus 6.7.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 05 Feb 2024 22:07:49 +0000 x86_64 GNU/Linux
> doas pacman -Q | grep hyprland
hyprland 0.35.0-2
I notice that hyprland starts fine if I login into a TTY and launch Hyprland from there.
However I get segmentation fault at the bottom of the screen and stuck image if I try to login with Gnome Display Manager.
Will try to get deeper coredumps.
Forget what I just said, I can't get it crash anymore. Idk if that good or bad.
hm, yeah, crash reporter itself is unable to save the crash report, thats why. Can you capture more frames? looks like not all of them?
That was the full output, but i just removed some unessesary general information about the debugger itself
Just guessing but did you rebuild the split workspace monitor plugin after updating Hyprland?
Also, do you also crash when running Hyprland with the default config?
The crash I had were without a config.
a git bisect would help
a
git bisectwould help
Started off by uninstalling hyprland with Pacman, and then installing the dependencies needed to build it from source.. https://wiki.hyprland.org/Getting-Started/Installation/#manual-manual-build
first bisect was at c4365f20, and it did not go so well. I wasn't able to build it from source. failed-build.txt
I am not really sure if i did something wrong here. All i ran was make all && sudo make install
every time bisect throws you into a new commit you have to git submodule update --init before you run make all to update the subprojects to the appropriate commits. If git complains about dirty states, you can also do git reset --hard --recurse-submodules
every time bisect throws you into a new commit you have to
git submodule update --initbefore you runmake allto update the subprojects to the appropriate commits. If git complains about dirty states, you can also dogit reset --hard --recurse-submodules
Gotcha, will do this tomorrow after work and see what i can find.
I have the same problem. I bisected. This is the first commit not working for me: 4a42344. However, I don't quite get how it is possible for this commit to be broken.
me neither
The segfaul is in src/render/Renderbuffer.cpp:55 because of throwing in constructor
if (glCheckFramebufferStatus(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_COMPLETE)
throw std::runtime_error("rbo: glCheckFramebufferStatus failed");
The previous commit passed this check for some reason.
Update:
Changing
RASSERT(PWLREGLCREATEIMAGEFROMDMABUF, "wlr_egl_create_image_from_dmabuf was not found in wlroots!");
to
RASSERT(PWLREGLCREATEIMAGEFROMDMABUF != null, "wlr_egl_create_image_from_dmabuf was not found in wlroots!");
does not trigger the segfault. The only reasonable explanation is that the "evil hack" is somehow UB.
there is no such thing as null in C++, though. You mean nullptr?
The only reasonable explanation is that the "evil hack" is somehow UB.
evil hack refers to something else and is indeed UB but shouldn't crash.
I've not been on my arch installation for 1-2 months. But i tried upgrading to the latest version of hyprland and the problem still remains.. so i guess im stuck on v0.34
Let me know what more information i could provide that might help.
Pc specs? Anything..
a proper git bisect would help for sure
@Its-Haze this should be resolved or??
I am still stuck, and can't update to the latest version.
I have been unmotivated to do a git bisect cause i just got problems when trying to build hyprland from source. but i will try to see if i can get it done when i get home
but i will try to see if i can get it done when i get home
Did you try?
but i will try to see if i can get it done when i get home
Did you try?
unfortunately not yet