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.84k stars 908 forks source link

Hyprland received signal 11(SEGV) when mouse hovers over Gtk.Entry completion window #6592

Open faileon opened 5 months ago

faileon commented 5 months ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 9e781040d9067c2711ec2e9f5b47b76ef70762b3 (props: bump version to 0.41.1). Date: Thu Jun 13 09:54:06 2024 Tag: v0.41.1, commits: 4818 flags: (if any) System Information: System name: Linux Node name: ptaqarch Release: 6.9.5-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Sun, 16 Jun 2024 19:06:37 +0000 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3080 12GB] [10de:220a] (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 plugins: ```

Description

I have created a simple Gtk.Entry widge with completion feature. The moment I hover over the completion window, the entire hyprland crashes.

How to reproduce

I am using AGS as a framework to create gtk things, the widget is simple:

          Widget.Entry({
            placeholderText: "Enter your desired location...",
            text: "Foocity 420",
            setup: (self) => {
              const liststore = new Gtk.ListStore();
              liststore.set_column_types([GObject.TYPE_STRING]);
              const items = ["Berlin", "Brno", "Budapest", "Malta", "Ostrava"];
              for (const item of items) {
                const iter = liststore.append();
                liststore.set(iter, [0], [item]);
              }

              const completion = new Gtk.EntryCompletion();
              completion.set_model(liststore);
              completion.set_text_column(0);

              self.set_completion(completion);
            },
          }),

I could also provide a reproducible C code that will spawn a gtk.entry with completions if that's more desirable.

Crash reports, logs, images, videos

Full log:

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
All these computers...

Hyprland received signal 11(SEGV)
Version: 9e781040d9067c2711ec2e9f5b47b76ef70762b3
Tag: v0.41.1

System info:
    System name: Linux
    Node name: ptaqarch
    Release: 6.9.5-arch1-1
    Version: #1 SMP PREEMPT_DYNAMIC Sun, 16 Jun 2024 19:06:37 +0000

GPU:
    01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA102 [GeForce RTX 3080 12GB] [10de:220a] (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+0x61) [0x5ab2e0b80dc1]
        getBacktrace()
        ??:?
    #1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xb49) [0x5ab2e0b183e9]
        CrashReporter::createAndSaveCrash(int)
        ??:?
    #2 | Hyprland(_Z25handleUnrecoverableSignali+0x71) [0x5ab2e0a9d821]
        handleUnrecoverableSignal(int)
        ??:?
    #3 | /usr/lib/libc.so.6(+0x3cae0) [0x782a70a50ae0]
        ??
        ??:0
    #4 | Hyprland(+0x15d37b) [0x5ab2e0ac037b]
        std::__detail::_Scanner<char>::_M_eat_escape_ecma()
        ??:?
    #5 | Hyprland(_ZN11CCompositor26getLayerSurfaceFromSurfaceEN9Hyprutils6Memory14CSharedPointerI18CWLSurfaceResourceEE+0x1cc) [0x5ab2e0ab737c]
        CCompositor::getLayerSurfaceFromSurface(Hyprutils::Memory::CSharedPointer<CWLSurfaceResource>)
        ??:?
    #6 | Hyprland(_ZN13CInputManager16mouseMoveUnifiedEjb+0x1f70) [0x5ab2e0bf3a40]
        CInputManager::mouseMoveUnified(unsigned int, bool)
        ??:?
    #7 | Hyprland(_ZN13CInputManager12onMouseMovedEN8IPointer12SMotionEventE+0x122) [0x5ab2e0bf5012]
        CInputManager::onMouseMoved(IPointer::SMotionEvent)
        ??:?
    #8 | Hyprland(+0x26e24e) [0x5ab2e0bd124e]
        CPointerManager::damageCursor(Hyprutils::Memory::CSharedPointer<CMonitor>)
        ??:?
    #9 | /usr/lib/libhyprutils.so.0(_ZN9Hyprutils6Signal15CSignalListener4emitESt3any+0x5f) [0x782a70fced3f]
        ??
        ??:0
    #1 | /usr/lib/libhyprutils.so.0(_ZN9Hyprutils6Signal7CSignal4emitESt3any+0x1e5) [0x782a70fcf0a5]
        ??
        ??:0
    #11 | Hyprland(+0x1f7d97) [0x5ab2e0b5ad97]
        std::any::_Manager_external<IPointer::SMotionEvent>::_S_manage(std::any::_Op, std::any const*, std::any::_Arg*)
        ??:?
    #12 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x77) [0x5ab2e0b8c807]
        handleWrapped(wl_listener*, void*)
        ??:?
    #13 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x782a7142f42e]
        ??
        ??:0
    #14 | Hyprland(handle_pointer_motion+0x94) [0x5ab2e0d7da04]
        handle_pointer_motion
        ??:?
    #15 | Hyprland(+0x42508c) [0x5ab2e0d8808c]
        handle_libinput_event
        ??:?
    #16 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x1f2) [0x782a714310a2]
        ??
        ??:0
    #17 | /usr/lib/libwayland-server.so.0(wl_display_run+0x2f) [0x782a7143310f]
        ??
        ??:0
    #18 | Hyprland(_ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop+0x59) [0x5ab2e0bebd89]
        CEventLoopManager::enterLoop(wl_display*, wl_event_loop*)
        ??:?
    #19 | Hyprland(main+0xa0b) [0x5ab2e0a61a4b]
        main
        ??:?
    #2 | /usr/lib/libc.so.6(+0x25c88) [0x782a70a39c88]
        ??
        ??:0
    #21 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x782a70a39d4c]
        ??
        ??:0
    #22 | Hyprland(_start+0x25) [0x5ab2e0a9a4d5]
        _start
        ??:?

Log tail:
[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 1
[LOG] Registered signal for owner 5ab2fedc1150: 5ab2fe4f0818 -> 5ab2fedc1160 (owner: CRenderbuffer)
[LOG] Callback 5ab2fedc1188 -> 5ab2fedc1180, CRenderbuffer removed.
[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] Registered signal for owner 5ab2fedc1150: 5ab2fe4f4ba8 -> 5ab2fedc1160 (owner: CRenderbuffer)
[LOG] Callback 5ab2fedc1188 -> 5ab2fedc1180, CRenderbuffer removed.
[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] Registered signal for owner 5ab2fedc1150: 5ab2fed74468 -> 5ab2fedc1160 (owner: CRenderbuffer)
[LOG] Callback 5ab2fedc1188 -> 5ab2fedc1180, CRenderbuffer removed.
[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] [WLCompositor] New wl_surface with id 48 at 5ab2ffeaac80
[LOG] [WLSubcompositor] New wl_subsurface with id 52 at 5ab2ffe673a0
[LOG] cursorImage request: surface 1
[LOG] Registered signal for owner 5ab2fedc1150: 5ab2fe4f0818 -> 5ab2fedc1160 (owner: CRenderbuffer)
[LOG] Callback 5ab2fedc1188 -> 5ab2fedc1180, CRenderbuffer removed.
[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] Registered signal for owner 5ab2fedc1150: 5ab2fe4f4ba8 -> 5ab2fedc1160 (owner: CRenderbuffer)
[LOG] Callback 5ab2fedc1188 -> 5ab2fedc1180, CRenderbuffer removed.
[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] Registered signal for owner 5ab2fedc1150: 5ab2fed74468 -> 5ab2fedc1160 (owner: CRenderbuffer)
[LOG] Callback 5ab2fedc1188 -> 5ab2fedc1180, CRenderbuffer removed.
[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 1
[LOG] Registered signal for owner 5ab2fedc1150: 5ab2fe4f0818 -> 5ab2fedc1160 (owner: CRenderbuffer)
[LOG] Callback 5ab2fedc1188 -> 5ab2fedc1180, CRenderbuffer removed.
[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] Registered signal for owner 5ab2fedc1150: 5ab2fe4f4ba8 -> 5ab2fedc1160 (owner: CRenderbuffer)
[LOG] Callback 5ab2fedc1188 -> 5ab2fedc1180, CRenderbuffer removed.
[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] Registered signal for owner 5ab2fedc1150: 5ab2fed74468 -> 5ab2fedc1160 (owner: CRenderbuffer)
[LOG] Callback 5ab2fedc1188 -> 5ab2fedc1180, CRenderbuffer removed.
[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] Cleanup: destroyed a layersurface
[LOG] [WLDataDevice] New offer 5ab2fe552000 for data source 5ab2ffe1a790
[LOG] [WLDataDevice]  | offer 5ab2fe552000 supports mime image/png
[LOG] Set keyboard focus to surface 1

image The moment I hover over the completion box hyprland crashes.

juvevood commented 5 months ago

I also encountered a similar crash, and the logs:


Hyprland Crash Report

I don't feel so good...

Hyprland received signal 6(ABRT) Version: 9e781040d9067c2711ec2e9f5b47b76ef70762b3 Tag: v0.41.1

System info: System name: Linux Node name: juve-archlinux Release: 6.9.5-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Sun, 16 Jun 2024 19:06:37 +0000

GPU: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c5) (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+0x61) [0x62ae6e813dc1]

    getBacktrace()
    ??:?
#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xb49) [0x62ae6e7ab3e9]
    CrashReporter::createAndSaveCrash(int)
    ??:?
#2 | Hyprland(_Z25handleUnrecoverableSignali+0x71) [0x62ae6e730821]
    handleUnrecoverableSignal(int)
    ??:?
#3 | /usr/lib/libc.so.6(+0x3cae0) [0x7794ed565ae0]
    ??
    ??:0
#4 | /usr/lib/libc.so.6(+0x94e44) [0x7794ed5bde44]
    ??
    ??:0
#5 | /usr/lib/libc.so.6(gsignal+0x20) [0x7794ed565a30]
    ??
    ??:0
#6 | /usr/lib/libc.so.6(abort+0xdf) [0x7794ed54d4c3]
    ??
    ??:0
#7 | /usr/lib/libc.so.6(+0x25354) [0x7794ed54e354]
    ??
    ??:0
#8 | /usr/lib/libc.so.6(+0x122259) [0x7794ed64b259]
    main
    ??:?
#9 | /usr/lib/libc.so.6(+0x121d25) [0x7794ed64ad25]
    main
    ??:?
#1 | Hyprland(_Z13hyprCtlFDTickijPv+0xae) [0x62ae6e7c16fe]
    hyprCtlFDTick(int, unsigned int, void*)
    ??:?
#11 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x1f2) [0x7794edfe10a2]
    ??
    ??:0
#12 | /usr/lib/libwayland-server.so.0(wl_display_run+0x2f) [0x7794edfe310f]
    ??
    ??:0
#13 | Hyprland(_ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop+0x59) [0x62ae6e87ed89]
    CEventLoopManager::enterLoop(wl_display*, wl_event_loop*)
    ??:?
#14 | Hyprland(main+0xa0b) [0x62ae6e6f4a4b]
    main
    ??:?
#15 | /usr/lib/libc.so.6(+0x25c88) [0x7794ed54ec88]
    ??
    ??:0
#16 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x7794ed54ed4c]
    ??
    ??:0
#17 | Hyprland(_start+0x25) [0x62ae6e72d4d5]
    _start
    ??:?

Log tail: [LOG] Callback 62aed01bbe48 -> 62aed01bbe40, CRenderbuffer removed. [LOG] Registered signal for owner 62aed01bbe10: 62aed01692c8 -> 62aed01bbe20 (owner: CRenderbuffer) [LOG] Callback 62aed01bbe48 -> 62aed01bbe40, CRenderbuffer removed. [LOG] [xwm] New XSurface at 62ae8ad60f30 with xid of 48380234 [LOG] [xwm] New XWayland window at 62ae72f01900 for surf 62ae8ad60f30 [LOG] [WLCompositor] New wl_surface with id 507 at 62aed01ebb50 [LOG] [xwm] New XWayland surface at 1 [WARN] [xwm] CXWM::onNewSurface: no matching xwaylandSurface [ERR] [LinuxDMABUF] FIXME: surface feedback stub [LOG] [xwm] surface 62ae8ad60f30 requests serial 185 [LOG] [xwm] Handled message prop 244 -> WL_SURFACE_SERIAL [LOG] [xwm] New XWayland resource at 62ae72e446a0 [LOG] Window 62ae72f01900 set class to jetbrains-idea [LOG] Searching for matching rules for jetbrains-idea (title: ) [LOG] [xwm] Handled prop 67 -> ? [LOG] Window 62ae72f01900 set title to win331 [LOG] Searching for matching rules for jetbrains-idea (title: win331) [LOG] Window rule noinitialfocus -> class:^(jetbrains-.),title:^(win.) matched [Window 62ae72f01900: title: "win331"] [LOG] [xwm] Handled prop 39 -> ? [LOG] [xwm] Handled prop 68 -> ? [LOG] [xwm] Handled prop 35 -> WM_HINTS [LOG] [xwm] Handled prop 304 -> _NET_WM_STATE [LOG] [xwm] Handled prop 309 -> _NET_WM_NAME [LOG] [xwm] Handled prop 305 -> _NET_WM_WINDOW_TYPE [LOG] [xwm] Handled prop 40 -> WM_NORMAL_HINTS [LOG] CWLSurface 62ae72e30580 called init() [LOG] xwayland window 62ae8ad60f30 -> association to 62aed01ebb50 [LOG] [LinuxDMABUF] Creating a dmabuf, with id 524: size [Vector2D: x: 796, y: 914], fmt 875713112, planes 2 [LOG] [LinuxDMABUF] | plane 0: mod 144115206334822913 fd 1022 stride 3584 offset 0 [LOG] [LinuxDMABUF] | plane 1: mod 144115206334822913 fd 1023 stride 1024 offset 3670016 [LOG] XWayland surface 62ae8ad60f30 mapping [LOG] New window contains HL_INITIAL_WORKSPACE_TOKEN: bd7d22a1-88be-4a0d-b83b-34d47746845e [LOG] Searching for matching rules for jetbrains-idea (title: win331) [LOG] Window rule opacity 0.9 0.9 -> floating:1 matched [Window 62ae72f01900: title: "win331"] [LOG] Window rule windowdance -> class:^(jetbrains-.)$,floating:1 matched [Window 62ae72f01900: title: "win331"] [LOG] Window rule noinitialfocus -> class:^(jetbrains-.),title:^(win.) matched [Window 62ae72f01900: title: "win331"] [LOG] Window rule nofocus -> class:^(jetbrains-.)$,title:^(win.)$,floating:1 matched [Window 62ae72f01900: title: "win331"] [LOG] Map request dispatched, monitor DP-1, window pos: [720.66667, 641.33333], window size: [530.66667, 609.33333] [LOG] [ForeignToplevelWlr] Newly mapped window 000062ae72f01900 [LOG] [ForeignToplevelWlr] Newly mapped window 000062ae72f01900 [LOG] Searching for matching rules for jetbrains-idea (title: ) [LOG] Window rule noborder -> fullscreen:1 matched [Window 62ae8ad9f790: title: " "] [LOG] Window rule idleinhibit fullscreen -> fullscreen:1 matched [Window 62ae8ad9f790: title: " "] [LOG] Searching for matching rules for jetbrains-idea (title: win331) [LOG] Window rule opacity 0.9 0.9 -> floating:1 matched [Window 62ae72f01900: title: "win331"] [LOG] Window rule windowdance -> class:^(jetbrains-.)$,floating:1 matched [Window 62ae72f01900: title: "win331"] [LOG] Window rule noinitialfocus -> class:^(jetbrains-.),title:^(win.) matched [Window 62ae72f01900: title: "win331"] [LOG] Window rule nofocus -> class:^(jetbrains-.)$,title:^(win.)$,floating:1 matched [Window 62ae72f01900: title: "win331"] [LOG] Unmanaged window [Window 62ae72f01900: title: "win331"] requests geometry update to [722, 642.6666666666666] [796, 914] [LOG] Unmanaged window [Window 62ae72f01900: title: "win331"] requests geometry update to [722, 642.6666666666666] [1320, 914]

vaxerski commented 5 months ago

@juvevood your crash is unrelated and fixed in git

faileon commented 5 months ago

Lemme know if you need any more info or a better repro.

vaxerski commented 5 months ago

a debug stacktrace would be nice https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-debug-stacktrace

juvevood commented 5 months ago

@juvevood your crash is unrelated and fixed in git

Thanks!

ModerNews commented 4 months ago

Same issue here with some games running on proton. Issue seems to be related to the new NVIDIA driver, as it's started after the update I've done some time ago.

Not sure how to reproduce, seems to be happening with: Helddivers 2, Phasomphobia & Dying Light for me, but it's hard to pinpoint what exactly is the common issue with them, they use different engines, I use different Proton versions on them, and I have other games built with same engines/run with same versions of Proton that seem to be running fine. Only thing I can see is that the issues started with the 555 driver.

Crash report below, I will update with the debug stacktrace, when I have time to build a debug version of hyprland.

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Oops

Hyprland received signal 11(SEGV)
Version: 918d8340afd652b011b937d29d5eea0be08467f5
Tag: v0.41.2

System info:
    System name: Linux
    Node name: gruzin-desktop
    Release: 6.9.9-arch1-1
    Version: #1 SMP PREEMPT_DYNAMIC Fri, 12 Jul 2024 00:06:53 +0000

GPU:
    08:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] [10de:2489] (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+0x61) [0x5ae95c8a1811]
        getBacktrace()
        ??:?
    #1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xb49) [0x5ae95c834489]
        CrashReporter::createAndSaveCrash(int)
        ??:?
    #2 | Hyprland(_Z25handleUnrecoverableSignali+0x71) [0x5ae95c7b7fa1]
        handleUnrecoverableSignal(int)
        ??:?
    #3 | /usr/lib/libc.so.6(+0x3cae0) [0x7080acf65ae0]
        ??
        ??:0
    #4 | /usr/lib/libhyprutils.so.0(_ZNK9Hyprutils4Math4CBox4sizeEv+0x10) [0x7080ad514d30]
        ??
        ??:0
    #5 | Hyprland(_ZN16CXWaylandSurface9configureERKN9Hyprutils4Math4CBoxE+0x38) [0x5ae95ca60478]
        CXWaylandSurface::configure(Hyprutils::Math::CBox const&)
        ??:?
    #6 | Hyprland(_ZN20CHyprXWaylandManager13setWindowSizeEN9Hyprutils6Memory14CSharedPointerI7CWindowEENS0_4Math8Vector2DEb+0x224) [0x5ae95c916114]
        CHyprXWaylandManager::setWindowSize(Hyprutils::Memory::CSharedPointer<CWindow>, Hyprutils::Math::Vector2D, bool)
        ??:?
    #7 | Hyprland(_ZN17CAnimationManager4tickEv+0x893) [0x5ae95c8d0463]
        CAnimationManager::tick()
        ??:?
    #8 | Hyprland(_Z6wlTickN9Hyprutils6Memory14CSharedPointerI15CEventLoopTimerEEPv+0xb7) [0x5ae95c8c6317]
        wlTick(Hyprutils::Memory::CSharedPointer<CEventLoopTimer>, void*)
        ??:?
    #9 | Hyprland(_ZNSt17_Function_handlerIFvN9Hyprutils6Memory14CSharedPointerI15CEventLoopTimerEEPvEPFiS4_S5_EE9_M_invokeERKSt9_Any_dataOS4_OS5_+0x3c) [0x5ae95c8caf8c]
        std::_Function_handler<void (Hyprutils::Memory::CSharedPointer<CEventLoopTimer>, void*), int (*)(Hyprutils::Memory::CSharedPointer<CEventLoopTimer>, void*)>::_M_invoke(std::_Any_data const&, Hyprutils::Memory::CSharedPointer<CEventLoopTimer>&&, void*&&)
        ??:?
    #1 | Hyprland(_ZN17CEventLoopManager11onTimerFireEv+0xfd) [0x5ae95c9145dd]
        CEventLoopManager::onTimerFire()
        ??:?
    #11 | Hyprland(+0x29e6a8) [0x5ae95c9146a8]
        CEventLoopManager::onTimerFire()
        ??:?
    #12 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x1f2) [0x7080ad9880a2]
        ??
        ??:0
    #13 | /usr/lib/libwayland-server.so.0(wl_display_run+0x2f) [0x7080ad98a10f]
        ??
        ??:0
    #14 | Hyprland(_ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop+0x59) [0x5ae95c913f59]
        CEventLoopManager::enterLoop(wl_display*, wl_event_loop*)
        ??:?
    #15 | Hyprland(main+0xa0b) [0x5ae95c77bd6b]
        main
        ??:?
    #16 | /usr/lib/libc.so.6(+0x25c88) [0x7080acf4ec88]
        ??
        ??:0
    #17 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x7080acf4ed4c]
        ??
        ??:0
    #18 | Hyprland(_start+0x25) [0x5ae95c7b4e35]
        _start
        ??:?

Log tail:
[LOG] Registered signal for owner 5ae97d6768e0: 5ae97d9fff68 -> 5ae97d6768f0 (owner: CRenderbuffer)
[LOG] Callback 5ae97d676918 -> 5ae97d676910, CRenderbuffer removed.
[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 1
[LOG] Registered signal for owner 5ae97d6768e0: 5ae97d9b7838 -> 5ae97d6768f0 (owner: CRenderbuffer)
[LOG] Callback 5ae97d676918 -> 5ae97d676910, CRenderbuffer removed.
[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] Registered signal for owner 5ae97d6768e0: 5ae97d9fff68 -> 5ae97d6768f0 (owner: CRenderbuffer)
[LOG] Callback 5ae97d676918 -> 5ae97d676910, CRenderbuffer removed.
[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] [LinuxDMABUF] Creating a dmabuf, with id 104: size [Vector2D: x: 1920, y: 1080], fmt 875713112, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782128496660 fd 180 stride 7680 offset 0
[LOG] cursorImage request: surface 1
[LOG] Registered signal for owner 5ae97d6768e0: 5ae97d9b7838 -> 5ae97d6768f0 (owner: CRenderbuffer)
[LOG] Callback 5ae97d676918 -> 5ae97d676910, CRenderbuffer removed.
[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] Registered signal for owner 5ae97d6768e0: 5ae97d9fff68 -> 5ae97d6768f0 (owner: CRenderbuffer)
[LOG] Callback 5ae97d676918 -> 5ae97d676910, CRenderbuffer removed.
[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] [LinuxDMABUF] Creating a dmabuf, with id 68: size [Vector2D: x: 1920, y: 1080], fmt 875713112, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782128496660 fd 177 stride 7680 offset 0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 65: size [Vector2D: x: 1920, y: 1080], fmt 875713112, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782128496660 fd 181 stride 7680 offset 0
[LOG] [xwm] New XSurface at 5ae9841d6ed0 with xid of 73400323
[LOG] [xwm] New XWayland window at 5ae9841df5d0 for surf 5ae9841d6ed0
[LOG] [xwm] New XSurface at 5ae9841e0170 with xid of 58720264
[LOG] [xwm] New XWayland window at 5ae984208db0 for surf 5ae9841e0170
[LOG] cursorImage request: surface 0
[LOG] CWLSurface 5ae97d5855c0 called destroy()
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 118: size [Vector2D: x: 1920, y: 1080], fmt 875713112, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782120099860 fd 183 stride 7680 offset 0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 71: size [Vector2D: x: 1920, y: 1080], fmt 875713112, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782120099860 fd 184 stride 7680 offset 0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 66: size [Vector2D: x: 1920, y: 1080], fmt 875713112, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782120099860 fd 128 stride 7680 offset 0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 125: size [Vector2D: x: 1920, y: 1080], fmt 875713112, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782120099860 fd 186 stride 7680 offset 0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 63: size [Vector2D: x: 1920, y: 1080], fmt 875713112, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782120099860 fd 187 stride 7680 offset 0
[ERR] XWayland has yeeten the xwm off?!
[CRITICAL] XWayland has yeeten the xwm off?!
[LOG] CWLSurface 5ae97db581b0 called destroy()
[LOG] CWLSurface 5ae97dcf10d0 called destroy()
[LOG] CWLSurface 5ae9841f45d0 called destroy()
vaxerski commented 4 months ago

hasnt this one been fixed

faileon commented 4 months ago

Still crashing for me, haven't had a chance to run Hyprland in debug mode to provide more info, so that's on me.

ModerNews commented 3 months ago

hasnt this one been fixed

After switching to the git branch instead of stable the issue seems to be different, except for the XWayland killing it's windows

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
All these computers...

Hyprland received signal 11(SEGV)
Version: 381cb2d8330d09f8994ca01591fb3e3737e6a67a
Tag: v0.41.2-92-g381cb2d8
Date: Wed Jul 24 22:51:23 2024
Flags:

System info:
    System name: Linux
    Node name: gruzin-desktop
    Release: 6.10.1-arch1-1
    Version: #1 SMP PREEMPT_DYNAMIC Wed, 24 Jul 2024 22:25:43 +0000

GPU:
    08:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] [10de:2489] (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+0x46) [0x64abec352d36]
        getBacktrace()
        /usr/src/debug/hyprland-git/Hyprland/build/../src/helpers/MiscFunctions.cpp:791
    #1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xabf) [0x64abec2de3af]
        CrashReporter::createAndSaveCrash(int)
        /usr/include/c++/14.1.1/bits/basic_string.h:632
    #2 | Hyprland(_Z25handleUnrecoverableSignali+0x5c) [0x64abec27512c]
        handleUnrecoverableSignal(int)
        /usr/src/debug/hyprland-git/Hyprland/build/../src/Compositor.cpp:72
    #3 | /usr/lib/libc.so.6(+0x3d1d0) [0x777479a4c1d0]
        ??
        ??:0
    #4 | Hyprland(+0x194429) [0x64abec28b429]
        Hyprutils::Memory::CWeakPointer<CWLSurfaceResource>::lock() const
        /usr/include/hyprutils/memory/WeakPtr.hpp:122
    #5 | Hyprland(_ZN18CWLSurfaceResource12breadthfirstESt8functionIFvN9Hyprutils6Memory14CSharedPointerIS_EERKNS1_4Math8Vector2DEPvEES9_+0x5a) [0x64abec40104a]
        CWLSurfaceResource::breadthfirst(std::function<void (Hyprutils::Memory::CSharedPointer<CWLSurfaceResource>, Hyprutils::Math::Vector2D const&, void*)>, void*)
        /usr/src/debug/hyprland-git/Hyprland/build/../src/protocols/core/Compositor.cpp:287
    #6 | Hyprland(_ZN13CHyprRenderer12renderWindowEN9Hyprutils6Memory14CSharedPointerI7CWindowEEP8CMonitorP8timespecb15eRenderPassModebb+0x12ad) [0x64abec50ff6d]
        CHyprRenderer::renderWindow(Hyprutils::Memory::CSharedPointer<CWindow>, CMonitor*, timespec*, bool, eRenderPassMode, bool, bool)
        /usr/include/c++/14.1.1/bits/std_function.h:243
    #7 | Hyprland(_ZN13CHyprRenderer32renderWorkspaceWindowsFullscreenEP8CMonitorN9Hyprutils6Memory14CSharedPointerI10CWorkspaceEEP8timespec+0x5a5) [0x64abec510ab5]
        CHyprRenderer::renderWorkspaceWindowsFullscreen(CMonitor*, Hyprutils::Memory::CSharedPointer<CWorkspace>, timespec*)
        /usr/src/debug/hyprland-git/Hyprland/build/../src/render/Renderer.cpp:403 (discriminator 1)
    #8 | Hyprland(_ZN13CHyprRenderer28renderAllClientsForWorkspaceEP8CMonitorN9Hyprutils6Memory14CSharedPointerI10CWorkspaceEEP8timespecRKNS2_4Math8Vector2DERKf+0x516) [0x64abec514ed6]
        CHyprRenderer::renderAllClientsForWorkspace(CMonitor*, Hyprutils::Memory::CSharedPointer<CWorkspace>, timespec*, Hyprutils::Math::Vector2D const&, float const&)
        /usr/include/hyprutils/memory/SharedPtr.hpp:177
    #9 | Hyprland(_ZN13CHyprRenderer15renderWorkspaceEP8CMonitorN9Hyprutils6Memory14CSharedPointerI10CWorkspaceEEP8timespecRKNS2_4Math4CBoxE+0x108) [0x64abec516538]
        CHyprRenderer::renderWorkspace(CMonitor*, Hyprutils::Memory::CSharedPointer<CWorkspace>, timespec*, Hyprutils::Math::CBox const&)
        /usr/include/hyprutils/memory/SharedPtr.hpp:261
    #1 | Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x761) [0x64abec5174d1]
        CHyprRenderer::renderMonitor(CMonitor*)
        /usr/include/hyprutils/memory/SharedPtr.hpp:177
    #11 | Hyprland(+0x260237) [0x64abec357237]
        std::_Function_handler<void (std::any), CMonitor::onConnect(bool)::{lambda(std::any)#1}>::_M_invoke(std::_Any_data const&, std::any&&) [clone .lto_priv.0]
        /usr/include/c++/14.1.1/any:329
    #12 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal15CSignalListener4emitESt3any+0x5f) [0x77747a3b6b5f]
        ??
        ??:0
    #13 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal7CSignal4emitESt3any+0x1ee) [0x77747a3b6ece]
        ??
        ??:0
    #14 | /usr/lib/libaquamarine.so.0(+0xa4597) [0x77747a652597]
        CConfigManager::addParseError(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .cold]
        /usr/include/c++/14.1.1/bits/basic_string.h:405
    #15 | /usr/lib/libaquamarine.so.0(_ZN10Aquamarine8CBackend12dispatchIdleEv+0x181) [0x77747a616061]
        ??
        ??:0
    #16 | Hyprland(+0x286cf6) [0x64abec37dcf6]
        aquamarineFDWrite(int, unsigned int, void*)
        /usr/src/debug/hyprland-git/Hyprland/build/../src/managers/eventLoop/EventLoopManager.cpp:41
    #17 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x1f2) [0x77747a5870a2]
        ??
        ??:0
    #18 | /usr/lib/libwayland-server.so.0(wl_display_run+0x2f) [0x77747a58910f]
        ??
        ??:0
    #19 | Hyprland(_ZN17CEventLoopManager9enterLoopEv+0x25f) [0x64abec38075f]
        CEventLoopManager::enterLoop()
        /usr/src/debug/hyprland-git/Hyprland/build/../src/managers/eventLoop/EventLoopManager.cpp:54 (discriminator 1)
    #2 | Hyprland(main+0xc34) [0x64abec211a54]
        main
        /usr/src/debug/hyprland-git/Hyprland/build/../src/main.cpp:160 (discriminator 1)
    #21 | /usr/lib/libc.so.6(+0x25e08) [0x777479a34e08]
        ??
        ??:0
    #22 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x777479a34ecc]
        ??
        ??:0
    #23 | Hyprland(_start+0x25) [0x64abec23e375]
        _start
        ??:?

Log tail:
[ERR] [xwm] xcb error: ConfigureWindow (no minor), code Window (no extension), seq 9500, val 77594625
[LOG] [Window 64ac2b234720: title: "", class: ] destroyed, queueing.
[ERR] onWindowRemovedTiling node null?
[LOG] Unmapped [Window 64ac2b234720: title: ""] removed instantly
[LOG] Window 64ac2a458f50 set title to nProtect GameGuard FAQ — Mozilla Firefox
[LOG] Searching for matching rules for firefox (title: nProtect GameGuard FAQ — Mozilla Firefox)
[LOG] [WLCompositor] New wl_region with id 85 at 64ac2b24a770
[LOG] [WLCompositor] New wl_region with id 55 at 64ac2b241fa0
[LOG] [WLCompositor] New wl_region with id 55 at 64ac2a49bd50
[LOG] cursorImage request: surface 0
[LOG] CWLSurface 64ac25880850 called destroy()
[LOG] Searching for matching rules for steam_app_553850 (title: HELLDIVERS™ 2)
[LOG] Searching for matching rules for steam_app_553850 (title: )
[LOG] [WLDataDevice] CWLDataDeviceProtocol::onKeyboardFocus: cannot send selection to a client without a data_device
[LOG] Set keyboard focus to surface 64ac2b1c2c00, with [Window 64ac2b242730: title: "HELLDIVERS™ 2"]
[LOG] Searching for matching rules for steam_app_553850 (title: HELLDIVERS™ 2)
[LOG] [PrimarySelection] CPrimarySelectionProtocol::updateSelection: cannot send selection to a client without a data_device
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 135: size [Vector2D: x: 1922, y: 1082], fmt XR24, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782128496660 fd 177 stride 7744 offset 0
[LOG] cursorImage request: surface 64ac2a397b50
[LOG] CWLSurface 64ac25880850 called init()
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 104: size [Vector2D: x: 1920, y: 1080], fmt XR24, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782128496660 fd 180 stride 7680 offset 0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 133: size [Vector2D: x: 1920, y: 1080], fmt XR24, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782128496660 fd 177 stride 7680 offset 0
[LOG] [WLCompositor] New wl_region with id 55 at 64ac2b1f09f0
[LOG] Cleanup: destroyed a window
[LOG] [WLCompositor] New wl_region with id 85 at 64ac2b24baf0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 70: size [Vector2D: x: 1920, y: 1080], fmt XR24, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782128496660 fd 184 stride 7680 offset 0
[LOG] [WLCompositor] New wl_region with id 85 at 64ac2b1c0cf0
[LOG] [WLCompositor] New wl_region with id 55 at 64ac2b24fff0
[LOG] [WLCompositor] New wl_region with id 55 at 64ac2b242050
[LOG] cursorImage request: surface 64ac2a397b50
[LOG] cursorImage request: surface 64ac2a397b50
[LOG] [WLCompositor] New wl_region with id 85 at 64ac2b24baf0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 135: size [Vector2D: x: 1918, y: 1078], fmt XR24, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782120099860 fd 185 stride 7680 offset 0
[LOG] [WLCompositor] New wl_region with id 85 at 64ac2b1f09f0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 71: size [Vector2D: x: 1918, y: 1078], fmt XR24, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782120099860 fd 185 stride 7680 offset 0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 135: size [Vector2D: x: 1918, y: 1078], fmt XR24, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782120099860 fd 186 stride 7680 offset 0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 67: size [Vector2D: x: 1918, y: 1078], fmt XR24, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782120099860 fd 188 stride 7680 offset 0
[LOG] [LinuxDMABUF] Creating a dmabuf, with id 79: size [Vector2D: x: 1918, y: 1078], fmt XR24, planes 1
[LOG] [LinuxDMABUF]  | plane 0: mod 216172782120099860 fd 189 stride 7680 offset 0
[ERR] XWayland has yeeten the xwm off?!
[CRITICAL] XWayland has yeeten the xwm off?!
[LOG] CWLSurface 64ac293b2f90 called destroy()
[ERR] [WLCompositor] Cannot leave surface 64ac2a397b50 from DP-3, client hasn't bound the output
[LOG] CWLSurface 64ac25880850 called destroy()
[LOG] CWLSurface 64ac2b228450 called destroy()
[LOG] CWLSurface 64ac2b253e30 called destroy()
[LOG] CWLSurface 64ac2b1afab0 called destroy()