Bug 380111 - baloo_file crashes in Baloo::IdTreeDB::put()
Summary: baloo_file crashes in Baloo::IdTreeDB::put()
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.18.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
: 393945 402846 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-23 07:41 UTC by KevinKleinbeck
Modified: 2019-04-05 13:33 UTC (History)
3 users (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 KevinKleinbeck 2017-05-23 07:41:24 UTC
Application: baloo_file (5.18.0)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-78-generic x86_64
Distribution: Ubuntu 16.04.2 LTS

-- Information about the crash:
- What I was doing when the application crashed: Upon downloading a pdf from firefox the crash happens. Additionally, there are some (seemingly) random occasions, which produce the crash as well.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe07d55c8c0 (LWP 3856))]

Thread 2 (Thread 0x7fdf32322700 (LWP 5924)):
[KCrash Handler]
#6  0x00007fe07b59f428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fe07b5a102a in __GI_abort () at abort.c:89
#8  0x00007fe079da4002 in mdb_assert_fail (env=0x1d40a90, expr_txt=expr_txt@entry=0x7fe079da5a5f "rc == 0", func=func@entry=0x7fe079da6398 <__func__.7098> "mdb_page_dirty", line=line@entry=2065, file=0x7fe079da5a40 "mdb.c") at mdb.c:1481
#9  0x00007fe079d996a5 in mdb_page_dirty (txn=0x1d6d6c0, mp=<optimized out>) at mdb.c:2065
#10 0x00007fe079d9a863 in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7fdf32320ee8, mc=0x7fdf32321420) at mdb.c:2246
#11 0x00007fe079d9aac9 in mdb_page_touch (mc=mc@entry=0x7fdf32321420) at mdb.c:2364
#12 0x00007fe079d9c6df in mdb_cursor_touch (mc=mc@entry=0x7fdf32321420) at mdb.c:6267
#13 0x00007fe079d9f805 in mdb_cursor_put (mc=0x7fdf32321420, key=0x7fdf323217f0, data=0x7fdf32321800, flags=<optimized out>) at mdb.c:6401
#14 0x00007fe079da2260 in mdb_put (txn=0x1d6d6c0, dbi=7, key=key@entry=0x7fdf323217f0, data=data@entry=0x7fdf32321800, flags=flags@entry=0) at mdb.c:8759
#15 0x00007fe07c732edd in Baloo::IdTreeDB::put (this=this@entry=0x7fdf32321860, docId=docId@entry=806770359142449196, subDocIds=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/idtreedb.cpp:71
#16 0x00007fe07c730540 in Baloo::DocumentUrlDB::add (this=this@entry=0x7fdf32321b10, id=id@entry=806770367732383788, parentId=parentId@entry=806770359142449196, name=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:128
#17 0x00007fe07c730916 in Baloo::DocumentUrlDB::put (this=this@entry=0x7fdf32321b10, docId=docId@entry=806770367732383788, url=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:69
#18 0x00007fe07c7480ea in Baloo::WriteTransaction::addDocument (this=0x7fdf2c0011e0, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/writetransaction.cpp:56
#19 0x00007fe07c741fe9 in Baloo::Transaction::addDocument (this=this@entry=0x7fdf32321bd0, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:226
#20 0x000000000041cc86 in Baloo::NewFileIndexer::run (this=0x1d15660) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/newfileindexer.cpp:72
#21 0x00007fe07c0602d3 in QThreadPoolThread::run (this=0x1d80c20) at thread/qthreadpool.cpp:93
#22 0x00007fe07c0637be in QThreadPrivate::start (arg=0x1d80c20) at thread/qthread_unix.cpp:331
#23 0x00007fe07acc76ba in start_thread (arg=0x7fdf32322700) at pthread_create.c:333
#24 0x00007fe07b67082d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fe07d55c8c0 (LWP 3856)):
#0  0x00007fe07b66069d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fe0788786f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe078834e74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe078835330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe07883549c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe07c29a7cf in QEventDispatcherGlib::processEvents (this=0x1cff310, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#6  0x00007fe07c241b4a in QEventLoop::exec (this=this@entry=0x7ffe88989650, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007fe07c249bec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#8  0x000000000041698c in main (argc=1, argv=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/main.cpp:88

