fcitx / fcitx5-lua

25 stars 7 forks source link

watching SwitchInputMethod results in a crash #22

Open JB0x0003 opened 2 years ago

JB0x0003 commented 2 years ago

Calling fcitx.watchEvent with SwitchInputMethod as an argument causes fcitx5 to crash. Other event types mentioned in the documentation work as expected. I've installed lua5.3-dev with apt because it was throwing errors at not being able to find that version of lua, don't know if that's related or not.

It wrote the following into the console when it crashed.

=========================
Fcitx 5.0.5 -- Get Signal No.: 11
Date: try "date -d @1666957142" if you are using GNU date ***
ProcessID: 1394574
/usr/bin/fcitx5(+0xc977)[0x563100a39977]
/lib/x86_64-linux-gnu/libc.so.6(+0x3bd60)[0x7f76c1c37d60]
/lib/x86_64-linux-gnu/libc.so.6(+0x9608a)[0x7f76c028808a]

Hope that helps!