#13785 Config regression

Before I start, I’ll be upfront that I am not 100% sure this PR causes the issue, but I updated soon after it was merged, and this started happening.
Also, it seems to be the only commit affecting config recently.
I no longer build hl myself, so I don’t really have an easy way to bisect this atm.

This is exactly what crashes hyprland when the bind is pressed:

$moveFocusRightCmd = (\
    $isDwindle && hyprctl dispatch movefocus r || \
    $isScrolling && hyprctl dispatch layoutmsg focus r \
)
bind = $mainMod, right, exec, $moveFocusRightCmd
bind = $mainMod, l, exec, $moveFocusRightCmd

As soon as I replace the multi line thing with this, it works:

$moveFocusRightCmd = hyprctl dispatch layoutmsg focus r
bind = $mainMod, right, exec, $moveFocusRightCmd
bind = $mainMod, l, exec, $moveFocusRightCmd

It doesn’t matter what the bind is, as long as it’s multiline or using the syntax I used above, it crashes.
This is not a deal breaker for me, and it’s probably an idiotic and unintended way to use the config, but it worked before so I thought I’d report it in case this is not the only broken thing.

Hyprland version
hyprctl version
Hyprland 0.54.0 built from branch main at commit bf31f642b08a8d8ca796a1b713285f2580805c2f clean (internal: rewrite deviceNameToInternalString using a single range pipeline ( 13806)).
Date: Sat Mar 21 23:40:52 2026
Tag: v0.54.0-111-gbf31f642b, commits: 7046

Libraries:
Hyprgraphics: built against 0.5.0, system has 0.5.0
Hyprutils: built against 0.11.1, system has 0.11.1
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.8, system has 0.6.8
Aquamarine: built against 0.10.0, system has 0.10.0

Version ABI string: bf31f642b08a8d8ca796a1b713285f2580805c2f_aq_0.10_hu_0.11_hg_0.5_hc_0.1_hlg_0.6
no flags were set
Crash Report
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Everything's just fi-

Hyprland received signal 11(SEGV)
Version: bf31f642b08a8d8ca796a1b713285f2580805c2f
Tag: v0.54.0-111-gbf31f642b
Date: Sat Mar 21 23:40:52 2026
Flags:

System info:
	System name: Linux
	Node name: nous
	Release: 6.19.9-1-cachyos-bore
	Version: #1 SMP PREEMPT_DYNAMIC Thu, 19 Mar 2026 21:32:43 +0000

GPU:
	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])


os-release:
	NAME="CachyOS Linux"
	PRETTY_NAME="CachyOS"
	ID=cachyos
	ID_LIKE=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://cachyos.org/"
	DOCUMENTATION_URL="https://wiki.cachyos.org/"
	SUPPORT_URL="https://discuss.cachyos.org/"
	BUG_REPORT_URL="https://github.com/cachyos"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=cachyos

Libraries:
Hyprgraphics: built against 0.5.0, system has 0.5.0
Hyprutils: built against 0.11.1, system has 0.11.1
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.8, system has 0.6.8
Aquamarine: built against 0.10.0, system has 0.10.0