Possible duplicates by query: bug 374183.

Reported using DrKonqi
Comment 1 Christoph Feck 2017-07-17 20:40:19 UTC

*** This bug has been marked as a duplicate of bug 372655 ***
Comment 2 Nate Graham 2018-11-26 18:39:20 UTC
*** Bug 393945 has been marked as a duplicate of this bug. ***
Comment 3 David Kredba 2018-12-16 09:37:50 UTC
For Baloo version 5.52.0 and 5.53.0 I got these four crashes:

Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbcc271e7c0 (LWP 15625))]

Thread 3 (Thread 0x7fbcc101a700 (LWP 15970)):
[KCrash Handler]
#6  0x00007fbcc65c1594 in mdb_midl_xmerge (idl=idl@entry=0x7fbcc0710018, merge=merge@entry=0x7f7dfcb93010) at midl.c:207
#7  0x00007fbcc65b8c2f in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7fbcc10190d8, mc=<optimized out>) at mdb.c:2277
#8  0x00007fbcc65b90c9 in mdb_page_touch (mc=mc@entry=0x7fbcc1019610) at mdb.c:2427
#9  0x00007fbcc65baccf in mdb_cursor_touch (mc=mc@entry=0x7fbcc1019610) at mdb.c:6492
#10 0x00007fbcc65bdeae in mdb_cursor_put (mc=0x7fbcc1019610, key=0x7fbcc10199e0, data=0x7fbcc10199f0, flags=<optimized out>) at mdb.c:6626
#11 0x00007fbcc65c0a7b in mdb_put (txn=0x5615e2b8f820, dbi=7, key=key@entry=0x7fbcc10199e0, data=data@entry=0x7fbcc10199f0, flags=flags@entry=0) at mdb.c:8991
#12 0x00007fbcc809015d in Baloo::IdTreeDB::put (this=this@entry=0x7fbcc1019b50, docId=<optimized out>, subDocIds=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/idtreedb.cpp:71
#13 0x00007fbcc80a3238 in Baloo::DocumentUrlDB::replace<Baloo::WriteTransaction::replaceDocument(const Baloo::Document&, Baloo::DocumentOperations)::<lambda(quint64)> > (shouldDeleteFolder=..., url=..., docId=<optimized out>, this=0x7fbcc1019b30) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/documenturldb.h:105
#14 Baloo::WriteTransaction::replaceDocument (this=0x5615e2d6e840, doc=..., operations=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/writetransaction.cpp:242
#15 0x00007fbcc809d609 in Baloo::Transaction::replaceDocument (this=this@entry=0x7fbcc1019c60, doc=..., operations=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/transaction.cpp:261
#16 0x00005615e22645d5 in Baloo::UnindexedFileIndexer::run (this=0x5615e2d24430) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/unindexedfileindexer.cpp:66
#17 0x00007fbcc7b80581 in QThreadPoolThread::run (this=0x5615e2dcd9c0) at thread/qthreadpool.cpp:101
#18 0x00007fbcc7b888ff in QThreadPrivate::start (arg=0x5615e2dcd9c0) at thread/qthread_unix.cpp:367
#19 0x00007fbcc681a46a in start_thread (arg=0x7fbcc101a700) at pthread_create.c:486
#20 0x00007fbcc776497f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fbcc1b2d700 (LWP 15635)):
#0  0x00007fbcc775a3f3 in __GI___poll (fds=0x7fbcbc003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbcc5ba3f19 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fbcbc003ce0, timeout=<optimized out>, context=0x7fbcbc000bf0) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:4203
#2  g_main_context_iterate (context=context@entry=0x7fbcbc000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3897
#3  0x00007fbcc5ba402c in g_main_context_iteration (context=0x7fbcbc000bf0, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3963
#4  0x00007fbcc7d6cbbb in QEventDispatcherGlib::processEvents (this=0x7fbcbc000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fbcc7d1970a in QEventLoop::exec (this=this@entry=0x7fbcc1b2cdb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fbcc7b7efda in QThread::exec (this=this@entry=0x7fbcc813dd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#7  0x00007fbcc80c5065 in QDBusConnectionManager::run (this=0x7fbcc813dd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007fbcc7b888ff in QThreadPrivate::start (arg=0x7fbcc813dd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007fbcc681a46a in start_thread (arg=0x7fbcc1b2d700) at pthread_create.c:486
#10 0x00007fbcc776497f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fbcc271e7c0 (LWP 15625)):
#0  0x00007fbcc772b68b in __getdents64 (fd=3, buf=0x5615e2da0280 "CB\304\002", nbytes=32768) at ../sysdeps/unix/sysv/linux/getdents64.c:27
#1  0x00007fbcc772b7a4 in __GI___readdir64 (dirp=0x5615e2da0250) at ../sysdeps/posix/readdir.c:65
#2  0x00007fbcc7cc8ec2 in QFileSystemIterator::advance (this=this@entry=0x5615e2e87e00, fileEntry=..., metaData=...) at io/qfilesystemiterator_unix.cpp:81
#3  0x00007fbcc7c64fa9 in QDirIteratorPrivate::advance (this=this@entry=0x5615e2ebf980) at io/qdiriterator.cpp:258
#4  0x00007fbcc7c65880 in QDirIteratorPrivate::QDirIteratorPrivate (this=0x5615e2ebf980, entry=..., nameFilters=..., filters=..., flags=..., resolveEngine=<optimized out>) at io/qdiriterator.cpp:179
#5  0x00007fbcc7c65e6c in QDirIterator::QDirIterator (this=0x5615e2ebdb50, path=..., filters=..., flags=...) at io/qdiriterator.cpp:435
#6  0x00005615e226c874 in Baloo::FilteredDirIterator::next (this=0x5615e2c17b80) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/filtereddiriterator.cpp:69
#7  0x00005615e227d2de in KInotify::Private::_k_addWatches (this=0x5615e2b9bdc0) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/kinotify.cpp:163
#8  0x00005615e227b189 in KInotify::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x5615e2ed0870) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0_build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:161
#9  0x00007fbcc7d4448a in QObject::event (this=0x5615e2b9bbc0, e=<optimized out>) at kernel/qobject.cpp:1251
#10 0x00007fbcc7d1a81a in doNotify (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1137
#11 0x00007fbcc7d1a907 in QCoreApplication::notifyInternal2 (receiver=0x5615e2b9bbc0, event=event@entry=0x5615e2d92050) at kernel/qcoreapplication.cpp:1047
#12 0x00007fbcc7d1d731 in QCoreApplication::sendEvent (event=0x5615e2d92050, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5615e2b823d0) at kernel/qcoreapplication.cpp:1744
#14 0x00007fbcc7d1dca8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1598
#15 0x00007fbcc7d6cdb3 in postEventSourceDispatch (s=s@entry=0x5615e2b86c60) at kernel/qeventdispatcher_glib.cpp:276
#16 0x00007fbcc5ba3d67 in g_main_dispatch (context=0x5615e2b84a80) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3176
#17 g_main_context_dispatch (context=context@entry=0x5615e2b84a80) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3829
#18 0x00007fbcc5ba3fa0 in g_main_context_iterate (context=context@entry=0x5615e2b84a80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3902
#19 0x00007fbcc5ba402c in g_main_context_iteration (context=0x5615e2b84a80, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3963
#20 0x00007fbcc7d6cb9f in QEventDispatcherGlib::processEvents (this=0x5615e2b840f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007fbcc7d1970a in QEventLoop::exec (this=this@entry=0x7ffd0fd2a320, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#22 0x00007fbcc7d21ff0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1335
#23 0x00005615e22598bc in main (argc=<optimized out>, argv=<optimized out>) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/main.cpp:104
[Inferior 1 (process 15625) detached]


Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbc900e97c0 (LWP 4427))]

