Skip to content

[Bug]: Hyprland crash with backtrace on monitor connection #2100

@bon-dawson

Description

@bon-dawson

Bug Report

Description

When I try to run Hyprland, the application fails to start and crashes. After encountering the issue, I switched to GNOME to investigate and discovered the error related to Hyprland. During the startup of Hyprland, the application crashes, and I receive a backtrace error message as shown below in ~/.cache/hyprland/hyprlandCrashReport15875.txt:

Backtrace:
# | hyprland(_Z12getBacktracev+0x46) [0x5e9086e77ad6]
getBacktrace()
??:?
#1 | hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x97c) [0x5e9086dd847c]
CrashReporter::createAndSaveCrash(int)
??:?
#2 | hyprland(_Z25handleUnrecoverableSignali+0x5c) [0x5e9086d3b75c]
handleUnrecoverableSignal(int)
??:?
#3 | /usr/lib/libc.so.6(+0x3d1d0) [0x749858a1e1d0]
??
??:0
#4 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal7CSignal16registerListenerESt8functionIFvSt3anyEE+0xd7) [0x749859006ae7]
??
??:0
#5 | hyprland(_ZN8CMonitor9onConnectEb+0x11f) [0x5e9086e8b4af]
CMonitor::onConnect(bool)
??:?
#6 | hyprland(_ZN11CCompositor12onNewMonitorEN9Hyprutils6Memory14CSharedPointerIN10Aquamarine7IOutputEEE+0x2a4) [0x5e9086d56304]
CCompositor::onNewMonitor(Hyprutils::Memory::CSharedPointerAquamarine::IOutput)
??:?
#7 | hyprland(_ZN11CCompositor10initServerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x841) [0x5e9086d57841]
CCompositor::initServer(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, int)
??:?
#8 | hyprland(main+0xc42) [0x5e9086cf6b12]
main
??:?
#9 | /usr/lib/libc.so.6(+0x25e08) [0x749858a06e08]
??
??:0
#1 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x749858a06ecc]
??
??:0
#11 | hyprland(_start+0x25) [0x5e9086d3b475]
_start
??:?

hyprlandCrashReport15875.txt

Environment

  • Linux Distro: ArchLinux
  • Linux Version, output of uname -a: Linux bon 6.12.8-arch1-1 Symlinks #1 SMP PREEMPT_DYNAMIC Thu, 02 Jan 2025 22:52:26 +0000 x86_64 GNU/Linux
  • Hyprland Version, output of hyprctl version: HYPRLAND_INSTANCE_SIGNATURE not set! (is hyprland running?)
  • Installation Environment:On The Main Hardware

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions