Hyprland: Hyprland crashes with waybar and fcitx5

Steps to reproduce the bug:

  1. Install archlinux, hyprland (or hyprland-git, both will crash)
  2. Install waybar-hyprland-git
  3. Install fcitx5
  4. Start waybar and then fcitx5
  5. Hover the cursor over to the fcitx5 icon. hyprland crashes the moment the cursor enters the bounding box of fcitx5 icon.

Configuration: https://pastebin.com/0U1vta8T

Hyprland log: https://pastebin.com/vTTDGL8j

Crash report:

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Maybe you should try dusting your PC in the meantime?

Hyprland received signal 11 (Segmentation fault)

Version: e195a51cd4dd1cb15a04d9b67e3aec67199c5bea

System info:
	System name: Linux
	Node name: Mellite
	Release: 6.2.11-arch1-1
	Version: #1 SMP PREEMPT_DYNAMIC Thu, 13 Apr 2023 16:59:24 +0000

GPU:
	0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1) (prog-if 00 [VGA controller])
0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1080] [10de:1b80] (rev a1) (prog-if 00 [VGA controller])
43:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX] [1002:744c] (rev c8) (prog-if 00 [VGA controller])


os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://bugs.archlinux.org/"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo
	


Backtrace:
	#0 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x82e) [0x561ea8716eae]
		??
		??:0
	#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x561ea86b215c]
		??
		??:0
	#2 | /usr/lib/libc.so.6(+0x38f50) [0x7f6637169f50]
		??
		??:0
	#3 | /home/hsv/Downloads/aur/hyprland-git/src/hyprland/subprojects/wlroots/build/libwlroots.so.12032(wlr_text_input_v3_send_leave+0x1d) [0x7f6637d6921d]
		??
		??:0
	#4 | Hyprland(_ZN17CInputMethodRelay15onKeyboardFocusEP11wlr_surface+0x109) [0x561ea879f809]
		??
		??:0
	#5 | Hyprland(+0x1869ae) [0x561ea879f9ae]
		??
		??:0
	#6 | Hyprland(_ZN18CHookSystemManager4emitEPKSt6vectorI14SCallbackFNPtrSaIS1_EESt3any+0x2a0) [0x561ea8773a90]
		??
		??:0
	#7 | Hyprland(_ZN11CCompositor12focusSurfaceEP11wlr_surfaceP7CWindow+0x1cf) [0x561ea86b5bcf]
		??
		??:0
	#8 | Hyprland(_ZN13CInputManager16mouseMoveUnifiedEjb+0x1611) [0x561ea87945b1]
		??
		??:0
	#9 | Hyprland(_ZN13CInputManager12onMouseMovedEP24wlr_pointer_motion_event+0x126) [0x561ea8794ec6]
		??
		??:0
	#10 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f6637bd101e]
		??
		??:0
	#11 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f6637bd101e]
		??
		??:0
	#12 | /home/hsv/Downloads/aur/hyprland-git/src/hyprland/subprojects/wlroots/build/libwlroots.so.12032(+0x5ac64) [0x7f6637d23c64]
		??
		??:0
	#13 | /home/hsv/Downloads/aur/hyprland-git/src/hyprland/subprojects/wlroots/build/libwlroots.so.12032(+0x59beb) [0x7f6637d22beb]
		??
		??:0
	#14 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f6637bd2ae2]
		??
		??:0
	#15 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f6637bd32d7]
		??
		??:0
	#16 | Hyprland(main+0x49b) [0x561ea86a336b]
		??
		??:0
	#17 | /usr/lib/libc.so.6(+0x23790) [0x7f6637154790]
		??
		??:0
	#18 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f663715484a]
		??
		??:0
	#19 | Hyprland(_start+0x25) [0x561ea86b2005]
		??
		??:0


