Bug 378340

Summary: baloo crashs
Product: [Frameworks and Libraries] frameworks-baloo Reporter: fabio
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.18.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description fabio 2017-04-01 11:04:30 UTC
Application: baloo_file (5.18.0)

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

-- Information about the crash:
baloo crashs when a virtual machine (virtual box) run, or when a cd/dvd is mounted

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f793002a700 (LWP 5443)):
#0  0x00007f7a79210b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f7a763e138c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7a763e149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7a79e467eb in QEventDispatcherGlib::processEvents (this=0x7f79280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f7a79dedb4a in QEventLoop::exec (this=this@entry=0x7f7930029bc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x0000000000420cd8 in Baloo::FileContentIndexer::run (this=0x10fa680) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/filecontentindexer.cpp:71
#6  0x00007f7a79c0c2d3 in QThreadPoolThread::run (this=0x11d31e0) at thread/qthreadpool.cpp:93
#7  0x00007f7a79c0f7be in QThreadPrivate::start (arg=0x11d31e0) at thread/qthread_unix.cpp:331
#8  0x00007f7a788736ba in start_thread (arg=0x7f793002a700) at pthread_create.c:333
#9  0x00007f7a7921c82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f7a7b1078c0 (LWP 5052)):
[KCrash Handler]
#6  0x00007f7a7794ecb7 in mdb_midl_xmerge () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#7  0x00007f7a7794676c in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#8  0x00007f7a77948754 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#9  0x00007f7a77948b3a in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#10 0x00007f7a7794bfa4 in mdb_cursor_put () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#11 0x00007f7a7794e260 in mdb_put () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#12 0x00007f7a7a2e571a in Baloo::PostingDB::put (this=this@entry=0x7ffccaadc930, term=..., list=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/postingdb.cpp:78
#13 0x00007f7a7a2f6b31 in Baloo::WriteTransaction::commit (this=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/writetransaction.cpp:307
#14 0x00007f7a7a2ee032 in Baloo::Transaction::commit (this=this@entry=0x7ffccaadc9d0) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:262
#15 0x000000000042a02b in Baloo::MetadataMover::moveFileMetadata (this=0x10f3e60, from=..., to=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/metadatamover.cpp:58
#16 0x00007f7a79e1ebaf in QtPrivate::QSlotObjectBase::call (a=0x7ffccaadcb30, r=0x7ffccaadd1f0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#17 QMetaObject::activate (sender=sender@entry=0x10b97d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffccaadcb30) at kernel/qobject.cpp:3698
#18 0x00007f7a79e1f537 in QMetaObject::activate (sender=sender@entry=0x10b97d0, m=m@entry=0x644cc0 <KInotify::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffccaadcb30) at kernel/qobject.cpp:3578
#19 0x000000000042aaba in KInotify::moved (this=this@entry=0x10b97d0, _t1=..., _t2=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/obj-x86_64-linux-gnu/src/file/moc_kinotify.cpp:330
#20 0x000000000042cbff in KInotify::slotEvent (this=<optimized out>, socket=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/kinotify.cpp:421
#21 0x00007f7a79e1ebaf in QtPrivate::QSlotObjectBase::call (a=0x7ffccaadcdc0, r=0x10b97d0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#22 QMetaObject::activate (sender=sender@entry=0x11050b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffccaadcdc0) at kernel/qobject.cpp:3698
#23 0x00007f7a79e1f537 in QMetaObject::activate (sender=sender@entry=0x11050b0, m=m@entry=0x7f7a7a039780 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffccaadcdc0) at kernel/qobject.cpp:3578
#24 0x00007f7a79e9e24e in QSocketNotifier::activated (this=this@entry=0x11050b0, _t1=13) at .moc/moc_qsocketnotifier.cpp:134
#25 0x00007f7a79e2b1cb in QSocketNotifier::event (this=0x11050b0, e=<optimized out>) at kernel/qsocketnotifier.cpp:260
#26 0x00007f7a79df036c in QCoreApplication::notify (event=0x7ffccaadce80, receiver=0x11050b0, this=0x7ffccaadd150) at kernel/qcoreapplication.cpp:1038
#27 QCoreApplication::notifyInternal (this=0x7ffccaadd150, receiver=0x11050b0, event=event@entry=0x7ffccaadce80) at kernel/qcoreapplication.cpp:965
#28 0x00007f7a79e46c95 in QCoreApplication::sendEvent (event=0x7ffccaadce80, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#29 socketNotifierSourceDispatch (source=0x10053b0) at kernel/qeventdispatcher_glib.cpp:101
#30 0x00007f7a763e1197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f7a763e13f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f7a763e149c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f7a79e467cf in QEventDispatcherGlib::processEvents (this=0x1007060, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#34 0x00007f7a79dedb4a in QEventLoop::exec (this=this@entry=0x7ffccaadd090, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#35 0x00007f7a79df5bec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#36 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 352494.

Reported using DrKonqi
Comment 1 Nate Graham 2018-11-26 18:31:59 UTC

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