Thread 3 (Thread 0x7fbc8e982700 (LWP 4953)):
[KCrash Handler]
#6  0x00007fbc93f8c594 in mdb_midl_xmerge (idl=idl@entry=0x7fbc8e038018, merge=merge@entry=0x7f7dc8b93010) at midl.c:207
#7  0x00007fbc93f83c2f in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7fbc8e9810d8, mc=<optimized out>) at mdb.c:2277
#8  0x00007fbc93f840c9 in mdb_page_touch (mc=mc@entry=0x7fbc8e981610) at mdb.c:2427
#9  0x00007fbc93f85ccf in mdb_cursor_touch (mc=mc@entry=0x7fbc8e981610) at mdb.c:6492
#10 0x00007fbc93f88eae in mdb_cursor_put (mc=0x7fbc8e981610, key=0x7fbc8e9819e0, data=0x7fbc8e9819f0, flags=<optimized out>) at mdb.c:6626
#11 0x00007fbc93f8ba7b in mdb_put (txn=0x55c5d3c5bfc0, dbi=7, key=key@entry=0x7fbc8e9819e0, data=data@entry=0x7fbc8e9819f0, flags=flags@entry=0) at mdb.c:8991
#12 0x00007fbc95a5b15d in Baloo::IdTreeDB::put (this=this@entry=0x7fbc8e981b50, docId=<optimized out>, subDocIds=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/idtreedb.cpp:71
#13 0x00007fbc95a6e238 in Baloo::DocumentUrlDB::replace<Baloo::WriteTransaction::replaceDocument(const Baloo::Document&, Baloo::DocumentOperations)::<lambda(quint64)> > (shouldDeleteFolder=..., url=..., docId=<optimized out>, this=0x7fbc8e981b30) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/documenturldb.h:105
#14 Baloo::WriteTransaction::replaceDocument (this=0x55c5d4053c10, doc=..., operations=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/writetransaction.cpp:242
#15 0x00007fbc95a68609 in Baloo::Transaction::replaceDocument (this=this@entry=0x7fbc8e981c60, doc=..., operations=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/transaction.cpp:261
#16 0x000055c5d38305d5 in Baloo::UnindexedFileIndexer::run (this=0x55c5d4090540) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/unindexedfileindexer.cpp:66
#17 0x00007fbc9554b581 in QThreadPoolThread::run (this=0x55c5d40540b0) at thread/qthreadpool.cpp:101
#18 0x00007fbc955538ff in QThreadPrivate::start (arg=0x55c5d40540b0) at thread/qthread_unix.cpp:367
#19 0x00007fbc941e546a in start_thread (arg=0x7fbc8e982700) at pthread_create.c:486
#20 0x00007fbc9512f97f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fbc8f4f8700 (LWP 4439)):
#0  0x00007fbc951253f3 in __GI___poll (fds=0x7fbc88003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fbc9356ef19 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7fbc88003ce0, timeout=<optimized out>, context=0x7fbc88000bf0) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:4203
#2  g_main_context_iterate (context=context@entry=0x7fbc88000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3897
#3  0x00007fbc9356f02c in g_main_context_iteration (context=0x7fbc88000bf0, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3963
#4  0x00007fbc95737bbb in QEventDispatcherGlib::processEvents (this=0x7fbc88000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fbc956e470a in QEventLoop::exec (this=this@entry=0x7fbc8f4f7db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007fbc95549fda in QThread::exec (this=this@entry=0x7fbc95b08d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#7  0x00007fbc95a90065 in QDBusConnectionManager::run (this=0x7fbc95b08d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007fbc955538ff in QThreadPrivate::start (arg=0x7fbc95b08d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007fbc941e546a in start_thread (arg=0x7fbc8f4f8700) at pthread_create.c:486
#10 0x00007fbc9512f97f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fbc900e97c0 (LWP 4427)):
#0  0x00007fbc950f668b in __getdents64 (fd=3, buf=0x55c5d4212540 "bC\314\002", nbytes=32768) at ../sysdeps/unix/sysv/linux/getdents64.c:27
#1  0x00007fbc950f67a4 in __GI___readdir64 (dirp=0x55c5d4212510) at ../sysdeps/posix/readdir.c:65
#2  0x00007fbc95693ec2 in QFileSystemIterator::advance (this=this@entry=0x55c5d420e3f0, fileEntry=..., metaData=...) at io/qfilesystemiterator_unix.cpp:81
#3  0x00007fbc9562ffa9 in QDirIteratorPrivate::advance (this=this@entry=0x55c5d403a9d0) at io/qdiriterator.cpp:258
#4  0x00007fbc95630880 in QDirIteratorPrivate::QDirIteratorPrivate (this=0x55c5d403a9d0, entry=..., nameFilters=..., filters=..., flags=..., resolveEngine=<optimized out>) at io/qdiriterator.cpp:179
#5  0x00007fbc95630e6c in QDirIterator::QDirIterator (this=0x55c5d41e7ba0, path=..., filters=..., flags=...) at io/qdiriterator.cpp:435
#6  0x000055c5d3838874 in Baloo::FilteredDirIterator::next (this=0x55c5d3d12c60) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/filtereddiriterator.cpp:69
#7  0x000055c5d38492de in KInotify::Private::_k_addWatches (this=0x55c5d3c5c850) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/kinotify.cpp:163
#8  0x000055c5d3847189 in KInotify::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x55c5d41ab0f0) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0_build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:161
#9  0x00007fbc9570f48a in QObject::event (this=0x55c5d3c5c980, e=<optimized out>) at kernel/qobject.cpp:1251
#10 0x00007fbc956e581a in doNotify (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1137
#11 0x00007fbc956e5907 in QCoreApplication::notifyInternal2 (receiver=0x55c5d3c5c980, event=event@entry=0x55c5d41316f0) at kernel/qcoreapplication.cpp:1047
#12 0x00007fbc956e8731 in QCoreApplication::sendEvent (event=0x55c5d41316f0, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55c5d3c4b3d0) at kernel/qcoreapplication.cpp:1744
#14 0x00007fbc956e8ca8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1598
#15 0x00007fbc95737db3 in postEventSourceDispatch (s=s@entry=0x55c5d3c4fc60) at kernel/qeventdispatcher_glib.cpp:276
#16 0x00007fbc9356ed67 in g_main_dispatch (context=0x55c5d3c4da80) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3176
#17 g_main_context_dispatch (context=context@entry=0x55c5d3c4da80) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3829
#18 0x00007fbc9356efa0 in g_main_context_iterate (context=context@entry=0x55c5d3c4da80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3902
#19 0x00007fbc9356f02c in g_main_context_iteration (context=0x55c5d3c4da80, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3963
#20 0x00007fbc95737b9f in QEventDispatcherGlib::processEvents (this=0x55c5d3c4d0f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007fbc956e470a in QEventLoop::exec (this=this@entry=0x7ffd0cec0690, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#22 0x00007fbc956ecff0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1335
#23 0x000055c5d38258bc in main (argc=<optimized out>, argv=<optimized out>) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/main.cpp:104
[Inferior 1 (process 4427) detached]


Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6415d797c0 (LWP 4545))]