Log tail:
[LOG] LayerSurface 561eaab92a98 arranged: x: 1895 y: 1082 w: 50 h: 40 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-1 layers arranged: reserved: 0.000000 45.000000 0.000000 0.000000
[LOG] LayerSurface 561eaab92a90 arranged: x: 0 y: 0 w: 3840 h: 45 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 561eaaa80f70 arranged: x: 0 y: 0 w: 3840 h: 2160 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 561eaab92a98 arranged: x: 960 y: 670 w: 1920 h: 864 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-1 layers arranged: reserved: 0.000000 45.000000 0.000000 0.000000
[LOG] New TextInput added!
[LOG] Registered signal for owner 561eaab97bb0: 561eaab5e328 -> 561eaab97bc8 (owner: textInput)
[LOG] Registered signal for owner 561eaab97bb0: 561eaab5e338 -> 561eaab97c98 (owner: textInput)
[LOG] Registered signal for owner 561eaab97bb0: 561eaab5e348 -> 561eaab97c30 (owner: textInput)
[LOG] Registered signal for owner 561eaab97bb0: 561eaab5e358 -> 561eaab97d00 (owner: textInput)
[LOG] LayerSurface 561eaac785a0 mapped
[LOG] Registered signal for owner 561eaa6aecd8: 561eaa9bb2b8 -> 561eaa6aece0 (owner: CWLSurface)
[LOG] CWLSurface 561eaa6aecd8 called init()
[LOG] LayerSurface 561eaab92a90 arranged: x: 0 y: 0 w: 3840 h: 45 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 561eaaa80f70 arranged: x: 0 y: 0 w: 3840 h: 2160 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 561eaab92a98 arranged: x: 960 y: 670 w: 1920 h: 864 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-1 layers arranged: reserved: 0.000000 45.000000 0.000000 0.000000
[LOG] Set keyboard focus to surface 561eaa9bafd0
[LOG] LayerSurface 561eaac785a0 unmapped
[LOG]  [hookSystem] New hook event registered: closeLayer
[LOG] Framebuffer created, status 36053
[LOG] Callback 561eaa6aed08 -> 561eaa6aed00, CWLSurface removed.
[LOG] CWLSurface 561eaa6aecd8 called destroy()
[LOG]  [hookSystem] New hook event registered: activeWindow
[LOG] LayerSurface 561eaac785a0 destroyed
[LOG] Callback 561eaa6aeec0 -> 561eaa6aeeb8, layerSurface removed.
[LOG] Callback 561eaa6aed88 -> 561eaa6aed80, layerSurface removed.
[LOG] Callback 561eaa6aedf0 -> 561eaa6aede8, layerSurface removed.
[LOG] Callback 561eaa6aee58 -> 561eaa6aee50, layerSurface removed.
[LOG] Callback 561eaa6aef28 -> 561eaa6aef20, layerSurface removed.
[LOG] LayerSurface 561eaab92a90 arranged: x: 0 y: 0 w: 3840 h: 45 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 561eaaa80f70 arranged: x: 0 y: 0 w: 3840 h: 2160 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-1 layers arranged: reserved: 0.000000 45.000000 0.000000 0.000000
[LOG] Registered signal for owner 561eaabbacf0: 561eaab94ce8 -> 561eaabbacf8 (owner: Keyboard)
[LOG] Registered signal for owner 561eaabbacf0: 561eaab94cd8 -> 561eaabbad60 (owner: Keyboard)
[LOG] Registered signal for owner 561eaabbacf0: 561eaab94bb8 -> 561eaabbae30 (owner: Keyboard)
[LOG] Registered signal for owner 561eaabbacf0: 561eaab94cf8 -> 561eaabbadc8 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "wlr_virtual_keyboard_v1", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to us and variant to  for keyboard "wlr_virtual_keyboard_v1"
[LOG] New virtual keyboard created, pointers Hypr: 561eaabbacf0 and WLR: 561eaab94ba0
[LOG] New IME added!
[LOG] Registered signal for owner 561eaa51c5a0: 561eaab85650 -> 561eaa51c648 (owner: IMERelay)
[LOG] Registered signal for owner 561eaa51c5a0: 561eaab85680 -> 561eaa51c6b0 (owner: IMERelay)
[LOG] Registered signal for owner 561eaa51c5a0: 561eaab85670 -> 561eaa51c718 (owner: IMERelay)
[LOG] Registered signal for owner 561eaa51c5a0: 561eaab85660 -> 561eaa51c780 (owner: IMERelay)
[LOG]  [hookSystem] New hook event registered: mouseMove
[LOG] Cleanup: destroyed a layersurface
[LOG] Set keyboard focus to surface 561eaaa0afc0

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 1
  • Comments: 28 (11 by maintainers)

Most upvoted comments

When I have a meeting, suddenly crashed, then boss fired me, so sad…

Yeah, I realize. I run fcitx5 on a daily. Starting it with exec-once will prevent this crash. dunno why you’d want to start fcitx in the middle of a session tho