Bug 393945

Summary: kde-frameworks/baloo-5.45.0 crashes in the background
Product: [Frameworks and Libraries] frameworks-baloo Reporter: David Kredba <kredba>
Component: Baloo File DaemonAssignee: baloo-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash CC: kredba, matejm98mthw, nate
Priority: NOR Keywords: drkonqi
Version: 5.45.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description David Kredba 2018-05-07 10:07:26 UTC
Application: baloo_file (5.45.0)
 (Compiled from sources)
Qt Version: 5.9.5
Frameworks Version: 5.45.0
Operating System: Linux 4.16.7-gentoo x86_64
Distribution: "Gentoo Base System release 2.4.1"

-- Information about the crash:
- What I was doing when the application crashed:
Working in KDE not touching file indexing.
Happend a few times after latest released KDE Frameworks installed.

-- Backtrace:
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 0x7f7698fe47c0 (LWP 4460))]

Thread 3 (Thread 0x7f768c96f700 (LWP 4621)):
#0  0x00007f7696a73405 in __GI___poll (fds=0x7f3680007a40, nfds=1, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f769323fba9 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f769323fcbc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f769772dc8b in QEventDispatcherGlib::processEvents (this=0x7f3680000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f76976dbdba in QEventLoop::exec (this=this@entry=0x7f768c96ecb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x0000562e8f1333fd in Baloo::FileContentIndexer::run (this=0x562e8f4a7b10) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0/src/file/filecontentindexer.cpp:73
#6  0x00007f7697537881 in QThreadPoolThread::run (this=0x562e8f4bc880) at thread/qthreadpool.cpp:99
#7  0x00007f769753aae5 in QThreadPrivate::start (arg=0x562e8f4bc880) at thread/qthread_unix.cpp:368
#8  0x00007f7695abb92a in start_thread (arg=0x7f768c96f700) at pthread_create.c:465
#9  0x00007f7696a7edcf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f768d371700 (LWP 4620)):
#0  0x00007f7696a6eb3a in __GI___libc_read (fd=<optimized out>, buf=0x7f768d370b90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:26
#1  0x00007f76932836d0 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f769323f68b in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f769323fb50 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f769323fcbc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f769772dc8b in QEventDispatcherGlib::processEvents (this=0x7f7688000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f76976dbdba in QEventLoop::exec (this=this@entry=0x7f768d370db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f769753666a in QThread::exec (this=this@entry=0x7f7698b4fd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:515
#8  0x00007f76988dcce5 in QDBusConnectionManager::run (this=0x7f7698b4fd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#9  0x00007f769753aae5 in QThreadPrivate::start (arg=0x7f7698b4fd60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#10 0x00007f7695abb92a in start_thread (arg=0x7f768d371700) at pthread_create.c:465
#11 0x00007f7696a7edcf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7698fe47c0 (LWP 4460)):
[KCrash Handler]
#6  0x00007f76948184c4 in mdb_midl_xmerge (idl=idl@entry=0x7f768c0d0018, merge=merge@entry=0x7f37c8b93010) at midl.c:207
#7  0x00007f769480fc0f in mdb_page_alloc (num=num@entry=2, mp=mp@entry=0x7ffe9b0f66b0, mc=<optimized out>) at mdb.c:2271
#8  0x00007f7694811d04 in mdb_page_new (mc=mc@entry=0x7ffe9b0f6890, flags=flags@entry=4, num=2, mp=mp@entry=0x7ffe9b0f6710) at mdb.c:7142
#9  0x00007f7694812109 in mdb_node_add (mc=mc@entry=0x7ffe9b0f6890, indx=<optimized out>, key=key@entry=0x7ffe9b0f6c60, data=0x7ffe9b0f6c70, pgno=pgno@entry=0, flags=0) at mdb.c:7284
#10 0x00007f7694815639 in mdb_cursor_put (mc=0x7ffe9b0f6890, key=0x7ffe9b0f6c60, data=0x7ffe9b0f6c70, flags=<optimized out>) at mdb.c:6904
#11 0x00007f76948179bb in mdb_put (txn=0x562e8f4a6410, dbi=7, key=key@entry=0x7ffe9b0f6c60, data=data@entry=0x7ffe9b0f6c70, flags=flags@entry=0) at mdb.c:8985
#12 0x00007f769801fd5d in Baloo::IdTreeDB::put (this=this@entry=0x7ffe9b0f6df0, docId=<optimized out>, subDocIds=...) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0/src/engine/idtreedb.cpp:71
#13 0x00007f76980329b1 in Baloo::DocumentUrlDB::replace<Baloo::WriteTransaction::removeDocument(quint64)::<lambda(quint64)> > (shouldDeleteFolder=..., url=..., docId=<optimized out>, this=0x7ffe9b0f6dd0) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0/src/engine/documenturldb.h:105
#14 Baloo::DocumentUrlDB::del<Baloo::WriteTransaction::removeDocument(quint64)::<lambda(quint64)> > (shouldDeleteFolder=..., docId=197041138056625409, this=0x7ffe9b0f6dd0) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0/src/engine/documenturldb.h:56
#15 Baloo::WriteTransaction::removeDocument (this=<optimized out>, id=id@entry=197041138056625409) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0/src/engine/writetransaction.cpp:131
#16 0x00007f769802cff9 in Baloo::Transaction::removeDocument (this=this@entry=0x7ffe9b0f6ed0, id=id@entry=197041138056625409) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0/src/engine/transaction.cpp:235
#17 0x0000562e8f13b9a6 in Baloo::MetadataMover::removeMetadata (this=this@entry=0x562e8f4a2610, tr=tr@entry=0x7ffe9b0f6ed0, url=...) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0/src/file/metadatamover.cpp:82
#18 0x0000562e8f13ba40 in Baloo::MetadataMover::removeFileMetadata (this=0x562e8f4a2610, file=...) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0/src/file/metadatamover.cpp:66
#19 0x00007f7697705717 in QtPrivate::QSlotObjectBase::call (a=0x7ffe9b0f7010, r=0x562e8f4a2610, this=0x562e8f4adc70) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#20 QMetaObject::activate (sender=sender@entry=0x562e8f4a21d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe9b0f7010) at kernel/qobject.cpp:3750
#21 0x00007f7697705c67 in QMetaObject::activate (sender=sender@entry=0x562e8f4a21d0, m=m@entry=0x562e8f359900 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffe9b0f7010) at kernel/qobject.cpp:3629
#22 0x0000562e8f1441d5 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0x562e8f4a21d0, _t1=...) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0_build/src/file/baloofilecommon_autogen/EWIEGA46WW/moc_pendingfilequeue.cpp:222
#23 0x0000562e8f139a6e in Baloo::PendingFileQueue::processCache (this=0x562e8f4a21d0) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0/src/file/pendingfilequeue.cpp:88
#24 0x00007f7697705717 in QtPrivate::QSlotObjectBase::call (a=0x7ffe9b0f71c0, r=0x562e8f4a21d0, this=0x562e8f4b0320) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#25 QMetaObject::activate (sender=sender@entry=0x562e8f4a21e8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe9b0f71c0) at kernel/qobject.cpp:3750
#26 0x00007f7697705c67 in QMetaObject::activate (sender=sender@entry=0x562e8f4a21e8, m=m@entry=0x7f7697b23ec0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe9b0f71c0) at kernel/qobject.cpp:3629
#27 0x00007f7697711917 in QTimer::timeout (this=this@entry=0x562e8f4a21e8, _t1=...) at .moc/moc_qtimer.cpp:200
#28 0x00007f7697711c28 in QTimer::timerEvent (this=0x562e8f4a21e8, e=<optimized out>) at kernel/qtimer.cpp:255
#29 0x00007f76977062eb in QObject::event (this=0x562e8f4a21e8, e=<optimized out>) at kernel/qobject.cpp:1269
#30 0x00007f76976dcf4a in doNotify (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1099
#31 0x00007f76976dd037 in QCoreApplication::notifyInternal2 (receiver=0x562e8f4a21e8, event=event@entry=0x7ffe9b0f7340) at kernel/qcoreapplication.cpp:1024
#32 0x00007f769772cf9b in QCoreApplication::sendEvent (event=0x7ffe9b0f7340, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#33 QTimerInfoList::activateTimers (this=0x562e8f49a5b0) at kernel/qtimerinfo_unix.cpp:643
#34 0x00007f769772d831 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#35 0x00007f769323f9f7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f769323fc28 in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f769323fcbc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f769772dc6f in QEventDispatcherGlib::processEvents (this=0x562e8f497930, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007f76976dbdba in QEventLoop::exec (this=this@entry=0x7ffe9b0f7590, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#40 0x00007f76976e4464 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#41 0x0000562e8f12585c in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-frameworks/baloo-5.45.0/work/baloo-5.45.0/src/file/main.cpp:104

