Bug 410367

Summary: baloo file indexing crashes
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Jannis Fath <jannis.fath>
Component: Baloo File DaemonAssignee: Stefan Brüns <stefan.bruens>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: a14roth, fraccalini
Priority: NOR Keywords: drkonqi
Version: 5.55.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jannis Fath 2019-07-29 19:00:07 UTC
Application: baloo_file (5.55.0)

Qt Version: 5.9.7
Frameworks Version: 5.55.0
Operating System: Linux 4.12.14-lp151.28.10-default x86_64
Distribution: "openSUSE Leap 15.1"

-- Information about the crash:
- What I was doing when the application crashed:
 i searched for a file in my root location with dolphin filebrowser and with the option "search everywhere" on.
- Custom settings of the application:

The crash can be reproduced sometimes.

-- 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 0x7fd11c61e900 (LWP 15107))]

Thread 3 (Thread 0x7fd110ed8700 (LWP 11372)):
[KCrash Handler]
#6  0x00007fd119f61160 in raise () from /lib64/libc.so.6
#7  0x00007fd119f62741 in abort () from /lib64/libc.so.6
#8  0x00007fd1179f98b2 in mdb_assert_fail (env=0x55865adb6390, expr_txt=expr_txt@entry=0x7fd1179fb33f "rc == 0", func=func@entry=0x7fd1179fbc78 <__func__.6935> "mdb_page_dirty", line=line@entry=2071, file=0x7fd1179fb320 "mdb.c") at mdb.c:1487
#9  0x00007fd1179eed85 in mdb_page_dirty (txn=0x55865adb7880, mp=<optimized out>) at mdb.c:2071
#10 0x00007fd1179eff6a in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7fd110ed7088, mc=<optimized out>) at mdb.c:2252
#11 0x00007fd1179f01d9 in mdb_page_touch (mc=mc@entry=0x7fd110ed75c0) at mdb.c:2370
#12 0x00007fd1179f1cd4 in mdb_cursor_touch (mc=mc@entry=0x7fd110ed75c0) at mdb.c:6273
#13 0x00007fd1179f4e6e in mdb_cursor_put (mc=0x7fd110ed75c0, key=0x7fd110ed7990, data=0x7fd110ed79a0, flags=<optimized out>) at mdb.c:6407
#14 0x00007fd1179f792b in mdb_put (txn=0x55865adb7880, dbi=2, key=key@entry=0x7fd110ed7990, data=data@entry=0x7fd110ed79a0, flags=flags@entry=0) at mdb.c:8765
#15 0x00007fd11b60056c in Baloo::PostingDB::put (this=this@entry=0x7fd110ed7a80, term=..., list=...) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/postingdb.cpp:78
#16 0x00007fd11b60c8b0 in Baloo::WriteTransaction::commit (this=0x7f9104043530) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/writetransaction.cpp:305
#17 0x00007fd11b605bd2 in Baloo::Transaction::commit (this=this@entry=0x7fd110ed7b80) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/engine/transaction.cpp:269
#18 0x00005586593811df in Baloo::XAttrIndexer::run (this=0x55865ade05e0) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/xattrindexer.cpp:80
#19 0x00007fd11aa5be22 in QThreadPoolThread::run (this=0x55865ae00c10) at thread/qthreadpool.cpp:99
#20 0x00007fd11aa5eced in QThreadPrivate::start (arg=0x55865ae00c10) at thread/qthread_unix.cpp:368
#21 0x00007fd117e58569 in start_thread () from /lib64/libpthread.so.0
#22 0x00007fd11a0239ef in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd1119db700 (LWP 15113)):
#0  0x00007fd116419fd9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fd1163d42a8 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd11ac9696b in QEventDispatcherGlib::processEvents (this=0x7fd10c000b10, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#3  0x00007fd11ac3b90a in QEventLoop::exec (this=this@entry=0x7fd1119dac80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#4  0x00007fd11aa59daa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#5  0x00007fd11b82c9e5 in ?? () from /usr/lib64/libQt5DBus.so.5
#6  0x00007fd11aa5eced in QThreadPrivate::start (arg=0x7fd11ba9fd60) at thread/qthread_unix.cpp:368
#7  0x00007fd117e58569 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fd11a0239ef in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd11c61e900 (LWP 15107)):
#0  0x00007fd11a01919b in poll () from /lib64/libc.so.6
#1  0x00007fd1163d41a9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd1163d42bc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd11ac9694f in QEventDispatcherGlib::processEvents (this=0x55865ada35f0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#4  0x00007fd11ac3b90a in QEventLoop::exec (this=this@entry=0x7ffcfe9399a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fd11ac449b4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#6  0x000055865937813c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo5-5.55.0-lp151.2.2.x86_64/src/file/main.cpp:104
[Inferior 1 (process 15107) detached]

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

Possible duplicates by query: bug 410134, bug 409829, bug 408293, bug 406173, bug 405072.

Reported using DrKonqi
Comment 1 Stefan Brüns 2019-07-29 19:23:32 UTC
https://build.opensuse.org/request/show/714437
Comment 2 Stefan Brüns 2019-08-02 10:31:24 UTC
*** Bug 410503 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Brüns 2019-08-02 10:32:28 UTC
*** Bug 410403 has been marked as a duplicate of this bug. ***