Baloo_file keeps crashing

baloo_file keeps crashing since the last stable update 2020-12-30. For sure at each system start and sometimes in between, but I didn’t find the exact pattern here.

Dez 31 01:48:23 wst systemd-coredump[2192]: Process 1814 (baloo_file) of user 1000 dumped core.
Subject: Speicherabbild für Prozess 1814 (baloo_file) generiert
Process 1814 (baloo_file) of user 1000 dumped core.

Stack trace of thread 2190:
#0  0x00007f98014c0396 n/a (liblmdb.so + 0x4396)
#1  0x00007f98014c2efe n/a (liblmdb.so + 0x6efe)
#2  0x00007f98014c3644 n/a (liblmdb.so + 0x7644)
#3  0x00007f98014c3c50 mdb_get (liblmdb.so + 0x7c50)
#4  0x00007f980299a2a5 _ZN5Baloo12IdFilenameDB3getEy (libKF5BalooEngine.so.5 + 0x152a5)
#5  0x00007f98029942fc _ZNK5Baloo13DocumentUrlDB3getEy (libKF5BalooEngine.so.5 + 0xf2fc)
#6  0x00007f98029a5085 _ZNK5Baloo11Transaction11documentUrlEy (libKF5BalooEngine.so.5 + 0x20085)
#7  0x000055c178d5f8e4 n/a (baloo_file + 0x1d8e4)
#8  0x00007f98029ac4ff _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x274ff)
#9  0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#10 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#11 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#12 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#13 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#14 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#15 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#16 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#17 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#18 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#19 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#20 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#21 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#22 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#23 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#24 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#25 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#26 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#27 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#28 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#29 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#30 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#31 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#32 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#33 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#34 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#35 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#36 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#37 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#38 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#39 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#40 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#41 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#42 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#43 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#44 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#45 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#46 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#47 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#48 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#49 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#50 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#51 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#52 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#53 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#54 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#55 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#56 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#57 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#58 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#59 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#60 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#61 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#62 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)
#63 0x00007f98029ac557 _ZN5Baloo16WriteTransaction17removeRecursivelyEyRKSt8functionIFbyEE (libKF5BalooEngine.so.5 + 0x27557)

Stack trace of thread 1830:
#0  0x00007f9802039c96 pselect (libc.so.6 + 0xf7c96)
#1  0x00007f9800750524 n/a (libusbmuxd-2.0.so.6 + 0x2524)
#2  0x00007f98007518a9 n/a (libusbmuxd-2.0.so.6 + 0x38a9)
#3  0x00007f98015323e9 start_thread (libpthread.so.0 + 0x93e9)
#4  0x00007f9802042293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 1829:
#0  0x00007f980203746f __poll (libc.so.6 + 0xf546f)
#1  0x00007f9800cf993f n/a (libglib-2.0.so.0 + 0xa693f)
#2  0x00007f9800ca42b1 g_main_context_iteration (libglib-2.0.so.0 + 0x512b1)
#3  0x00007f980273c6e1 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30e6e1)
#4  0x00007f98026e23fc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b43fc)
#5  0x00007f98024fad22 _ZN7QThread4execEv (libQt5Core.so.5 + 0xccd22)
#6  0x00007f98029d0098 n/a (libQt5DBus.so.5 + 0x17098)
#7  0x00007f98024fbf0f n/a (libQt5Core.so.5 + 0xcdf0f)
#8  0x00007f98015323e9 start_thread (libpthread.so.0 + 0x93e9)
#9  0x00007f9802042293 __clone (libc.so.6 + 0x100293)

Stack trace of thread 1814:
#0  0x00007f980203746f __poll (libc.so.6 + 0xf546f)
#1  0x00007f9800cf993f n/a (libglib-2.0.so.0 + 0xa693f)
#2  0x00007f9800ca42b1 g_main_context_iteration (libglib-2.0.so.0 + 0x512b1)
#3  0x00007f980273c6e1 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x30e6e1)
#4  0x00007f98026e23fc _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b43fc)
#5  0x00007f98026ea894 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2bc894)
#6  0x000055c178d4f2b4 n/a (baloo_file + 0xd2b4)
#7  0x00007f9801f6a152 __libc_start_main (libc.so.6 + 0x28152)
#8  0x000055c178d4f4be n/a (baloo_file + 0xd4be)

I have tried to purge the index several times, enabling/disabling the service, but that didn’t fixed it in the end. Search results based on the index are ok though. Someone on the arch bug tracker had the exact same error (Nr. 69144, not allowed to post links yet) yesterday, but it was closed as duplicate and I didn’t find something enlightend in the original bug report.

2 Likes

Same problem here and here, although for me it doesn’t crash but just returns no results.
It seems it instead shows empty lines for everything it would have found.

baloosearch 2020-12-31




Elapsed: 18,9863 msecs
baloosearch 2020-12-31gz8sdgh78d
Elapsed: 18,8853 msecs
Indexer state: Idle
Total files indexed: 37.025
Files waiting for content indexing: 0
Files failed to index: 0
Current size of index is 407,64 MiB

Have the “same” problem" as you, found here. I have begun using ksearch (Alt+space) until this problem is resolved.

Same problem, baloo isn’t working. I could solve it temporarily yesterday after tinkering but it will stop to work again, maybe when you restart the system.
The temporary procedure is:

this

balooctl disable
balooctl purge
systemctl reboot
balooctl enable
balooctl monitor

The last one is optional, but you can tell when it finishes. If it doesn’t work try again. I did it a couple of times.

1 Like

I found a bug report on the KDE bug tracker saying that this will be fixed with KDE Frameworks 5.78.

1 Like

Thank you. I have solved the same problem.

I updated to KDE Frameworks 5.78 with latest stable, purged an rebuilded the index. Haven’t had a crash yet.

i still have those errors on shutdown and startup.
sometimes it affects the time it takes to shutdown.

Do you happen to have a link to that?

i managed to fix it for the time being with these commands:

$ balooctl disable
$ balooctl purge
$ balooctl enable
1 Like

Sorry, can’t find it no more. KDEs bug tracker is kind of oldschool.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.