Possible duplicates by query: bug 365770.

Reported using DrKonqi
Comment 1 David Kredba 2018-05-31 18:17:58 UTC
Created attachment 112988 [details]
New crash information added by DrKonqi

baloo_file (5.46.0) using Qt 5.11.0

- What I was doing when the application crashed:
It seems that baloo_file crashed when I connected or asked for software disconnect of a USB stick.

-- Backtrace (Reduced):
#6  0x00007f881d5584c4 in mdb_midl_xmerge (idl=idl@entry=0x7f8814e0d018, merge=merge@entry=0x7f4950b93010) at midl.c:207
#7  0x00007f881d54fc0f in mdb_page_alloc (num=num@entry=2, mp=mp@entry=0x7ffeb29c8800, mc=<optimized out>) at mdb.c:2271
#8  0x00007f881d551d04 in mdb_page_new (mc=mc@entry=0x7ffeb29c89e0, flags=flags@entry=4, num=2, mp=mp@entry=0x7ffeb29c8860) at mdb.c:7142
#9  0x00007f881d552109 in mdb_node_add (mc=mc@entry=0x7ffeb29c89e0, indx=<optimized out>, key=key@entry=0x7ffeb29c8db0, data=0x7ffeb29c8dc0, pgno=pgno@entry=0, flags=0) at mdb.c:7284
#10 0x00007f881d555639 in mdb_cursor_put (mc=0x7ffeb29c89e0, key=0x7ffeb29c8db0, data=0x7ffeb29c8dc0, flags=<optimized out>) at mdb.c:6904
Comment 2 Matej Mrenica 2018-06-01 14:56:50 UTC

*** This bug has been marked as a duplicate of bug 389848 ***
Comment 3 Christoph Feck 2018-06-01 18:38:20 UTC
Not a duplicate.
Comment 4 Nate Graham 2018-11-26 18:39:20 UTC

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