Backtrace:
	# | Hyprland(_Z12getBacktracev+0x61) [0x563329ba14c1]
		getBacktrace()
		??:?
	#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xcd6) [0x563329b02b26]
		CrashReporter::createAndSaveCrash(int)
		??:?
	#2 | Hyprland(+0x2b931e) [0x563329a4b31e]
		std::__format::_Formatting_scanner<std::__format::_Sink_iter<char>, char>::_M_format_arg(unsigned long)
		??:?
	#3 | /usr/lib/libc.so.6(+0x3e2d0) [0x7f321a63e2d0]
		??
		??:0
	#4 | Hyprland(+0x335de4) [0x563329ac7de4]
		std::any::_Manager_external<Desktop::View::SInitialWorkspaceToken>::_S_manage(std::any::_Op, std::any const*, std::any::_Arg*)
		??:?
	#5 | Hyprland(_ZN6Config13Supplementary6Jeremy17getMainConfigPathB5cxx11Ev+0x1f1) [0x563329ac8961]
		Config::Supplementary::Jeremy::getMainConfigPath[abi:cxx11]()
		??:?
	#6 | Hyprland(_ZN6Config17initConfigManagerEv+0x77) [0x563329a857e7]
		Config::initConfigManager()
		??:?
	#7 | Hyprland(_ZN11CCompositor12initManagersE18eManagersInitStage+0xab6) [0x563329a4ec86]
		CCompositor::initManagers(eManagersInitStage)
		??:?
	#8 | Hyprland(_ZN11CCompositor10initServerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x3db) [0x563329a72f1b]
		CCompositor::initServer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int)
		??:?
	#9 | Hyprland(main+0x117d) [0x5633299ade5d]
		main
		??:?
	#1 | /usr/lib/libc.so.6(+0x276c1) [0x7f321a6276c1]
		??
		??:0
	#11 | /usr/lib/libc.so.6(__libc_start_main+0x89) [0x7f321a6277f9]
		??
		??:0
	#12 | Hyprland(_start+0x25) [0x563329a35ac5]
		_start
		??:?


Log tail:
DEBUG ]: Instance Signature: bf31f642b08a8d8ca796a1b713285f2580805c2f_1774200143_23577148
DEBUG ]: Runtime directory: /run/user/1000/hypr/bf31f642b08a8d8ca796a1b713285f2580805c2f_1774200143_23577148
DEBUG ]: Hyprland PID: 6163
DEBUG ]: ===== SYSTEM INFO: =====
DEBUG ]: System name: Linux
DEBUG ]: Node name: nous
DEBUG ]: Release: 6.19.9-1-cachyos-bore
DEBUG ]: Version: #1 SMP PREEMPT_DYNAMIC Thu, 19 Mar 2026 21:32:43 +0000
DEBUG ]: 

DEBUG ]: 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])


WARN ]: Warning: you're using an NVIDIA GPU. Make sure you follow the instructions on the wiki if anything is amiss.

DEBUG ]: os-release:
DEBUG ]: NAME="CachyOS Linux"
PRETTY_NAME="CachyOS"
ID=cachyos
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://cachyos.org/"
DOCUMENTATION_URL="https://wiki.cachyos.org/"
SUPPORT_URL="https://discuss.cachyos.org/"
BUG_REPORT_URL="https://github.com/cachyos"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=cachyos
DEBUG ]: ========================
DEBUG ]: 


DEBUG ]: If you are crashing, or encounter any bugs, please consult https://wiki.hypr.land/Crashes-and-Bugs/


DEBUG ]: 
Current splash: Help I forgot to install kitty


DEBUG ]: Old rlimit: soft -> 2048, hard -> 2097152
DEBUG ]: New rlimit: soft -> 2097152, hard -> 2097152
DEBUG ]: Creating the EventLoopManager!
DEBUG ]: Creating the KeybindManager!
DEBUG ]: Creating the AnimationManager!
DEBUG ]: Creating the DynamicPermissionManager!
DEBUG ]: Creating the ConfigManager!

a debug stacktrace would help here.

1 Like

I tried following the wiki but idk if I did a good job.

crash report
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Well, at least the crash reporter didn't crash!

Hyprland received signal 11(SEGV)
Version: 63c56bad6fcc55f99d1437da7cd1b0b68fd9cc88
Tag: v0.53.0-296-g63c56bad
Date: Tue Mar 24 00:08:58 2026
Flags:
debug

System info:
	System name: Linux
	Node name: nous
	Release: 6.19.9-1-cachyos-bore
	Version: #1 SMP PREEMPT_DYNAMIC Thu, 19 Mar 2026 21:32:43 +0000

GPU:
	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])