Thread 3 (Thread 0x7f240ffff700 (LWP 4989)):
[KCrash Handler]
#6  0x00007f6419c1c594 in mdb_midl_xmerge (idl=idl@entry=0x7f64144c9018, merge=merge@entry=0x7f2550b93010) at midl.c:207
#7  0x00007f6419c13c2f in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f240fffe0d8, mc=<optimized out>) at mdb.c:2277
#8  0x00007f6419c140c9 in mdb_page_touch (mc=mc@entry=0x7f240fffe610) at mdb.c:2427
#9  0x00007f6419c15ccf in mdb_cursor_touch (mc=mc@entry=0x7f240fffe610) at mdb.c:6492
#10 0x00007f6419c18eae in mdb_cursor_put (mc=0x7f240fffe610, key=0x7f240fffe9e0, data=0x7f240fffe9f0, flags=<optimized out>) at mdb.c:6626
#11 0x00007f6419c1ba7b in mdb_put (txn=0x55a4cbd8ff70, dbi=7, key=key@entry=0x7f240fffe9e0, data=data@entry=0x7f240fffe9f0, flags=flags@entry=0) at mdb.c:8991
#12 0x00007f641b6eb15d in Baloo::IdTreeDB::put (this=this@entry=0x7f240fffeb50, docId=<optimized out>, subDocIds=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/idtreedb.cpp:71
#13 0x00007f641b6fe238 in Baloo::DocumentUrlDB::replace<Baloo::WriteTransaction::replaceDocument(const Baloo::Document&, Baloo::DocumentOperations)::<lambda(quint64)> > (shouldDeleteFolder=..., url=..., docId=<optimized out>, this=0x7f240fffeb30) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/documenturldb.h:105
#14 Baloo::WriteTransaction::replaceDocument (this=0x7f2408003400, doc=..., operations=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/writetransaction.cpp:242
#15 0x00007f641b6f8609 in Baloo::Transaction::replaceDocument (this=this@entry=0x7f240fffec60, doc=..., operations=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/transaction.cpp:261
#16 0x000055a4ca7185d5 in Baloo::UnindexedFileIndexer::run (this=0x55a4cc37c810) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/unindexedfileindexer.cpp:66
#17 0x00007f641b1db581 in QThreadPoolThread::run (this=0x55a4cc5fcc30) at thread/qthreadpool.cpp:101
#18 0x00007f641b1e38ff in QThreadPrivate::start (arg=0x55a4cc5fcc30) at thread/qthread_unix.cpp:367
#19 0x00007f6419e7546a in start_thread (arg=0x7f240ffff700) at pthread_create.c:486
#20 0x00007f641adbf97f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f6415188700 (LWP 4556)):
#0  0x00007f641adb53f3 in __GI___poll (fds=0x7f6410003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f64191fef19 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f6410003ce0, timeout=<optimized out>, context=0x7f6410000bf0) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:4203
#2  g_main_context_iterate (context=context@entry=0x7f6410000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3897
#3  0x00007f64191ff02c in g_main_context_iteration (context=0x7f6410000bf0, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3963
#4  0x00007f641b3c7bbb in QEventDispatcherGlib::processEvents (this=0x7f6410000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f641b37470a in QEventLoop::exec (this=this@entry=0x7f6415187db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f641b1d9fda in QThread::exec (this=this@entry=0x7f641b798d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#7  0x00007f641b720065 in QDBusConnectionManager::run (this=0x7f641b798d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f641b1e38ff in QThreadPrivate::start (arg=0x7f641b798d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007f6419e7546a in start_thread (arg=0x7f6415188700) at pthread_create.c:486
#10 0x00007f641adbf97f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f6415d797c0 (LWP 4545)):
#0  0x00007f641adb53f3 in __GI___poll (fds=0x55a4cbd9ace0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f64191fef19 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x55a4cbd9ace0, timeout=<optimized out>, context=0x55a4cbd81a80) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:4203
#2  g_main_context_iterate (context=context@entry=0x55a4cbd81a80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3897
#3  0x00007f64191ff02c in g_main_context_iteration (context=0x55a4cbd81a80, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3963
#4  0x00007f641b3c7bbb in QEventDispatcherGlib::processEvents (this=0x55a4cbd810f0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f641b37470a in QEventLoop::exec (this=this@entry=0x7ffe9c2f6620, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f641b37cff0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1335
#7  0x000055a4ca70d8bc in main (argc=<optimized out>, argv=<optimized out>) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/main.cpp:104
[Inferior 1 (process 4545) detached]


Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f5f008e07c0 (LWP 4466))]

