Bug 419634

Summary: Baloo crashes on login
Product: [Frameworks and Libraries] frameworks-baloo Reporter: rf_pubblico
Component: Baloo File DaemonAssignee: Stefan BrĂ¼ns <stefan.bruens>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.68.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description rf_pubblico 2020-04-04 13:40:23 UTC
Application: baloo_file (5.68.0)

Qt Version: 5.14.1
Frameworks Version: 5.68.0
Operating System: Linux 5.5.13-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- Crashes immediately after login. It does not always happen, but I was able to reproduce it quite easily.
- No unusual behavior of Plasma in any way, everything seems to work fine except for the crash report.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Bus error
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa9796d9c80 (LWP 2538))]

Thread 3 (Thread 0x7fa976e1a700 (LWP 2727)):
[KCrash Handler]
#6  0x00007fa97abf290a in mdb_node_search (mc=mc@entry=0x7fa976e19520, key=key@entry=0x7fa976e198f0, exactp=exactp@entry=0x7fa976e1926c) at mdb.c:5320
#7  0x00007fa97abf4a90 in mdb_page_search_root (mc=mc@entry=0x7fa976e19520, key=key@entry=0x7fa976e198f0, flags=flags@entry=0) at mdb.c:5512
#8  0x00007fa97abf4ca5 in mdb_page_search (mc=mc@entry=0x7fa976e19520, key=key@entry=0x7fa976e198f0, flags=flags@entry=0) at mdb.c:5664
#9  0x00007fa97abf5ce2 in mdb_cursor_set (mc=mc@entry=0x7fa976e19520, key=key@entry=0x7fa976e198f0, data=data@entry=0x7fa976e198e0, op=op@entry=MDB_SET, exactp=exactp@entry=0x7fa976e1951c) at mdb.c:6135
#10 0x00007fa97abfc3d0 in mdb_get (txn=<optimized out>, dbi=<optimized out>, key=key@entry=0x7fa976e198f0, data=data@entry=0x7fa976e198e0) at mdb.c:5793
#11 0x00007fa97bfc5500 in Baloo::PositionDB::get (this=<optimized out>, term=...) at /usr/src/debug/baloo5-5.68.0-1.2.x86_64/src/engine/positiondb.cpp:97
#12 0x00007fa97bfbb717 in Baloo::WriteTransaction::commit (this=0x55d605310760) at /usr/src/debug/baloo5-5.68.0-1.2.x86_64/src/engine/writetransaction.cpp:309
#13 0x00007fa97bfbb91f in Baloo::Transaction::commit (this=this@entry=0x7fa976e19b80) at /usr/src/debug/baloo5-5.68.0-1.2.x86_64/src/engine/transaction.cpp:306
#14 0x000055d603f5f995 in Baloo::UnindexedFileIndexer::run (this=0x55d605337410) at /usr/src/debug/baloo5-5.68.0-1.2.x86_64/src/file/unindexedfileindexer.cpp:76
#15 0x00007fa97ba2a802 in QThreadPoolThread::run (this=0x55d60529d910) at thread/qthreadpool.cpp:99
#16 0x00007fa97ba27698 in QThreadPrivate::start (arg=0x55d60529d910) at thread/qthread_unix.cpp:342
#17 0x00007fa97ac5eefa in start_thread () from /lib64/libpthread.so.0
#18 0x00007fa97c2c73bf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa97793d700 (LWP 2547)):
#0  0x00007fa97c2bcacf in poll () from /lib64/libc.so.6
#1  0x00007fa97a3fa33e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa97a3fa45f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa97bc53c0b in QEventDispatcherGlib::processEvents (this=0x7fa970000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa97bbfbb9b in QEventLoop::exec (this=this@entry=0x7fa97793cd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007fa97ba265ce in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x00007fa97bff7507 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fa97ba27698 in QThreadPrivate::start (arg=0x7fa97c079da0) at thread/qthread_unix.cpp:342
#8  0x00007fa97ac5eefa in start_thread () from /lib64/libpthread.so.0
#9  0x00007fa97c2c73bf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa9796d9c80 (LWP 2538)):
#0  0x00007fa97c2bcacf in poll () from /lib64/libc.so.6
#1  0x00007fa97a3fa33e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa97a3fa45f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa97bc53c0b in QEventDispatcherGlib::processEvents (this=0x55d605248880, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa97bbfbb9b in QEventLoop::exec (this=this@entry=0x7fffe8d5ce70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:136
#5  0x00007fa97bc03972 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:118
#6  0x000055d603f4b4e4 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.68.0-1.2.x86_64/src/file/main.cpp:103
[Inferior 1 (process 2538) detached]

Possible duplicates by query: bug 413485, bug 412006, bug 410783, bug 401942, bug 401122.

Reported using DrKonqi
Comment 1 rf_pubblico 2020-04-06 14:21:18 UTC
Update: A stick of RAM died overnight. I haven't been able to reproduce the crash today, so it might have been a hardware issue. However, I also cleaned the .cache/ folder, so I cannot be sure about that.
Comment 2 Nate Graham 2020-04-15 03:01:26 UTC

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