您尚未登录。

#1 2023-02-14 21:26:17

Hoream
会员
注册时间: 2023-02-14
帖子: 5

启用Fcitx5后,一些运行在xwayland下的程序会使wayfire崩溃。

wayfire版本:0.8.0-6a8dd012 (Jan 16 2023, branch 'lilydjwg')

gvim:    运行在xwayland下,启用fcitx5输入法,打开gvim,在空白处鼠标连续点击,wayfire崩溃。
zotero:  运行在xwayland下,同样启用fcitx5输入法,安装zotero论文管理软件,安装翻译插件,划词翻译后复制翻译内容,wayfire崩溃。有时候一次复制不会崩溃,多次复制就崩溃了。
xfce4-terminal:  运行在原生wayland下,有时候鼠标点击,会使wayfire崩溃,不清楚什么原因,没能复现,偶尔会触发。

部分日志:
EE 14-02-23 21:19:08.957 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:09.192 - [src/view/xwayland.cpp:815] new unmanaged xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:09.201 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:13.272 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:13.272 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:13.481 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:13.487 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:13.770 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:13.938 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:14.259 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:14.492 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:14.670 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:14.743 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:14.967 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:15.164 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:15.325 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:15.327 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:15.489 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:15.641 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:15.831 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:15.989 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:16.156 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:16.323 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:16.488 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
EE 14-02-23 21:19:16.641 - [src/view/xwayland.cpp:532] new xwayland surface (null) class: (null) instance: (null)
=========================
Fcitx 5.0.21 -- Get Signal No.: 1
Date: try "date -d @1676380756" if you are using GNU date ***
ProcessID: 5498
/usr/bin/fcitx5(+0x12cbe)[0x55c05c1a6cbe]
/usr/lib/libc.so.6(+0x38f50)[0x7f78ece51f50]
/usr/lib/libc.so.6(epoll_wait+0x56)[0x7f78ecf211b6]
/usr/lib/libsystemd.so.0(sd_event_wait+0x1f1)[0x7f78ecdbc0d1]
/usr/lib/libsystemd.so.0(sd_event_run+0x1ac)[0x7f78ecdbd39c]
/usr/lib/libsystemd.so.0(sd_event_loop+0x60)[0x7f78ecdbd4e0]
/usr/lib/libFcitx5Utils.so.2(_ZN5fcitx9EventLoop4execEv+0x16)[0x7f78ed3ced46]
/usr/lib/libFcitx5Core.so.7(_ZN5fcitx8Instance4execEv+0x57)[0x7f78ed493277]
/usr/bin/fcitx5(+0x11050)[0x55c05c1a5050]
/usr/lib/libc.so.6(+0x23790)[0x7f78ece3c790]
/usr/lib/libc.so.6(__libc_start_main+0x8a)[0x7f78ece3c84a]
/usr/bin/fcitx5(+0x12425)[0x55c05c1a6425]
Vim: Caught deadly signal HUP
W2023-02-14 21:19:16.673613 xcbeventreader.cpp:39] XCB connection ":0" got error: 1
I2023-02-14 21:19:16.674268 xcbmodule.cpp:58] Disconnected from X11 Display :0
E2023-02-14 21:19:16.682528 waylandmodule.cpp:147] Received error on socket.
I2023-02-14 21:19:16.682605 waylandmodule.cpp:283] Connection removed
I2023-02-14 21:19:16.682909 inputcontextmanager.cpp:358] All display connections are gone, exit now.
dbus-daemon[5347]: [session uid=1000 pid=5347] Reloaded configuration
I2023-02-14 21:19:16.726373 addonmanager.cpp:297] Unloading addon cloudpinyin
I2023-02-14 21:19:16.727197 addonmanager.cpp:297] Unloading addon pinyin
I2023-02-14 21:19:16.744705 addonmanager.cpp:297] Unloading addon punctuation
I2023-02-14 21:19:16.745049 addonmanager.cpp:297] Unloading addon notifications
I2023-02-14 21:19:16.745210 addonmanager.cpp:297] Unloading addon notificationitem
I2023-02-14 21:19:16.745503 addonmanager.cpp:297] Unloading addon classicui
I2023-02-14 21:19:16.747204 addonmanager.cpp:297] Unloading addon kimpanel
I2023-02-14 21:19:16.747308 addonmanager.cpp:297] Unloading addon pinyinhelper
I2023-02-14 21:19:16.747418 addonmanager.cpp:297] Unloading addon waylandim
I2023-02-14 21:19:16.747516 addonmanager.cpp:297] Unloading addon unicode
I2023-02-14 21:19:16.747616 addonmanager.cpp:297] Unloading addon clipboard
I2023-02-14 21:19:16.747723 addonmanager.cpp:297] Unloading addon dbusfrontend
I2023-02-14 21:19:16.747852 addonmanager.cpp:297] Unloading addon wayland
I2023-02-14 21:19:16.747948 addonmanager.cpp:297] Unloading addon xim
I2023-02-14 21:19:16.748046 addonmanager.cpp:297] Unloading addon ibusfrontend
I2023-02-14 21:19:16.755296 addonmanager.cpp:297] Unloading addon imeapi
I2023-02-14 21:19:16.755508 addonmanager.cpp:297] Unloading addon fcitx4frontend
I2023-02-14 21:19:16.755669 addonmanager.cpp:297] Unloading addon dbus
I2023-02-14 21:19:16.755871 addonmanager.cpp:297] Unloading addon luaaddonloader
I2023-02-14 21:19:16.755957 addonmanager.cpp:297] Unloading addon keyboard
I2023-02-14 21:19:16.756313 addonmanager.cpp:297] Unloading addon imselector
I2023-02-14 21:19:16.756381 addonmanager.cpp:297] Unloading addon quickphrase
I2023-02-14 21:19:16.756602 addonmanager.cpp:297] Unloading addon xcb