Thread 3 (Thread 0x7f5eff19a700 (LWP 4951)):
[KCrash Handler]
#6  0x00007f5f04783594 in mdb_midl_xmerge (idl=idl@entry=0x7f5efe8b1018, merge=merge@entry=0x7f2038b93010) at midl.c:207
#7  0x00007f5f0477ac2f in mdb_page_alloc (num=num@entry=1, mp=mp@entry=0x7f5eff1990d8, mc=<optimized out>) at mdb.c:2277
#8  0x00007f5f0477b0c9 in mdb_page_touch (mc=mc@entry=0x7f5eff199610) at mdb.c:2427
#9  0x00007f5f0477cccf in mdb_cursor_touch (mc=mc@entry=0x7f5eff199610) at mdb.c:6492
#10 0x00007f5f0477feae in mdb_cursor_put (mc=0x7f5eff199610, key=0x7f5eff1999e0, data=0x7f5eff1999f0, flags=<optimized out>) at mdb.c:6626
#11 0x00007f5f04782a7b in mdb_put (txn=0x55e40ae45c20, dbi=7, key=key@entry=0x7f5eff1999e0, data=data@entry=0x7f5eff1999f0, flags=flags@entry=0) at mdb.c:8991
#12 0x00007f5f0625215d in Baloo::IdTreeDB::put (this=this@entry=0x7f5eff199b50, docId=<optimized out>, subDocIds=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/idtreedb.cpp:71
#13 0x00007f5f06265238 in Baloo::DocumentUrlDB::replace<Baloo::WriteTransaction::replaceDocument(const Baloo::Document&, Baloo::DocumentOperations)::<lambda(quint64)> > (shouldDeleteFolder=..., url=..., docId=<optimized out>, this=0x7f5eff199b30) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/documenturldb.h:105
#14 Baloo::WriteTransaction::replaceDocument (this=0x55e40b157b90, doc=..., operations=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/writetransaction.cpp:242
#15 0x00007f5f0625f609 in Baloo::Transaction::replaceDocument (this=this@entry=0x7f5eff199c60, doc=..., operations=...) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/engine/transaction.cpp:261
#16 0x000055e4091815d5 in Baloo::UnindexedFileIndexer::run (this=0x55e40b1d1180) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/unindexedfileindexer.cpp:66
#17 0x00007f5f05d42581 in QThreadPoolThread::run (this=0x55e40b054200) at thread/qthreadpool.cpp:101
#18 0x00007f5f05d4a8ff in QThreadPrivate::start (arg=0x55e40b054200) at thread/qthread_unix.cpp:367
#19 0x00007f5f049dc46a in start_thread (arg=0x7f5eff19a700) at pthread_create.c:486
#20 0x00007f5f0592697f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f5effcef700 (LWP 4478)):
#0  0x00007f5f0591c3f3 in __GI___poll (fds=0x7f5ef8003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f5f03d65f19 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f5ef8003ce0, timeout=<optimized out>, context=0x7f5ef8000bf0) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:4203
#2  g_main_context_iterate (context=context@entry=0x7f5ef8000bf0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3897
#3  0x00007f5f03d6602c in g_main_context_iteration (context=0x7f5ef8000bf0, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3963
#4  0x00007f5f05f2ebbb in QEventDispatcherGlib::processEvents (this=0x7f5ef8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5f05edb70a in QEventLoop::exec (this=this@entry=0x7f5effceedb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#6  0x00007f5f05d40fda in QThread::exec (this=this@entry=0x7f5f062ffd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:525
#7  0x00007f5f06287065 in QDBusConnectionManager::run (this=0x7f5f062ffd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f5f05d4a8ff in QThreadPrivate::start (arg=0x7f5f062ffd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#9  0x00007f5f049dc46a in start_thread (arg=0x7f5effcef700) at pthread_create.c:486
#10 0x00007f5f0592697f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f5f008e07c0 (LWP 4466)):
#0  0x00007f5f058ed68b in __getdents64 (fd=3, buf=0x55e40b25b6a0 "\037\261\274\002", nbytes=32768) at ../sysdeps/unix/sysv/linux/getdents64.c:27
#1  0x00007f5f058ed7a4 in __GI___readdir64 (dirp=0x55e40b25b670) at ../sysdeps/posix/readdir.c:65
#2  0x00007f5f05e8aec2 in QFileSystemIterator::advance (this=this@entry=0x55e40b253f40, fileEntry=..., metaData=...) at io/qfilesystemiterator_unix.cpp:81
#3  0x00007f5f05e26fa9 in QDirIteratorPrivate::advance (this=this@entry=0x55e40b211760) at io/qdiriterator.cpp:258
#4  0x00007f5f05e27880 in QDirIteratorPrivate::QDirIteratorPrivate (this=0x55e40b211760, entry=..., nameFilters=..., filters=..., flags=..., resolveEngine=<optimized out>) at io/qdiriterator.cpp:179
#5  0x00007f5f05e27e6c in QDirIterator::QDirIterator (this=0x55e40b2489a0, path=..., filters=..., flags=...) at io/qdiriterator.cpp:435
#6  0x000055e409189874 in Baloo::FilteredDirIterator::next (this=0x55e40ae88ec0) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/filtereddiriterator.cpp:69
#7  0x000055e40919a2de in KInotify::Private::_k_addWatches (this=0x55e40ae465d0) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/kinotify.cpp:163
#8  0x000055e409198189 in KInotify::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x55e40b209640) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0_build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:161
#9  0x00007f5f05f0648a in QObject::event (this=0x55e40ae46700, e=<optimized out>) at kernel/qobject.cpp:1251
#10 0x00007f5f05edc81a in doNotify (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1137
#11 0x00007f5f05edc907 in QCoreApplication::notifyInternal2 (receiver=0x55e40ae46700, event=event@entry=0x55e40b194880) at kernel/qcoreapplication.cpp:1047
#12 0x00007f5f05edf731 in QCoreApplication::sendEvent (event=0x55e40b194880, receiver=<optimized out>) at kernel/qcoreapplication.h:234
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55e40ae353d0) at kernel/qcoreapplication.cpp:1744
#14 0x00007f5f05edfca8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1598
#15 0x00007f5f05f2edb3 in postEventSourceDispatch (s=s@entry=0x55e40ae39c60) at kernel/qeventdispatcher_glib.cpp:276
#16 0x00007f5f03d65d67 in g_main_dispatch (context=0x55e40ae37a80) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3176
#17 g_main_context_dispatch (context=context@entry=0x55e40ae37a80) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3829
#18 0x00007f5f03d65fa0 in g_main_context_iterate (context=context@entry=0x55e40ae37a80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3902
#19 0x00007f5f03d6602c in g_main_context_iteration (context=0x55e40ae37a80, may_block=may_block@entry=1) at /tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/glib/gmain.c:3963
#20 0x00007f5f05f2eb9f in QEventDispatcherGlib::processEvents (this=0x55e40ae370f0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007f5f05edb70a in QEventLoop::exec (this=this@entry=0x7ffedaf491b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:214
#22 0x00007f5f05ee3ff0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1335
#23 0x000055e4091768bc in main (argc=<optimized out>, argv=<optimized out>) at /tmp/portage/kde-frameworks/baloo-5.53.0/work/baloo-5.53.0/src/file/main.cpp:104
[Inferior 1 (process 4466) detached]
Comment 4 Nate Graham 2019-01-15 15:57:18 UTC
*** Bug 402846 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2019-04-05 13:33:33 UTC

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