Open lenianiva opened 1 year ago
can't repro, odd.
On EndeavourOS with waybar(master), hyprland installed from package manager.
- Start waybar and then fcitx5
I tried starting them in either order, hyprland started freezing and eventually crashed.
Sway seems to work fine.
Edit: This seems to be the issue because of the fresh install fcitx.
I tried it sway and then started it again on hyprland, it works fine.
On EndeavourOS with waybar(master), hyprland installed from package manager.
- Start waybar and then fcitx5
I tried starting them in either order, hyprland started freezing and eventually crashed.
Sway seems to work fine.
so the solution is to first run fcitx5
in some other wayland environment and then run it in hypr?
I executed sudo pacman -S fcitx5
(reinstall), and now the behaviour is this:
fcitx5
in a terminalfcitx5
by C-c
. hyprland crashes immediatelyor
fcitx5
tray icon and click configure. hyprland crashes immediately.Below is the crash report. I also tried fcitx -d
and it crashes hyprland immediately upon execution.
--------------------------------------------
Hyprland Crash Report
--------------------------------------------
Oops
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) [0x558afebcdeae]
??
??:0
#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x558afeb6915c]
??
??:0
#2 | /usr/lib/libc.so.6(+0x38f50) [0x7f7fab851f50]
??
??:0
#3 | Hyprland(_Z11addWLSignalP9wl_signalP11wl_listenerPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x30) [0x558afebfca00]
??
??:0
#4 | Hyprland(_ZN17CInputMethodRelay17setPendingSurfaceEP10STextInputP11wlr_surface+0x9b) [0x558afec5667b]
??
??:0
#5 | Hyprland(+0x186af4) [0x558afec56af4]
??
??:0
#6 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x3c) [0x558afec0a5bc]
??
??:0
#7 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f7fac31101e]
??
??:0
#8 | /home/hsv/Downloads/aur/hyprland-git/src/hyprland/subprojects/wlroots/build/libwlroots.so.12032(+0x8dabc) [0x7f7fac496abc]
??
??:0
#9 | /home/hsv/Downloads/aur/hyprland-git/src/hyprland/subprojects/wlroots/build/libwlroots.so.12032(wlr_input_method_v2_send_unavailable+0x23) [0x7f7fac497023]
??
??:0
#10 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f7fac31101e]
??
??:0
#11 | /home/hsv/Downloads/aur/hyprland-git/src/hyprland/subprojects/wlroots/build/libwlroots.so.12032(+0x79b19) [0x7f7fac482b19]
??
??:0
#12 | /usr/lib/libwayland-server.so.0(+0xb9ba) [0x7f7fac3129ba]
??
??:0
#13 | /usr/lib/libwayland-server.so.0(wl_client_destroy+0xab) [0x7f7fac3130db]
??
??:0
#14 | /usr/lib/libwayland-server.so.0(+0xc60e) [0x7f7fac31360e]
??
??:0
#15 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f7fac312ae2]
??
??:0
#16 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f7fac3132d7]
??
??:0
#17 | Hyprland(main+0x49b) [0x558afeb5a36b]
??
??:0
#18 | /usr/lib/libc.so.6(+0x23790) [0x7f7fab83c790]
??
??:0
#19 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f7fab83c84a]
??
??:0
#20 | Hyprland(_start+0x25) [0x558afeb69005]
??
??:0
Log tail:
[LOG] Searching for matching rules for Alacritty (title: ~)
[LOG] Window 558b000a3940 set title to ~
[LOG] Searching for matching rules for Alacritty (title: fcitx5 ~)
[LOG] Window 558b000a3940 set title to fcitx5 ~
[LOG] Registered signal for owner 558b00058900: 558b00092728 -> 558b00058908 (owner: Keyboard)
[LOG] Registered signal for owner 558b00058900: 558b00092718 -> 558b00058970 (owner: Keyboard)
[LOG] Registered signal for owner 558b00058900: 558b000925f8 -> 558b00058a40 (owner: Keyboard)
[LOG] Registered signal for owner 558b00058900: 558b00092738 -> 558b000589d8 (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: 558b00058900 and WLR: 558b000925e0
[LOG] New IME added!
[LOG] Registered signal for owner 558affa2f3c0: 558b0015ae00 -> 558affa2f468 (owner: IMERelay)
[LOG] Registered signal for owner 558affa2f3c0: 558b0015ae30 -> 558affa2f4d0 (owner: IMERelay)
[LOG] Registered signal for owner 558affa2f3c0: 558b0015ae20 -> 558affa2f538 (owner: IMERelay)
[LOG] Registered signal for owner 558affa2f3c0: 558b0015ae10 -> 558affa2f5a0 (owner: IMERelay)
[LOG] New layer popup created from surface 558affc51b00
[LOG] Registered signal for owner 558b0015a280: 558b00168430 -> 558b0015a310 (owner: HyprPopup)
[LOG] Registered signal for owner 558b0015a280: 558b00168460 -> 558b0015a378 (owner: HyprPopup)
[LOG] Registered signal for owner 558b0015a280: 558b00168470 -> 558b0015a3e0 (owner: HyprPopup)
[LOG] Registered signal for owner 558b0015a280: 558b00168450 -> 558b0015a2a8 (owner: HyprPopup)
[LOG] Registered signal for owner 558b0015a280: 558b001682d8 -> 558b0015a448 (owner: HyprPopup)
[LOG] Popup: Unconstrained from lx ly: 0.000000 0.000000, pHyprPopup lx ly: 0.000000 0.000000
[LOG] New XDG Popup mapped at 0 0
[LOG] Registered signal for owner 558b0017ca80: 558b001682f8 -> 558b0017ca88 (owner: CWLSurface)
[LOG] CWLSurface 558b0017ca80 called init()
[LOG] Registered signal for owner 558b0015cbd0: 558b001682e8 -> 558b0015cc48 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 558b0015cbd0: 558b001682d8 -> 558b0015ccb0 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 558b0015cbd0: 558b001682f8 -> 558b0015cd18 (owner: SurfaceTreeNode)
[LOG] Creating a surfaceTree Root! (pWindow: 0)
[LOG] XDG Popup got assigned a surfaceTreeNode 558b0015cbd0
[LOG] XDG Popup unmapped
[LOG] Callback 558b0015ccd8 -> 558b0015ccd0, SurfaceTreeNode removed.
[LOG] Callback 558b0015cd40 -> 558b0015cd38, SurfaceTreeNode removed.
[LOG] Callback 558b0015cc70 -> 558b0015cc68, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed
[LOG] Callback 558b0017cab0 -> 558b0017caa8, CWLSurface removed.
[LOG] CWLSurface 558b0017ca80 called destroy()
[LOG] Destroyed popup XDG 558b0015a280
[LOG] Callback 558b0015a470 -> 558b0015a468, HyprPopup removed.
[LOG] Callback 558b0015a408 -> 558b0015a400, HyprPopup removed.
[LOG] Callback 558b0015a3a0 -> 558b0015a398, HyprPopup removed.
[LOG] Callback 558b0015a338 -> 558b0015a330, HyprPopup removed.
[LOG] Callback 558b0015a2d0 -> 558b0015a2c8, HyprPopup removed.
[LOG] Callback 558affa2f4f8 -> 558affa2f4f0, IMERelay removed.
[LOG] Callback 558affa2f490 -> 558affa2f488, IMERelay removed.
[LOG] Callback 558affa2f560 -> 558affa2f558, IMERelay removed.
[LOG] Callback 558affa2f5c8 -> 558affa2f5c0, IMERelay removed.
[LOG] IME Destroy
This seems to be the bug for hyprland + waybar + fcitx5.
hyprland crashes every time I run fcitx5 from command line. Firstly tested this with foot terminal. If no other window is open, it work. But somekind of window like firefox, brave, discord, and then run fcitx5 again in terminal, it crashes.
It seems that most terminal will crashes immediately after running fcitx5. I tested it with kitty, wezTerm and alacritty it all crashes except foot terminal.
If foot terminal is the only window, i can run fcitx5.
This seems to be the bug for hyprland + waybar + fcitx5.
hyprland crashes every time I run fcitx5 from command line. Firstly tested this with foot terminal. If no other window is open, it work. But somekind of window like firefox, brave, discord, and then run fcitx5 again in terminal, it crashes.
It seems that most terminal will crashes immediately after running fcitx5. I tested it with kitty, wezTerm and alacritty it all crashes except foot terminal.
If foot terminal is the only window, i can run fcitx5.
It seems like if I run fcitx5
from wofi
, hyprland
immediately crashes too
Same issue here. Auto start fcitx5 at launch works for me
This seems to be the bug for hyprland + waybar + fcitx5.
I tried using Sway and fcitx5 for a few days. It is more of wayland + waybar + fcitx5 issue.
I encountered a weird bug with fcitx5 and waybar on Sway. I don't even know where I should open the issue. waybar? sway? fcitx5?
I have what looks like this same issue.
Crash report (nice new feature btw!):
--------------------------------------------
Hyprland Crash Report
--------------------------------------------
Sorry, didn't mean to...
Hyprland received signal 11 (Segmentation fault)
Version: 79791c9ed4a9f78d8a444006e2cdd4a63d1a5862
System info:
System name: Linux
Node name: mhysa
Release: 6.2.13-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Wed, 26 Apr 2023 20:50:14 +0000
GPU:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] [1002:73ff] (rev c1) (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) [0x56077005ad6e]
??
??:0
#1 | Hyprland(_Z25handleUnrecoverableSignali+0x3c) [0x56076fff493c]
??
??:0
#2 | /usr/lib/libc.so.6(+0x38f50) [0x7fbb18f69f50]
??
??:0
#3 | /usr/lib/libwlroots.so.12032(wlr_text_input_v3_send_leave+0x1d) [0x7fbb19b8603d]
??
??:0
#4 | Hyprland(_ZN17CInputMethodRelay15onKeyboardFocusEP11wlr_surface+0x109) [0x5607700e4f99]
??
??:0
#5 | Hyprland(+0x18e13e) [0x5607700e513e]
??
??:0
#6 | Hyprland(_ZN18CHookSystemManager4emitEPKSt6vectorI14SCallbackFNPtrSaIS1_EESt3any+0x2a0) [0x5607700b8fb0]
??
??:0
#7 | Hyprland(_ZN11CCompositor12focusSurfaceEP11wlr_surfaceP7CWindow+0x1cf) [0x56076fff83af]
??
??:0
#8 | Hyprland(_ZN11CCompositor11focusWindowEP7CWindowP11wlr_surface+0x112) [0x56076ffff1b2]
??
??:0
#9 | Hyprland(_ZN13CInputManager16mouseMoveUnifiedEjb+0x1295) [0x5607700d91e5]
??
??:0
#10 | Hyprland(_ZN13CInputManager12onMouseMovedEP24wlr_pointer_motion_event+0x126) [0x5607700d9ef6]
??
??:0
#11 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7fbb19a9c01e]
??
??:0
#12 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7fbb19a9c01e]
??
??:0
#13 | /usr/lib/libwlroots.so.12032(+0x5ba64) [0x7fbb19b40a64]
??
??:0
#14 | /usr/lib/libwlroots.so.12032(+0x5a9eb) [0x7fbb19b3f9eb]
??
??:0
#15 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7fbb19a9dae2]
??
??:0
#16 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7fbb19a9e2d7]
??
??:0
#17 | Hyprland(main+0x49b) [0x56076ffe5b4b]
??
??:0
#18 | /usr/lib/libc.so.6(+0x23790) [0x7fbb18f54790]
??
??:0
#19 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fbb18f5484a]
??
??:0
#20 | Hyprland(_start+0x25) [0x56076fff47e5]
??
??:0
Log tail:
[LOG] Registered signal for owner 560773ae6f90: 560773b74228 -> 560773ae7078 (owner: textInput)
[LOG] Registered signal for owner 560773ae6f90: 560773b74238 -> 560773ae7010 (owner: textInput)
[LOG] Registered signal for owner 560773ae6f90: 560773b74248 -> 560773ae70e0 (owner: textInput)
[LOG] New XDG Surface created. (class: foot)
[LOG] Registered signal for owner 560773b81350: 560773b7c0a0 -> 560773b813b8 (owner: XDG Window)
[LOG] Registered signal for owner 560773b81350: 560773b7c070 -> 560773b81488 (owner: XDG Window)
[LOG] Registered signal for owner 560773b81350: 560771b08d70 -> 560773b81968 (owner: Toplevel)
[LOG] Registered signal for owner 560773b81350: 560771b08d80 -> 560773b819d0 (owner: Toplevel)
[LOG] Registered signal for owner 560773b81350: 560771b08d90 -> 560773b81900 (owner: Toplevel)
[LOG] Registered signal for owner 560773b81aa0: 560773b7bea8 -> 560773b81aa8 (owner: CWLSurface)
[LOG] CWLSurface 560773b81aa0 called init()
[LOG] Registered signal for owner 560773b81350: 560773b7c0b0 -> 560773b81420 (owner: CWindow)
[LOG] Searching for matching rules for foot (title: foot)
[LOG] Set keyboard focus to surface 560773b7bbc0, with window name: foot
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 560773b81350: 560773b7be88 -> 560773b81350 (owner: XDG Window Late)
[LOG] Registered signal for owner 560773b81350: 560773b67660 -> 560773b814f0 (owner: XDG Window Late)
[LOG] Registered signal for owner 560773b81350: 560773b7c090 -> 560773b81628 (owner: XDG Window Late)
[LOG] Registered signal for owner 560773b81350: 560773b675f0 -> 560773b81760 (owner: XDG Window Late)
[LOG] Registered signal for owner 560773b81350: 560773b67610 -> 560773b816f8 (owner: XDG Window Late)
[LOG] Registered signal for owner 560773b81350: 560773b67620 -> 560773b81690 (owner: XDG Window Late)
[LOG] Registered signal for owner 560773b81350: 560773b67630 -> 560773b817c8 (owner: XDG Window Late)
[LOG] Registered signal for owner 560773b81350: 560773b67600 -> 560773b815c0 (owner: XDG Window Late)
[LOG] Registered signal for owner 560773b70e70: 560773b7be98 -> 560773b70ee8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 560773b70e70: 560773b7be88 -> 560773b70f50 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 560773b70e70: 560773b7bea8 -> 560773b70fb8 (owner: SurfaceTreeNode)
[LOG] Added a new subsurface 560773b7b450
[LOG] Registered signal for owner 560773b6f870: 560773b7b4e8 -> 560773b6f888 (owner: Subsurface)
[LOG] Registered signal for owner 560773b6f870: 560773b7b4f8 -> 560773b6f8f0 (owner: Subsurface)
[LOG] Registered signal for owner 560773b6f870: 560773b7b4d8 -> 560773b6f958 (owner: Subsurface)
[LOG] Creating a surfaceTree Root! (pWindow: 560773b81350)
[LOG] Map request dispatched, monitor DP-3, xywh: 4278.000046 1681.000000 1721.000000 2128.000000
[LOG] Searching for matching rules for foot (title: proycon@mhysa:~)
[LOG] Window 560773b81350 set title to proycon@mhysa:~
[LOG] Searching for matching rules for foot (title: fcitx5)
[LOG] Window 560773b81350 set title to fcitx5
[LOG] Registered signal for owner 560771aec490: 560773b85488 -> 560771aec498 (owner: Keyboard)
[LOG] Registered signal for owner 560771aec490: 560773b85478 -> 560771aec500 (owner: Keyboard)
[LOG] Registered signal for owner 560771aec490: 560773b85358 -> 560771aec5d0 (owner: Keyboard)
[LOG] Registered signal for owner 560771aec490: 560773b85498 -> 560771aec568 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "wlr_virtual_keyboard_v1", hasconfig: 0
[LOG] Attempting to create a keymap for layout proylatin,proyeo,proyru,proyar with variant (rules: , model: , options: lv3:ralt_switch,caps:ctrl_modifier,grp:alt_shift_toggle)
[LOG] Set the keyboard layout to proylatin,proyeo,proyru,proyar and variant to for keyboard "wlr_virtual_keyboard_v1"
[LOG] New virtual keyboard created, pointers Hypr: 560771aec490 and WLR: 560773b85340
[LOG] New IME added!
[LOG] Registered signal for owner 56077118c0d0: 560773b3dc90 -> 56077118c178 (owner: IMERelay)
[LOG] Registered signal for owner 56077118c0d0: 560773b3dcc0 -> 56077118c1e0 (owner: IMERelay)
[LOG] Registered signal for owner 56077118c0d0: 560773b3dcb0 -> 56077118c248 (owner: IMERelay)
[LOG] Registered signal for owner 56077118c0d0: 560773b3dca0 -> 56077118c2b0 (owner: IMERelay)
[LOG] Set keyboard focus to surface 560771b0a7e0, with window name: Hyprland crashes with waybar and fcitx5 · Issue #2146 · hyprwm/Hyprland — Mozilla Firefox
And a gdb backtrace on the core dump just in case it helps:
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007fbb18fb8953 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007fbb18f69ea8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x00007fbb18f5353d in __GI_abort () at abort.c:79
#4 0x000056076fff4941 in ()
#5 0x00007fbb18f69f50 in <signal handler called> () at /usr/lib/libc.so.6
#6 0x00007fbb19b8603d in wlr_text_input_v3_send_leave () at /usr/lib/libwlroots.so.12032
#7 0x00005607700e4f99 in CInputMethodRelay::onKeyboardFocus(wlr_surface*) ()
#8 0x00005607700e513e in std::_Function_handler<void (void*, std::any), CInputMethodRelay::CInputMethodRelay()::{lambda(void*, std::any)#1}>::_M_invoke(std::_Any_data const&, void*&&, std::any&&) ()
#9 0x00005607700b8fb0 in CHookSystemManager::emit(std::vector<SCallbackFNPtr, std::allocator<SCallbackFNPtr> > const*, std::any)
()
#10 0x000056076fff83af in CCompositor::focusSurface(wlr_surface*, CWindow*) ()
#11 0x000056076ffff1b2 in CCompositor::focusWindow(CWindow*, wlr_surface*) ()
#12 0x00005607700d91e5 in CInputManager::mouseMoveUnified(unsigned int, bool) ()
#13 0x00005607700d9ef6 in CInputManager::onMouseMoved(wlr_pointer_motion_event*) ()
#14 0x00007fbb19a9c01e in wl_signal_emit_mutable (signal=<optimized out>, data=0x7fffe70b3730)
at ../wayland-1.22.0/src/wayland-server.c:2241
#15 0x00007fbb19a9c01e in wl_signal_emit_mutable (signal=<optimized out>, data=0x7fffe70b3730)
at ../wayland-1.22.0/src/wayland-server.c:2241
#16 0x00007fbb19b40a64 in handle_pointer_motion () at /usr/lib/libwlroots.so.12032
#17 0x00007fbb19b3f9eb in handle_libinput_readable () at /usr/lib/libwlroots.so.12032
#18 0x00007fbb19a9dae2 in wl_event_loop_dispatch (loop=0x560770642e80, timeout=timeout@entry=-1)
at ../wayland-1.22.0/src/event-loop.c:1027
#19 0x00007fbb19a9e2d7 in wl_display_run (display=0x560770642d90) at ../wayland-1.22.0/src/wayland-server.c:1493
#20 0x000056076ffe5b4b in main ()
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
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
Yes. The problem doesn't really impact usage but its curious how it crashes
Starting it with exec-once will prevent this crash. dunno why you'd want to start fcitx in the middle of a session tho
Ha! I just gave that a try. Back when running Xorg I was so used to running fcitx only when needed (for 汉字), as it was interfering with my normal xkb keymaps which I used for all other scripts. Most notably the dead keys for diacritics didn't work properly with fcitx running so I had to turn it off completely again. I never thought to reconsider this old habit after switching to wayland, but it seems it's no longer necessary indeed, everything just works fine with fcitx constantly running, even when using the normal xkb keymaps. If this holds stable it provides a good workaround (still, hyprland shouldn't crash of course).
for me it always crashes with exec-once=fcitx5 -d
after about 2 seconds, when it's off and I later run the same command in a terminal it's fine until I exit it from the systray icon, that's when it crashes
log: https://0x0.st/Hj3T.log coredump: https://0x0.st/Hj3c.txt
here's what happens when I have exec-once=fcitx5 -d
in my config
log: https://0x0.st/Hj3S.log coredump: https://0x0.st/Hj3Q.txt
config in both cases is the same, can be found here https://codeberg.org/jacekpoz/niksos/src/commit/cb241a262b64e45d4c778e75305579746d878f5c/homes/jacek/gui/hypr/default.nix
as you saw on matrix I'm having some trouble applying the patch on nixos, I'm gonna do that tomorrow but I just remembered that it only happens when I load this plugin https://github.com/duckonaut/split-monitor-workspaces
although I remember it also happening without it when running the gui for fcitx5, I'll check that tomorrow though
nevermind it's definitely fcitx5, the plugin doesn't do shit now
Hyprland also crashes randomly while having Waybar on, having Fcitx5 on startup, and typing with it using another input method than the default in Chromium and Electron applications. #2926
patch.txt try this @jacekpoz
with this patch it crashes every time but with varying time since launch
didn't get any crash reports, here are some logs: https://0x0.st/HLBu.log1 https://0x0.st/HLBS.log2 https://0x0.st/HLBQ.log3
here's the output of it while crashing https://0x0.st/HLBL.txt
Same with here, I encounter this every time using fcitx5 in alacritty on Hyprland, the crash made me using back on swaywm temporarily, hope for fixing.
When I have a meeting, suddenly crashed, then boss fired me, so sad...
I run fcitx with ExecStart=/usr/bin/fcitx5 -D in user service file ,restart it or replace it or kill it often make hyprland crashes
I tried to add exec-once = fcitx5 -d
, but it still crashes when I focus any window with latest commit 1ed4f1cb254ce4b4e55727d972998be1ef4baf22
on NixOS
hope for fixing soon
Here is my config: hyprland.conf and hyprland.nix
Edited: I do not know why, but if you are using exec-once = foot -s
in config and crash on every startup, just remove this line. This works for me.
It's strange that foot server did not create any windows, but it would leads to hyprland crash with waybar and fcitx5
Yes. The problem doesn't really impact usage but its curious how it crashes
Not exactly a use case per se, but this whole time I was starting it in a terminal because I was worried I'd have to deal with a crash loop if I'd put it in startup. Ironic that that would have fixed the problem from the start lol
I've also ran into Hyprland crashing when I activate fcitx5, though I don't use waybar (I use AGS).
$ hyprctl version
Hyprland, built from branch at commit c4365f20ed8ff0dd480b7ed7cf1bfff1a0b6911a ().
Date: 2024-01-17
Tag:
flags: (if any)
legacyrenderer
On NixOS 23.11 running with Asahi patches on M1 Pro.
Got Hyprland
, eww
and fcitx5
in FreeBSD 14. When attended to change the workplace by press SUPER
+NUM
, it crashed from time to time.
For me this seems to happen once or twice a day. Same setup, fcitx5 and waybar.
post debug stacktrace, many things have changed https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-debug-stacktrace
After daily usage for a day, Hyprland
worked well with fcitx5
and waybar
. No crash happened until now.
I've also ran into Hyprland crashing when I activate fcitx5, though I don't use waybar (I use AGS).
$ hyprctl version Hyprland, built from branch at commit c4365f20ed8ff0dd480b7ed7cf1bfff1a0b6911a (). Date: 2024-01-17 Tag: flags: (if any) legacyrenderer
On NixOS 23.11 running with Asahi patches on M1 Pro.
It happend for me
Steps to reproduce the bug:
hyprland
(orhyprland-git
, both will crash)waybar-hyprland-git
waybar
and thenfcitx5
hyprland
crashes the moment the cursor enters the bounding box offcitx5
icon.Configuration: https://pastebin.com/0U1vta8T
Hyprland log: https://pastebin.com/vTTDGL8j
Crash report: