| Summary: | Baloo file extractor keeps crashing | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | Aurélien Bertron <aurelienbertron> |
| Component: | Baloo File Daemon | Assignee: | baloo-bugs-null |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | crash | CC: | gberdan, tagwerk19 |
| Priority: | NOR | Keywords: | drkonqi |
| Version First Reported In: | 6.14.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | https://crash-reports.kde.org/organizations/kde/issues/197559/events/3ea351b2c5604f29a2a6894edc80c95d/ | ||
| Attachments: |
New crash information added by DrKonqi
attachment-1878597-0.html |
||
Created attachment 183940 [details]
New crash information added by DrKonqi
baloo_file_extractor (5.115.0) using Qt 5.15.13
Literally doing nothing with Obsidian open. I had been doing some light markdown editing. Baloo file extractor failure pops up. Im not extracting any files. No barckground updates, nothing that seems as if it would actually need a file extractor. Earlier I had updated a couple of plugins. I have both disabled and the error continues. Happens again after rebooting. Error returns after seecting restart of Baloo.
-- Backtrace (Reduced):
#6 0x00007c7be93adabf in Baloo::PositionDB::get(QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#7 0x00007c7be93bb627 in Baloo::WriteTransaction::commit() () from /lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#8 0x00007c7be93b0ef1 in Baloo::Transaction::commit() () from /lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
[...]
#11 0x00007c7be870624b in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007c7be86d8118 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
(In reply to Greg Berdan from comment #1) > Literally doing nothing with Obsidian open. I had been doing some light > markdown editing. Baloo file extractor failure pops up. Im not extracting > any files. No barckground updates, nothing that seems as if it would > actually need a file extractor. Earlier I had updated a couple of plugins. I > have both disabled and the error continues. Happens again after rebooting. > Error returns after seecting restart of Baloo. It's quite possible that Baloo is indexing the working file, you edit it, it gets changed on disk, Baloo indexes it. More likely is your are indexing hidden files and folders as working files are often hidden. For example, you get a ".my-file.swp" when editing with vi and Baloo has been configured to ignore "*.swp". You'd need to check if Obsidian creates working copies of its files when editing and what naming scheme it uses. (In reply to Greg Berdan from comment #1) > baloo_file_extractor (5.115.0) using Qt 5.15.13 This is now a bit old and there was a fix in April 2024 that caught a lot of the database corruption issues. Prior to this there was a slow but steady stream of reports, after the fix that's more or less stopped. Frameworks 5.115 was released February 2024... In this instance, your short term fix is to purge the index and reindex clean ("balooctl purge" or maybe with "balooctl6", close down Baloo with "systemctl stop --user kde-baloo" first) Created attachment 183954 [details] attachment-1878597-0.html Already went through the procedure to kill Baloo, because it was instantly in a failed state right at start up. Used AI to find the solution and followed the steps to purge and rebuild. Worked perfectly. The shutdown app purge and rebuild steps should not be such a hidden secret. Thanks for the response. I don't think I've ever received a response to a bug report before. One other note, The file I was working on in Obsidian had been updated the night before by the original author. I migrated the changes he made and it reorganized a bunch of the sub directories. Nothing in the Baloo details specifically mentioned Obsidian, but the only times I would get the alert was after obsidian had been open for a few minutes. Greg Berdan On Sun, Aug 10, 2025, 23:44 <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=505520 > > tagwerk19@innerjoin.org changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Resolution|--- |FIXED > Status|REPORTED |NEEDSINFO > > --- Comment #2 from tagwerk19@innerjoin.org --- > (In reply to Greg Berdan from comment #1) > > Literally doing nothing with Obsidian open. I had been doing some light > > markdown editing. Baloo file extractor failure pops up. Im not extracting > > any files. No barckground updates, nothing that seems as if it would > > actually need a file extractor. Earlier I had updated a couple of > plugins. I > > have both disabled and the error continues. Happens again after > rebooting. > > Error returns after seecting restart of Baloo. > > It's quite possible that Baloo is indexing the working file, you edit it, > it > gets changed on disk, Baloo indexes it. More likely is your are indexing > hidden > files and folders as working files are often hidden. For example, you get a > ".my-file.swp" when editing with vi and Baloo has been configured to ignore > "*.swp". You'd need to check if Obsidian creates working copies of its > files > when editing and what naming scheme it uses. > > (In reply to Greg Berdan from comment #1) > > baloo_file_extractor (5.115.0) using Qt 5.15.13 > > This is now a bit old and there was a fix in April 2024 that caught a lot > of > the database corruption issues. Prior to this there was a slow but steady > stream of reports, after the fix that's more or less stopped. Frameworks > 5.115 > was released February 2024... > > In this instance, your short term fix is to purge the index and reindex > clean > ("balooctl purge" or maybe with "balooctl6", close down Baloo with > "systemctl > stop --user kde-baloo" first) > > -- > You are receiving this mail because: > You are on the CC list for the bug. On 11/08/2025 17:05, Greg Berdan wrote: > Already went through the procedure to kill Baloo, because it was instantly > in a failed state right at start up. Used AI to find the solution and > followed the steps to purge and rebuild. Worked perfectly. The shutdown app > purge and rebuild steps should not be such a hidden secret. There was a time that a Baloo "purge and reindex" was treated with the same reverence as "turn it off and on again". I assume it's good news that that advice is disappearing into history :-) > ... Thanks for the > response. I don't think I've ever received a response to a bug report > before ... Yes, we need more people triaging, it is a mix of understanding an app and understanding people when they have trouble with it 8-/ All the same, I'll say "It's part of the service" :-) > One other note, The file I was working on in Obsidian had been > updated the night before by the original author. I migrated the changes he > made and it reorganized a bunch of the sub directories. Nothing in the > Baloo details specifically mentioned Obsidian, but the only times I would > get the alert was after obsidian had been open for a few minutes. You can run "balooctl monitor" (or maybe "balooctl6 monitor"), that will show you what files Baloo is indexing. Renaming folders and moving files should not cause problems but Baloo may slow down if you delete large folders. I don't know whether there might be issues when Baloo (that watches for changes on the filesystem) is indexing a folder that is sync'd (that may also be watching for changes). 🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone! 🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME. |
Application: baloo_file_extractor (6.14.0) ApplicationNotResponding [ANR]: false Qt Version: 6.9.1 Frameworks Version: 6.14.0 Operating System: Linux 6.12.33-1-lts x86_64 Windowing System: Wayland Distribution: "Arch Linux" DrKonqi: 6.3.5 [KCrashBackend] -- Information about the crash: I was not doing anything special and Baloo file extractor kept crashing. The crash can be reproduced every time. -- Backtrace: Application: Baloo File Extractor (baloo_file_extractor), signal: Aborted Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0} [KCrash Handler] #7 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #8 0x000070aa77aa7813 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89 #9 0x000070aa77a4ddc0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #10 0x000070aa77a3557a in __GI_abort () at abort.c:73 #11 0x000070aa77f0f97c in mdb_assert_fail.constprop.0 (env=0x654900040ba0, expr_txt=<optimized out>, func=<optimized out>, line=<optimized out>, file=0x70aa77f1d7ed "mdb.c") at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:1588 #12 0x000070aa77f0dde0 in mdb_page_dirty (txn=<optimized out>, mp=<optimized out>) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:2172 #13 mdb_page_dirty (txn=0x6549000801e0, mp=<optimized out>) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:2172 #14 0x000070aa77f1cb2d in mdb_page_alloc.isra.0 (num=<optimized out>, mp=0x7ffe29c4fae0, mc=<optimized out>) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:2366 #15 0x000070aa77f10e53 in mdb_page_new (mc=0x7ffe29c4fd70, flags=4, num=1, mp=<synthetic pointer>) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:7288 #16 mdb_node_add (mc=mc@entry=0x7ffe29c4fd70, indx=<optimized out>, key=key@entry=0x7ffe29c4fcc0, data=0x7ffe29c4fcd0, pgno=pgno@entry=0, flags=65536) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:7430 #17 0x000070aa77f18a39 in _mdb_cursor_put (mc=mc@entry=0x7ffe29c4fd70, key=key@entry=0x7ffe29c4fcc0, data=data@entry=0x7ffe29c4fcd0, flags=flags@entry=65536) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:7034 #18 0x000070aa77f1ae7d in mdb_freelist_save (txn=0x6549000801e0) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:3296 #19 _mdb_txn_commit (txn=0x6549000801e0) at /usr/src/debug/lmdb/openldap/libraries/liblmdb/mdb.c:3714 #20 0x000070aa792dbde8 in Baloo::Transaction::commit (this=0x654900069770) at /usr/src/debug/baloo/baloo-6.14.0/src/engine/transaction.cpp:288 #21 0x00006548c425a46d in Baloo::App::processNextFile (this=0x7ffe29c50640) at /usr/include/c++/15.1.1/bits/unique_ptr.h:193 #22 0x000070aa781d37ef in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461 #23 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4146 #24 0x000070aa781d9f22 in QSingleShotTimer::timeout (this=0x654900119c40) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qsingleshottimer_p.cpp:116 #25 QSingleShotTimer::timerFinished (this=0x654900119c40) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qsingleshottimer.cpp:62 #26 QSingleShotTimer::timerEvent (this=0x654900119c40, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qsingleshottimer.cpp:84 #27 0x000070aa781c0dd6 in QObject::event (this=<optimized out>, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:1406 #28 0x000070aa78168118 in QCoreApplication::notifyInternal2 (receiver=0x654900119c40, event=0x7ffe29c50270) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1106 #29 0x000070aa7831bc6f in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7ffe29c50270) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1546 #30 QTimerInfoList::activateTimers (this=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qtimerinfo_unix.cpp:426 #31 0x000070aa7843fcb1 in timerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:152 #32 idleTimerSourceDispatch (source=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:199 #33 0x000070aa7778787d in g_main_dispatch (context=0x70aa6c000f00) at ../glib/glib/gmain.c:3398 #34 0x000070aa77788cd7 in g_main_context_dispatch_unlocked (context=0x70aa6c000f00) at ../glib/glib/gmain.c:4249 #35 g_main_context_iterate_unlocked (context=context@entry=0x70aa6c000f00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4314 #36 0x000070aa77788ee5 in g_main_context_iteration (context=0x70aa6c000f00, may_block=1) at ../glib/glib/gmain.c:4379 #37 0x000070aa7843c5e2 in QEventDispatcherGlib::processEvents (this=0x65490002e480, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:399 #38 0x000070aa781744b6 in QEventLoop::processEvents (this=0x7ffe29c50540, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:104 #39 QEventLoop::exec (this=0x7ffe29c50540, flags=...) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:186 #40 0x000070aa7816c7c1 in QCoreApplication::exec () at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1449 #41 0x00006548c424f466 in main (argc=<optimized out>, argv=0x7ffe29c508f8) at /usr/src/debug/baloo/baloo-6.14.0/src/file/extractor/main.cpp:43 [Inferior 1 (process 5165) detached] Reported using DrKonqi