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.53k stars 818 forks source link

Crash on the Aquamarine merge #6943

Closed jacekpoz closed 1 month ago

jacekpoz commented 1 month ago

Regression?

Yes

System Info and Version

System/Version info I'm on an older version that works right now but the crash happened on `016da234d0e852de3ef20eb2e89ac58d2a85f6e7` ```sh Hyprland, built from branch at commit b7f42a1e88a5b6c9d2dbdba31e0f35f6a02461e7 (). Date: 2024-06-27 Tag: , commits: b7f42a1e88a5b6c9d2dbdba31e0f35f6a02461e7 flags: (if any) System Information: System name: Linux Node name: niks Release: 6.9.8-xanmod1 Version: #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan 1 00:00:00 UTC 1980 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation Tiger Lake-UP4 GT2 [Iris Xe Graphics] [8086:9a40] (rev 01) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.11.20240712.7e7c39e" DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.11 (Vicuna)" SUPPORT_URL="https://nixos.org/community.html" VERSION="24.11 (Vicuna)" VERSION_CODENAME=vicuna VERSION_ID="24.11" plugins: ======Config-Start====== Config File: /home/jacek/.config/hypr/hyprland.conf: Read Succeeded exec-once = /nix/store/wbqwrp6gpf31acmdchik5lsj8zdw2z24-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target $mainMod=SUPER bezier=dupa, 0.1, 0.9, 0.1, 1.05 animations { animation=windows, 1, 4, dupa, popin animation=windowsOut, 1, 7, dupa, slide animation=border, 1, 15, default animation=fade, 1, 10, default animation=workspaces, 1, 5, dupa, slidevert enabled=true } binds { movefocus_cycles_fullscreen=false pass_mouse_when_bound=false } debug { disable_logs=false enable_stdout_logs=true } decoration { blur { enabled=true passes=2 size=3 } col.shadow=0xAF1E1E2E drop_shadow=1 rounding=10 shadow_ignore_window=1 shadow_offset=2 4 shadow_range=15 shadow_render_power=2 shadow_scale=1 } dwindle { no_gaps_when_only=true } general { apply_sens_to_raw=0 border_size=2 col.active_border=0xFFF5C2E7 col.inactive_border=0xFF45475A gaps_in=5 gaps_out=5 sensitivity=1.000000 } gestures { workspace_swipe=1 workspace_swipe_cancel_ratio=0.500000 workspace_swipe_distance=200 workspace_swipe_invert=1 workspace_swipe_min_speed_to_force=20 } input { tablet { output=eDP-1 } touchdevice { output=eDP-1 } touchpad { disable_while_typing=false } follow_mouse=true kb_layout=pl,ru kb_model= kb_options= kb_rules= kb_variant= repeat_delay=250 repeat_rate=50 } misc { animate_manual_resizes=false animate_mouse_windowdragging=false enable_swallow=false focus_on_activate=true force_default_wallpaper=0 swallow_regex=foot vfr=true vrr=1 } plugin { csgo-vulkan-fix { res_h=1440 res_w=2560 } split-monitor-workspaces { count=10 keep_focused=true } } bind=$mainMod, RETURN, exec, /nix/store/dh6fh2yyyy2i8j74c6iiys3pf02qmigx-foot-85b2fb1e32d499520e5c33f2357d58d35bcb0b60/bin/foot bind=$mainMod, Q, killactive bind=$mainMod, F, fullscreen, 0 bind=$mainMod, M, fullscreen, 1 bind=$mainMod, D, exec, /nix/store/dlkwks6y7s6w5dghzw250rh2d97cpkrf-procps-3.3.17/bin/pkill anyrun || /nix/store/336kjgrlpg4dwad92clz5p37jgirah86-anyrun-0.1.0/bin/anyrun bind=$mainMod, SPACE, togglefloating, active bind=$mainMod SHIFT, C, centerwindow bind=$mainMod CONTROL, R, bringactivetotop bind=$mainMod SHIFT, P, pin bind=$mainMod, 1, workspace, 1 bind=$mainMod, 2, workspace, 2 bind=$mainMod, 3, workspace, 3 bind=$mainMod, 4, workspace, 4 bind=$mainMod, 5, workspace, 5 bind=$mainMod, 6, workspace, 6 bind=$mainMod, 7, workspace, 7 bind=$mainMod, 8, workspace, 8 bind=$mainMod, 9, workspace, 9 bind=$mainMod, 0, workspace, 10 bind=$mainMod SHIFT, 1, movetoworkspacesilent, 1 bind=$mainMod SHIFT, 2, movetoworkspacesilent, 2 bind=$mainMod SHIFT, 3, movetoworkspacesilent, 3 bind=$mainMod SHIFT, 4, movetoworkspacesilent, 4 bind=$mainMod SHIFT, 5, movetoworkspacesilent, 5 bind=$mainMod SHIFT, 6, movetoworkspacesilent, 6 bind=$mainMod SHIFT, 7, movetoworkspacesilent, 7 bind=$mainMod SHIFT, 8, movetoworkspacesilent, 8 bind=$mainMod SHIFT, 9, movetoworkspacesilent, 9 bind=$mainMod SHIFT, 0, movetoworkspacesilent, 10 bind=$mainMod, W, exec, /nix/store/6k5blb37ddv2hfpx5014bb0gpx2pba0h-firefox-128.0b3/bin/firefox-devedition --name firefox-schizo -P schizo bind=$mainMod SHIFT, W, exec, /nix/store/6k5blb37ddv2hfpx5014bb0gpx2pba0h-firefox-128.0b3/bin/firefox-devedition --name firefox-sane -P unschizo bind=$mainMod, S, exec, /nix/store/vh0rpjyldaypsgagjqqpa5jz6byg150s-grimblast-0.1/bin/grimblast save area - | /nix/store/qzp74yjsymgpfmr0shcqdzzcrf90x83c-coreutils-full-9.5/bin/tee "$(/nix/store/fw6p0583i4kxsxkrw4c3ff1agj12yb7d-xdg-user-dirs-0.18/bin/xdg-user-dir PICTURES)/Screenshots/$(date +'screenshot-%Y%m%d%H%M%S.png')" | /nix/store/3mvb83kxywb0jkfy895k8g42hdgjn1dr-wl-clipboard-+4f20741/bin/wl-copy && /nix/store/qjc7b5l019p260qv9r7w39hsap656jbl-libnotify-0.8.3/bin/notify-send "Screenshot taken" bind=$mainMod SHIFT, S, exec, /nix/store/vh0rpjyldaypsgagjqqpa5jz6byg150s-grimblast-0.1/bin/grimblast save area - | /nix/store/3xyymhh0055qwmfqvim6p77l8gwl82km-shadower-0.1.4/bin/shadower | /nix/store/qzp74yjsymgpfmr0shcqdzzcrf90x83c-coreutils-full-9.5/bin/tee "$(/nix/store/fw6p0583i4kxsxkrw4c3ff1agj12yb7d-xdg-user-dirs-0.18/bin/xdg-user-dir PICTURES)/Screenshots/$(date +'screenshot-%Y%m%d%H%M%S.png')" | /nix/store/3mvb83kxywb0jkfy895k8g42hdgjn1dr-wl-clipboard-+4f20741/bin/wl-copy && /nix/store/qjc7b5l019p260qv9r7w39hsap656jbl-libnotify-0.8.3/bin/notify-send "Screenshot taken (shadower)" bind=$mainMod CONTROL, S, exec, /nix/store/vh0rpjyldaypsgagjqqpa5jz6byg150s-grimblast-0.1/bin/grimblast save area - | /nix/store/gapfw9wfz2f6fc623gpvb1grzmjzs3fm-satty-0.13.0/bin/satty --early-exit --initial-tool brush --save-after-copy -f - --output-filename "$(/nix/store/fw6p0583i4kxsxkrw4c3ff1agj12yb7d-xdg-user-dirs-0.18/bin/xdg-user-dir PICTURES)/Screenshots/$(date +'screenshot-%Y%m%d%H%M%S.png')" && /nix/store/qjc7b5l019p260qv9r7w39hsap656jbl-libnotify-0.8.3/bin/notify-send "Screenshot taken" bind=$mainMod SHIFT CONTROL, S, exec, /nix/store/vh0rpjyldaypsgagjqqpa5jz6byg150s-grimblast-0.1/bin/grimblast save area - | /nix/store/3xyymhh0055qwmfqvim6p77l8gwl82km-shadower-0.1.4/bin/shadower | /nix/store/gapfw9wfz2f6fc623gpvb1grzmjzs3fm-satty-0.13.0/bin/satty --early-exit --initial-tool brush --save-after-copy -f - --output-filename "$(/nix/store/fw6p0583i4kxsxkrw4c3ff1agj12yb7d-xdg-user-dirs-0.18/bin/xdg-user-dir PICTURES)/Screenshots/$(date +'screenshot-%Y%m%d%H%M%S.png')" && /nix/store/qjc7b5l019p260qv9r7w39hsap656jbl-libnotify-0.8.3/bin/notify-send "Screenshot taken (shadower)" bind=$mainMod SHIFT, R, exec, /nix/store/a0m7fpg08g6a205fxq833zlbspzcsc1h-hyprland-0.41.2+date=2024-07-21_016da23/bin/hyprctl reload bind=, XF86TouchpadToggle, exec, bind=$mainMod, T, exec, grim -g "$(slurp)" -t ppm - | tesseract -l pol - - | wl-copy && /nix/store/qjc7b5l019p260qv9r7w39hsap656jbl-libnotify-0.8.3/bin/notify-send "Copied text: " "\"$(wl-paste)\"" bind=$mainMod, SEMICOLON, exec, ~/.config/rofi/powermenu/type-2/powermenu.sh bind=$mainMod, G, togglegroup bind=$mainMod CONTROL, K, exec, /nix/store/sbqf71kqhlgaff1ajd8zak09g4wn8ymd-systemd-255.6/bin/systemctl --user restart xdg-desktop-portal-hyprland bind=$mainMod SHIFT, K, exec, /nix/store/a0m7fpg08g6a205fxq833zlbspzcsc1h-hyprland-0.41.2+date=2024-07-21_016da23/bin/hyprctl kill bind=$mainMod, B, togglespecialworkspace, btop bind=$mainMod, V, togglespecialworkspace, pipewire bind=$mainMod, N, togglespecialworkspace, nixos bind=$mainMod, X, togglespecialworkspace, keepassxc bind=$mainMod, C, exec, /nix/store/sbqf71kqhlgaff1ajd8zak09g4wn8ymd-systemd-255.6/bin/loginctl lock-session bind=$mainMod CONTROL, B, exec, /nix/store/dlkwks6y7s6w5dghzw250rh2d97cpkrf-procps-3.3.17/bin/pkill waybar || /nix/store/91mnnyzy2xr7xga9p8gqshgajjppcl4z-waybar-0.10.3+date=2024-07-09_44f39ca/bin/waybar bind=$mainMod CONTROL, minus, exec, /nix/store/a0m7fpg08g6a205fxq833zlbspzcsc1h-hyprland-0.41.2+date=2024-07-21_016da23/bin/hyprctl keyword misc:cursor_zoom_factor 2 bind=$mainMod CONTROL, apostrophe, exec, /nix/store/a0m7fpg08g6a205fxq833zlbspzcsc1h-hyprland-0.41.2+date=2024-07-21_016da23/bin/hyprctl keyword misc:cursor_zoom_factor 1 bind=$mainMod, Z, exec, /nix/store/28jxsjrscch7ypw3n4blhbm7qf4krgk0-woomer-0.1.0/bin/woomer bind=$mainMod ALT CONTROL SHIFT, L, exec, /nix/store/p5cvdpnby7ix97cf498n670b7nxwwdnh-xdg-utils-1.2.1/bin/xdg-open https://www.linkedin.com/ binde=$mainMod, J, movefocus, d binde=$mainMod, K, movefocus, u binde=$mainMod, H, focusmonitor, l binde=$mainMod, L, focusmonitor, r binde=$mainMod SHIFT, G, changegroupactive, f binde=$mainMod CONTROL, G, changegroupactive, b binde=$mainMod, minus, exec, /nix/store/a0m7fpg08g6a205fxq833zlbspzcsc1h-hyprland-0.41.2+date=2024-07-21_016da23/bin/hyprctl keyword misc:cursor_zoom_factor "$(/nix/store/a0m7fpg08g6a205fxq833zlbspzcsc1h-hyprland-0.41.2+date=2024-07-21_016da23/bin/hyprctl getoption misc:cursor_zoom_factor | /nix/store/fnfmwb3s676q4hz9izxp1x1mpby2z75x-ripgrep-14.1.0/bin/rg float | /nix/store/a5rvjq2ir4d1wnxwdf4a9zf6hfc6ydsx-gawk-5.2.2/bin/gawk '{print $2 + 0.05}')" binde=$mainMod, apostrophe, exec, /nix/store/a0m7fpg08g6a205fxq833zlbspzcsc1h-hyprland-0.41.2+date=2024-07-21_016da23/bin/hyprctl keyword misc:cursor_zoom_factor "$(/nix/store/a0m7fpg08g6a205fxq833zlbspzcsc1h-hyprland-0.41.2+date=2024-07-21_016da23/bin/hyprctl getoption misc:cursor_zoom_factor | /nix/store/fnfmwb3s676q4hz9izxp1x1mpby2z75x-ripgrep-14.1.0/bin/rg float | /nix/store/a5rvjq2ir4d1wnxwdf4a9zf6hfc6ydsx-gawk-5.2.2/bin/gawk '{if($2 != 1) {print $2 - 0.05}}')" bindl=, XF86AudioMedia, exec, /nix/store/h7pjaqchnf21m5mqafgj93z1vrjndpm4-playerctl-2.4.1/bin/playerctl play-pause bindl=, XF86AudioPlay, exec, /nix/store/h7pjaqchnf21m5mqafgj93z1vrjndpm4-playerctl-2.4.1/bin/playerctl play-pause bindl=$mainMod, Y, exec, /nix/store/h7pjaqchnf21m5mqafgj93z1vrjndpm4-playerctl-2.4.1/bin/playerctl play-pause bindl=, XF86AudioStop, exec, /nix/store/h7pjaqchnf21m5mqafgj93z1vrjndpm4-playerctl-2.4.1/bin/playerctl stop bindl=$mainMod, U, exec, /nix/store/h7pjaqchnf21m5mqafgj93z1vrjndpm4-playerctl-2.4.1/bin/playerctl stop bindl=, XF86AudioPrev, exec, /nix/store/h7pjaqchnf21m5mqafgj93z1vrjndpm4-playerctl-2.4.1/bin/playerctl previous bindl=$mainMod, I, exec, /nix/store/h7pjaqchnf21m5mqafgj93z1vrjndpm4-playerctl-2.4.1/bin/playerctl previous bindl=, XF86AudioNext, exec, /nix/store/h7pjaqchnf21m5mqafgj93z1vrjndpm4-playerctl-2.4.1/bin/playerctl next bindl=$mainMod, O, exec, /nix/store/h7pjaqchnf21m5mqafgj93z1vrjndpm4-playerctl-2.4.1/bin/playerctl next bindl=, XF86AudioMute, exec, /nix/store/mkv5qaq70cfs2k2ss8gpazdc6g36rvfp-pamixer-1.6/bin/pamixer --toggle-mute bindl=$mainMod, P, exec, /nix/store/mkv5qaq70cfs2k2ss8gpazdc6g36rvfp-pamixer-1.6/bin/pamixer --toggle-mute bindle=, XF86MonBrightnessUp, exec, /nix/store/1s6yzqwmjjj6j38zbpdx22a41h03fp20-brightnessctl-0.5.1/bin/brightnessctl set +5% bindle=$mainMod SHIFT, Z, exec, /nix/store/1s6yzqwmjjj6j38zbpdx22a41h03fp20-brightnessctl-0.5.1/bin/brightnessctl set +5% bindle=, XF86MonBrightnessDown, exec, /nix/store/1s6yzqwmjjj6j38zbpdx22a41h03fp20-brightnessctl-0.5.1/bin/brightnessctl set 5%- bindle=$mainMod SHIFT, X, exec, /nix/store/1s6yzqwmjjj6j38zbpdx22a41h03fp20-brightnessctl-0.5.1/bin/brightnessctl set 5%- bindle=, XF86AudioRaiseVolume, exec, /nix/store/mkv5qaq70cfs2k2ss8gpazdc6g36rvfp-pamixer-1.6/bin/pamixer -ui 5 bindle=$mainMod SHIFT, C, exec, /nix/store/mkv5qaq70cfs2k2ss8gpazdc6g36rvfp-pamixer-1.6/bin/pamixer -ui 5 bindle=, XF86AudioLowerVolume, exec, /nix/store/mkv5qaq70cfs2k2ss8gpazdc6g36rvfp-pamixer-1.6/bin/pamixer -ud 5 bindle=$mainMod SHIFT, V, exec, /nix/store/mkv5qaq70cfs2k2ss8gpazdc6g36rvfp-pamixer-1.6/bin/pamixer -ud 5 bindm=$mainMod, mouse:272, movewindow bindm=$mainMod, mouse:273, resizewindow exec=/nix/store/dlkwks6y7s6w5dghzw250rh2d97cpkrf-procps-3.3.17/bin/pkill btop exec=/nix/store/dlkwks6y7s6w5dghzw250rh2d97cpkrf-procps-3.3.17/bin/pkill helvum exec=/nix/store/dlkwks6y7s6w5dghzw250rh2d97cpkrf-procps-3.3.17/bin/pkill pwvucontrol exec=[workspace special:btop silent;tile] /nix/store/dh6fh2yyyy2i8j74c6iiys3pf02qmigx-foot-85b2fb1e32d499520e5c33f2357d58d35bcb0b60/bin/foot -e /nix/store/c9dxzjw04rfqzq09z5myqq30wmz0575c-btop-1.3.2/bin/btop exec=[workspace special:pipewire silent;tile] /nix/store/r9v6xn9ackxap3hhikdbpznmf3hjgcrm-helvum-0.5.1/bin/helvum exec=[workspace special:pipewire silent;tile] /nix/store/2pvrqzk2bq6khqb33jicjkq0qaqcga7v-pwvucontrol-0.4.2/bin/pwvucontrol exec=/nix/store/ba4vzw5s46p85qs8c766iq8l10d20fi5-network-manager-applet-1.36.0/bin/nm-applet --indicator exec=/nix/store/qzp74yjsymgpfmr0shcqdzzcrf90x83c-coreutils-full-9.5/bin/sleep 0.5 && /nix/store/w3hfxbg0x39q3kw332xbn7l9cxi9dpgf-swww-+2da1f57/bin/swww img -o eDP-1 /home/jacek/.local/share/hypr/nix.png exec-once=/nix/store/91mnnyzy2xr7xga9p8gqshgajjppcl4z-waybar-0.10.3+date=2024-07-09_44f39ca/bin/waybar exec-once=[workspace special:nixos silent;tile] cd ~/niksos; /nix/store/dh6fh2yyyy2i8j74c6iiys3pf02qmigx-foot-85b2fb1e32d499520e5c33f2357d58d35bcb0b60/bin/foot exec-once=[workspace special:keepassxc silent;tile] /nix/store/yr9z35ai41f74f56ccj3ffy4zlv8f11h-keepassxc-2.7.9/bin/keepassxc exec-once=/nix/store/a0m7fpg08g6a205fxq833zlbspzcsc1h-hyprland-0.41.2+date=2024-07-21_016da23/bin/hyprctl setcursor Bibata-Modern-Classic 24 exec-once=/nix/store/w3hfxbg0x39q3kw332xbn7l9cxi9dpgf-swww-+2da1f57/bin/swww-daemon exec-once=/nix/store/znhsi1xxqn6ww7bsyi3yy58y33pll8yf-wlsunset-+634c8eb/bin/wlsunset -S 06:00 -s 20:00 exec-once=/nix/store/sbqf71kqhlgaff1ajd8zak09g4wn8ymd-systemd-255.6/bin/systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once=/nix/store/83jchfnjcmbg4bff530d05jaj66a7pdc-handle_hyprland_events exec-once=/nix/store/0zxb8p0krfc95j49jbydli78f1lcrn49-iio-hyprland-unstable-2023-09-27/bin/iio-hyprland exec-once=/nix/store/c72j8paqyzxk34s1mmm02za01l4m528p-wvkbd-0.15/bin/wvkbd-mobintl --hidden -L 500 exec-once=/nix/store/qzp74yjsymgpfmr0shcqdzzcrf90x83c-coreutils-full-9.5/bin/mkdir -p /home/jacek/.local/share/hypr exec-once=/nix/store/ilzq74g8q4b2kyi1fhy413wl5h5kxbxm-imagemagick-7.1.1-34/bin/magick /nix/store/lx38s773fyia2ggp1j7d6w9aiq14x8y2-nix-Wallpaper.png /nix/store/hp11dppj55s70hp93p9wyyqw61xm948z-poz.png -layers flatten /home/jacek/.local/share/hypr/nix.png layerrule=noanim, ^(selection)$ layerrule=blur, ^(waybar)$ layerrule=blur, ^(eww)$ layerrule=blur, ^(anyrun)$ monitor=eDP-1,1920x1280@60,0x0,1.000000 windowrulev2=float, class:^(Tor Browser)$ windowrulev2=float, class:^(Mullvad Browser)$ windowrulev2=float, class:^(foot)$ windowrulev2=float, class:^(mpv)$ windowrulev2=float, class:^(imv)$ windowrulev2=float, class:^(Vieb)$ windowrulev2=float, title:^(Picture-in-Picture)$ windowrulev2=float, title:^(.*)(Choose User Profile)(.*)$ windowrulev2=float, title:^(blob:null/)(.*)$ windowrulev2=float, class:^(xdg-desktop-portal-gtk)$ windowrulev2=float, class:^(code), title: ^(Open*) windowrulev2=size 70% 70%, class:^(code), title: ^(Open*) windowrulev2=center, class: ^(code), title: ^(Open*) windowrulev2=float, class:^(org.keepassxc.KeePassXC)$ workspace=1, monitor:eDP-1, default:true workspace=2, monitor:eDP-1 workspace=3, monitor:eDP-1 workspace=4, monitor:eDP-1 workspace=5, monitor:eDP-1 workspace=6, monitor:eDP-1 workspace=7, monitor:eDP-1 workspace=8, monitor:eDP-1 workspace=9, monitor:eDP-1 workspace=10, monitor:eDP-1 workspace=11, monitor:HDMI-A-1, default:true workspace=12, monitor:HDMI-A-1 workspace=13, monitor:HDMI-A-1 workspace=14, monitor:HDMI-A-1 workspace=15, monitor:HDMI-A-1 workspace=16, monitor:HDMI-A-1 workspace=17, monitor:HDMI-A-1 workspace=18, monitor:HDMI-A-1 workspace=19, monitor:HDMI-A-1 workspace=20, monitor:HDMI-A-1 workspace=special:btop, decorate:false workspace=special:pipewire, decorate:false workspace=special:nixos, decorate:false workspace=special:keepassxc, decorate:false ======Config-End======== ```

