Summary: | Baloo crashes every second | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | mashkal2000 <mashkal2000> |
Component: | Baloo File Daemon | Assignee: | baloo-bugs-null |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | tagwerk19 |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | 6.15.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
mashkal2000@gmail.com
2025-07-03 02:41:01 UTC
(In reply to mashkal2000@gmail.com from comment #0) > #15 0x00007b337bb100d1 in qt_assert (assertion=assertion@entry=0x7b337c6eb263 "!term.isEmpty()", file=file@entry=0x7b337c6eb231 "./src/engine/document.cpp", line=line@entry=23) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:105 > #16 0x00007b337c6c15e2 in Baloo::Document::addPositionTerm (this=<optimized out>, term=..., position=<optimized out>) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/document.cpp:21 > #17 Baloo::Document::addPositionTerm (this=<optimized out>, term=..., position=<optimized out>) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/document.cpp:21 > #18 0x00007b337c6d75e6 in Baloo::TermGenerator::indexText (this=0x7ffe33f3c808, text=..., prefix=...) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/termgenerator.cpp:110 > #19 0x00007b337c6d76d4 in Baloo::TermGenerator::indexText (this=<optimized out>, text=...) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/termgenerator.cpp:51 > #20 0x00007b33761ea1f9 in KFileMetaData::PlainTextExtractor::extract (this=<optimized out>, result=0x7ffe33f3c780) at /usr/src/kf6-kfilemetadata-6.15.0-0zneon+24.04+noble+release+build23/src/extractors/plaintextextractor.cpp:119 I think it's worth adding a cross reference to Bug 506187 here but to be on firmer ground need to find out which file is causing trouble. In 506187 a UTF-16 file was the cause (a UTF-16 file that contained Chinese/Japanese scripts but that may not be a "necessary condition"). You should be able to follow what's being indexed by running "balooctl6 monitor" or by enabling logging and following the journal. You can set up logging by creating a "~/.config/QtProject/qtlogging.ini" file containing: [rules] kf.baloo=true kf.baloo.*=true kf.kfilemetadata=true and then restart Baloo, you might need: $ pkill baloo_file $ systemctl start --user kde-baloo If you are seeing the same issue, the good news is that it's not there in Neon Testing or Unstable. (In reply to tagwerk19 from comment #1) > (In reply to mashkal2000@gmail.com from comment #0) > > #15 0x00007b337bb100d1 in qt_assert (assertion=assertion@entry=0x7b337c6eb263 "!term.isEmpty()", file=file@entry=0x7b337c6eb231 "./src/engine/document.cpp", line=line@entry=23) at /usr/src/qt6-base-6.9.0-0zneon+24.04+noble+release+build112/src/corelib/global/qassert.cpp:105 > > #16 0x00007b337c6c15e2 in Baloo::Document::addPositionTerm (this=<optimized out>, term=..., position=<optimized out>) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/document.cpp:21 > > #17 Baloo::Document::addPositionTerm (this=<optimized out>, term=..., position=<optimized out>) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/document.cpp:21 > > #18 0x00007b337c6d75e6 in Baloo::TermGenerator::indexText (this=0x7ffe33f3c808, text=..., prefix=...) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/termgenerator.cpp:110 > > #19 0x00007b337c6d76d4 in Baloo::TermGenerator::indexText (this=<optimized out>, text=...) at /usr/src/kf6-baloo-6.15.0-0zneon+24.04+noble+release+build39/src/engine/termgenerator.cpp:51 > > #20 0x00007b33761ea1f9 in KFileMetaData::PlainTextExtractor::extract (this=<optimized out>, result=0x7ffe33f3c780) at /usr/src/kf6-kfilemetadata-6.15.0-0zneon+24.04+noble+release+build23/src/extractors/plaintextextractor.cpp:119 > I think it's worth adding a cross reference to Bug 506187 here but to be on > firmer ground need to find out which file is causing trouble. In 506187 a > UTF-16 file was the cause (a UTF-16 file that contained Chinese/Japanese > scripts but that may not be a "necessary condition"). > > You should be able to follow what's being indexed by running "balooctl6 > monitor" or by enabling logging and following the journal. > > You can set up logging by creating a "~/.config/QtProject/qtlogging.ini" > file containing: > > [rules] > kf.baloo=true > kf.baloo.*=true > kf.kfilemetadata=true > > and then restart Baloo, you might need: > > $ pkill baloo_file > $ systemctl start --user kde-baloo > > If you are seeing the same issue, the good news is that it's not there in > Neon Testing or Unstable. Thanks for the info. Looks like the same root cause here: alex@alex-z690mitxax ~> balooctl6 monitor Press ctrl+c to stop monitoring File indexer is running Indexing file content Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Doppel_Items_Quince.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_DefaultCustoms_Quince.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Doppel_Items_Quince.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_AttributePres.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_AttributePres.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_AttributePres.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_AttributePres.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_AttributePres.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_AttributePres.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Balance_Shopping.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Balance_Shopping.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Balance_Shopping.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Balance_Shopping.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Balance_Shopping.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Balance_Shopping.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_ClassMods.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_ClassMods.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_ClassMods.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_ClassMods.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_ClassMods.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_ClassMods.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Dialog_Player.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_DialogName.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_JackClone.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_QuincePackageDef.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Dialog_Player.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_DialogName.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_JackClone.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_QuincePackageDef.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Dialog_Player.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_DialogName.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_JackClone.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_QuincePackageDef.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Dialog_Player.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_DialogName.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_JackClone.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_QuincePackageDef.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_Dialog_Player.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_DialogName.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_JackClone.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_QuincePackageDef.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Quince_JackClone.JPN: Ok Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_QuincePackageDef.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Presence.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Presence.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Presence.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Presence.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Presence.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Presence.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Quince_Doppel_FreeEnterprise.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Quince_Doppel_FreeEnterprise.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Quince_Doppel_FreeEnterprise.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Quince_Doppel_FreeEnterprise.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Quince_Doppel_FreeEnterprise.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Quince_Doppel_FreeEnterprise.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Quince_Doppel_GreaterGood.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Quince_Doppel_GreaterGood.JPN Indexing: /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/Quince_Doppel_GreaterGood.JPN^C⏎ alex@alex-z690mitxax ~ [SIGINT]> pkill baloo_file alex@alex-z690mitxax ~> file /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Doppel_Items_Quince.JPN /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Doppel_Items_Quince.JPN: Unicode text, UTF-16, little-endian text, with CRLF line terminators alex@alex-z690mitxax ~> (In reply to mashkal2000@gmail.com from comment #2) > file /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Doppel_Items_Quince.JPN > /home/alex/Games/Heroic/BorderlandsThePreSequel/DLC/Quince/Compat/Localization/JPN/GD_Doppel_Items_Quince.JPN: Unicode text, UTF-16, little-endian text, with CRLF line terminators That's good to have confirmed even if *very strange*. Thank you. I don't know whether this would be an iption for you but you can convert to UTF-8 as per https://bugs.kde.org/show_bug.cgi?id=506187#c7 I will flag this as a duplicate of Bug 506187, particularly as you seem to be (guesswork!) dealing with Japanese. *** This bug has been marked as a duplicate of bug 506187 *** |