fcitx crashes when typing Shift-Q in Firefox
Closed this issue · 3 comments
buzztaiki commented
How to reproduce
- Open https://www.google.com in firefox.
- Type "Shift-Q nihongo Ctrl-J" (にほんご)
- Type Shift-Q again.
- Fcitx crashes.
Sometimes, it does not reproduce.
And also, it does not seem to reproduce in Chromium.
Backtrace
** (process:353234): CRITICAL **: 00:50:17.653: string_slice: assertion '_tmp2_' failed
** (process:353234): CRITICAL **: 00:50:17.653: skk_unicode_string_construct: assertion 'str != NULL' failed
=========================
Fcitx 5.0.9 -- Get Signal No.: 11
Date: try "date -d @1633621817" if you are using GNU date ***
ProcessID: 353234
fcitx5(+0xbc54)[0x55627e6f3c54]
/usr/lib/libc.so.6(+0x3cda0)[0x7f98e0de0da0]
/usr/lib/libskk.so.0(+0x21086)[0x7f98de131086]
/usr/lib/libskk.so.0(+0x23925)[0x7f98de133925]
/usr/lib/libskk.so.0(skk_context_process_key_event+0x59)[0x7f98de1350a9]
/usr/lib/fcitx5/skk.so(+0xaabf)[0x7f98de18aabf]
/usr/lib/libFcitx5Core.so.7(_ZN5fcitx8Instance9postEventERNS_5EventE+0x324)[0x7f98e12ee904]
/usr/lib/libFcitx5Core.so.7(_ZN5fcitx12InputContext8keyEventERNS_8KeyEventE+0x178)[0x7f98e131b2c8]
/usr/lib/fcitx5/dbusfrontend.so(+0x107d9)[0x7f98df8b87d9]
/usr/lib/fcitx5/dbusfrontend.so(+0x12321)[0x7f98df8ba321]
/usr/lib/fcitx5/dbusfrontend.so(+0x120a2)[0x7f98df8ba0a2]
/usr/lib/libFcitx5Utils.so.2(+0x3bab5)[0x7f98e1221ab5]
/usr/lib/libFcitx5Utils.so.2(+0x4239d)[0x7f98e122839d]
/usr/lib/libsystemd.so.0(+0x32195)[0x7f98e0c95195]
/usr/lib/libsystemd.so.0(+0x40531)[0x7f98e0ca3531]
/usr/lib/libsystemd.so.0(+0x48314)[0x7f98e0cab314]
/usr/lib/libsystemd.so.0(+0x721c9)[0x7f98e0cd51c9]
/usr/lib/libsystemd.so.0(sd_event_dispatch+0x12e)[0x7f98e0cd54be]
/usr/lib/libsystemd.so.0(sd_event_run+0xc9)[0x7f98e0cd7cf9]
/usr/lib/libsystemd.so.0(sd_event_loop+0x50)[0x7f98e0cd7f10]
/usr/lib/libFcitx5Utils.so.2(_ZN5fcitx9EventLoop4execEv+0x12)[0x7f98e1229952]
/usr/lib/libFcitx5Core.so.7(_ZN5fcitx8Instance4execEv+0x57)[0x7f98e12f79d7]
fcitx5(+0xaaa2)[0x55627e6f2aa2]
/usr/lib/libc.so.6(__libc_start_main+0xd5)[0x7f98e0dcbb25]
fcitx5(+0xae9e)[0x55627e6f2e9e]
Version
> fcitx5 --version
5.0.9
> firefox --version
Mozilla Firefox 92.0.1
> uname -a
Linux echo 5.14.8-arch1-1 #1 SMP PREEMPT Sun, 26 Sep 2021 19:36:15 +0000 x86_64 GNU/Linux
buzztaiki commented
I will try reproduce these step with debug symbol in near day.
wengxt commented
Thanks, I made a new release with the fix.
buzztaiki commented
Thanks for your fix!