Bug 387104

Summary: Baloo seems crashing randomly from time to time
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Alexander Mentyu <notuxius>
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexander Mentyu 2017-11-19 13:39:17 UTC
Application: baloo_file (5.41.0)

Qt Version: 5.9.1
Frameworks Version: 5.41.0
Operating System: Linux 4.10.0-38-generic x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
- What I was doing when the application crashed:
Ballo crashed after launching of Dropbox app. I'm not sure 100% that Dropbox caused the crash - but it happened right after launch of Dropbox

-- 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".
__lll_robust_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
[Current thread is 1 (Thread 0x7f0662ce58c0 (LWP 13037))]

Thread 3 (Thread 0x7f06576b0700 (LWP 14196)):
[KCrash Handler]
#6  0x00007f065f4acbfd in mdb_cursor_put () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#7  0x00007f065f4af260 in mdb_put () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#8  0x00007f0661e9284d in Baloo::IdTreeDB::put(unsigned long long, QVector<unsigned long long>) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#9  0x00007f0661e8b8d1 in Baloo::DocumentUrlDB::add(unsigned long long, unsigned long long, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#10 0x00007f0661e8bc71 in Baloo::DocumentUrlDB::put(unsigned long long, QByteArray const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#11 0x00007f0661eac80a in Baloo::WriteTransaction::addDocument(Baloo::Document const&) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#12 0x00000000004138f7 in ?? ()
#13 0x00007f0661750c73 in QThreadPoolThread::run (this=0x1060c90) at thread/qthreadpool.cpp:99
#14 0x00007f0661754989 in QThreadPrivate::start (arg=0x1060c90) at thread/qthread_unix.cpp:368
#15 0x00007f06603de6ba in start_thread (arg=0x7f06576b0700) at pthread_create.c:333
#16 0x00007f0660d583dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f06581b3700 (LWP 13066)):
#0  0x00007ffe74303b0b in clock_gettime ()
#1  0x00007f0660d66836 in __GI___clock_gettime (clock_id=clock_id@entry=1, tp=tp@entry=0x7f06581b2a30) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f066197d251 in qt_clock_gettime (ts=0x7f06581b2a30, clock=<optimized out>) at kernel/qelapsedtimer_unix.cpp:111
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at kernel/qelapsedtimer_unix.cpp:166
#4  qt_gettime () at kernel/qelapsedtimer_unix.cpp:175
#5  0x00007f066197ba49 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f06500030d0) at kernel/qtimerinfo_unix.cpp:91
#6  0x00007f066197bfb5 in QTimerInfoList::timerWait (this=0x7f06500030d0, tm=...) at kernel/qtimerinfo_unix.cpp:388
#7  0x00007f066197d6be in timerSourcePrepareHelper (timeout=0x7f06581b2b04, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:132
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f06581b2b04) at kernel/qeventdispatcher_glib.cpp:165
#9  0x00007f065df9691d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f065df972bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f065df9749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f066197d94b in QEventDispatcherGlib::processEvents (this=0x7f06500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#13 0x00007f06619267ca in QEventLoop::exec (this=this@entry=0x7f06581b2cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#14 0x00007f066174fcd4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#15 0x00007f0662dfcb75 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#16 0x00007f0661754989 in QThreadPrivate::start (arg=0x7f0662e72da0) at thread/qthread_unix.cpp:368
#17 0x00007f06603de6ba in start_thread (arg=0x7f06581b3700) at pthread_create.c:333
#18 0x00007f0660d583dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f0662ce58c0 (LWP 13037)):
#0  __lll_robust_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
#1  0x00007f06603e09e8 in __pthread_mutex_lock_full (mutex=0x7f0662e91040) at ../nptl/pthread_mutex_lock.c:256
#2  0x00007f065f4a5c32 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#3  0x00007f065f4a6f14 in mdb_txn_begin () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#4  0x00007f0661ea5c4b in Baloo::Transaction::Transaction(Baloo::Database const&, Baloo::Transaction::TransactionType) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#5  0x000000000042322f in ?? ()
#6  0x00007f0661954f46 in QtPrivate::QSlotObjectBase::call (a=0x7ffe742e6950, r=0x1031440, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#7  QMetaObject::activate (sender=0x1016b50, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3749
#8  0x000000000042ca95 in ?? ()
#9  0x000000000042136e in ?? ()
#10 0x00007f0661954f46 in QtPrivate::QSlotObjectBase::call (a=0x7ffe742e6b30, r=0x1016b50, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#11 QMetaObject::activate (sender=sender@entry=0x1016b68, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe742e6b30) at kernel/qobject.cpp:3749
#12 0x00007f0661955527 in QMetaObject::activate (sender=sender@entry=0x1016b68, m=m@entry=0x7f0661bdfe00 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe742e6b30) at kernel/qobject.cpp:3628
#13 0x00007f06619614a7 in QTimer::timeout (this=this@entry=0x1016b68, _t1=...) at .moc/moc_qtimer.cpp:201
#14 0x00007f06619617a8 in QTimer::timerEvent (this=0x1016b68, e=<optimized out>) at kernel/qtimer.cpp:255
#15 0x00007f0661955c13 in QObject::event (this=0x1016b68, e=<optimized out>) at kernel/qobject.cpp:1268
#16 0x00007f066192878b in doNotify (event=0x7ffe742e6c80, receiver=0x1016b68) at kernel/qcoreapplication.cpp:1093
#17 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1079
#18 QCoreApplication::notifyInternal2 (receiver=0x1016b68, event=event@entry=0x7ffe742e6c80) at kernel/qcoreapplication.cpp:1018
#19 0x00007f066197ccfe in QCoreApplication::sendEvent (event=0x7ffe742e6c80, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#20 QTimerInfoList::activateTimers (this=0x100ce40) at kernel/qtimerinfo_unix.cpp:643
#21 0x00007f066197d5b9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:229
#23 0x00007f065df97197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f065df973f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f065df9749c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f066197d92f in QEventDispatcherGlib::processEvents (this=0x100ccf0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#27 0x00007f06619267ca in QEventLoop::exec (this=this@entry=0x7ffe742e6ed0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#28 0x00007f066192f704 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#29 0x000000000040ab9b in ?? ()
#30 0x00007f0660c71830 in __libc_start_main (main=0x40a710, argc=1, argv=0x7ffe742e7248, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe742e7238) at ../csu/libc-start.c:291
#31 0x000000000040ac59 in _start ()

Reported using DrKonqi
Comment 1 Alexander Mentyu 2017-11-19 19:54:37 UTC
Maybe it doesn't related to Dropbox and looks like it happen only in Wayland session.
Comment 2 Alexander Mentyu 2017-11-20 07:35:08 UTC
After some time running Plasma on X - i noticed that Baloo service seems crashing randomly from time to time there too and independently of Dropbox app
Comment 3 Dominik Haumann 2018-04-14 01:45:12 UTC

*** This bug has been marked as a duplicate of bug 391652 ***
Comment 4 Nate Graham 2018-11-26 18:16:03 UTC

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