SUMMARY Downloaded a Mi phone firmware file in zip format, around 4.6 Gib in size. Then moved it to the phone storage, like in tens seconds after file downloaded. Got the first baloo_file_extractor crash and then kept getting them until I restored the index file from backup. (Not copied the firmware file, moved it, what can be the cause of the crash, but not for the database damage in my opinion - until the file is indexed completely there should be nothing written to index file. If the file is deleted during indexing baloo_file_extractor should not crash. Is it keeping lock on it during indexing?) SOFTWARE/OS VERSIONS Operating System: Gentoo Linux 2.14 KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.113.0 Qt Version: 5.15.12 Kernel Version: 6.7.0-gentoo (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 3800X 8-Core Processor Memory: 62.7 GiB of RAM Graphics Processor: AMD Radeon RX 580 Series Manufacturer: Gigabyte Technology Co., Ltd. Product Name: X570 AORUS ELITE System Version: -CF ADDITIONAL INFORMATION mdb_copy -n -c index stated on that broken file that: mdb.c:5966: Assertion 'IS_LEAF(mp)' failed in mdb_cursor_next(). Application: Extraktor souborů Baloo (baloo_file_extractor), signal: Segmentation fault Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0} [KCrash Handler] #6 0x00007f16c4ef8af3 in mdb_midl_xmerge (idl=idl@entry=0x7ed0615fd018, merge=merge@entry=0x7edf7d684010) at midl.c:207 #7 0x00007f16c4eefd87 in mdb_page_alloc (num=num@entry=22071, mp=mp@entry=0x7ffed82c6ae0, mc=0x7ffed82c6c60) at mdb.c:2306 #8 0x00007f16c4ef2048 in mdb_page_new (mp=<synthetic pointer>, num=22071, flags=4, mc=0x7ffed82c6c60) at mdb.c:7223 #9 mdb_node_add (mc=mc@entry=0x7ffed82c6c60, indx=<optimized out>, key=key@entry=0x7ffed82c7050, data=0x7ffed82c7060, pgno=pgno@entry=0, flags=0) at mdb.c:7365 #10 0x00007f16c4ef57a9 in mdb_cursor_put (mc=mc@entry=0x7ffed82c6c60, key=key@entry=0x7ffed82c7050, data=data@entry=0x7ffed82c7060, flags=flags@entry=0) at mdb.c:6990 #11 0x00007f16c4ef7f91 in mdb_put (txn=0x5628ea4ff320, dbi=<optimized out>, key=0x7ffed82c7050, data=0x7ffed82c7060, flags=0) at mdb.c:9079 #12 0x00007f16c61b68ab in Baloo::PositionDB::put (this=this@entry=0x7ffed82c7150, term=..., list=...) at /var/tmp/portage/kde-frameworks/baloo-5.113.0/work/baloo-5.113.0/src/engine/positiondb.cpp:68 #13 0x00007f16c61c6b35 in Baloo::WriteTransaction::commit (this=<optimized out>) at /var/tmp/portage/kde-frameworks/baloo-5.113.0/work/baloo-5.113.0/src/engine/writetransaction.cpp:335 #14 0x00007f16c61bee2f in Baloo::Transaction::commit (this=0x5628ea4ed6a0) at /var/tmp/portage/kde-frameworks/baloo-5.113.0/work/baloo-5.113.0/src/engine/transaction.cpp:285 #15 0x00005628e8d882ac in Baloo::App::processNextFile (this=0x7ffed82c7690) at /var/tmp/portage/kde-frameworks/baloo-5.113.0/work/baloo-5.113.0/src/file/extractor/app.cpp:107 #16 0x00007f16c58204c2 in QtPrivate::QSlotObjectBase::call (a=0x7ffed82c7280, r=<optimized out>, this=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #17 QSingleShotTimer::timerEvent (this=0x5628ea5a21a0) at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/src/corelib/kernel/qtimer.cpp:322 #18 0x00007f16c5813f1b in QObject::event (this=0x5628ea5a21a0, e=0x7ffed82c73b0) at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/src/corelib/kernel/qobject.cpp:1369 #19 0x00007f16c57e8f58 in QCoreApplication::notifyInternal2 (receiver=0x5628ea5a21a0, event=0x7ffed82c73b0) at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/src/corelib/kernel/qcoreapplication.cpp:1064 #20 0x00007f16c57e914e in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/src/corelib/kernel/qcoreapplication.cpp:1462 #21 0x00007f16c5839eb9 in QTimerInfoList::activateTimers (this=0x5628ea4c8a60) at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/src/corelib/kernel/qtimerinfo_unix.cpp:643 #22 0x00007f16c583a7c1 in timerSourceDispatch (source=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/src/corelib/kernel/qeventdispatcher_glib.cpp:183 #23 idleTimerSourceDispatch (source=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/src/corelib/kernel/qeventdispatcher_glib.cpp:230 #24 0x00007f16c45d2d52 in g_main_dispatch (context=context@entry=0x7f16bc000ec0) at ../glib-2.78.3/glib/gmain.c:3476 #25 0x00007f16c45d5f07 in g_main_context_dispatch_unlocked (context=0x7f16bc000ec0) at ../glib-2.78.3/glib/gmain.c:4284 #26 g_main_context_iterate_unlocked (context=context@entry=0x7f16bc000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.78.3/glib/gmain.c:4349 #27 0x00007f16c45d652c in g_main_context_iteration (context=0x7f16bc000ec0, may_block=1) at ../glib-2.78.3/glib/gmain.c:4414 #28 0x00007f16c583ab16 in QEventDispatcherGlib::processEvents (this=0x5628ea4c5ce0, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #29 0x00007f16c57e797b in QEventLoop::exec (this=this@entry=0x7ffed82c75f0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/include/QtCore/../../src/corelib/global/qflags.h:69 #30 0x00007f16c57efc7d in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.11-r1/work/qtbase-everywhere-src-5.15.11/include/QtCore/../../src/corelib/global/qflags.h:121 #31 0x00007f16c5bd4eec in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtgui-5.15.11-r2/work/qtbase-everywhere-src-5.15.11/src/gui/kernel/qguiapplication.cpp:1870 #32 0x00005628e8d86440 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-frameworks/baloo-5.113.0/work/baloo-5.113.0/src/file/extractor/main.cpp:43 [Inferior 1 (process 18611) detached]
*** This bug has been marked as a duplicate of bug 475695 ***