os-release:
	NAME="CachyOS Linux"
	PRETTY_NAME="CachyOS"
	ID=cachyos
	ID_LIKE=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://cachyos.org/"
	DOCUMENTATION_URL="https://wiki.cachyos.org/"
	SUPPORT_URL="https://discuss.cachyos.org/"
	BUG_REPORT_URL="https://github.com/cachyos"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=cachyos

Libraries:
Hyprgraphics: built against 0.5.0, system has 0.5.0
Hyprutils: built against 0.11.1, system has 0.11.1
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.8, system has 0.6.8
Aquamarine: built against 0.10.0, system has 0.10.0

Backtrace:
	# | ./build/Hyprland(_Z12getBacktracev+0x52) [0x55c925b00141]
		getBacktrace()
		/home/nn/Packages/Hyprland/src/helpers/MiscFunctions.cpp:759
	#1 | ./build/Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x108e) [0x55c9259c5d98]
		CrashReporter::createAndSaveCrash(int)
		/home/nn/Packages/Hyprland/src/debug/crash/CrashReporter.cpp:185
	#2 | ./build/Hyprland(+0x19e5e53) [0x55c9257f5e53]
		handleUnrecoverableSignal(int)
		/home/nn/Packages/Hyprland/src/Compositor.cpp:125
	#3 | /usr/lib/libc.so.6(+0x3e2d0) [0x7f8a2c63e2d0]
		??
		??:0
	#4 | ./build/Hyprland(_Z17escapeJSONStringsRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0xb0) [0x55c925af58b2]
		escapeJSONStrings(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
		/home/nn/Packages/Hyprland/src/helpers/MiscFunctions.cpp:86
	#5 | ./build/Hyprland(+0x1b486fb) [0x55c9259586fb]
		dispatchGetOption(eHyprCtlOutputFormat, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
		/home/nn/Packages/Hyprland/src/debug/HyprCtl.cpp:1784 (discriminator 1)
	#6 | ./build/Hyprland(_ZSt13__invoke_implINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERPFS5_20eHyprCtlOutputFormatS5_EJS6_S5_EET_St14__invoke_otherOT0_DpOT1_+0x85) [0x55c9259b0aaa]
		std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > 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> > >(std::__invoke_other, 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> >&&)
		/usr/include/c++/15.2.1/bits/invoke.h:63 (discriminator 4)
	#7 | ./build/Hyprland(_ZSt10__invoke_rINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERPFS5_20eHyprCtlOutputFormatS5_EJS6_S5_EENSt9enable_ifIX16is_invocable_r_vIT_T0_JDpT1_EEESB_E4typeEOSC_DpOSD_+0x60) [0x55c9259ad2d7]
		std::enable_if<is_invocable_r_v<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> > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >::type 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> > >(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> >&&)
		/usr/include/c++/15.2.1/bits/invoke.h:118 (discriminator 3)
	#8 | ./build/Hyprland(_ZNSt17_Function_handlerIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE20eHyprCtlOutputFormatS5_EPS7_E9_M_invokeERKSt9_Any_dataOS6_OS5_+0x75) [0x55c9259a59b7]
		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> >&&)
		/usr/include/c++/15.2.1/bits/std_function.h:293
	#9 | ./build/Hyprland(_ZNKSt8functionIFNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE20eHyprCtlOutputFormatS5_EEclES6_S5_+0x92) [0x55c92599f056]
		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
		/usr/include/c++/15.2.1/bits/std_function.h:593 (discriminator 2)
	#1 | ./build/Hyprland(_ZN8CHyprCtl8getReplyENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x689) [0x55c925960fa5]
		CHyprCtl::getReply(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)
		/home/nn/Packages/Hyprland/src/debug/HyprCtl.cpp:2187 (discriminator 6)
	#11 | ./build/Hyprland(+0x1b52b98) [0x55c925962b98]
		hyprCtlFDTick(int, unsigned int, void*)
		/home/nn/Packages/Hyprland/src/debug/HyprCtl.cpp:2354 (discriminator 6)
	#12 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x362) [0x7f8a2eca0642]
		??
		??:0
	#13 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f8a2eca2777]
		??
		??:0
	#14 | ./build/Hyprland(_ZN17CEventLoopManager9enterLoopEv+0x2b0) [0x55c925d682be]
		CEventLoopManager::enterLoop()
		/home/nn/Packages/Hyprland/src/managers/eventLoop/EventLoopManager.cpp:124
	#15 | ./build/Hyprland(_ZN11CCompositor15startCompositorEv+0x50f) [0x55c9257fec33]
		CCompositor::startCompositor()
		/home/nn/Packages/Hyprland/src/Compositor.cpp:810 (discriminator 1)
	#16 | ./build/Hyprland(main+0x1e08) [0x55c9257cd8fc]
		main
		/home/nn/Packages/Hyprland/src/main.cpp:238 (discriminator 2)
	#17 | /usr/lib/libc.so.6(+0x276c1) [0x7f8a2c6276c1]
		??
		??:0
	#18 | /usr/lib/libc.so.6(__libc_start_main+0x89) [0x7f8a2c6277f9]
		??
		??:0
	#19 | ./build/Hyprland(_start+0x25) [0x55c9257cb8b5]
		_start
		??:?


Log tail:
DEBUG ]: [CWLCompositorResource] New wl_surface with id 3 at 55c93647bfb0
DEBUG ]: [CWLCompositorResource] New wl_region with id 36 at 55c936bb9070
DEBUG ]: [CXDGWMBase] New xdg_surface at 55c9368de790
DEBUG ]: [CXDGSurfaceResource] xdg_surface 55c93646e860 gets a toplevel 55c9366a5400
DEBUG ]: CWLSurface 55c93645ace0 called init()
DEBUG ]: Window 55c9364739e0 set class to foot
DEBUG ]: [CXDGDecoration] setMode: MODE_SERVER_SIDE. Sending MODE_SERVER_SIDE as reply.
DEBUG ]: Layout predicts size [Vector2D: x: 0, y: 0] for [Window 55c9364739e0: title: ""]
DEBUG ]: [CWLCompositorResource] New wl_surface with id 40 at 55c936473fa0
DEBUG ]: [CWLSubcompositorResource] New wl_subsurface with id 41 at 55c9364726d0
DEBUG ]: [CWLCompositorResource] New wl_region with id 43 at 55c93645c4c0
DEBUG ]: Window 55c9364739e0 set title to foot
DEBUG ]: [CXDGSurfaceResource] xdg_surface 55c9368de790 requests geometry 0x0 700x500
DEBUG ]: New window contains HL_INITIAL_WORKSPACE_TOKEN: b360929e-2705-4529-9db3-8699cee996d1
DEBUG ]: HL_INITIAL_WORKSPACE_TOKEN b360929e-2705-4529-9db3-8699cee996d1 -> 1
WARN ]: Orphaned CWLSurfaceResource 55c936473fa0 in setPreferredScaleForSurface
WARN ]: Orphaned CWLSurfaceResource 55c936473fa0 in setPreferredTransformForSurface
DEBUG ]: CWLSurface 55c936cb77c0 called init()
DEBUG ]: Set keyboard focus to surface 55c93647bfb0, with [Window 55c9364739e0: title: "foot"]
DEBUG ]: Map request dispatched, monitor WAYLAND-1, window pos: [570.00000, 10.00000], window size: [544.00000, 1396.00000]
DEBUG ]: [CPrimarySelectionProtocol] CPrimarySelectionProtocol::updateSelection: cannot send selection to a client without a data_device
DEBUG ]: [CXDGSurfaceResource] xdg_surface 55c9368de790 requests geometry 0x0 540x1392
DEBUG ]: cursorImage request: shape 9 -> text
DEBUG ]: [hc] getShapesC: found 1 images for text
DEBUG ]: compiling feature set 0 for quad.frag
DEBUG ]: compiling feature set 112 for shadow.frag
DEBUG ]: compiling feature set 8 for quad.frag
DEBUG ]: compiling feature set 0 for rgbamatte.frag
DEBUG ]: compiling feature set 21 for surface.frag
DEBUG ]: compiling feature set 120 for border.frag
DEBUG ]: [COutputManager] New OutputManager registered
DEBUG ]: [COutputManager]  | sending output head for WAYLAND-1
DEBUG ]: [COutputMode]   | sending mode 1684x1416@0mHz, pref: false
DEBUG ]: Window 55c9364739e0 set title to ~/P/Hyprland
DEBUG ]: Window 55c9364739e0 set title to Hyprland @ nous
DEBUG ]: Cleanup: destroyed a layersurface
DEBUG ]: [hc] getShapesC: found 0 images for left_ptr
DEBUG ]: [hc] getShapesC: found 0 images for left_ptr
DEBUG ]: [hc] getShapesC: found 0 images for default
DEBUG ]: [hc] getShapesC: found 0 images for left_ptr
DEBUG ]: [hc] getShapesC: found 0 images for left-ptr
ERR ]: BUG THIS: No fallback found for a cursor in setCursorFromName
DEBUG ]: [CPrimarySelectionProtocol] CPrimarySelectionProtocol::updateSelection: cannot send selection to a client without a data_device
DEBUG ]: cursorImage request: shape 9 -> text
DEBUG ]: [hc] getShapesC: found 1 images for text
DEBUG ]: [CPrimarySelectionManager] New primary selection data source bound at 55c936434ae0
DEBUG ]: [CPrimarySelectionDevice] Ignoring primary selection: disabled in config
WARN ]: [seat] duplicated setCurrentPrimarySelection?
DEBUG ]: [CPrimarySelectionDevice] Ignoring primary selection: disabled in config
WARN ]: [seat] duplicated setCurrentPrimarySelection?
DEBUG ]: [CPrimarySelectionManager] New primary selection data source bound at 55c936996920
DEBUG ]: [CPrimarySelectionDevice] Ignoring primary selection: disabled in config
WARN ]: [seat] duplicated setCurrentPrimarySelection?
DEBUG ]: Keybind triggered, calling dispatcher (12, , 65361, exec)
DEBUG ]: [executor] Executing (    [[ $(hyprctl -j getoption general:layout | jq -r .str) == "dwindle" ]] && hyprctl dispatch resizeactive -100 0 ||    [[ $(hyprctl -j getoption general:layout | jq -r .str) == "scrolling" ]] && hyprctl dispatch layoutmsg colresize -0.025 l)
DEBUG ]: [executor] Process created with pid 49266
DEBUG ]: Hyprctl: new connection from pid 49269
gdb
#0  0x00007f8a2c698a2c in ??? () at /usr/lib/libc.so.6
#1  0x00007f8a2c63e1a0 in raise () at /usr/lib/libc.so.6
#2  0x00007f8a2c6255fe in abort () at /usr/lib/libc.so.6
#3  0x000055c9257f5e61 in handleUnrecoverableSignal (sig=11) at /home/nn/Packages/Hyprland/src/Compositor.cpp:127
#4  0x00007f8a2c63e2d0 in <signal handler called> () at /usr/lib/libc.so.6
#5  0x000055c925af58b2 in escapeJSONStrings (str=Python Exception <class 'OverflowError'>: int too big to convert
) at /home/nn/Packages/Hyprland/src/helpers/MiscFunctions.cpp:86
        c = <error reading variable: Cannot access memory at address 0x55c93966e000>
        oss = Python Exception <class 'IndexError'>: list index out of range
