Skip to content

Segfault after creating the gbm allocator #88

Open
@a-usr

Description

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Yes

System Info and Version

System/Version info
Hyprland, built from branch  at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259  ().
Date: 2024-08-07
Tag: , commits: 9a09eac79b85c846e3a865a9078a3f8ff65a9259

flags: (if any)


System Information:
System name: Linux
Node name: silenos
Release: 6.6.52
Version: hyprwm/Hyprland#1-NixOS SMP PREEMPT_DYNAMIC Wed Sep 18 17:24:10 UTC 2024


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] [10de:2504] (rev a1) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  560.35.03  Fri Aug 16 21:39:15 UTC 2024


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240918.dbebdd6"
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.05 (Uakari)"
SUPPORT_END="2024-12-31"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"


plugins:
  hy3 by outfoxxed ver 0.1

======Config-Start======


Config File: /home/usr/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/0hm8vh65m378439kl16xv0p6l7c51asj-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
plugin=/nix/store/zrmjhsp2p03p0yb23p7qgn3hfyf4xfp4-hy3-hl0.42.0/lib/libhy3.so
$mod=SUPER
animations {
  bezier=myBezier, 0.05, 0.9, 0.1, 1.05
  animation=windows, 1, 5, myBezier
  animation=windowsOut, 1, 5, default, popin 80%
  animation=border, 1, 5, default
  animation=borderangle, 1, 8, default
  animation=fade, 1, 7, default
  animation=workspaces, 1, 6, default
  animation=specialWorkspace, 1, 3, default, slidevert
}

cursor {
  no_hardware_cursors=false
}

debug {
  disable_logs=false
}

decoration {
  blur {
    enabled=true
    passes=1
    size=5
    vibrancy=0.169600
  }
  rounding=5
}

general {
  layout=hy3
}

input {
  kb_layout=de
}

render {
  explicit_sync=true
  explicit_sync_kms=true
}
bind=$mod SHIFT, Left, hy3:movewindow, l
bind=$mod SHIFT, Right, hy3:movewindow, r
bind=$mod SHIFT, Up, hy3:movewindow, u
bind=$mod SHIFT, Down, hy3:movewindow, d
bind=$mod, Left, hy3:movefocus, l
bind=$mod, Right, hy3:movefocus, r
bind=$mod, Up, hy3:movefocus, u
bind=$mod, Down, hy3:movefocus, d
bind=$mod, X, hy3:makegroup, h
bind=$mod SHIFT, X, hy3:makegroup, v
bind=$mod, escape, exec, ags --toggle-window powermenu
bind=$mod, F, exec, chromium
bind=, Print, exec, grimblast copy area
bind=$mod, M, exit
bind=$mod, T, exec, foot
bind=$mod, Q, killactive
bind=$mod, L, exec, hyprlock
bind=ALT, space, exec, ags --toggle-window launcher
bind=$mod SHIFT, S, exec, grim -g "$(slurp)"  - | tee >(wl-copy) >(swappy -f -)
bind=SUPER_SHIFT, C, exec, cliphist list | wofi --show=dmenu | cliphist decode | wl-copy
bind=$mod, 1, workspace, 1
bind=$mod SHIFT, 1, movetoworkspace, 1
bind=$mod, 2, workspace, 2
bind=$mod SHIFT, 2, movetoworkspace, 2
bind=$mod, 3, workspace, 3
bind=$mod SHIFT, 3, movetoworkspace, 3
bind=$mod, 4, workspace, 4
bind=$mod SHIFT, 4, movetoworkspace, 4
bind=$mod, 5, workspace, 5
bind=$mod SHIFT, 5, movetoworkspace, 5
bind=$mod, 6, workspace, 6
bind=$mod SHIFT, 6, movetoworkspace, 6
bind=$mod, 7, workspace, 7
bind=$mod SHIFT, 7, movetoworkspace, 7
bind=$mod, 8, workspace, 8
bind=$mod SHIFT, 8, movetoworkspace, 8
bind=$mod, 9, workspace, 9
bind=$mod SHIFT, 9, movetoworkspace, 9
bind=$mod, 0, workspace, 10
bind=$mod SHIFT, 0, movetoworkspace, 10
bind=, F1, togglespecialworkspace, E
bindi=, code:122, exec, pamixer -d 5
bindi=, code:123, exec, pamixer -i 5
bindi=, code:173, exec, playerctl previous
bindi=, code:171, exec, playerctl next
bindi=, code:172, exec, playerctl play-pause
bindm=$mod, mouse:274, movewindow
bindm=$mod, mouse:272, resizewindow
env=XDG_CACHE_DIR,/home/usr/.cache/
env=XDG_CONFIG_HOME,/home/usr/.config/
env=ELECTRON_OZONE_PLATFORM_HINT,auto
env=NIXOS_OZONE_WL,1
exec-once=hyprpaper
exec-once=wl-paste --type text --watch cliphist store
exec-once=wl-paste --type image --watch cliphist store
exec-once=ags
monitor=Unknown-1, disable
windowrule=fullscreen, title:(HELLDIVERS™ 2)
windowrule=fullscreen, title:(Titanfall 2)
windowrulev2=workspace special:E silent, class:(vesktop)

======Config-End========

Description

On startup, Upstream (58669fef) hyprland pretty much immediately crashes with sigabrt. Looking at the crash report this happens just after hyprland reports having sucessfully created the gbm allocator (I kinda doubt it was actually sucessful but whatever) (see attached report). This is also reproducible with a empty config:

touch empty.conf
Hyprland -c empty.conf

I tried to bisect, but hyprland just refused to build on a local clone. Entering the nix shell with or without nixpkgs overriden to the system version yielded the following:

error: builder for '/nix/store/7c31lsnk2jrfcyzq0h6x8vbpywib6pcg-hyprland-0.43.0+date=2024-09-18_dirty.drv' failed with exit code 1;
       last 10 log lines:
       > Run-time dependency xcb-errors found: YES 1.0.1
       > Run-time dependency xcb-icccm found: YES 0.4.2
       > Run-time dependency xcb-render found: YES 1.17.0
       > Run-time dependency xcb-res found: YES 1.17.0
       > Run-time dependency xcb-xfixes found: YES 1.17.0
       > Run-time dependency gio-2.0 found: YES 2.80.4
       >
       > meson.build:44:13: ERROR: Subproject exists but has no CMakeLists.txt file.
       >
       > A full log can be found at /build/source/build/meson-logs/meson-log.txt
       For full logs, run 'nix log /nix/store/7c31lsnk2jrfcyzq0h6x8vbpywib6pcg-hyprland-0.43.0+date=2024-09-18_dirty.drv'.

(@fufexan This is probably your area, help would be appreciated)

How to reproduce

  1. Start Hyprland
  2. Find satisfaction in the screen going black for about 2ms
  3. Profit

Crash reports, logs, images, videos

funky_report.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions