Bug 367636

Summary: Baloo crashes when moving files at the command line
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Jesse Burt <avsa242>
Component: EngineAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aspotashev
Priority: NOR Keywords: drkonqi
Version: 5.18.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jesse Burt 2016-08-21 11:02:50 UTC
Application: baloo_file (5.18.0)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-36-generic x86_64
Distribution: Ubuntu 16.04.1 LTS

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

I moved all files in my home directory with the pattern *.raw to a subdir called sdr-samples/

Withiin 1-2sec I was notified that Baloo had crashed

sdr-samples/ was a pre-existing subdir, mode 0775
Mode of all files was 0664, ownership me as well as my group

-- 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 0x7f64ab1208c0 (LWP 3992))]

Thread 2 (Thread 0x7f635ff85700 (LWP 4868)):
#0  0x00007ffd5d4a0b8f in clock_gettime ()
#1  0x00007f64a921afb6 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7f635ff84850) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f64a9cc3c16 in qt_gettime() (ts=0x7f635ff84850, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  0x00007f64a9cc3c16 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  0x00007f64a9cc3c16 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f64a9e48529 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7f63580030d0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f64a9e48a95 in QTimerInfoList::timerWait(timespec&) (this=0x7f63580030d0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f64a9e49e7e in timerSourcePrepare(GSource*, gint*) (timeout=0x7f635ff84924, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  0x00007f64a9e49e7e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7f635ff84924) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f64a639792d in g_main_context_prepare (context=context@entry=0x7f6358000990, priority=priority@entry=0x7f635ff849b0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3442
#10 0x00007f64a63982cb in g_main_context_iterate (context=context@entry=0x7f6358000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3820
#11 0x00007f64a63984ac in g_main_context_iteration (context=0x7f6358000990, may_block=may_block@entry=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#12 0x00007f64a9e4aa9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f63580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f64a9df1dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f635ff84bc0, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000000000420cd8 in Baloo::FileContentIndexer::run() ()
#15 0x00007f64a9c10343 in QThreadPoolThread::run() (this=0xf1fb70) at thread/qthreadpool.cpp:93
#16 0x00007f64a9c1384e in QThreadPrivate::start(void*) (arg=0xf1fb70) at thread/qthread_unix.cpp:331
#17 0x00007f64a885d6fa in start_thread (arg=0x7f635ff85700) at pthread_create.c:333
#18 0x00007f64a920cb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f64ab1208c0 (LWP 3992)):
[KCrash Handler]
#6  0x00007f64a913b418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f64a913d01a in __GI_abort () at abort.c:89
#8  0x00007f64a792d002 in  () at /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#9  0x00007f64a792ace4 in mdb_txn_commit () at /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#10 0x00007f64aa2f6070 in Baloo::Transaction::commit() () at /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#11 0x000000000042a02b in Baloo::MetadataMover::moveFileMetadata(QString const&, QString const&) ()
#12 0x00007f64a9e22e4f in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffd5d4244d0, r=0x7ffd5d424b90, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#13 0x00007f64a9e22e4f in QMetaObject::activate(QObject*, int, int, void**) (sender=0xd45050, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3698
#14 0x000000000042aaba in KInotify::moved(QString const&, QString const&) ()
#15 0x000000000042cbff in KInotify::slotEvent(int) ()
#16 0x00007f64a9e22e4f in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffd5d424760, r=0xd45050, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#17 0x00007f64a9e22e4f in QMetaObject::activate(QObject*, int, int, void**) (sender=sender@entry=0xd3dd50, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd5d424760) at kernel/qobject.cpp:3698
#18 0x00007f64a9e237d7 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0xd3dd50, m=m@entry=0x7f64aa03d780 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd5d424760) at kernel/qobject.cpp:3578
#19 0x00007f64a9ea251e in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) (this=this@entry=0xd3dd50, _t1=13) at .moc/moc_qsocketnotifier.cpp:134
#20 0x00007f64a9e2f47b in QSocketNotifier::event(QEvent*) (this=0xd3dd50, e=<optimized out>) at kernel/qsocketnotifier.cpp:260
#21 0x00007f64a9df460c in QCoreApplication::notifyInternal(QObject*, QEvent*) (event=0x7ffd5d424820, receiver=0xd3dd50, this=0x7ffd5d424af0) at kernel/qcoreapplication.cpp:1038
#22 0x00007f64a9df460c in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffd5d424af0, receiver=0xd3dd50, event=event@entry=0x7ffd5d424820) at kernel/qcoreapplication.cpp:965
#23 0x00007f64a9e4af45 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (event=0x7ffd5d424820, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#24 0x00007f64a9e4af45 in socketNotifierSourceDispatch(GSource*, GSourceFunc, gpointer) (source=0xc76540) at kernel/qeventdispatcher_glib.cpp:101
#25 0x00007f64a63981a7 in g_main_context_dispatch (context=0xc765b0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3154
#26 0x00007f64a63981a7 in g_main_context_dispatch (context=context@entry=0xc765b0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3769
#27 0x00007f64a6398400 in g_main_context_iterate (context=context@entry=0xc765b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3840
#28 0x00007f64a63984ac in g_main_context_iteration (context=0xc765b0, may_block=may_block@entry=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#29 0x00007f64a9e4aa7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xc76520, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#30 0x00007f64a9df1dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd5d424a30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#31 0x00007f64a9df9e8c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#32 0x000000000041698c in main ()

Reported using DrKonqi
Comment 1 Dominik Haumann 2016-09-11 21:01:23 UTC

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