hyprgrass icon indicating copy to clipboard operation
hyprgrass copied to clipboard

Plugins are Crashing with hyprlang 0.6.6

Open daxcore opened this issue 5 months ago • 1 comments

Describe the bug I am not sure, if i am doing something wrong, but after upgrading to hyprlang 0.6.6, the plugins crash. I tried to rebuild from scratch, but without solving the problem.

Also I am not sure what this means: Hyprlang: built against 0.6.3, system has 0.6.6

Log

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Oops

Hyprland received signal 6(ABRT)
Version: 967c3c7404d4fa00234e29c70df3e263386d2597
Tag: v0.52.1
Date: Sun Nov 9 23:31:36 2025
Flags:

System info:
	System name: Linux
	Node name: latitude
	Release: 6.17.8-2-cachyos
	Version: #1 SMP PREEMPT_DYNAMIC Sun, 16 Nov 2025 15:00:54 +0000

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation WhiskeyLake-U GT2 [UHD Graphics 620] [8086:3ea0] (rev 02) (prog-if 00 [VGA controller])


os-release:
	NAME="CachyOS Linux"
	PRETTY_NAME="CachyOS"
	ID=cachyos
	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.3.0, system has 0.3.0
Hyprutils: built against 0.10.2, system has 0.10.2
Hyprcursor: built against 0.1.13, system has 0.1.13
Hyprlang: built against 0.6.3, system has 0.6.6
Aquamarine: built against 0.9.5, system has 0.9.5

Backtrace:
	# | Hyprland(_Z12getBacktracev+0x61) [0x560544f341c1]
		getBacktrace()
		??:?
	#1 | Hyprland(_ZN14NCrashReporter18createAndSaveCrashEi+0xcd6) [0x560544e60066]
		NCrashReporter::createAndSaveCrash(int)
		??:?
	#2 | Hyprland(+0x2b0a02) [0x560544dc1a02]
		_start
		??:?
	#3 | /usr/lib/libc.so.6(+0x44900) [0x7fc690844900]
		??
		??:0
	#4 | /usr/lib/libc.so.6(pthread_kill+0x11b) [0x7fc6908aa0fb]
		??
		??:0
	#5 | /usr/lib/libc.so.6(gsignal+0x18) [0x7fc6908447c8]
		??
		??:0
	#6 | /usr/lib/libc.so.6(abort+0x27) [0x7fc69082560d]
		??
		??:0
	#7 | /usr/lib/libstdc++.so.6(+0x9502b) [0x7fc690c9502b]
		??
		??:0
	#8 | /usr/lib/libstdc++.so.6(+0xb3c8c) [0x7fc690cb3c8c]
		??
		??:0
	#9 | /usr/lib/libstdc++.so.6(_ZSt10unexpectedv+0) [0x7fc690c94648]
		??
		??:0
	#1 | /usr/lib/libstdc++.so.6(+0xb3f99) [0x7fc690cb3f99]
		??
		??:0
	#11 | /usr/lib/libstdc++.so.6(_ZSt24__throw_out_of_range_fmtPKcz+0x164) [0x7fc690c9a735]
		??
		??:0
	#12 | /usr/lib/libhyprlang.so.2(+0x7304) [0x7fc6917be304]
		??
		??:0
	#13 | /usr/lib/libhyprlang.so.2(_ZN8Hyprlang7CConfig18configSetValueSafeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_+0xd52) [0x7fc6917cc002]
		??
		??:0
	#14 | /usr/lib/libhyprlang.so.2(_ZN8Hyprlang7CConfig9parseLineENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x1f0c) [0x7fc6917d442c]
		??
		??:0
	#15 | /usr/lib/libhyprlang.so.2(_ZN8Hyprlang7CConfig9parseFileEPKc+0x215) [0x7fc6917d5225]
		??
		??:0
	#16 | Hyprland(_ZN14CConfigManager12handleSourceERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_+0x5ff) [0x560544e4313f]
		CConfigManager::handleSource(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
		??:?
	#17 | Hyprland(+0x3329e3) [0x560544e439e3]
		CConfigManager::handleSource(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
		??:?
	#18 | /usr/lib/libhyprlang.so.2(_ZN8Hyprlang7CConfig9parseLineENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x1aac) [0x7fc6917d3fcc]
		??
		??:0
	#19 | /usr/lib/libhyprlang.so.2(_ZN8Hyprlang7CConfig9parseFileEPKc+0x215) [0x7fc6917d5225]
		??
		??:0
	#2 | /usr/lib/libhyprlang.so.2(_ZN8Hyprlang7CConfig5parseEv+0x44d) [0x7fc6917d73ed]
		??
		??:0
	#21 | Hyprland(_ZN14CConfigManager6reloadEv+0x14e) [0x560544e3b5be]
		CConfigManager::reload()
		??:?
	#22 | Hyprland(_ZN14CConfigWatcher14onInotifyEventEv+0x125) [0x560544e5e3e5]
		CConfigWatcher::onInotifyEvent()
		??:?
	#23 | Hyprland(+0x53370e) [0x56054504470e]
		Cursor::CShapeOverrideController::unsetOverride(Cursor::eCursorShapeOverrideGroup)
		??:?
	#24 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x362) [0x7fc691663642]
		??
		??:0
	#25 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7fc691665777]
		??
		??:0
	#26 | Hyprland(_ZN17CEventLoopManager9enterLoopEv+0x291) [0x560545047301]
		CEventLoopManager::enterLoop()
		??:?
	#27 | Hyprland(main+0x1234) [0x560544d38414]
		main
		??:?
	#28 | /usr/lib/libc.so.6(+0x27b8b) [0x7fc690827b8b]
		??
		??:0
	#29 | /usr/lib/libc.so.6(__libc_start_main+0x8b) [0x7fc690827c4b]
		??
		??:0
	#3 | Hyprland(_start+0x25) [0x560544dc0ea5]
		_start
		??:?

daxcore avatar Nov 21 '25 11:11 daxcore

seems like a hyprland isn't compiled correctly

rebuild Hyprland (and possibly other libraries that depend on hyprlang)

try to disable hyprgrass to check if it is indeed hyprgrass's fault

I don't use arch so the broader hyprland community might be able to help you better with version mismatch issues

good luck

horriblename avatar Nov 21 '25 14:11 horriblename

it's an issue of hyprlang: https://github.com/hyprwm/hyprlang/issues/86

daxcore avatar Nov 28 '25 17:11 daxcore