Created attachment 150020 [details] A crash report generated by Dr. Konqi. SUMMARY The crash of baloo_file was reported after I logged into a new Gnome session (crash log attached). STEPS TO REPRODUCE Unknown. OBSERVED RESULT baloo_file crashed. EXPECTED RESULT No crash. SOFTWARE/OS VERSIONS Linux/KDE Plasma KDE Plasma Version: 5.25.0 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION Before I logged into a new Gnome session, the session crashed (bringing me back to the login screen). Then I logged back in, but was notified about the crash of baloo_file. Because of another issue I purged the baloo database a few days ago.
[KCrash Handler] #4 0x00007fd1b904e6bc in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x00007fd1b8ffb6f6 in raise () from /lib64/libc.so.6 #6 0x00007fd1b8fe4814 in abort () from /lib64/libc.so.6 #7 0x00007fd1b84a51e3 in mdb_assert_fail.constprop.0 (env=0x55ce5d03a0a0, expr_txt=<optimized out>, func=<optimized out>, line=<optimized out>, file=0x7fd1b84a69b0 "mdb.c") at /usr/src/debug/lmdb-0.9.29-1.7.x86_64/libraries/liblmdb/mdb.c:1545 #8 0x00007fd1b849a4a9 in mdb_cursor_next (mc=0x7fff52044a00, key=0x7fff520449e0, data=data@entry=0x0, op=MDB_NEXT) at /usr/src/debug/lmdb-0.9.29-1.7.x86_64/libraries/liblmdb/mdb.c:5940 #9 0x00007fd1b849aec8 in mdb_cursor_get (mc=0x7fff52044a00, key=<optimized out>, data=0x0, op=<optimized out>) at /usr/src/debug/lmdb-0.9.29-1.7.x86_64/libraries/liblmdb/mdb.c:6454 #10 0x00007fd1b84a2239 in mdb_page_alloc.isra.0 (num=74, mp=0x7fff52044c00, mc=<optimized out>) at /usr/src/debug/lmdb-0.9.29-1.7.x86_64/libraries/liblmdb/mdb.c:2239 #11 0x00007fd1b8497403 in mdb_page_new (mp=<synthetic pointer>, num=74, flags=4, mc=0x7fff52044d80) at /usr/src/debug/lmdb-0.9.29-1.7.x86_64/libraries/liblmdb/mdb.c:7193 #12 mdb_node_add (mc=mc@entry=0x7fff52044d80, indx=<optimized out>, key=key@entry=0x7fff52045160, data=0x7fff52045150, pgno=pgno@entry=0, flags=0) at /usr/src/debug/lmdb-0.9.29-1.7.x86_64/libraries/liblmdb/mdb.c:7335 #13 0x00007fd1b849e759 in mdb_cursor_put (mc=mc@entry=0x7fff52044d80, key=key@entry=0x7fff52045160, data=data@entry=0x7fff52045150, flags=flags@entry=0) at /usr/src/debug/lmdb-0.9.29-1.7.x86_64/libraries/liblmdb/mdb.c:6960 #14 0x00007fd1b849f227 in mdb_put (txn=0x55ce5d03b4a0, dbi=2, key=0x7fff52045160, data=0x7fff52045150, flags=0) at /usr/src/debug/lmdb-0.9.29-1.7.x86_64/libraries/liblmdb/mdb.c:9045 #15 0x00007fd1b9abe11d in Baloo::PostingDB::put (this=0x7fff52045260, term=..., list=...) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/src/engine/postingdb.cpp:67 #16 0x00007fd1b9acc177 in Baloo::WriteTransaction::commit (this=<optimized out>) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/src/engine/writetransaction.cpp:312 #17 0x00007fd1b9ac0ec9 in Baloo::Transaction::commit (this=this@entry=0x7fff52045340) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/src/engine/transaction.cpp:272 #18 0x000055ce5ce54aa8 in Baloo::MetadataMover::removeFileMetadata (this=0x55ce5d03b9b0, file=...) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/src/file/metadatamover.cpp:53 #19 0x00007fd1b97fab3f in QtPrivate::QSlotObjectBase::call (a=0x7fff520454a0, r=0x55ce5d03b9b0, this=0x55ce5d02f7c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #20 doActivate<false> (sender=0x55ce5d039e60, signal_index=6, argv=0x7fff520454a0) at kernel/qobject.cpp:3886 #21 0x00007fd1b97f3eff in QMetaObject::activate (sender=sender@entry=0x55ce5d039e60, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff520454a0) at kernel/qobject.cpp:3946 #22 0x000055ce5ce531f0 in Baloo::PendingFileQueue::removeFileIndex (_t1=..., this=0x55ce5d039e60) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/build/src/file/baloofilecommon_autogen/EWIEGA46WW/moc_pendingfilequeue.cpp:228 #23 Baloo::PendingFileQueue::enqueue (this=0x55ce5d039e60, file=...) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/src/file/pendingfilequeue.cpp:68 #24 0x000055ce5ce550ea in Baloo::FileWatch::slotFileMoved (urlTo=..., urlFrom=..., this=0x7fff52045d30) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/src/file/filewatch.cpp:89 #25 Baloo::FileWatch::slotFileMoved (this=0x7fff52045d30, urlFrom=..., urlTo=...) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/src/file/filewatch.cpp:74 #26 0x00007fd1b97fab3f in QtPrivate::QSlotObjectBase::call (a=0x7fff52045750, r=0x7fff52045d30, this=0x55ce5d01f080) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #27 doActivate<false> (sender=0x55ce5d03c0d0, signal_index=10, argv=0x7fff52045750) at kernel/qobject.cpp:3886 #28 0x00007fd1b97f3eff in QMetaObject::activate (sender=sender@entry=0x55ce5d03c0d0, m=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff52045750) at kernel/qobject.cpp:3946 #29 0x000055ce5ce5c3f2 in KInotify::moved (_t2=..., _t1=..., this=0x55ce5d03c0d0) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:348 #30 KInotify::slotEvent (this=0x55ce5d03c0d0, socket=<optimized out>) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/src/file/kinotify.cpp:443 #31 0x00007fd1b97fab3f in QtPrivate::QSlotObjectBase::call (a=0x7fff52045880, r=0x55ce5d03c0d0, this=0x55ce5d08c5e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #32 doActivate<false> (sender=0x55ce5d0975a0, signal_index=3, argv=0x7fff52045880) at kernel/qobject.cpp:3886 #33 0x00007fd1b97f3eff in QMetaObject::activate (sender=sender@entry=0x55ce5d0975a0, m=m@entry=0x7fd1b9a98880, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff52045880) at kernel/qobject.cpp:3946 #34 0x00007fd1b97fdcbf in QSocketNotifier::activated (this=this@entry=0x55ce5d0975a0, _t1=..., _t2=<optimized out>, _t3=...) at .moc/moc_qsocketnotifier.cpp:178 #35 0x00007fd1b97fe4c5 in QSocketNotifier::event (this=0x55ce5d0975a0, e=<optimized out>) at kernel/qsocketnotifier.cpp:302 #36 0x00007fd1b97c3cbd in doNotify (event=0x7fff52045950, receiver=0x55ce5d0975a0) at kernel/qcoreapplication.cpp:1154 #37 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1140 #38 QCoreApplication::notifyInternal2 (receiver=0x55ce5d0975a0, event=0x7fff52045950) at kernel/qcoreapplication.cpp:1064 #39 0x00007fd1b981bbed in socketNotifierSourceDispatch (source=0x55ce5d020780) at kernel/qeventdispatcher_glib.cpp:107 #40 0x00007fd1b7c1bea0 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #41 0x00007fd1b7c1c258 in ?? () from /lib64/libglib-2.0.so.0 #42 0x00007fd1b7c1c2ec in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #43 0x00007fd1b981b106 in QEventDispatcherGlib::processEvents (this=0x55ce5d01da80, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #44 0x00007fd1b97c275b in QEventLoop::exec (this=this@entry=0x7fff52045b60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #45 0x00007fd1b97ca8c6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #46 0x000055ce5ce432d8 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.95.0-1.1.x86_64/src/file/main.cpp:78 [Inferior 1 (process 6673) detached]
We try to not delete the lock file now, perhaps this was just the result of a race condition because of the old lock file deletion. *** This bug has been marked as a duplicate of bug 389848 ***