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
19.99k stars 852 forks source link

Hyprland crashes #6041

Open ghost opened 4 months ago

ghost commented 4 months ago

Hi, I don't know why Hyprland crashes all the time I update the 'hyprland.config'. A crash report is generated, but it is empty. I installed in on a clean installation of arch. I manually build it, with all the dependecies. I'm sorry, maybe it's my fault, but I don't know how resolve it. I looked in all the Hyprland wiki, checked if I have all the env configured (in hyprland.config) and I think so (I have an Nvidia GPU). Maybe I didn't install something. It's not the only case where Hyprland crashes: for example, even if I unplug in my Yubikey: if I plug and uplug my Yubikey, Hyprland crashes. Everytime Hyprland crashes, my cursor freeze. Sometimes, after the crash of Hyprland, a terminal error comes out: "broken pipe: failed to flush wayland socket". Thanks a lot for the help.

Agent00Ming commented 4 months ago

Yubikey causing crashes is an interesting issue. Otherwise NVIDIA related issues should be discussed in the discord.

ghost commented 4 months ago

Yubikey causing crashes is an interesting issue. Otherwise NVIDIA related issues should be discussed in the discord.

Thanks, I will check in Discord; but why everytime hyprland.config is modified, Hyprland crashes?

Agent00Ming commented 4 months ago

Turn debug:disable_logs to false. Cause a crash and get the log from $XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log (if the crash reports are empty) and also maybe check coredumpctl

ghost commented 4 months ago

Turn debug:disable_logs to false. Cause a crash and get the log from $XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/hyprland.log (if the crash reports are empty) and also maybe check coredumpctl

ok, I will update you in about four hours! thanks a lot for the help.

ghost commented 4 months ago

I saw that, maybe, this is problem is caused by a misconfiguration of the NVIDIA drivers (maybe). I will update this thread tomorrow. I really hope to solve my problem.

Agent00Ming commented 4 months ago

Can you get the crash logs from unplugging your Yubikey?

vaxerski commented 4 months ago

do this https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-debug-stacktrace

but launch hyprland from the tty with HYPRLAND_NO_CRASHREPORTER=1, e.g. HYPRLAND_NO_CRASHREPORTER=1 ./build/Hyprland

ghost commented 4 months ago

This is 'hyprlandCrashReport1494.txt'. It was generated after I unplugged my Yubikey. cat .cache/hyprland/hyprlandCrashReport1494.txt

Hyprland Crash Report

thud

Hyprland received signal 11(SEGV) Version: d5bf15387ad3b4ee36cae7a3cd9f4a9c28790f2e Tag: v0.39.1-135-gd5bf1538

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

GPU: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106 [GeForce RTX 2060 Rev. A] [10de:1f08] (rev a1) (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 Backtrace:

| Hyprland(_Z12getBacktracev+0x48) [0x641492c2a328]

    getBacktrace()
    ??:?
#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x84d) [0x641492bb0d7d]
    CrashReporter::createAndSaveCrash(int)
    ??:?
#2 | Hyprland(_Z25handleUnrecoverableSignali+0x5c) [0x641492b32f9c]
    handleUnrecoverableSignal(int)
    ??:?
#3 | /usr/lib/libc.so.6(+0x3cae0) [0x72accde50ae0]
    ??
    ??:0
#4 | /usr/lib/libxkbcommon.so.0(xkb_keymap_unref+0x18) [0x72acceb95008]
    ??
    ??:0
#5 | /usr/lib/libxkbcommon.so.0(xkb_state_unref+0x2d) [0x72acceb9aa2d]
    ??
    ??:0
#6 | Hyprland(_ZNSt7__cxx1110_List_baseI9SKeyboardSaIS1_EE8_M_clearEv+0x9b) [0x641492cd468b]
    std::__cxx11::_List_base<SKeyboard, std::allocator<SKeyboard> >::_M_clear()
    ??:?
#7 | Hyprland(_ZN13CInputManager15destroyKeyboardEP9SKeyboard+0xd8) [0x641492cc1ae8]
    CInputManager::destroyKeyboard(SKeyboard*)
    ??:?
#8 | Hyprland(_ZN6Events24listener_keyboardDestroyEPvS0_+0x27) [0x641492c07b57]
    Events::listener_keyboardDestroy(void*, void*)
    ??:?
#9 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x57) [0x641492c47127]
    handleWrapped(wl_listener*, void*)
    ??:?
#1 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x72acceb6f01e]
    ??
    ??:0
#11 | Hyprland(wlr_input_device_finish+0x1d) [0x641492e2679d]
    wlr_input_device_finish
    ??:?
#12 | Hyprland(wlr_keyboard_finish+0x7e) [0x641492e01dee]
    wlr_keyboard_finish
    ??:?
#13 | Hyprland(destroy_libinput_input_device+0x14) [0x641492ddb244]
    destroy_libinput_input_device
    ??:?
#14 | Hyprland(+0x405cab) [0x641492ddacab]
    handle_libinput_readable
    backend.c:?
#15 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x72acceb70ae2]
    ??
    ??:0
#16 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x72acceb712d7]
    ??
    ??:0
#17 | Hyprland(_ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop+0x4d) [0x641492cba38d]
    CEventLoopManager::enterLoop(wl_display*, wl_event_loop*)
    ??:?
#18 | Hyprland(main+0x7c4) [0x641492afe434]
    main
    ??:?
#19 | /usr/lib/libc.so.6(+0x25c88) [0x72accde39c88]
    ??
    ??:0
#2 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x72accde39d4c]
    ??
    ??:0
#21 | Hyprland(_start+0x25) [0x641492b32e25]
    _start
    ??:?

Log tail: [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [LOG] cursorImage request: surface 641496482880 [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [LOG] cursorImage request: surface 641496482880 [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [LOG] cursorImage request: surface 641496482880 [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [LOG] cursorImage request: surface 641496482880 [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [LOG] cursorImage request: surface 641496482880 [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [LOG] cursorImage request: surface 641496482880 [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [LOG] cursorImage request: surface 641496482880 [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [LOG] cursorImage request: surface 641496482880 [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [backend/drm/drm.c:1049] Failed to pick cursor plane format [render/gles2/renderer.c:89] DMA-BUF format is external-only [backend/drm/renderer.c:177] Failed to begin render pass with multi-GPU destination buffer [LOG] Callback 6414963660a8 -> 6414963660a0, Keyboard removed. [LOG] Callback 641496365f70 -> 641496365f68, Keyboard removed. [LOG] Callback 641496365fd8 -> 641496365fd0, Keyboard removed.

ghost commented 4 months ago

I also discovered that this issue is not only related to yubikey, but every usb device: Hyprland crashes after the unplugment.

ghost commented 4 months ago

This is my 'coredumpctl' output. I don't see anything wrong or weird, only the amount of times that Hyprland is started. (Because its crashes).

TIME PID UID GID SIG COREFILE EXE SIZE Tue 2024-05-07 08:41:32 CEST 1558 1000 1000 SIGABRT present /usr/local/bin/Hyprland 10.0M Tue 2024-05-07 09:09:09 CEST 23556 1000 1000 SIGABRT present /usr/bin/ykman-gui 1.4M Tue 2024-05-07 09:09:58 CEST 23610 1000 1000 SIGABRT present /usr/bin/ykman-gui 1.4M Tue 2024-05-07 09:10:31 CEST 23745 1000 1000 SIGABRT present /usr/bin/ykman-gui 1.4M Tue 2024-05-07 09:11:20 CEST 23803 1000 1000 SIGABRT present /usr/bin/ykman-gui 1.4M Tue 2024-05-07 09:21:14 CEST 3542 1000 1000 SIGABRT present /usr/local/bin/Hyprland 8.6M Tue 2024-05-07 09:21:28 CEST 24740 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.2M Tue 2024-05-07 09:21:58 CEST 24909 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.2M Tue 2024-05-07 09:26:32 CEST 25075 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.3M Tue 2024-05-07 09:28:23 CEST 25652 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Tue 2024-05-07 09:29:12 CEST 26269 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Tue 2024-05-07 09:42:51 CEST 26731 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.5M Tue 2024-05-07 09:43:45 CEST 37408 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.2M Tue 2024-05-07 23:24:19 CEST 1480 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.5M Tue 2024-05-07 23:25:39 CEST 7460 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.5M Tue 2024-05-07 23:26:27 CEST 7965 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Tue 2024-05-07 23:27:27 CEST 8357 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Tue 2024-05-07 23:28:06 CEST 8774 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.5M Tue 2024-05-07 23:29:34 CEST 9164 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.3M Tue 2024-05-07 23:30:08 CEST 9552 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.3M Tue 2024-05-07 23:31:25 CEST 9930 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Tue 2024-05-07 23:32:28 CEST 10338 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Tue 2024-05-07 23:33:05 CEST 10735 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.3M Tue 2024-05-07 23:34:16 CEST 11122 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.5M Tue 2024-05-07 23:35:36 CEST 11724 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Tue 2024-05-07 23:40:31 CEST 12302 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.6M Tue 2024-05-07 23:42:16 CEST 18370 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Tue 2024-05-07 23:46:10 CEST 18812 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Tue 2024-05-07 23:47:08 CEST 19438 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Tue 2024-05-07 23:52:26 CEST 19594 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.5M Wed 2024-05-08 19:24:40 CEST 18027 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.5M Wed 2024-05-08 19:26:32 CEST 18500 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Wed 2024-05-08 19:29:48 CEST 19216 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Wed 2024-05-08 19:33:54 CEST 19755 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.4M Wed 2024-05-08 19:38:25 CEST 20451 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.3M Wed 2024-05-08 22:11:03 CEST 1705 1000 1000 SIGABRT present /usr/local/bin/Hyprland 8.8M Wed 2024-05-08 22:11:43 CEST 6174 1000 1000 SIGABRT present /usr/local/bin/Hyprland 2.3M Fri 2024-05-10 15:21:22 CEST 1480 1000 1000 SIGABRT present /usr/local/bin/Hyprland 17.0M Fri 2024-05-10 15:23:47 CEST 19970 0 0 SIGABRT none /usr/bin/ykman-gui - Fri 2024-05-10 15:27:45 CEST 20507 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.2M Fri 2024-05-10 15:28:12 CEST 20678 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.2M Fri 2024-05-10 15:49:39 CEST 20872 1000 1000 SIGABRT present /usr/local/bin/Hyprland 10.9M Fri 2024-05-10 16:04:45 CEST 21515 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.5M Fri 2024-05-10 16:19:02 CEST 22114 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.5M Fri 2024-05-10 16:40:47 CEST 1485 1000 1000 SIGABRT present /usr/local/bin/Hyprland 15.7M Fri 2024-05-10 16:42:02 CEST 2345 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.4M Fri 2024-05-10 17:27:36 CEST 1470 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.3M Fri 2024-05-10 17:34:16 CEST 3096 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.3M Fri 2024-05-10 17:37:12 CEST 3795 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.3M Fri 2024-05-10 18:07:20 CEST 1483 1000 1000 SIGABRT present /usr/local/bin/Hyprland 10.6M Fri 2024-05-10 18:08:03 CEST 3032 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.3M Fri 2024-05-10 18:12:28 CEST 1481 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.4M Fri 2024-05-10 18:28:09 CEST 1757 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.2M Fri 2024-05-10 19:19:12 CEST 1475 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.4M Fri 2024-05-10 19:21:33 CEST 1471 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.4M Sat 2024-05-11 12:51:22 CEST 3071 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.4M Sun 2024-05-12 23:20:39 CEST 1488 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.3M Sun 2024-05-12 23:21:57 CEST 1653 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.4M Sun 2024-05-12 23:23:13 CEST 1804 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.5M Sun 2024-05-12 23:24:08 CEST 2310 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.4M Sun 2024-05-12 23:24:42 CEST 2460 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.3M Sun 2024-05-12 23:25:15 CEST 2611 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.3M Sun 2024-05-12 23:25:45 CEST 2758 1000 1000 SIGABRT present /usr/local/bin/Hyprland 6.3M Sun 2024-05-12 23:26:16 CEST 2908 1000 1000 SIGABRT present /usr/local/bin/Hyprland 2.6M Sun 2024-05-12 23:27:10 CEST 3045 1000 1000 SIGABRT present /usr/local/bin/Hyprland 2.6M Sun 2024-05-12 23:37:27 CEST 1480 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.5M Sun 2024-05-12 23:43:56 CEST 1478 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.4M Sun 2024-05-12 23:48:38 CEST 1656 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.4M Mon 2024-05-13 09:17:30 CEST 1494 1000 1000 SIGABRT present /usr/local/bin/Hyprland 9.2M

ghost commented 4 months ago

this is my 'coredumpctl debug Hyprland' output:

       PID: 1494 (Hyprland)
       UID: 1000 (c)
       GID: 1000 (c)
    Signal: 6 (ABRT)
 Timestamp: Mon 2024-05-13 09:17:29 CEST (11min ago)

Command Line: Hyprland Executable: /usr/local/bin/Hyprland Control Group: /user.slice/user-1000.slice/session-1.scope Unit: session-1.scope Slice: user-1000.slice Session: 1 Owner UID: 1000 (c) Boot ID: 6d74eb79aef649eb91a32da28eaecc87 Machine ID: 5a69170c319e4e3eb40d6802509ea41d Hostname: dsk Storage: /var/lib/systemd/coredump/core.Hyprland.1000.6d74eb79aef649eb91a32da28eaecc87.1494.1715584649000000.zst (present) Size on Disk: 9.2M Message: Process 1494 (Hyprland) of user 1000 dumped core.

            Stack trace of thread 1494:
            #0  0x000072accdea8e44 n/a (libc.so.6 + 0x94e44)
            #1  0x000072accde50a30 raise (libc.so.6 + 0x3ca30)
            #2  0x000072accde384c3 abort (libc.so.6 + 0x244c3)
            #3  0x0000641492b32fa1 _Z25handleUnrecoverableSignali (Hyprland + 0x15dfa1)
            #4  0x000072accde50ae0 n/a (libc.so.6 + 0x3cae0)
            #5  0x000072acceb95008 xkb_keymap_unref (libxkbcommon.so.0 + 0x1a008)
            #6  0x000072acceb9aa2d xkb_state_unref (libxkbcommon.so.0 + 0x1fa2d)
            #7  0x0000641492cd468b _ZNSt7__cxx1110_List_baseI9SKeyboardSaIS1_EE8_M_clearEv (Hyprland + 0x2ff68b)
            #8  0x0000641492cc1ae8 _ZN13CInputManager15destroyKeyboardEP9SKeyboard (Hyprland + 0x2ecae8)
            #9  0x0000641492c07b57 _ZN6Events24listener_keyboardDestroyEPvS0_ (Hyprland + 0x232b57)
            #10 0x0000641492c47127 _Z13handleWrappedP11wl_listenerPv (Hyprland + 0x272127)
            #11 0x000072acceb6f01e wl_signal_emit_mutable (libwayland-server.so.0 + 0xa01e)
            #12 0x0000641492e2679d wlr_input_device_finish (Hyprland + 0x45179d)
            #13 0x0000641492e01dee wlr_keyboard_finish (Hyprland + 0x42cdee)
            #14 0x0000641492ddb244 destroy_libinput_input_device (Hyprland + 0x406244)
            #15 0x0000641492ddacab handle_libinput_readable (Hyprland + 0x405cab)
            #16 0x000072acceb70ae2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xbae2)
            #17 0x000072acceb712d7 wl_display_run (libwayland-server.so.0 + 0xc2d7)
            #18 0x0000641492cba38d _ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop (Hyprland + 0x2e538d)
            #19 0x0000641492afe434 main (Hyprland + 0x129434)
            #20 0x000072accde39c88 n/a (libc.so.6 + 0x25c88)
            #21 0x000072accde39d4c __libc_start_main (libc.so.6 + 0x25d4c)
            #22 0x0000641492b32e25 _start (Hyprland + 0x15de25)

            Stack trace of thread 1499:
            #0  0x000072accdea34e9 n/a (libc.so.6 + 0x8f4e9)
            #1  0x000072accdea6552 pthread_cond_clockwait (libc.so.6 + 0x92552)
            #2  0x0000641492c488f0 _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZN9CWatchdogC4EvEUlvE_EEEEE6_M_runEv (Hyprland + 0x2738f0)
            #3  0x000072acce0e0c84 execute_native_thread_routine (libstdc++.so.6 + 0xe0c84)
            #4  0x000072accdea6ded n/a (libc.so.6 + 0x92ded)
            #5  0x000072accdf2a0dc n/a (libc.so.6 + 0x1160dc)
            ELF object binary architecture: AMD x86-64

GNU gdb (GDB) 14.2 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.

For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/local/bin/Hyprland...

This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.archlinux.org Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. Downloading separate debug info for /usr/local/bin/Hyprland (No debugging symbols found in /usr/local/bin/Hyprland)

warning: Can't open file /memfd:/.glXXXXXX (deleted) during file-backed mapping note processing

warning: Can't open file /run/user/1000/.hyprpaper_USFeju during file-backed mapping note processing

warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:xwayland-shared (deleted) during file-backed mapping note processing [New LWP 1494] [New LWP 1499] Downloading separate debug info for /usr/lib/libEGL.so.1 Downloading separate debug info for /usr/lib/libuuid.so.1
Downloading separate debug info for /usr/lib/libxcb-util.so.1
Downloading separate debug info for /usr/lib/libxcb-render.so.0
Downloading separate debug info for /usr/lib/libxcb-xfixes.so.0
Downloading separate debug info for /usr/lib/libxcb-icccm.so.4
Downloading separate debug info for /usr/lib/libxcb-composite.so.0
Downloading separate debug info for /usr/lib/libxcb-res.so.0
Downloading separate debug info for /usr/lib/libxcb-ewmh.so.2
Downloading separate debug info for /usr/lib/libxcb.so.1
Downloading separate debug info for /usr/lib/libxkbcommon.so.0
Downloading separate debug info for /usr/lib/libwayland-server.so.0
Downloading separate debug info for /usr/lib/libwayland-client.so.0
Downloading separate debug info for /usr/lib/libwayland-cursor.so.0
Downloading separate debug info for /usr/lib/libgobject-2.0.so.0
Downloading separate debug info for /usr/lib/libglib-2.0.so.0
Downloading separate debug info for /usr/lib/libharfbuzz.so.0
Downloading separate debug info for /usr/lib/libpangocairo-1.0.so.0
Downloading separate debug info for /usr/lib/libpango-1.0.so.0
Downloading separate debug info for /usr/lib/libcairo.so.2
Downloading separate debug info for /usr/lib/libpixman-1.so.0
Downloading separate debug info for /usr/lib/libdrm.so.2
Downloading separate debug info for /usr/lib/libinput.so.10
Downloading separate debug info for /usr/lib/libseat.so.1
Downloading separate debug info for /usr/lib/libdisplay-info.so.1
Downloading separate debug info for /usr/lib/libliftoff.so.0
--Type for more, q to quit, c to continue without paging--c Downloading separate debug info for /usr/lib/libudev.so.1
Downloading separate debug info for /usr/lib/libgbm.so.1
Downloading separate debug info for /usr/lib/libhyprlang.so.2
Downloading separate debug info for /usr/lib/libhyprcursor.so.0
Downloading separate debug info for /usr/lib/libGLESv2.so.2
Downloading separate debug info for /usr/lib/libGLX.so.0
Downloading separate debug info for /usr/lib/libOpenGL.so.0
Downloading separate debug info for /usr/lib/libm.so.6
Downloading separate debug info for /usr/lib/libc.so.6
Downloading separate debug info for /usr/lib/libGLdispatch.so.0
Downloading separate debug info for /lib64/ld-linux-x86-64.so.2
Downloading separate debug info for /usr/lib/libXau.so.6
Downloading separate debug info for /usr/lib/libXdmcp.so.6
Downloading separate debug info for /usr/lib/libffi.so.8
Downloading separate debug info for /usr/lib/libpcre2-8.so.0
Downloading separate debug info for /usr/lib/libfreetype.so.6
Downloading separate debug info for /usr/lib/libgraphite2.so.3
Downloading separate debug info for /usr/lib/libpangoft2-1.0.so.0
Downloading separate debug info for /usr/lib/libfontconfig.so.1
Downloading separate debug info for /usr/lib/libgio-2.0.so.0
Downloading separate debug info for /usr/lib/libfribidi.so.0
Downloading separate debug info for /usr/lib/libthai.so.0
Downloading separate debug info for /usr/lib/libz.so.1
Downloading separate debug info for /usr/lib/libpng16.so.16
Downloading separate debug info for /usr/lib/libX11.so.6
Downloading separate debug info for /usr/lib/libXext.so.6
Downloading separate debug info for /usr/lib/libXrender.so.1
Downloading separate debug info for /usr/lib/libxcb-shm.so.0
Downloading separate debug info for /usr/lib/libmtdev.so.1
Downloading separate debug info for /usr/lib/libevdev.so.2
Downloading separate debug info for /usr/lib/libwacom.so.9
Downloading separate debug info for /usr/lib/libsystemd.so.0
Downloading separate debug info for /usr/lib/libcap.so.2
Downloading separate debug info for /usr/lib/libexpat.so.1
Downloading separate debug info for /usr/lib/libxcb-randr.so.0
Downloading separate debug info for /usr/lib/libzip.so.5
Downloading separate debug info for /usr/lib/librsvg-2.so.2
Downloading separate debug info for /usr/lib/libtomlplusplus.so.3
Downloading separate debug info for /usr/lib/libbz2.so.1.0
Downloading separate debug info for /usr/lib/libbrotlidec.so.1
Downloading separate debug info for /usr/lib/libgmodule-2.0.so.0
Downloading separate debug info for /usr/lib/libmount.so.1
Downloading separate debug info for /usr/lib/libdatrie.so.1
Downloading separate debug info for /usr/lib/libgudev-1.0.so.0
Downloading separate debug info for /usr/lib/libgcrypt.so.20
Downloading separate debug info for /usr/lib/liblz4.so.1
Downloading separate debug info for /usr/lib/liblzma.so.5
Downloading separate debug info for /usr/lib/libzstd.so.1
Downloading separate debug info for /usr/lib/libcrypto.so.3
Downloading separate debug info for /usr/lib/libcairo-gobject.so.2
Downloading separate debug info for /usr/lib/libgdk_pixbuf-2.0.so.0
Downloading separate debug info for /usr/lib/libxml2.so.2
Downloading separate debug info for /usr/lib/libbrotlicommon.so.1
Downloading separate debug info for /usr/lib/libblkid.so.1
Downloading separate debug info for /usr/lib/libgpg-error.so.0
Downloading separate debug info for /usr/lib/libjpeg.so.8
Downloading separate debug info for /usr/lib/libtiff.so.6
Downloading separate debug info for /usr/lib/libicuuc.so.74
Downloading separate debug info for /usr/lib/libjbig.so.2.1
Downloading separate debug info for /usr/lib/libicudata.so.74
Downloading separate debug info for /usr/lib/libEGL_nvidia.so.0
Downloading separate debug info for /usr/lib/libpthread.so.0
Downloading separate debug info for /usr/lib/librt.so.1
Downloading separate debug info for /usr/lib/libdl.so.2
Downloading separate debug info for /usr/lib/libnvidia-glsi.so.550.78
Downloading separate debug info for /usr/lib/libnvidia-egl-wayland.so.1
Downloading separate debug info for /usr/lib/libnvidia-eglcore.so.550.78
Downloading separate debug info for /usr/lib/libnvidia-gpucomp.so.550.78
Downloading separate debug info for /usr/lib/libnvidia-egl-gbm.so.1
Downloading separate debug info for /usr/lib/libEGL_mesa.so.0
Downloading separate debug info for /usr/lib/libglapi.so.0
Downloading separate debug info for /usr/lib/libX11-xcb.so.1
Downloading separate debug info for /usr/lib/libxcb-dri2.so.0
Downloading separate debug info for /usr/lib/libxcb-dri3.so.0
Downloading separate debug info for /usr/lib/libxcb-present.so.0
Downloading separate debug info for /usr/lib/libxcb-sync.so.1
Downloading separate debug info for /usr/lib/libxshmfence.so.1
Downloading separate debug info for /usr/lib/gbm/nvidia-drm_gbm.so
Downloading separate debug info for system-supplied DSO at 0x7fffe96bf000
[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=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44

Downloading source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x72acccd39b80 (LWP 1494))]

ghost commented 4 months ago

This is the 'tty error' that appeared after I modify my hyprland.config:

err: wayland.c:1984: failed to flush wayland socket[2178:2306:0513/093209.966709:ERROR:connection.cc(61)] X connection error received. /org/freedesktop/UPower: Broken pipe[2178:2178:2306:0513/093209.966709:ERROR:connection.cc(61)] X connection error received.

It doesn't appear everytime Hyprland crashes, sometimes.

vaxerski commented 4 months ago

sounds like that one bug that was fixed a while back, are you on git?

ghost commented 4 months ago

I'm not on git.

ghost commented 4 months ago

sounds like that one bug that was fixed a while back, are you on git?

sorry, which bug was fixed a while back?

vaxerski commented 4 months ago

I don't remember the # but there was a double free in keyboard code. Anyways, try -git

ghost commented 4 months ago

I don't remember the # but there was a double free in keyboard code. Anyways, try -git

I will update about it ASAP.

ghost commented 4 months ago

Hi, immediately after building Hyprland, in my /home/user/, I deleted the 'Hyprland' folder because I tought I could do it without problems (rn I'm not completely sure if this is possible, simply I don't like to have 'Hyprland' folder in my home; tbh some time ago I build Hyprland in /opt/, but it gave me some problems with the 'hyprland.config' file, so I thougth that I couldn't do it. If building Hyprland in /opt/ is now supported, without problems, please tell me haha) The solution is: I downloaded from Github the 'Hyprland' folder, cd in it, search in Makefile and did 'xargs rm ...' to remove the previous installation; then I rebuild it and now i don't have a single problem.