离线

#2 2023-02-14 22:08:53

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 启用Fcitx5后,一些运行在xwayland下的程序会使wayfire崩溃。

DEBUGINFOD_URLS="https://debuginfod.archlinux.org https://repo.archlinuxcn.org" coredumpctl gdb wayfire
进去之后,问你 debuginfod 的时候回答 y 启用,然后等它加载好了之后,bt 看看调用栈。

离线

#3 2023-02-15 00:03:13

Hoream
会员
注册时间: 2023-02-14
帖子: 5

Re: 启用Fcitx5后,一些运行在xwayland下的程序会使wayfire崩溃。

崩溃后没有生成coredump文件,我需要怎么做?

离线

#4 2023-02-15 11:36:13

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 启用Fcitx5后,一些运行在xwayland下的程序会使wayfire崩溃。

那它是怎么崩溃的?

离线

#5 2023-02-15 13:07:49

Hoream
会员
注册时间: 2023-02-14
帖子: 5

Re: 启用Fcitx5后,一些运行在xwayland下的程序会使wayfire崩溃。

依云大大,请问你可以复现gvim那个吗?就开启fcitx5后在gvim编辑界面鼠标连续点击即可。

离线

#6 2023-02-15 13:15:10

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 启用Fcitx5后,一些运行在xwayland下的程序会使wayfire崩溃。

不能。

离线

#7 2023-02-15 13:35:48

Hoream
会员
注册时间: 2023-02-14
帖子: 5

Re: 启用Fcitx5后,一些运行在xwayland下的程序会使wayfire崩溃。

我新装了系统,同时也换了一台机器测试,还是会崩溃,应该不是我装了什么其他软件或者配置的问题,有时候可能要连续点击十多秒才会触发,如果依云大大不能复现就算了吧,能用就行。

离线

#8 2023-02-15 13:43:09

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 启用Fcitx5后,一些运行在xwayland下的程序会使wayfire崩溃。

你可以用我的 gvim-lily,然后设置 GVIM_ENABLE_WAYLAND=1 环境变量来启用 wayland 支持(没有 clientserver 功能)。

离线

#9 2023-02-15 14:00:01

Hoream
会员
注册时间: 2023-02-14
帖子: 5

Re: 启用Fcitx5后,一些运行在xwayland下的程序会使wayfire崩溃。

完美运行,感谢依云大大!

离线

页脚