Hyprland crashes at startup on v0.44.0. I tried bisecting, but after building v0.40.0 for slighlty over 1 hour I have given up. What I managed to establish is that v0.41.2 from Nixpkgs works, from source v0.40.0 is good, v0.44.0 is bad, and 3132f02 fails to build with
Nix build output
this derivation will be built:
/nix/store/flgrcd91iy3fdlany8r43a45hdirk8ds-hyprland-0.41.2+date=2024-07-22_3132f02.drv
building '/nix/store/flgrcd91iy3fdlany8r43a45hdirk8ds-hyprland-0.41.2+date=2024-07-22_3132f02.drv'...
error: builder for '/nix/store/flgrcd91iy3fdlany8r43a45hdirk8ds-hyprland-0.41.2+date=2024-07-22_3132f02.drv' failed with exit code 1;
last 25 log lines:
> -- Looking for sys/timerfd.h
> -- Looking for sys/timerfd.h - found
> -- Checking for module 'epoll-shim'
> -- No package 'epoll-shim' found
> -- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
> -- Checking for modules 'xcb;xwayland;xcb-util;xcb-render;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-ewmh;xcb-errors'
> -- Found xcb, version 1.17.0
> -- Found xwayland, version 24.1.1
> -- Found xcb-util, version 0.4.1
> -- Found xcb-render, version 1.17.0
> -- Found xcb-xfixes, version 1.17.0
> -- Found xcb-icccm, version 0.4.2
> -- Found xcb-composite, version 1.17.0
> -- Found xcb-res, version 1.17.0
> -- Found xcb-ewmh, version 0.4.2
> -- Found xcb-errors, version 1.0.1
> -- SYSTEMD support is requested (NO_SYSTEMD not defined)...
> -- Setting precompiled headers
> -- Setting link libraries
> -- Checking for module 'hyprutils>=0.1.1'
> -- Found hyprutils, version 0.2.0
> -- Checking for modules 'tomlplusplus;hyprutils>=0.1.1'
> -- Found tomlplusplus, version 3.4.0
> -- Found hyprutils, version 0.2.0
> -- Configuring incomplete, errors occurred!
For full logs, run 'nix log /nix/store/flgrcd91iy3fdlany8r43a45hdirk8ds-hyprland-0.41.2+date=2024-07-22_3132f02.drv'.
sourcing setup hook '/nix/store/dk1q4pj1d824fm7kvpryc4nmikb5hbih-make-shell-wrapper-hook/nix-support/setup-hook'
[... TRUNCATED TO POST THE ISSUE ...]
calling 'envBuildHostHook' function hook 'addPythonPath' /nix/store/12nr51lil2hsvn7jdcazz8sp3r8yfhrd-hyprcursor-0.1.9+date=2024-07-18_4493a97-dev
calling 'envBuildHostHook' function hook 'sysconfigdataHook' /nix/store/12nr51lil2hsvn7jdcazz8sp3r8yfhrd-hyprcursor-0.1.9+date=2024-07-18_4493a97-dev
calling 'envBuildHostHook' function hook 'addPythonPath' /nix/store/6igmjh8xwgpvap6xgyh4bl8n34lzkpi0-hyprcursor-0.1.9+date=2024-07-18_4493a97-lib
calling 'envBuildHostHook' function hook 'sysconfigdataHook' /nix/store/6igmjh8xwgpvap6xgyh4bl8n34lzkpi0-hyprcursor-0.1.9+date=2024-07-18_4493a97-lib
calling 'envBuildHostHook' function hook 'addPythonPath' /nix/store/din3n51fyw9sg9zqz15m27c6xf60p6bw-hyprcursor-0.1.9+date=2024-07-18_4493a97
calling 'envBuildHostHook' function hook 'sysconfigdataHook' /nix/store/din3n51fyw9sg9zqz15m27c6xf60p6bw-hyprcursor-0.1.9+date=2024-07-18_4493a97
calling 'envBuildHostHook' function hook 'addPythonPath' /nix/store/43vbpvl8q0qs2ihsky68xmzbmbqld91j-hyprlang-0.5.2+date=2024-07-18_adbefbf-dev
calling 'envBuildHostHook' function hook 'sysconfigdataHook' /nix/store/43vbpvl8q0qs2ihsky68xmzbmbqld91j-hyprlang-0.5.2+date=2024-07-18_adbefbf-dev
calling 'envBuildHostHook' function hook 'addPythonPath' /nix/store/60q34sq0i098z346vwx6n3sib4mr0l2p-hyprlang-0.5.2+date=2024-07-18_adbefbf
calling 'envBuildHostHook' function hook 'sysconfigdataHook' /nix/store/60q34sq0i098z346vwx6n3sib4mr0l2p-hyprlang-0.5.2+date=2024-07-18_adbefbf
[... TRUNCATED TO POST THE ISSUE ...]
qf0sx5kcsjz7pxf81ywxsvbzvzfhyq9k-libliftoff-0.5.0
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/77wnxz8dm0w2mpkkfklddj46mvkx0x0l-libXcursor-1.2.2-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/v6p1lm3x4g7ca6q9fwn1p24iks584nsz-libXcursor-1.2.2
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/wx9cw12ax4jdhndc5ncrfd3999kkrznr-libXdmcp-1.1.5-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/g60ggaivrzh8xpw692czqvn4zl0wm0r9-libXdmcp-1.1.5
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/p1lbym3n2aw5m16p33vsyl67zd3119ki-xcb-util-0.4.1-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/7r872mqjz5icyph6njg2aqnfh8khvsid-xcb-util-0.4.1
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/il4pkwi9xi6v5l81cgclrpacnnpy0p4q-xcb-util-errors-1.0.1-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/9gf7ijvhdiqzflm2vx2xdzs2dq2aqfas-xcb-util-errors-1.0.1
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/qqzz17mjs51kpfx9faw98f35r7ffwqng-xcb-util-renderutil-0.3.10-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/7rd4b08axmpg5nnys8kkjbmj7cxlkdlc-xcb-util-renderutil-0.3.10
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/x3l69111mbfd38dd8q59hqv94vz6d6jn-xcb-util-wm-0.4.2-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/fiwwkqgfgb4g2f63iycpsx2h5amk2jdv-xcb-util-wm-0.4.2
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/nh7dc63k2kq11k23a3y64ck516kq33hb-xwayland-24.1.1
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/kfdrhijk8gfcwnw3nck3vjnr969yh7zd-systemd-255.6-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/sbqf71kqhlgaff1ajd8zak09g4wn8ymd-systemd-255.6
calling 'postHook' function hook 'makeCmakeFindLibs'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/g4j22cg5nnqnhc7gyf1j1b6awrm4vrp7-source
calling 'unpackCmd' function hook '_defaultUnpack' /nix/store/g4j22cg5nnqnhc7gyf1j1b6awrm4vrp7-source
source root is source
calling 'postUnpack' function hook '_updateSourceDateEpochFromSourceRoot'
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
evaling implicit 'postPatch' string hook
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
calling 'preConfigure' function hook '_multioutConfig'
fixing cmake files...
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/share/doc/hyprland -DCMAKE_INSTALL_INFODIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/41a366nd21ql1bhqlc6y5ihf8qah14h4-hyprland-0.41.2+date=2024-07-22_3132f02-man/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/923nr8jcmnywgcs0msjqxjjndh0rvhmd-hyprland-0.41.2+date=2024-07-22_3132f02-dev/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/923nr8jcmnywgcs0msjqxjjndh0rvhmd-hyprland-0.41.2+date=2024-07-22_3132f02-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/ps2l9zj68f717rpkqkpksvcfs3mvvabz-gcc-wrapper-13.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/ps2l9zj68f717rpkqkpksvcfs3mvvabz-gcc-wrapper-13.3.0/bin/ranlib -DCMAKE_AR=/nix/store/ps2l9zj68f717rpkqkpksvcfs3mvvabz-gcc-wrapper-13.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02 -DNO_XWAYLAND:BOOL=FALSE -DLEGACY_RENDERER:BOOL=FALSE -DNO_SYSTEMD:BOOL=FALSE
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/ps2l9zj68f717rpkqkpksvcfs3mvvabz-gcc-wrapper-13.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/ps2l9zj68f717rpkqkpksvcfs3mvvabz-gcc-wrapper-13.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
[31mCMake Error at CMakeLists.txt:29 (add_subdirectory):
add_subdirectory given source "subprojects/udis86" which is not an existing
directory.
[0m
-- Found PkgConfig: /nix/store/d7gxj7i9zr04mgf819k34vm5dzxgxjzn-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Found WaylandScanner at /nix/store/a3n2vxsni6084nn5zcwy35lrvkwmz09y-wayland-1.22.0-bin/bin/wayland-scanner
-- Found wayland-protocols at //nix/store/4f5b5iakzxb3ch64ymjzf59grvpsbrja-wayland-protocols-1.35/share/wayland-protocols
-- Configuring Hyprland in Release with CMake
-- Checking deps...
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found OpenGL: /nix/store/d6gvgzzifggrb7fh1v0yi8bvrdlwhpqa-libglvnd-1.7.0/lib/libOpenGL.so found components: GLES3
-- Checking for modules 'aquamarine;xkbcommon;uuid;wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;pango;pangocairo;pixman-1;xcursor;libdrm;libinput;hwdata;libseat;libdisplay-info;libliftoff;libudev;gbm;hyprlang>=0.3.2;hyprcursor>=0.1.7;hyprutils>=0.2.0'
-- Found aquamarine, version 0.1.0
-- Found xkbcommon, version 1.7.0
-- Found uuid, version 2.39.4
-- Found wayland-server, version 1.22.0
-- Found wayland-client, version 1.22.0
-- Found wayland-cursor, version 1.22.0
-- Found wayland-protocols, version 1.35
-- Found cairo, version 1.18.0
-- Found pango, version 1.52.2
-- Found pangocairo, version 1.52.2
-- Found pixman-1, version 0.43.4
-- Found xcursor, version 1.2.2
-- Found libdrm, version 2.4.121
-- Found libinput, version 1.26.0
-- Found hwdata, version 0.383
-- Found libseat, version 0.8.0
-- Found libdisplay-info, version 0.2.0
-- Found libliftoff, version 0.5.0
-- Found libudev, version 255
-- Found gbm, version 24.1.2
-- Found hyprlang, version 0.5.2
-- Found hyprcursor, version 0.1.9
-- Found hyprutils, version 0.2.0
Package xfixes was not found in the pkg-config search path.
Perhaps you should add the directory containing `xfixes.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xfixes', required by 'xcursor', not found
Package xfixes was not found in the pkg-config search path.
Perhaps you should add the directory containing `xfixes.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xfixes', required by 'xcursor', not found
Package xfixes was not found in the pkg-config search path.
Perhaps you should add the directory containing `xfixes.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xfixes', required by 'xcursor', not found
Package xfixes was not found in the pkg-config search path.
Perhaps you should add the directory containing `xfixes.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xfixes', required by 'xcursor', not found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Configuration supports execinfo
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - not found
-- Looking for sys/timerfd.h
-- Looking for sys/timerfd.h - found
-- Checking for module 'epoll-shim'
-- No package 'epoll-shim' found
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- Checking for modules 'xcb;xwayland;xcb-util;xcb-render;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-ewmh;xcb-errors'
-- Found xcb, version 1.17.0
-- Found xwayland, version 24.1.1
-- Found xcb-util, version 0.4.1
-- Found xcb-render, version 1.17.0
-- Found xcb-xfixes, version 1.17.0
-- Found xcb-icccm, version 0.4.2
-- Found xcb-composite, version 1.17.0
-- Found xcb-res, version 1.17.0
-- Found xcb-ewmh, version 0.4.2
-- Found xcb-errors, version 1.0.1
-- SYSTEMD support is requested (NO_SYSTEMD not defined)...
-- Setting precompiled headers
-- Setting link libraries
-- Checking for module 'hyprutils>=0.1.1'
-- Found hyprutils, version 0.2.0
-- Checking for modules 'tomlplusplus;hyprutils>=0.1.1'
-- Found tomlplusplus, version 3.4.0
-- Found hyprutils, version 0.2.0
-- Configuring incomplete, errors occurred!
I have attached the crash report of v0.44.0. Even after setting debug:disable_logs = false the program reported that it is true by default, so I am not sure if the setting was effective. Perhaps this message is always printed, is it? I looked on similar reports, but their output contained additional/different messages. I am not sure if the difference is caused by the mentioned ineffectiveness of debug:disable_logs = false.
How to reproduce
Build v0.44.0 with nix build '.?submodules=1'.
Launch Hyprland with nixGLIntel ./result/bin/Hyprland.
Already reported ? *
Regression?
Yes
System Info and Version
System/Version info
Description
Hyprland crashes at startup on v0.44.0. I tried bisecting, but after building v0.40.0 for slighlty over 1 hour I have given up. What I managed to establish is that v0.41.2 from Nixpkgs works, from source v0.40.0 is good, v0.44.0 is bad, and 3132f02 fails to build with
Nix build output
nix log /nix/store/flgrcd91iy3fdlany8r43a45hdirk8ds-hyprland-0.41.2+date=2024-07-22_3132f02.drv
I have attached the crash report of v0.44.0. Even after setting
debug:disable_logs = false
the program reported that it istrue
by default, so I am not sure if the setting was effective. Perhaps this message is always printed, is it? I looked on similar reports, but their output contained additional/different messages. I am not sure if the difference is caused by the mentioned ineffectiveness ofdebug:disable_logs = false
.How to reproduce
nix build '.?submodules=1'
.nixGLIntel ./result/bin/Hyprland
.Crash reports, logs, images, videos
Crash report