Arch-Linux

Krunner 在輸入 3 個字母后崩潰

  • March 29, 2016

我最近開始遇到一個問題,即 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 是我日常工作流程的重要組成部分。

所以,行為不端的外掛原來是windowed widgets. 在 Krunner 設置中禁用該外掛後,我不再遇到任何崩潰。我還沒有確定導致崩潰的外掛是什麼,但如果我確定了,我會報告。

@G-Man:對不起,不能在下面發表評論.. 代表必須超過 50 歲?哦

無論如何:我解決了我的問題。我把它縮小到文件夾~/.local/share/baloo

當文件夾被刪除/移動時,我可以搜尋所有內容。當文件夾存在時,它會在第二個字元處崩潰。也許你有同樣的問題。

引用自:https://unix.stackexchange.com/questions/210259