Summary: | KRunner crashes when typing "4." (without quotes) | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | Sasha Unspecified <sasha2048> |
Component: | general | Assignee: | baloo-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | stefan.bruens |
Priority: | NOR | Keywords: | drkonqi |
Version: | 5.18.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Sasha Unspecified
2018-02-24 00:37:31 UTC
Unfortunately, this is somewhat difficult to catch (and its not even obvious if the returned result is possibly valid ...) The database is queried for the term "4.", and returns a result set of 2097996960 bytes (~2GByte). This is divisible by 8 (size of a document id), and equals 250 million matching documents (which is a lot, but not impossible). Can you provide the size of you baloo DBs? $> balooctl indexSize I've just tried to type "=4" (with the hope that if I start my input with "=" it won't start that queries and will work just in calculator mode), but everything crashed with losing all my windows :(. $ balooctl indexSize Actual Size: 103,42 MiB Expected Size: 3,99 GiB PostingDB: 1,23 MiB 0.030 % PosistionDB: 3,99 GiB 100.114 % DocTerms: 800,00 KiB 0.019 % DocFilenameTerms: 264,00 KiB 0.006 % DocXattrTerms: 0 B 0.000 % IdTree: 76,00 KiB 0.002 % IdFileName: 244,00 KiB 0.006 % DocTime: 144,00 KiB 0.003 % DocData: 64,00 KiB 0.002 % ContentIndexingDB: 4,00 KiB 0.000 % FailedIdsDB: 0 B 0.000 % MTimeDB: 40,00 KiB 0.001 % Wow. I've just visited "System Settings"/"Search"/"Plasma Search" and disabled all plugins except "Calculator" and "Command Line". It now works! (Thank you for suggestion that it's related to balloo, I supposed the bug to be in the KRunner core before, now I have a workaround.) File search (baloo) is run out-of-process (krunner) now. Several bugs in baloo have been fixed. In case the issue persists, please reopen. When reopening, please run the offending query with baloosearch, e.g. "baloosearch 4.". |