Bug 368994

Summary: Baloo crashed while a file has been transfered
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Axel Wintermann <bortechino>
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.21.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Axel Wintermann 2016-09-18 14:13:11 UTC
Application: baloo_file (5.21.0)

Qt Version: 5.5.1
Operating System: Linux 4.1.31-30-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

I've transfered a file, and baloo crashed. I have this crash several times after  each system reboot

-- 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 0x7f6b07a78780 (LWP 2695))]

Thread 2 (Thread 0x7f69bc95e700 (LWP 3050)):
#0  0x00007f6b01fb4d14 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f6b01f724a0 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6b01f72d80 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f6b01f72f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f6b0619cd8b in QEventDispatcherGlib::processEvents (this=0x7f69b80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f6b06143d53 in QEventLoop::exec (this=this@entry=0x7f69bc95dd20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x000000000041531b in Baloo::FileContentIndexer::run (this=0x7687b0) at /usr/src/debug/baloo-5.21.0/src/file/filecontentindexer.cpp:73
#7  0x00007f6b05f67382 in QThreadPoolThread::run (this=0x867290) at thread/qthreadpool.cpp:93
#8  0x00007f6b05f6a32f in QThreadPrivate::start (arg=0x867290) at thread/qthread_unix.cpp:331
#9  0x00007f6b0458f0a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f6b0556c02d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f6b07a78780 (LWP 2695)):
[KCrash Handler]
#6  0x00007f6b0326e25c in mdb_get () from /usr/lib64/liblmdb-0.9.14.so
#7  0x00007f6b0683f4cd in Baloo::IdTreeDB::get (this=this@entry=0x7ffd0604c030, docId=docId@entry=0) at /usr/src/debug/baloo-5.21.0/src/engine/idtreedb.cpp:82
#8  0x00007f6b0683cdc0 in Baloo::DocumentUrlDB::getId (this=this@entry=0x7ffd0604c0a0, docId=0, fileName=...) at /usr/src/debug/baloo-5.21.0/src/engine/documenturldb.cpp:186
#9  0x00007f6b0684e949 in Baloo::Transaction::documentId (this=this@entry=0x7ffd0604c120, path=...) at /usr/src/debug/baloo-5.21.0/src/engine/transaction.cpp:121
#10 0x000000000041d453 in Baloo::MetadataMover::removeMetadata (this=this@entry=0x795600, tr=tr@entry=0x7ffd0604c120, url=...) at /usr/src/debug/baloo-5.21.0/src/file/metadatamover.cpp:74
#11 0x000000000041de02 in Baloo::MetadataMover::moveFileMetadata (this=0x795600, from=..., to=...) at /usr/src/debug/baloo-5.21.0/src/file/metadatamover.cpp:53
#12 0x00007f6b0617573f in QtPrivate::QSlotObjectBase::call (a=0x7ffd0604c290, r=0x7ffd0604c9f0, this=0x751fa0) at ../../src/corelib/kernel/qobject_impl.h:124
#13 QMetaObject::activate (sender=sender@entry=0x7afa60, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffd0604c290) at kernel/qobject.cpp:3698
#14 0x00007f6b061762e7 in QMetaObject::activate (sender=sender@entry=0x7afa60, m=m@entry=0x638bc0 <KInotify::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffd0604c290) at kernel/qobject.cpp:3578
#15 0x000000000041e75a in KInotify::moved (this=this@entry=0x7afa60, _t1=..., _t2=...) at /usr/src/debug/baloo-5.21.0/build/src/file/moc_kinotify.cpp:330
#16 0x00000000004228f9 in KInotify::slotEvent (this=<optimized out>, socket=<optimized out>) at /usr/src/debug/baloo-5.21.0/src/file/kinotify.cpp:421
#17 0x00007f6b0617573f in QtPrivate::QSlotObjectBase::call (a=0x7ffd0604c550, r=0x7afa60, this=0x798aa0) at ../../src/corelib/kernel/qobject_impl.h:124
#18 QMetaObject::activate (sender=sender@entry=0x773210, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd0604c550) at kernel/qobject.cpp:3698
#19 0x00007f6b061762e7 in QMetaObject::activate (sender=sender@entry=0x773210, m=m@entry=0x7f6b06594780 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd0604c550) at kernel/qobject.cpp:3578
#20 0x00007f6b061f78ee in QSocketNotifier::activated (this=this@entry=0x773210, _t1=13) at .moc/moc_qsocketnotifier.cpp:134
#21 0x00007f6b06182a89 in QSocketNotifier::event (this=0x773210, e=0x7ffd0604c6c0) at kernel/qsocketnotifier.cpp:260
#22 0x00007f6b0614618d in QCoreApplication::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1038
#23 0x00007f6b06145e95 in QCoreApplication::notifyInternal (this=0x7ffd0604c960, receiver=0x773210, event=event@entry=0x7ffd0604c6c0) at kernel/qcoreapplication.cpp:965
#24 0x00007f6b0619dca5 in QCoreApplication::sendEvent (event=0x7ffd0604c6c0, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:224
#25 socketNotifierSourceDispatch (source=0x7440f0) at kernel/qeventdispatcher_glib.cpp:101
#26 0x00007f6b01f72c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f6b01f72ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f6b01f72f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f6b0619cd6c in QEventDispatcherGlib::processEvents (this=0x743ce0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#30 0x00007f6b06143d53 in QEventLoop::exec (this=this@entry=0x7ffd0604c8d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#31 0x00007f6b0614b8f6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#32 0x000000000040a832 in main (argc=1, argv=<optimized out>) at /usr/src/debug/baloo-5.21.0/src/file/main.cpp:88

Possible duplicates by query: bug 359672, bug 355210, bug 353223.

Reported using DrKonqi
Comment 1 Christoph Feck 2017-03-24 22:24:21 UTC

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