https://bugs.kde.org/show_bug.cgi?id=406868

            Bug ID: 406868
           Summary: baloo_file_extractor fails MTimeDB::del with
                    MDB_BAD_TXN, constant high CPU use
           Product: frameworks-baloo
           Version: 5.57.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Baloo File Daemon
          Assignee: baloo-bugs-n...@kde.org
          Reporter: a...@heyquark.com
  Target Milestone: ---

Created attachment 119620
  --> https://bugs.kde.org/attachment.cgi?id=119620&action=edit
screenshot from htop showing the large CPU and vmem use, as well as which
processes are responsible

SUMMARY
The baloo_file_extractor and tags.so [kdeinit5] processes on my machine seem to
be always running and using large (though not 100%) amounts of CPU, and a full
256G of vmem (htop screencap attached). The journald  logs are filled with the
following:

Apr 25 12:38:54 sylveon kdeinit5[1097]: (QUrl("tags:/"), QUrl("tags:/"))
Apr 25 12:38:54 sylveon kdeinit5[1097]: (QUrl("tags:/"), QUrl("tags:/"))
Apr 25 12:38:54 sylveon kdeinit5[1097]: ()

which repeats many, many times. It always follows the same pattern: 2 QUrls and
then an empty. The following messages are mixed in, then repeated many times
after the kdeinit5 messages stop:

Apr 25 12:38:55 sylveon baloo_file_extractor[1458]: org.kde.baloo.engine:
MTimeDB::del 0 3391499450514944 MDB_BAD_TXN: Transaction must abort, has a
child, or is invalid
Apr 25 12:38:55 sylveon baloo_file_extractor[1458]: org.kde.baloo.engine:
Transaction::commit MDB_BAD_TXN: Transaction must abort, has a child, or is
invalid

The transaction ID (I assume that's what the number starting in 33 is?) seems
to remain constant. After a few hundred of each message, they'll stop for
roughly 30 seconds, and then another batch come through.

STEPS TO REPRODUCE
I honestly don't know. I ran a full system update after the recent batch of KDE
Applications updates and now this happens every time I boot my machine - it was
working fine before. I'm happy to dump config files and databases and whatever
else is needed.

OBSERVED RESULT
baloo_file_extractor constantly uses large amounts of vmem and cpu, filling the
system logs with error messages

EXPECTED RESULT
baloo_file_extractor doesn't do that.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Antegros, kernel 5.0.9-arch1-1-ARCH
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.3

ADDITIONAL INFORMATION
This is my first time filing a bug with a large project like KDE, hopefully
this is okay! As I said before, more than happy to provide other information; I
really had no idea where to start with this.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to