Bug 425484 - baloo_file crashes in Baloo::UnindexedFileIndexer::run() on session start
Summary: baloo_file crashes in Baloo::UnindexedFileIndexer::run() on session start
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.72.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-18 08:07 UTC by eseifert
Modified: 2020-08-21 15:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eseifert 2020-08-18 08:07:10 UTC
SUMMARY

Everytime I startup the Plasma session on my Gentoo Linux system I get a crash report for application baloo_file.

STEPS TO REPRODUCE
1. Start the Plasma session

OBSERVED RESULT
There is a crash report for baloo_file in the system tray.

EXPECTED RESULT
baloo_file should not crash

SOFTWARE/OS VERSIONS
Linux: Linux 5.8.1-gentoo
(available in About System)
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.72.0 
Qt Version: 5.15.0

ADDITIONAL INFORMATION

The same problem happens with Frameworks Version 0.73.0.

-- Backtrace:
Application: baloo_file (baloo_file), signal: Aborted

[KCrash Handler]
#4  0x00007f314052e7d1 in raise () from /lib64/libc.so.6
#5  0x00007f314051855b in abort () from /lib64/libc.so.6
#6  0x00007f313fa4e843 in mdb_assert_fail (env=0x560f71225200, expr_txt=expr_txt@entry=0x7f313fa5102f "rc == 0", func=func@entry=0x7f313fa51978 <__func__.7717> "mdb_page_dirty", line=line@entry=2127, file=0x7f313fa51010 "mdb.c") at mdb.c:1542
#7  0x00007f313fa43495 in mdb_page_dirty (mp=<optimized out>, txn=0x560f7123dc30) at mdb.c:2114
#8  mdb_page_dirty (txn=0x560f7123dc30, mp=<optimized out>) at mdb.c:2114
#9  0x00007f313fa44736 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f313b995e38, mc=<optimized out>) at mdb.c:2308
#10 0x00007f313fa44973 in mdb_page_touch (mc=mc@entry=0x7f313b996370) at mdb.c:2495
#11 0x00007f313fa4659c in mdb_cursor_touch (mc=mc@entry=0x7f313b996370) at mdb.c:6523
#12 0x00007f313fa49743 in mdb_cursor_put (mc=mc@entry=0x7f313b996370, key=key@entry=0x7f313b996760, data=data@entry=0x7f313b996770, flags=flags@entry=0) at mdb.c:6657
#13 0x00007f313fa4c59b in mdb_put (txn=0x560f7123dc30, dbi=8, key=key@entry=0x7f313b996760, data=data@entry=0x7f313b996770, flags=flags@entry=0) at mdb.c:9022
#14 0x00007f3140fdcfca in Baloo::IdFilenameDB::put (this=this@entry=0x7f313b996810, docId=<optimized out>, docId@entry=122526921509568537, path=...) at /var/tmp/portage/kde-frameworks/baloo-5.72.0/work/baloo-5.72.0/src/engine/idfilenamedb.cpp:79
#15 0x00007f3140fd3418 in Baloo::DocumentUrlDB::add (this=this@entry=0x7f313b996a90, id=id@entry=122526921509568537, parentId=parentId@entry=122390191225700377, name=...) at /var/tmp/portage/kde-frameworks/baloo-5.72.0/work/baloo-5.72.0/src/engine/documenturldb.cpp:140
#16 0x00007f3140fd3679 in Baloo::DocumentUrlDB::put (this=this@entry=0x7f313b996a90, docId=docId@entry=122526921509568537, url=...) at /var/tmp/portage/kde-frameworks/baloo-5.72.0/work/baloo-5.72.0/src/engine/documenturldb.cpp:75
#17 0x00007f3140ffbdcf in Baloo::WriteTransaction::addDocument (this=0x7ef12c004e10, doc=...) at /var/tmp/portage/kde-frameworks/baloo-5.72.0/work/baloo-5.72.0/src/engine/writetransaction.cpp:57
#18 0x00007f3140fef533 in Baloo::Transaction::addDocument (this=this@entry=0x7f313b996be0, doc=...) at /var/tmp/portage/kde-frameworks/baloo-5.72.0/work/baloo-5.72.0/src/engine/transaction.cpp:247
#19 0x0000560f70e07ecc in Baloo::UnindexedFileIndexer::run (this=0x560f7164c7e0) at /usr/include/qt5/QtCore/qrefcount.h:60
#20 0x00007f3140b2f7c3 in QThreadPoolThread::run (this=0x560f7159fc60) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/thread/qthreadpool.cpp:99
#21 0x00007f3140b2c66b in QThreadPrivate::start (arg=0x560f7159fc60) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/thread/qthread_unix.cpp:342
#22 0x00007f313faa8fa7 in start_thread () from /lib64/libpthread.so.0
#23 0x00007f31405efdbf in clone () from /lib64/libc.so.6