Description

it crashes :-(

How to reproduce

launch hyprland 016da234d0e852de3ef20eb2e89ac58d2a85f6e7 with my config

Crash reports, logs, images, videos

hyprlandCrashReport81779.txt

vaxerski commented 1 month ago

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

leon-erd commented 1 month ago

I have a log ready maybe that helps. Btw Im also on nixos hyprland.log hyprlandCrashReport1399.txt

vaxerski commented 1 month ago

it's the same as jacek's

leon-erd commented 1 month ago

Yea. I just thought maybe the full log file helps :)

jacekpoz commented 1 month ago

coredumpctl debug Hyprland gave me No match found but here's the crash report from a debug build hyprlandCrashReport88524.txt

vaxerski commented 1 month ago

patch.txt does this work?

jacekpoz commented 1 month ago

nope, coredumpctl still gives me No match found and the crash report is empty: hyprlandCrashReport4077.txt

I think this is right but maybe I'm doing something wrong? idk

package = (hyprland.override { debug = true; }).overrideAttrs (old: {
  patches = (old.patches or []) ++ [ ./patch.txt ];
});
vaxerski commented 1 month ago

try to launch hyprland with HYPRLAND_NO_CRASHREPORTER=1, which will disable the crash reporter and hopefully give dumps

jacekpoz commented 1 month ago