<incomplete type>
#6  0x000055c9259586fb in dispatchGetOption (format=FORMAT_JSON, request="") at /home/nn/Packages/Hyprland/src/debug/HyprCtl.cpp:1784
        curitem = "general:layout"
        nextItem = {__request = "", __curitem = "general:layout"}
        VAR = {dataptr = 0x55c93640edb0, type = 0x55c926ce9d28 <typeinfo for char const*@CXXABI_1.3>, setByUser = false}
        VAL = 0x55c93640edb0
        TYPE = {_M_target = 0x55c926ce9d28 <typeinfo for char const*@CXXABI_1.3>}
#7  0x000055c9259b0aaa 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=@0x55c9366f2ca8: 0x55c925957d78 <dispatchGetOption(eHyprCtlOutputFormat, std::string)>) at /usr/include/c++/15.2.1/bits/invoke.h:63
#8  0x000055c9259ad2d7 in 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=@0x55c9366f2ca8: 0x55c925957d78 <dispatchGetOption(eHyprCtlOutputFormat, std::string)>) at /usr/include/c++/15.2.1/bits/invoke.h:118
#9  0x000055c9259a59b7 in 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 (__functor=..., __args#0=@0x7ffe0a765b6c: FORMAT_JSON, __args#1=...) at /usr/include/c++/15.2.1/bits/std_function.h:293
#10 0x000055c92599f056 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() (this=0x55c9366f2ca8, __args#0=FORMAT_JSON, __args#1="") at /usr/include/c++/15.2.1/bits/std_function.h:593
#11 0x000055c925960fa5 in CHyprCtl::getReply (this=0x55c9366f0cf0, request="getoption general:layout") at /home/nn/Packages/Hyprland/src/debug/HyprCtl.cpp:2187
        cmd = @0x55c9366cec90: {impl_ = 0x55c9366f2cd0, m_data = 0x55c9366f2c80}
        format = FORMAT_JSON
        reloadAll = false
        result = ""
