Bug 391152

Summary: Baloo crashed after opening Spotify (flatpak installation)
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Alexander Graul <agraul>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.43.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander Graul 2018-02-27 09:13:51 UTC
Application: baloo_file (5.43.0)

Qt Version: 5.10.0
Frameworks Version: 5.43.0
Operating System: Linux 4.15.5-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I started Spotify (flatpak) via "Plasma Search Bar" (alt+space) and the sad smiley showed up in the notification area. This happened fairly soon after booting and logging in (maybe 2 minutes after log in completed).
I opened other applications before Spotify:
 - Thunderbird
 - Konsole (2x)
 - KeePassXC
 - Seafile-Client

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

Thread 3 (Thread 0x7f59d1d42700 (LWP 5356)):
[KCrash Handler]
#6  0x00007f59dab2e0d0 in raise () from /lib64/libc.so.6
#7  0x00007f59dab2f6b1 in abort () from /lib64/libc.so.6
#8  0x00007f59d889b922 in mdb_assert_fail (env=0x55e2ed6dc950, expr_txt=expr_txt@entry=0x7f59d889d3af "rc == 0", func=func@entry=0x7f59d889dce8 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7f59d889d390 "mdb.c") at mdb.c:1487
#9  0x00007f59d8890e05 in mdb_page_dirty (txn=0x55e2ed6adb70, mp=<optimized out>) at mdb.c:2071
#10 0x00007f59d8891fea in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f59d1d40f98, mc=<optimized out>) at mdb.c:2252
#11 0x00007f59d8892259 in mdb_page_touch (mc=mc@entry=0x7f59d1d414d0) at mdb.c:2370
#12 0x00007f59d8893d54 in mdb_cursor_touch (mc=mc@entry=0x7f59d1d414d0) at mdb.c:6273
#13 0x00007f59d8896eee in mdb_cursor_put (mc=0x7f59d1d414d0, key=0x7f59d1d418a0, data=0x7f59d1d418b0, flags=<optimized out>) at mdb.c:6407
#14 0x00007f59d88999ab in mdb_put (txn=0x55e2ed6adb70, dbi=13, key=key@entry=0x7f59d1d418a0, data=data@entry=0x7f59d1d418b0, flags=flags@entry=0) at mdb.c:8765
#15 0x00007f59dbf23b68 in Baloo::MTimeDB::put (this=this@entry=0x7f59d1d419c0, mtime=<optimized out>, docId=<optimized out>, docId@entry=588497621488827907) at /usr/src/debug/baloo5-5.43.0-1.1.x86_64/src/engine/mtimedb.cpp:73
#16 0x00007f59dbf32ff2 in Baloo::WriteTransaction::replaceDocument (this=0x55e2ed95ee00, doc=..., operations=...) at /usr/src/debug/baloo5-5.43.0-1.1.x86_64/src/engine/writetransaction.cpp:215
#17 0x00007f59dbf2d3c9 in Baloo::Transaction::replaceDocument (this=this@entry=0x7f59d1d41af0, doc=..., operations=..., operations@entry=...) at /usr/src/debug/baloo5-5.43.0-1.1.x86_64/src/engine/transaction.cpp:254
#18 0x000055e2ed3de268 in Baloo::ModifiedFileIndexer::run (this=0x55e2ed8ee810) at /usr/src/debug/baloo5-5.43.0-1.1.x86_64/src/file/modifiedfileindexer.cpp:95
#19 0x00007f59db63bb82 in QThreadPoolThread::run (this=0x55e2ed94eda0) at thread/qthreadpool.cpp:101
#20 0x00007f59db63e930 in QThreadPrivate::start (arg=0x55e2ed94eda0) at thread/qthread_unix.cpp:376
#21 0x00007f59d9c3e558 in start_thread () from /lib64/libpthread.so.0
#22 0x00007f59dabf072f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f59d2845700 (LWP 4555)):
#0  0x00007f59dabe5f8b in poll () from /lib64/libc.so.6
#1  0x00007f59d7296109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f59d729621c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f59db86b7eb in QEventDispatcherGlib::processEvents (this=0x7f59cc000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f59db81271a in QEventLoop::exec (this=this@entry=0x7f59d2844ca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f59db63993a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:522
#6  0x00007f59dca2ba35 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007f59db63e930 in QThreadPrivate::start (arg=0x7f59dcc9bd60) at thread/qthread_unix.cpp:376
#8  0x00007f59d9c3e558 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f59dabf072f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f59dd171ec0 (LWP 4535)):
#0  0x00007f59dabe5f8b in poll () from /lib64/libc.so.6
#1  0x00007f59d7296109 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f59d729621c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f59db86b7cf in QEventDispatcherGlib::processEvents (this=0x55e2ed680390, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007f59db81271a in QEventLoop::exec (this=this@entry=0x7fff26372a00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f59db81b254 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1332
#6  0x000055e2ed3d421c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.43.0-1.1.x86_64/src/file/main.cpp:104

The reporter indicates this bug may be a duplicate of or related to bug 383101.

Possible duplicates by query: bug 387672, bug 385187, bug 383334, bug 383101, bug 380111.

Reported using DrKonqi
Comment 1 Alexander Graul 2018-02-27 13:46:31 UTC
After I rebooted once again, baloo crashed without me opening anything. Looks like it is exactly the same as https://bugs.kde.org/show_bug.cgi?id=383101

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