hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.07k stars 881 forks source link

BUG: Crash after updating config #6118

Open v4u6h4n opened 5 months ago

v4u6h4n commented 5 months ago

Hyprland Version

System/Version info ```sh Hyprland, built from branch at commit cba1ade848feac44b2eda677503900639581c3f4 (props: bump version to 0.40.0). Date: Sat May 4 15:42:32 2024 Tag: v0.40.0, commits: 4606 flags: (if any) System Information: System name: Linux Node name: desktop-0 Release: 6.8.9-arch1-2 Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller]) 13:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c9) (prog-if 00 [VGA controller]) 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 plugins: ```

Bug or Regression?

Bug

Description

Hyprland crashed immediately after saving a modification I made to my config. All I did was comment out # windowrulev2 = move 16 16, class:^(chatterino)$.

How to reproduce

...

Crash reports, logs, images, videos


Hyprland Crash Report

Oops

Hyprland received signal 11(SEGV) Version: cba1ade848feac44b2eda677503900639581c3f4 Tag: v0.40.0

System info: System name: Linux Node name: desktop-0 Release: 6.8.9-arch1-2 Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000

GPU: <pipe(pipefd) failed with24>

os-release: <pipe(pipefd) failed with24> Backtrace:

| Hyprland(_Z12getBacktracev+0x61) [0x555e83ad5d21]

#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xde9) [0x555e83a6c729]

#2 | Hyprland(_Z25handleUnrecoverableSignali+0x71) [0x555e839ec281]

#3 | /usr/lib/libc.so.6(+0x3cae0) [0x7ca268850ae0]

#4 | /usr/lib/libxkbcommon.so.0(xkb_keymap_num_layouts+0x4) [0x7ca26924b914]

#5 | Hyprland(_ZN9IKeyboard15getActiveLayoutB5cxx11Ev+0x3f) [0x555e83ab152f]

#6 | Hyprland(+0x39e100) [0x555e83c87100]

#7 | Hyprland(+0x2582eb) [0x555e83b412eb]

#8 | Hyprland(_ZN21CStaticSignalListener4emitESt3any+0x66) [0x555e83ade806]

#9 | Hyprland(_ZN7CSignal4emitESt3any+0x196) [0x555e83ade9f6]

#1 | Hyprland(+0x1c99f5) [0x555e83ab29f5]

#11 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x77) [0x555e83adbf07]

#12 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7ca26922501e]

#13 | Hyprland(wlr_keyboard_set_keymap+0x3bc) [0x555e83c3b57c]

#14 | Hyprland(_ZN13CInputManager21applyConfigToKeyboardESt10shared_ptrI9IKeyboardE+0x913) [0x555e83b382e3]

#15 | Hyprland(_ZN13CInputManager17setKeyboardLayoutEv+0x60) [0x555e83b3a0e0]

#16 | Hyprland(_ZN14CConfigManager16postConfigReloadERKN8Hyprlang12CParseResultE+0x312) [0x555e83a41e42]

#17 | Hyprland(_ZN14CConfigManager6reloadEv+0x12f) [0x555e83a371df]

#18 | Hyprland(_ZN14CConfigManager4tickEv+0x1da) [0x555e83a42b4a]

#19 | Hyprland(_Z11handleTimerPv+0x4c) [0x555e83b3092c]

#2 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x2e7) [0x7ca269226d27]

#21 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7ca2692272d7]

#22 | Hyprland(_ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop+0x55) [0x555e83b2dbc5]

#23 | Hyprland(main+0xa4d) [0x555e839b559d]

#24 | /usr/lib/libc.so.6(+0x25c88) [0x7ca268839c88]

#25 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x7ca268839d4c]

#26 | Hyprland(_start+0x25) [0x555e839e8bb5]

Log tail: [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e86f71d70's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "cm350:-cm350-1" [LOG] ApplyConfigToKeyboard for "cm350:-cm350-2", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e87037af0's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "cm350:-cm350-2" [LOG] ApplyConfigToKeyboard for "logi-litra-glow-consumer-control", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e8709ab40's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "logi-litra-glow-consumer-control" [LOG] ApplyConfigToKeyboard for "cm350:-cm350-3", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e870fe100's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "cm350:-cm350-3" [LOG] ApplyConfigToKeyboard for "razer-razer-ornata-chroma", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e871613c0's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "razer-razer-ornata-chroma" [LOG] ApplyConfigToKeyboard for "razer-razer-ornata-chroma-keyboard", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e871c3d20's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "razer-razer-ornata-chroma-keyboard" [LOG] ApplyConfigToKeyboard for "logi-litra-glow-consumer-control-1", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e872285f0's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "logi-litra-glow-consumer-control-1" [LOG] ApplyConfigToKeyboard for "generic-modern-usb-c-speaker-consumer-control-1", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e872ef6f0's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "generic-modern-usb-c-speaker-consumer-control-1" [LOG] ApplyConfigToKeyboard for "generic-modern-usb-c-speaker-1", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e87352570's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "generic-modern-usb-c-speaker-1" [LOG] ApplyConfigToKeyboard for "cm350:-cm350-4", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e873b4fb0's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "cm350:-cm350-4" [LOG] ApplyConfigToKeyboard for "asus-wmi-hotkeys", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [LOG] Updating keyboard 555e8747b250's translation state from an active index 0 [LOG] Set the keyboard layout to us and variant to for keyboard "asus-wmi-hotkeys" [LOG] ApplyConfigToKeyboard for "eee-pc-wmi-hotkeys", hasconfig: 0 [LOG] Attempting to create a keymap for layout us with variant (rules: , model: , options: caps:none) [ERR] Keyboard layout us with variant (rules: , model: , options: caps:none) couldn't have been loaded. [ERR] execAndGet: failed in pipe

vaxerski commented 5 months ago

try on git

v4u6h4n commented 5 months ago

Hey, my apologies, I can't switch to git at the moment; doing a little too many critical things with my system for work. Will do in the future though, so can repost if it happens again, and don't mind if this is closed in the meantime.

v4u6h4n commented 4 months ago

Can confirm this issue was present in git as well, however I had to switch back from git as my clipboard broke and I have to stream tomorrow morning. Unfortunately hypr doesn't seem to have caught it in a crash log, so all I have is the log already listed above.