![Krunner 输入 3 个字母后崩溃](https://linux22.com/image/67198/Krunner%20%E8%BE%93%E5%85%A5%203%20%E4%B8%AA%E5%AD%97%E6%AF%8D%E5%90%8E%E5%B4%A9%E6%BA%83.png)
我最近开始遇到一个问题,当我搜索时,KRunner 会崩溃,但只有在输入第三个字符后才会崩溃。我可以毫无问题地输入、删除和重新输入最多 2 个字符。一旦我输入第三个字符,我就会收到崩溃通知。我在 Manjaro Linux 上使用 Plasma 5 桌面版本 5.3.1。
当我直接从命令行运行它时,我会在运行时得到以下输出:
Trying to use rootObject before initialization is completed, whilst using setInitializationDelayed. Forcing completion
kf5.kservice.sycoca: Trying to open ksycoca from "/home/tmacey/.cache/ksycoca5"
org.kde.krunner: Loading runner: "org.kde.activities"
QObject::connect: No such signal KActivities::Consumer::serviceStatusChanged(KActivities::Consumer::ServiceStatus)
QObject::connect: (receiver name: 'Activities')
org.kde.krunner: Categories not enabled. Removing runner: "org.kde.activities"
org.kde.krunner: Loading runner: "calculator"
I/O warning : failed to load external entity "/home/tmacey/.qalculate/eurofxref-daily.xml"
I/O warning : failed to load external entity "/home/tmacey/.qalculate/eurofxref-daily.xml"
org.kde.krunner: Categories not enabled. Removing runner: "calculator"
org.kde.krunner: Loading runner: "Dictionary"
org.kde.krunner: Loaded: "Dictionary"
org.kde.krunner: Loading runner: "Spell Checker"
org.kde.krunner: Loading runner: "Kill Runner"
org.kde.krunner: Loaded: "Kill Runner"
org.kde.krunner: Loading runner: "recentdocuments"
org.kde.krunner: Loaded: "recentdocuments"
org.kde.krunner: Loading runner: "locations"
org.kde.krunner: Loaded: "locations"
org.kde.krunner: Loading runner: "bookmarks"
org.kde.krunner: Loaded: "bookmarks"
org.kde.krunner: Loading runner: "baloosearch"
org.kde.krunner: Loaded: "baloosearch"
org.kde.krunner: Loading runner: "org.kde.datetime"
org.kde.krunner: Loaded: "org.kde.datetime"
org.kde.krunner: Loading runner: "org.kde.windowedwidgets"
org.kde.krunner: Loaded: "org.kde.windowedwidgets"
org.kde.krunner: Loading runner: "unitconverter"
org.kde.krunner: Loaded: "unitconverter"
org.kde.krunner: Loading runner: "windows"
org.kde.krunner: Loaded: "windows"
org.kde.krunner: Loading runner: "Audio Player Control Runner"
org.kde.krunner: Loaded: "Audio Player Control Runner"
org.kde.krunner: Loading runner: "webshortcuts"
org.kde.kurlfilter-ikws: ":q"
org.kde.kurifilter-ikws: Keywords Engine: Loading config...
org.kde.kurifilter-ikws: Web Shortcuts Enabled: true
org.kde.kurifilter-ikws: Default Shortcut: ""
org.kde.kurifilter-ikws: Keyword Delimiter: :
org.kde.krunner: Loaded: "webshortcuts"
org.kde.krunner: Loading runner: "services"
org.kde.krunner: Loaded: "services"
org.kde.krunner: Loading runner: "shell"
org.kde.krunner: Loaded: "shell"
org.kde.krunner: Loading runner: "PowerDevil"
Error contacting the daemon!
org.kde.krunner: Loaded: "PowerDevil"
org.kde.krunner: Loading runner: "desktopsessions"
org.kde.krunner: Loaded: "desktopsessions"
org.kde.krunner: Loading runner: "places"
org.kde.krunner: Loaded: "places"
org.kde.kactivities.lib.core: Killing the consumer
org.kde.kactivities.lib.core: Killing the consumer
org.kde.kurifilter-shorturi: "k"
org.kde.kurifilter-shorturi: path = "k" isLocalFullPath= false exists= false url= QUrl( "k" )
kf5.kservice.sycoca: Trying to open ksycoca from "/home/tmacey/.cache/ksycoca5"
org.kde.kurifilter-shorturi: "kr"
org.kde.kurifilter-shorturi: path = "kr" isLocalFullPath= false exists= false url= QUrl( "kr" )
kf5.kservice.sycoca: Trying to open ksycoca from "/home/tmacey/.cache/ksycoca5"
org.kde.kurifilter-shorturi: "kru"
org.kde.kurifilter-shorturi: path = "kru" isLocalFullPath= false exists= false url= QUrl( "kru" )
kf5.kservice.sycoca: Trying to open ksycoca from "/home/tmacey/.cache/ksycoca5"
session switching to "kru"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/tmacey/.cache/ksycoca5"
Accessed invalid KPluginInfo object
KCrash: Attempting to start /usr/bin/krunner from kdeinit
sock_file=/run/user/1000/kdeinit5__1
KCrash: Application 'krunner' crashing...
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__1
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
QSocketNotifier: Invalid socket 14 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
QSocketNotifier: Invalid socket 24 and type 'Read', disabling...
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
QSocketNotifier: Invalid socket 17 and type 'Exception', disabling...
[1] + 6730 suspended (signal) krunner
我尝试禁用所有插件,这似乎可以防止任何崩溃,但我无法确定哪个插件导致了问题。如果有人对如何修复此问题有建议,我将不胜感激,因为 KRunner 是我日常工作流程的重要组成部分。
答案1
因此,行为不当的插件结果是windowed widgets
.一旦我在 Krunner 设置中禁用该插件,我就不再遇到任何崩溃。我还没有确定导致崩溃的插件是什么,但如果确定的话我会报告。
答案2
@G-Man:抱歉,无法在下面发表评论。代表必须超过 50 岁?哦
无论如何:我解决了我的问题。我将范围缩小到文件夹~/.local/share/baloo
当文件夹被删除/移动时,我可以搜索所有内容。当该文件夹存在时,它会在第二个字符处崩溃。也许你也有同样的问题。
答案3
就我而言,这似乎也是 baloo 索引的问题。重命名文件夹时,~/.local/share/baloo
krunner 再次正常工作。