#12 0x000055c925962b98 in hyprCtlFDTick (fd=46, mask=1, data=0x0) at /home/nn/Packages/Hyprland/src/debug/HyprCtl.cpp:2354
        clientAddress = {sin_family = 1, sin_port = 0, sin_addr = {s_addr = 0}, sin_zero = "\000\000\000\000\000\000\000"}
        clientSize = 2
        ACCEPTEDCONNECTION = 71
        readBuffer = {_M_elems = "j/getoption general:layout", '\000' <repeats 997 times>}
        creds = {pid = 49269, uid = 1000, gid = 1000}
        len = 12
        pollfds = {{fd = 71, events = 1, revents = 1}}
        ret = 1
        request = "j/getoption general:layout"
        reply = ""
#13 0x00007f8a2eca0642 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#14 0x00007f8a2eca2777 in wl_display_run () at /usr/lib/libwayland-server.so.0
#15 0x000055c925d682be in CEventLoopManager::enterLoop (this=0x55c93631b580) at /home/nn/Packages/Hyprland/src/managers/eventLoop/EventLoopManager.cpp:124
#16 0x000055c9257fec33 in CCompositor::startCompositor (this=0x55c9363b95f0) at /home/nn/Packages/Hyprland/src/Compositor.cpp:810
#17 0x000055c9257cd8fc in main (argc=1, argv=0x7ffe0a766ad8) at /home/nn/Packages/Hyprland/src/main.cpp:238
        cmd = "./build/Hyprland"
        configPath = ""
        socketName = ""
        socketFd = -1
        ignoreSudo = false
        verifyConfig = false
        safeMode = false
        watchdogFd = -1
        watchdogOk = false
bind
$resizeWindowLeftCmd = (\
    $isDwindle && hyprctl dispatch resizeactive -100 0 || \
    $isScrolling && hyprctl dispatch layoutmsg colresize -0.025 l \
)
bind = $mainMod CTRL, left, exec, $resizeWindowLeftCmd
bind = $mainMod CTRL, h, exec, $resizeWindowLeftCmd

I also just confirmed that this regression was introduced in #13785.

thanks! fixed. The types there are hell and I just made a small mistake in a footgun

1 Like