报错的日志
=========================
Fcitx 5.1.12 -- Get Signal No.: 11
Date: try "date -d @1742986370" if you are using GNU date ***
ProcessID: 16688
fcitx5[0x40da59]
/lib64/libc.so.6(+0x57900)[0x7f9719057900]
/usr/lib64/librime.so.1(_ZNSt6vectorINSt10filesystem7__cxx114path5_CmptESaIS3_EED1Ev+0x7)[0x7f96f6506407]
/usr/lib64/librime.so.1(_ZN4rime13SetupDeployerEP13rime_traits_t+0x1aa)[0x7f96f6528cca]
/usr/lib64/librime.so.1(RimeSetup+0x9)[0x7f96f64e78c9]
/usr/lib64/fcitx5/librime.so(+0x140af)[0x7f97140230af]
/usr/lib64/fcitx5/librime.so(+0x1597f)[0x7f971402497f]
/usr/lib64/fcitx5/librime.so(+0x15b74)[0x7f9714024b74]
/usr/lib64/fcitx5/librime.so(+0x1689e)[0x7f971402589e]
/usr/lib64/fcitx5/librime.so(+0x1d7ef)[0x7f971402c7ef]
/usr/lib64/libFcitx5Core.so.7(+0x9e903)[0x7f97198c5903]
/usr/lib64/libFcitx5Core.so.7(+0xa27fe)[0x7f97198c97fe]
/usr/lib64/libFcitx5Core.so.7(_ZN5fcitx12AddonManager5addonERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x110)[0x7f97198c73c0]
/usr/lib64/libFcitx5Core.so.7(_ZN5fcitx8Instance19activateInputMethodERNS_17InputContextEventE+0x1ed)[0x7f971988aead]
/usr/lib64/libFcitx5Core.so.7(_ZNK5fcitx8Instance9postEventERNS_5EventE+0x22c)[0x7f971988806c]
/usr/lib64/libFcitx5Core.so.7(+0x61324)[0x7f9719888324]
/usr/lib64/libFcitx5Core.so.7(+0x61d51)[0x7f9719888d51]
/usr/lib64/libFcitx5Core.so.7(_ZNK5fcitx8Instance9postEventERNS_5EventE+0x22c)[0x7f971988806c]
/usr/lib64/libFcitx5Core.so.7(_ZN5fcitx12InputContext8keyEventERNS_8KeyEventE+0x92)[0x7f97198b0462]
/usr/lib64/fcitx5/libxim.so(+0x82d3)[0x7f971800d2d3]
/usr/lib64/libxcb-imdkit.so.1(+0x10495)[0x7f9716860495]
/usr/lib64/libxcb-imdkit.so.1(+0xc1c1)[0x7f971685c1c1]
/usr/lib64/libxcb-imdkit.so.1(xcb_im_filter_event+0x42)[0x7f971685ca22]
/usr/lib64/fcitx5/libxim.so(+0x97d7)[0x7f971800e7d7]
/usr/lib64/fcitx5/libxcb.so(+0x15872)[0x7f9718c8d872]
/usr/lib64/libFcitx5Utils.so.2(+0x5c98e)[0x7f971979f98e]
/usr/lib64/libFcitx5Utils.so.2(+0x5422d)[0x7f971979722d]
/usr/lib64/libsystemd.so.0(+0x85744)[0x7f9719384744]
/usr/lib64/libsystemd.so.0(sd_event_dispatch+0x81)[0x7f9719384a11]
/usr/lib64/libsystemd.so.0(sd_event_run+0xb8)[0x7f97193852d8]
/usr/lib64/libsystemd.so.0(sd_event_loop+0x63)[0x7f9719385513]
/usr/lib64/libFcitx5Utils.so.2(+0x5386d)[0x7f971979686d]
[1] 16688 segmentation fault (core dumped) fcitx5
@jiarenlu librime 包的版本?
sudo zypper se -iv librime
❯ sudo zypper se -iv librime
[sudo] password for root:
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+----------+---------+---------------------------------------+--------+-----------
i+ | librime1 | package | 1.10.0+git20240229.4ee471e-lp156.79.1 | x86_64 | M17N
name: librime1
@jiarenlu
现在源里是 81 了。你更新一下,之前 librime 在 15.6 编译失败了好久,我才修好。
安装 TW 源里面 librime1 会有依赖问题。
❯ zup librime1
正在加载软件源数据...
正在读取已安装的软件包...
正在解决软件包依赖关系...
问题:1: 没有软件源能提供要安装的 librime1-1.10.0+git20240229.4ee471e-81.1.x86_64 所需的 "libyaml-cpp.so.0.8()(64bit)"
解决方案 1: 不安装 librime1-1.10.0+git20240229.4ee471e-81.1.x86_64
解决方案 2: 通过忽略一些依赖关系来断开 librime1-1.10.0+git20240229.4ee471e-81.1.x86_64
请通过数字从以上解决方案中选择,或取消 [1/2/c/d/?] (c): 2
如果选择忽略安装后就会
❯ fcitx5
I2025-03-27 22:04:53.009329 instance.cpp:1394] Override Enabled Addons: {}
I2025-03-27 22:04:53.009424 instance.cpp:1395] Override Disabled Addons: {}
I2025-03-27 22:04:53.011163 addonmanager.cpp:205] Loaded addon imselector
I2025-03-27 22:04:53.012317 addonmanager.cpp:205] Loaded addon quickphrase
I2025-03-27 22:04:53.015155 xcbconnection.cpp:199] Connecting to X11 display, display name::0.
I2025-03-27 22:04:53.015447 addonmanager.cpp:205] Loaded addon xcb
E2025-03-27 22:04:53.017174 waylandmodule.cpp:239] Failed to open wayland connection
I2025-03-27 22:04:53.017210 addonmanager.cpp:205] Loaded addon wayland
I2025-03-27 22:04:53.017498 addonmanager.cpp:205] Loaded addon waylandim
I2025-03-27 22:04:53.021638 addonmanager.cpp:205] Loaded addon keyboard
I2025-03-27 22:04:53.022245 addonmanager.cpp:205] Loaded addon clipboard
I2025-03-27 22:04:53.022813 addonmanager.cpp:205] Loaded addon pinyinhelper
I2025-03-27 22:04:53.023260 addonmanager.cpp:205] Loaded addon luaaddonloader
I2025-03-27 22:04:53.025246 addonmanager.cpp:205] Loaded addon dbus
I2025-03-27 22:04:53.026738 addonmanager.cpp:205] Loaded addon ibusfrontend
I2025-03-27 22:04:53.027492 addonmanager.cpp:205] Loaded addon imeapi
I2025-03-27 22:04:53.027694 addonmanager.cpp:205] Loaded addon unicode
I2025-03-27 22:04:53.028533 addonmanager.cpp:205] Loaded addon dbusfrontend
I2025-03-27 22:04:53.064465 addonmanager.cpp:205] Loaded addon fcitx4frontend
I2025-03-27 22:04:53.066042 addonmanager.cpp:205] Loaded addon xim
I2025-03-27 22:04:53.110740 inputmethodmanager.cpp:209] Found 737 input method(s) in addon keyboard
I2025-03-27 22:04:53.138861 addonmanager.cpp:205] Loaded addon kimpanel
I2025-03-27 22:04:53.139116 addonmanager.cpp:205] Loaded addon virtualkeyboard
I2025-03-27 22:04:53.171821 classicui.cpp:88] Created classicui for x11 display::0
I2025-03-27 22:04:53.171877 addonmanager.cpp:205] Loaded addon classicui
I2025-03-27 22:04:53.172314 addonmanager.cpp:205] Loaded addon notificationitem
I2025-03-27 22:04:53.172787 addonmanager.cpp:205] Loaded addon notifications
I2025-03-27 22:04:53.184374 dbusmodule.cpp:790] Service name change: org.fcitx.Fcitx5 :1.399
I2025-03-27 22:04:53.184578 kimpanel.cpp:116] Kimpanel new owner:
I2025-03-27 22:04:53.184612 virtualkeyboard.cpp:218] VirtualKeyboard new owner:
I2025-03-27 22:04:53.184644 portalsettingmonitor.cpp:97] A new portal show up, start a new query.
I2025-03-27 22:04:54.297886 addonmanager.cpp:205] Loaded addon punctuation
I2025-03-27 22:04:54.511924 addonmanager.cpp:205] Loaded addon pinyin
I2025-03-27 22:04:54.516151 addonmanager.cpp:205] Loaded addon cloudpinyin
I2025-03-27 22:04:54.596268 addonmanager.cpp:205] Loaded addon fullwidth
I2025-03-27 22:04:54.596842 addonmanager.cpp:205] Loaded addon chttrans
I2025-03-27 22:04:54.597913 addonmanager.cpp:205] Loaded addon spell
E2025-03-27 22:04:59.572598 addonloader.cpp:65] Failed to load library for addon rime on /usr/lib64/fcitx5/librime.so. Error: libyaml-cpp.so.0.8: 无法打开共享对象文件: 没有那个文件或目录
I2025-03-27 22:04:59.572658 addonmanager.cpp:201] Could not load addon rime
Leap 15.6 里面的 libyaml-cpp 现在只有 0.6
❯ zse libyaml-c
正在加载软件源数据...
正在读取已安装的软件包...
S | Name | Summary | Type
---+----------------+--------------------------------+-------
i | libyaml-cpp0_6 | YAML parser and emitter in C++ | 软件包
``
@jiarenlu
我上面的源贴错了,已经修改,新的源里的可以用 0.6
升级后,还是存在同样的问题
❯ fcitx5
I2025-03-28 10:09:12.507128 instance.cpp:1394] Override Enabled Addons: {}
I2025-03-28 10:09:12.507188 instance.cpp:1395] Override Disabled Addons: {}
I2025-03-28 10:09:12.509383 addonmanager.cpp:205] Loaded addon imselector
I2025-03-28 10:09:12.510894 addonmanager.cpp:205] Loaded addon quickphrase
I2025-03-28 10:09:12.514239 xcbconnection.cpp:199] Connecting to X11 display, display name::0.
I2025-03-28 10:09:12.514906 addonmanager.cpp:205] Loaded addon xcb
E2025-03-28 10:09:12.520189 waylandmodule.cpp:239] Failed to open wayland connection
I2025-03-28 10:09:12.520254 addonmanager.cpp:205] Loaded addon wayland
I2025-03-28 10:09:12.520931 addonmanager.cpp:205] Loaded addon waylandim
I2025-03-28 10:09:12.530804 addonmanager.cpp:205] Loaded addon keyboard
I2025-03-28 10:09:12.531537 addonmanager.cpp:205] Loaded addon clipboard
I2025-03-28 10:09:12.532600 addonmanager.cpp:205] Loaded addon pinyinhelper
I2025-03-28 10:09:12.533299 addonmanager.cpp:205] Loaded addon luaaddonloader
I2025-03-28 10:09:12.537069 addonmanager.cpp:205] Loaded addon dbus
I2025-03-28 10:09:12.539672 addonmanager.cpp:205] Loaded addon ibusfrontend
I2025-03-28 10:09:12.540686 addonmanager.cpp:205] Loaded addon imeapi
I2025-03-28 10:09:12.540967 addonmanager.cpp:205] Loaded addon unicode
I2025-03-28 10:09:12.542425 addonmanager.cpp:205] Loaded addon dbusfrontend
I2025-03-28 10:09:12.718985 addonmanager.cpp:205] Loaded addon fcitx4frontend
I2025-03-28 10:09:12.735259 addonmanager.cpp:205] Loaded addon xim
I2025-03-28 10:09:12.955567 inputmethodmanager.cpp:209] Found 737 input method(s) in addon keyboard
I2025-03-28 10:09:12.996758 addonmanager.cpp:205] Loaded addon kimpanel
I2025-03-28 10:09:12.997402 addonmanager.cpp:205] Loaded addon virtualkeyboard
I2025-03-28 10:09:13.025567 classicui.cpp:88] Created classicui for x11 display::0
I2025-03-28 10:09:13.025618 addonmanager.cpp:205] Loaded addon classicui
I2025-03-28 10:09:13.026160 addonmanager.cpp:205] Loaded addon notificationitem
I2025-03-28 10:09:13.026745 addonmanager.cpp:205] Loaded addon notifications
I2025-03-28 10:09:13.037131 dbusmodule.cpp:790] Service name change: org.fcitx.Fcitx5 :1.137
I2025-03-28 10:09:13.050964 kimpanel.cpp:116] Kimpanel new owner:
I2025-03-28 10:09:13.051126 virtualkeyboard.cpp:218] VirtualKeyboard new owner:
I2025-03-28 10:09:13.051514 portalsettingmonitor.cpp:97] A new portal show up, start a new query.
E2025-03-28 10:09:13.053712 portalsettingmonitor.cpp:121] DBus call error: org.freedesktop.DBus.Error.UnknownMethod No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
I2025-03-28 10:09:14.121073 addonmanager.cpp:205] Loaded addon punctuation
I2025-03-28 10:09:14.467907 addonmanager.cpp:205] Loaded addon pinyin
I2025-03-28 10:09:14.472827 addonmanager.cpp:205] Loaded addon cloudpinyin
I2025-03-28 10:09:21.493924 addonmanager.cpp:205] Loaded addon fullwidth
I2025-03-28 10:09:21.495302 addonmanager.cpp:205] Loaded addon chttrans
I2025-03-28 10:09:21.498048 addonmanager.cpp:205] Loaded addon spell
=========================
Fcitx 5.1.12 -- Get Signal No.: 11
Date: try "date -d @1743127766" if you are using GNU date ***
ProcessID: 5125
fcitx5[0x40da59]
/lib64/libc.so.6(+0x57900)[0x7fa988657900]
/usr/lib64/librime.so.1(_ZNSt6vectorINSt10filesystem7__cxx114path5_CmptESaIS3_EED1Ev+0x7)[0x7fa975306407]
/usr/lib64/librime.so.1(_ZN4rime13SetupDeployerEP13rime_traits_t+0x1aa)[0x7fa975328cca]
/usr/lib64/librime.so.1(RimeSetup+0x9)[0x7fa9752e78c9]
/usr/lib64/fcitx5/librime.so(+0x140af)[0x7fa97ea5c0af]
/usr/lib64/fcitx5/librime.so(+0x1597f)[0x7fa97ea5d97f]
/usr/lib64/fcitx5/librime.so(+0x15b74)[0x7fa97ea5db74]
/usr/lib64/fcitx5/librime.so(+0x1689e)[0x7fa97ea5e89e]
/usr/lib64/fcitx5/librime.so(+0x1d7ef)[0x7fa97ea657ef]
/usr/lib64/libFcitx5Core.so.7(+0x9e903)[0x7fa988f30903]
/usr/lib64/libFcitx5Core.so.7(+0xa27fe)[0x7fa988f347fe]
/usr/lib64/libFcitx5Core.so.7(_ZN5fcitx12AddonManager5addonERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x110)[0x7fa988f323c0]
/usr/lib64/libFcitx5Core.so.7(_ZN5fcitx8Instance19activateInputMethodERNS_17InputContextEventE+0x1ed)[0x7fa988ef5ead]
/usr/lib64/libFcitx5Core.so.7(_ZNK5fcitx8Instance9postEventERNS_5EventE+0x22c)[0x7fa988ef306c]
/usr/lib64/libFcitx5Core.so.7(+0x61324)[0x7fa988ef3324]
/usr/lib64/libFcitx5Core.so.7(+0x61d51)[0x7fa988ef3d51]
/usr/lib64/libFcitx5Core.so.7(_ZNK5fcitx8Instance9postEventERNS_5EventE+0x22c)[0x7fa988ef306c]
/usr/lib64/libFcitx5Core.so.7(_ZN5fcitx12InputContext8keyEventERNS_8KeyEventE+0x92)[0x7fa988f1b462]
/usr/lib64/fcitx5/libdbusfrontend.so(+0x17c83)[0x7fa98721fc83]
/usr/lib64/fcitx5/libdbusfrontend.so(+0x198df)[0x7fa9872218df]
/usr/lib64/libFcitx5Utils.so.2(+0x4d153)[0x7fa988dfb153]
/usr/lib64/libFcitx5Utils.so.2(+0x51ccd)[0x7fa988dffccd]
/usr/lib64/libsystemd.so.0(+0x37dfd)[0x7fa988936dfd]
/usr/lib64/libsystemd.so.0(+0x38cc7)[0x7fa988937cc7]
/usr/lib64/libsystemd.so.0(+0x4bbca)[0x7fa98894abca]
/usr/lib64/libsystemd.so.0(+0x4c568)[0x7fa98894b568]
/usr/lib64/libsystemd.so.0(+0x85794)[0x7fa988984794]
/usr/lib64/libsystemd.so.0(sd_event_dispatch+0x81)[0x7fa988984a61]
/usr/lib64/libsystemd.so.0(sd_event_run+0xb8)[0x7fa988985328]
/usr/lib64/libsystemd.so.0(sd_event_loop+0x63)[0x7fa988985563]
/usr/lib64/libFcitx5Utils.so.2(+0x5386d)[0x7fa988e0186d]
[1] 5125 segmentation fault (core dumped) fcitx5
~ 14s
❯ sudo zypper se -iv librime
[sudo] root 的密码:
正在加载软件源数据...
正在读取已安装的软件包...
S | Name | Type | Version | Arch | Repository
---+----------+--------+---------------------------------------+--------+-----------
i+ | librime1 | 软件包 | 1.10.0+git20240229.4ee471e-lp156.81.1 | x86_64 | M17N
name: librime1