Bug 430113

Summary: Crashes on start
Product: [Frameworks and Libraries] frameworks-baloo Reporter: fire.eagle.ch
Component: Baloo File DaemonAssignee: Stefan BrĂ¼ns <stefan.bruens>
Status: RESOLVED DUPLICATE    
Severity: normal CC: isma.af, nate
Priority: NOR    
Version: 5.76.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: kcrash backtrace

Description fire.eagle.ch 2020-12-07 16:47:32 UTC
SUMMARY

Baloo crashes when the operating system boots up
OBSERVED RESULT
Does not start

EXPECTED RESULT
Starts


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
openSUSE Tumbleweed x86_64
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Backtrace
Application: baloo_file (baloo_file), signal: Aborted

[KCrash Handler]
#4  0x00007f6990493a65 in raise () from /lib64/libc.so.6
#5  0x00007f699047c864 in abort () from /lib64/libc.so.6
#6  0x00007f698f9db214 in mdb_assert_fail.constprop.0 (env=0x557c2c203f30, expr_txt=expr_txt@entry=0x7f698f9dc5f0 "rc == 0", func=func@entry=0x7f698f9dc918 <__func__.16> "mdb_page_dirty", line=line@entry=2127, file=0x7f698f9dc987 "mdb.c") at mdb.c:1542
#7  0x00007f698f9cef15 in mdb_page_dirty (txn=<optimized out>, txn=<optimized out>, mp=<optimized out>) at mdb.c:2114
#8  mdb_page_dirty (txn=0x557c2c2053d0, mp=<optimized out>) at mdb.c:2114
#9  0x00007f698f9d84f6 in mdb_page_alloc.isra.0 (num=num@entry=1, mp=mp@entry=0x7f698bad4df0, mc=<optimized out>, mc=<optimized out>) at mdb.c:2308
#10 0x00007f698f9cda7d in mdb_page_new (mp=<synthetic pointer>, num=1, flags=18, mc=0x7f698bad5290) at mdb.c:7178
#11 mdb_page_split (mc=mc@entry=0x7f698bad5290, newkey=newkey@entry=0x7f698bad5680, newdata=0x7f698bad5670, newpgno=newpgno@entry=18446744073709551615, nflags=nflags@entry=0) at mdb.c:8615
#12 0x00007f698f9d4595 in mdb_cursor_put (mc=mc@entry=0x7f698bad5290, key=key@entry=0x7f698bad5680, data=data@entry=0x7f698bad5670, flags=flags@entry=0) at mdb.c:6944
#13 0x00007f698f9d51bb in mdb_put (txn=0x557c2c2053d0, dbi=8, key=key@entry=0x7f698bad5680, data=data@entry=0x7f698bad5670, flags=flags@entry=0) at mdb.c:9022
#14 0x00007f6990f24f59 in Baloo::IdFilenameDB::put (this=this@entry=0x7f698bad5730, docId=<optimized out>, path=...) at /usr/src/debug/baloo5-5.76.0-1.1.x86_64/src/engine/idfilenamedb.cpp:66
#15 0x00007f6990f25110 in Baloo::DocumentUrlDB::add (this=this@entry=0x7f698bad5940, id=<optimized out>, id@entry=80751557032804406, parentId=140091291686680, parentId@entry=80749005822230582, name=...) at /usr/src/debug/baloo5-5.76.0-1.1.x86_64/src/engine/documenturldb.cpp:126
#16 0x00007f6990f25c97 in Baloo::DocumentUrlDB::put (docId=<optimized out>, url=..., this=0x7f698bad5940) at /usr/src/debug/baloo5-5.76.0-1.1.x86_64/src/engine/documenturldb.cpp:61
#17 Baloo::DocumentUrlDB::put (this=0x7f698bad5940, docId=<optimized out>, url=...) at /usr/src/debug/baloo5-5.76.0-1.1.x86_64/src/engine/documenturldb.cpp:27
#18 0x00007f6990f37892 in Baloo::WriteTransaction::addDocument (this=0x7f297c004e10, doc=...) at /usr/src/debug/baloo5-5.76.0-1.1.x86_64/src/engine/writetransaction.cpp:42
#19 0x0000557c2bf56bf0 in Baloo::UnindexedFileIndexer::run (this=0x557c2c40c2d0) at /usr/src/debug/baloo5-5.76.0-1.1.x86_64/src/file/unindexedfileindexer.cpp:58
#20 0x00007f6990a41142 in QThreadPoolThread::run (this=0x557c2c605150) at thread/qthreadpool.cpp:100
#21 0x00007f6990a3de51 in QThreadPrivate::start (arg=0x557c2c605150) at thread/qthread_unix.cpp:329
#22 0x00007f698fa3c3e9 in start_thread () from /lib64/libpthread.so.0
#23 0x00007f6990557943 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f698c63b640 (LWP 2980) "QDBusConnection"):
#1  0x00007f698f1f844f in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f698f1ab98a in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f698f1abfb5 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f698f1ac12f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f6990c767fb in QEventDispatcherGlib::processEvents (this=0x7f6984000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f6990c1dc4b in QEventLoop::exec (this=this@entry=0x7f698c63ac70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#7  0x00007f6990a3cd0e in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#8  0x00007f6990f5e7c7 in QDBusConnectionManager::run (this=0x7f6990fcc420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#9  0x00007f6990a3de51 in QThreadPrivate::start (arg=0x7f6990fcc420 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:329
#10 0x00007f698fa3c3e9 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f6990557943 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f698e41e840 (LWP 2971) "baloo_file"):
#1  0x00007f698f1ac00e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f698f1ac12f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6990c767fb in QEventDispatcherGlib::processEvents (this=0x557c2c1e7760, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f6990c1dc4b in QEventLoop::exec (this=this@entry=0x7ffe9bcee200, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#5  0x00007f6990c25ec0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#6  0x0000557c2bf44203 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.76.0-1.1.x86_64/src/file/main.cpp:78
[Inferior 1 (process 2971) detached]
Comment 1 Nate Graham 2020-12-11 19:09:25 UTC

*** This bug has been marked as a duplicate of bug 389848 ***
Comment 2 Ismael Asensio 2020-12-11 19:13:41 UTC
Created attachment 134015 [details]
kcrash backtrace

Confirmed on latest master (5.77)

Operating System: Kubuntu 20.10
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.3
Kernel Version: 5.8.0-31-generic