龙芯新世界系统(安同AOCS OS)桌面启动时baloo_file退出错误问题

这两天我在龙芯安同AOCS OS中安装了坚果云,坚果云已经可以正常开机启动并自动同步文件;但是出现了一个新的问题,在右下角的托盘位置每次启动都要出现一个错误信息图标,点击开看是一个关于baloo_file进程意外退出的错误信息,查找Cinnamon系统设置的启动列表中没有找到baloo_file的自动启动的项目。因为是安装坚果云才出现的这个问题,但把坚果云禁止启动之后问题仍然存在,那就可能与安装的LATX工具有关,经查问题确实在这个部分,LATX也有自动启动的程序项,位于/usr/gnemul/lat-x86_64/etc/xdg/autostart目录中包含一个baloo_file.desktop;这个文件就是引起了baloo_file进程的启动。

现在就来判断baloo_file进程为什么退出,在终端中运行baloo_file命令,输出以下信息:

ericden@aosc [ ~ ] ? baloo_file
mdb.c:2130: Assertion 'rc == 0' failed in mdb_page_dirty()
KCrash: Attempting to start /usr/lib/libexec/baloo_file
32 -- exe=/usr/lib/libexec/baloo_file
19 -- appname=baloo_file
25 -- apppath=/usr/lib/libexec
9 -- signal=6
9 -- pid=6938
15 -- restarted=true
KCrash: Application 'baloo_file' crashing...
KCrash: Attempting to start /usr/lib/libexec/drkonqi
Failed to register via dbus. Another instance is running
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Exception', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...

根据错误猜测问题处在了文件索引数据库文件上(错误信息"failed in mdb_page_dirty()"),因此清空文件索引库(purge)问题就可以解决。在终端中输入以下命令:

balooctl purge

此时运行baloo_file命令已经不再报错,通过balooctl status命令可以查看baloo_file的运行状态已经正常。

ericden@aosc [ ~ ] $ balooctl status 
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Unknown" msgid_plural: "" msgctxt: ""
kf.i18n: KLocalizedString: Using an empty domain, fix the code. msgid: "Idle" msgid_plural: "" msgctxt: ""
Baloo 文件索引器正在运行
索引器状态:Idle
共索引文件:71,741
等待内容索引的文件:0
索引失败的文件:0
当前索引大小为 30.06 MiB

重启系统,Cinnamon桌面环境已经不再报错,问题已得到解决。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值