#1  0x00007f313f30fa5e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f313f30fb7f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3140d3269b in QEventDispatcherGlib::processEvents (this=0x7f3134000b60, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f3140cdbe63 in QEventLoop::exec (this=this@entry=0x7f313c499d20, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/include/QtCore/../../src/corelib/global/qflags.h:141
#5  0x00007f3140b2b61e in QThread::exec (this=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x00007f3141023508 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f3140b2c66b in QThreadPrivate::start (arg=0x7f31410a5d80) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/thread/qthread_unix.cpp:342
#8  0x00007f313faa8fa7 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f31405efdbf in clone () from /lib64/libc.so.6

#1  0x00007f3140c806db in QFileSystemEngine::<lambda(QFileSystemMetaData::MetaDataFlag, int)>::operator() (mode=<optimized out>, flag=<optimized out>, __closure=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/include/QtCore/../../src/corelib/tools/qarraydata.h:208
#2  QFileSystemEngine::fillMetaData (entry=..., data=..., what=..., what@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/io/qfilesystemengine_unix.cpp:1004
#5  QFileInfo::isReadable (this=this@entry=0x7ffdb55d6e40) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/io/qfileinfo.cpp:919
#6  0x00007f3140c1ca82 in QDirIteratorPrivate::matchesFilters (this=0x560f7146c5e0, fileName=..., fi=...) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/io/qdiriterator.cpp:412
#7  0x00007f3140c1da49 in QDirIteratorPrivate::entryMatches (fileInfo=..., fileName=..., this=0x560f7146c5e0) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/io/qdiriterator.cpp:238
#8  QDirIteratorPrivate::advance (this=0x560f7146c5e0) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/io/qdiriterator.cpp:278
#9  0x00007f3140c1e128 in QDirIteratorPrivate::QDirIteratorPrivate (this=0x560f7146c5e0, entry=..., nameFilters=..., filters=..., flags=..., resolveEngine=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/io/qdiriterator.cpp:196
#10 0x00007f3140c1e58c in QDirIterator::QDirIterator (this=0x560f71242680, path=..., filters=..., flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/include/QtCore/../../src/corelib/tools/qlist.h:160
#11 0x0000560f70e0f558 in Baloo::FilteredDirIterator::next (this=0x560f712af2c0) at /usr/include/qt5/QtCore/qflags.h:121
#12 0x0000560f70e1b5cd in KInotify::Private::_k_addWatches (this=0x560f71235400) at /var/tmp/portage/kde-frameworks/baloo-5.72.0/work/baloo-5.72.0/src/file/kinotify.cpp:156
#13 0x0000560f70e1a120 in KInotify::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x560f716cb6e8) at src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:162
#14 0x00007f3140d089bc in QObject::event (this=0x560f7123e700, e=0x560f716cb6a0) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/kernel/qobject.cpp:1314
#15 0x00007f3140cdcf65 in doNotify (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/include/QtCore/../../src/corelib/kernel/qobject.h:153
#16 0x00007f3140cdd037 in QCoreApplication::notifyInternal2 (receiver=0x560f7123e700, event=0x560f716cb6a0) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/kernel/qcoreapplication.cpp:1061
#17 0x00007f3140cdfb60 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x560f71223120) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/kernel/qcoreapplication.cpp:1815
#18 0x00007f3140d328d3 in postEventSourceDispatch (s=0x560f712270e0) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#19 0x00007f313f30f867 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f313f30faf0 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f313f30fb7f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f3140d3267d in QEventDispatcherGlib::processEvents (this=0x560f712244b0, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#23 0x00007f3140cdbe63 in QEventLoop::exec (this=this@entry=0x7ffdb55d74c0, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/include/QtCore/../../src/corelib/global/qflags.h:141
#24 0x00007f3140ce3dc0 in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.0/work/qtbase-everywhere-src-5.15.0/include/QtCore/../../src/corelib/global/qflags.h:121
#25 0x0000560f70df575c in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-frameworks/baloo-5.72.0/work/baloo-5.72.0/src/file/main.cpp:93
[Inferior 1 (process 2832) detached]
Comment 1 Nate Graham 2020-08-21 15:53:02 UTC

*** This bug has been marked as a duplicate of bug 389848 ***