alright, turns out I can't just do coredumpctl debug Hyprland since nixos wraps hyprland, I could coredumpctl and find the pid myself

here it is

#0  0x000000000079792c in operator() (__closure=__closure@entry=0x7ffd9e10a318, PTOUCHDEV=...)
    at /build/source/src/managers/input/InputManager.cpp:1492
        dev = @0x7ffd9e10a388: {impl_ = 0x0}
#1  0x0000000000797e7d in CInputManager::setTouchDeviceConfigs (this=<optimized out>, dev=...)
    at /build/source/src/managers/input/InputManager.cpp:1533
        m = @0xcd749f0: {impl_ = 0xcb62aa0}
        __for_range = <optimized out>
        __for_begin = <optimized out>
        __for_end = <optimized out>
        setConfig = {__dev = @0x7ffd9e10a388}
#2  0x000000000066e2a4 in dispatchKeyword (format=<optimized out>, in=...) at /build/source/src/debug/HyprCtl.cpp:989
        COMMAND = {_M_dataplus = {<std::allocator<char>> = {<std::__new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0xc97df70 "input:touchdevice:transform"}, _M_string_length = 27, {
            _M_local_buf = "\033\000\000\000\000\000\000\000h\344\272\000\000\000\000", _M_allocated_capacity = 27}}
        VALUE = {_M_dataplus = {<std::allocator<char>> = {<std::__new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x7ffd9e10a3c0 "0"}, _M_string_length = 1, {_M_local_buf = "0\000\223\f\000\000\000\000\347\243\020\236\375\177\000", 
            _M_allocated_capacity = 210960432}}
        retval = {_M_dataplus = {<std::allocator<char>> = {<std::__new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x7ffd9e10a3e0 ""}, _M_string_length = 0, {_M_local_buf = "\000\244\020\236\375\177\000\000\340\325\227\f\000\000\000", 
            _M_allocated_capacity = 140727255344128}}
        PLAYOUT = {p_ = 0xbe81fb0}
#3  0x0000000000671fd0 in std::__invoke_impl<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (*&)(eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >), eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (
    __f=<optimized out>) at /nix/store/hw0jch73aszixni8b6m206bhdivybms5-gcc-13.3.0/include/c++/13.3.0/bits/char_traits.h:358
No locals.
#4  std::__invoke_r<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (*&)(eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >), eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > (__fn=<optimized out>)
    at /nix/store/hw0jch73aszixni8b6m206bhdivybms5-gcc-13.3.0/include/c++/13.3.0/bits/invoke.h:116
No locals.
#5  std::_Function_handler<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >), std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (*)(eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)>::_M_invoke(std::_Any_data const&, eHyprCtlOutputFormat&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) (__functor=..., __args#0=<optimized out>, 
    __args#1=...) at /nix/store/hw0jch73aszixni8b6m206bhdivybms5-gcc-13.3.0/include/c++/13.3.0/bits/std_function.h:291
No locals.
#6  0x000000000066cc95 in std::function<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > (eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)>::operator()(eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) const (__args#1=..., __args#0=FORMAT_NORMAL, this=0xc16c8f8)
    at /nix/store/hw0jch73aszixni8b6m206bhdivybms5-gcc-13.3.0/include/c++/13.3.0/bits/std_function.h:591
No locals.
#7  CHyprCtl::getReply (this=this@entry=0xc16b560, request=...) at /build/source/src/debug/HyprCtl.cpp:1672
        cmd = <optimized out>
        __for_range = @0xc16b568: {<std::_Vector_base<Hyprutils::Memory::CSharedPointer<SHyprCtlCommand>, std::allocator<Hyprutils::Memory::CSharedPointer<SHyprCtlCommand> > >> = {
--Type <RET> for more, q to quit, c to continue without paging--c
            _M_impl = {<std::allocator<Hyprutils::Memory::CSharedPointer<SHyprCtlCommand> >> = {<std::__new_allocator<Hyprutils::Memory::CSharedPointer<SHyprCtlCommand> >> = {<No data fields>}, <No data fields>}, <std::_Vector_base<Hyprutils::Memory::CSharedPointer<SHyprCtlCommand>, std::allocator<Hyprutils::Memory::CSharedPointer<SHyprCtlCommand> > >::_Vector_impl_data> = {_M_start = 0xc0c4d20, _M_finish = 0xc0c4e30, 
                _M_end_of_storage = 0xc0c4f20}, <No data fields>}}, <No data fields>}
        __for_begin = <optimized out>
        __for_end = <optimized out>
        format = FORMAT_NORMAL
        reloadAll = false
        result = {_M_dataplus = {<std::allocator<char>> = {<std::__new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x7ffd9e10a4f0 ""}, _M_string_length = 0, {_M_local_buf = "\000\272Нg\177\000\000\0006y\273\315\030\212\226", 
            _M_allocated_capacity = 140083006061056}}
#8  0x0000000000670799 in hyprCtlFDTick (fd=<optimized out>, mask=<optimized out>, data=<optimized out>)
    at /build/source/src/debug/HyprCtl.cpp:1792
        clientAddress = {sin_family = 1, sin_port = 3217, sin_addr = {s_addr = 0}, sin_zero = "\200\254\221\f\000\000\000"}
        clientSize = 2
        ACCEPTEDCONNECTION = 112
        readBuffer = {_M_elems = "/keyword input:touchdevice:transform 0", '\000' <repeats 985 times>}
        pollfds = {{fd = 112, events = 1, revents = 1}}
        ret = <optimized out>
        request = {_M_dataplus = {<std::allocator<char>> = {<std::__new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0xc91b0c0 "/keyword input:touchdevice:transform 0"}, _M_string_length = 38, {
            _M_local_buf = "&\000\000\000\000\000\000\000\270\270\005\f\000\000\000", _M_allocated_capacity = 38}}
        reply = {_M_dataplus = {<std::allocator<char>> = {<std::__new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x7ffd9e10a610 ""}, _M_string_length = 0, {_M_local_buf = "\000\253\336\f\000\000\000\000,f\223\f\000\000\000", 
            _M_allocated_capacity = 215919360}}
#9  0x00007f679e8f0d02 in wl_event_loop_dispatch () from /nix/store/n8vgi779q26fqzw88a3yvcjkw9lp79rp-wayland-1.22.0/lib/libwayland-server.so.0
No symbol table info available.
#10 0x00007f679e8ee5c5 in wl_display_run () from /nix/store/n8vgi779q26fqzw88a3yvcjkw9lp79rp-wayland-1.22.0/lib/libwayland-server.so.0
No symbol table info available.

I'm hoping this was the debug build with the patch but not sure at this point

vaxerski commented 1 month ago

oops right I made a mistake

vaxerski commented 1 month ago

try now

jacekpoz commented 1 month ago

ok :3

jacekpoz commented 1 month ago

it works thanks vaxry :3

leon-erd commented 1 month ago

Weirdly if I run the hyprland installed through nix it crashes on https://github.com/hyprwm/Hyprland/commit/f7fb7e7e49e3b47f9b72c55fbf2d093e1a7981f5 hyprland.log hyprlandCrashReport4904.txt

However if I build it manually and run it it works... Any ideas?

vaxerski commented 1 month ago

the crash is in a plugin. (dynamic-cursors)

Not hyprland.

leon-erd commented 1 month ago

Yup just found that out a minute ago by trial and error. Thanks though :)