Bug 354275

Summary: baloo file indexer crashes on login
Product: [Unmaintained] Baloo Reporter: Martin Steigerwald <Martin>
Component: GeneralAssignee: Vishesh Handa <me>
Status: RESOLVED DUPLICATE    
Severity: crash CC: pinak.ahuja
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Steigerwald 2015-10-23 18:58:44 UTC
Application: baloo_file (5.16.0)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.3.0-rc4-tp520-btrfstrim+ x86_64
Distribution: Debian GNU/Linux unstable (sid)

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

Logged into Plasma 5.4.2 desktop on top of self-compiled KDE Frameworks of today, on top of Qt 5.5.1 as packaged in Debian Sid.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
__lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
[Current thread is 1 (Thread 0x7f06d1af5940 (LWP 2572))]

Thread 2 (Thread 0x7f0585eba700 (LWP 3035)):
[KCrash Handler]
#6  0x00007f06cf6f9107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f06cf6fa4e8 in __GI_abort () at abort.c:89
#8  0x00007f06d05a61e1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f06d05a133e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f06d0cab48a in Baloo::DocumentTimeDB::put(unsigned long long, Baloo::DocumentTimeDB::TimeInfo const&) (this=0x7f0585eb99c0, docId=6440754431918128, info=...) at /home/kde/sources/baloo/src/engine/documenttimedb.cpp:61
#11 0x00007f06d0cc1340 in Baloo::WriteTransaction::addDocument(Baloo::Document const&) (this=0x7f0580003190, doc=...) at /home/kde/sources/baloo/src/engine/writetransaction.cpp:80
#12 0x00007f06d0cbc171 in Baloo::Transaction::addDocument(Baloo::Document const&) (this=0x7f0585eb9a60, doc=...) at /home/kde/sources/baloo/src/engine/transaction.cpp:226
#13 0x0000000000440188 in Baloo::FirstRunIndexer::run() (this=0x22c1430) at /home/kde/sources/baloo/src/file/firstrunindexer.cpp:76
#14 0x00007f06d05b5563 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f06d05b8a6e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f06ce8d70a4 in start_thread (arg=0x7f0585eba700) at pthread_create.c:309
#17 0x00007f06cf7aa06d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f06d1af5940 (LWP 2572)):
#0  0x00007f06ce8dd7fc in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f06ce8d94b9 in _L_lock_918 () at /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007f06ce8d92e0 in __GI___pthread_mutex_lock (mutex=0x7f06d1c84040) at ../nptl/pthread_mutex_lock.c:79
#3  0x00007f06d0302842 in  () at /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#4  0x00007f06d0303cc4 in mdb_txn_begin () at /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#5  0x00007f06d0cbb58e in Baloo::Transaction::Transaction(Baloo::Database const&, Baloo::Transaction::TransactionType) (this=0x7ffdfefab110, db=..., type=Baloo::Transaction::ReadWrite) at /home/kde/sources/baloo/src/engine/transaction.cpp:53
#6  0x00007f06d0cbb66b in Baloo::Transaction::Transaction(Baloo::Database*, Baloo::Transaction::TransactionType) (this=0x7ffdfefab110, db=0x7f06d0eda500 <(anonymous namespace)::Q_QGS_s_db::innerFunction()::holder>, type=Baloo::Transaction::ReadWrite) at /home/kde/sources/baloo/src/engine/transaction.cpp:62
#7  0x0000000000450bfb in Baloo::MetadataMover::removeFileMetadata(QString const&) (this=0x2124e60, file=...) at /home/kde/sources/baloo/src/file/metadatamover.cpp:65
#8  0x000000000044c549 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (Baloo::MetadataMover::*)(QString const&)>::call(void (Baloo::MetadataMover::*)(QString const&), Baloo::MetadataMover*, void**) (f=(void (Baloo::MetadataMover::*)(Baloo::MetadataMover * const, const QString &)) 0x450b6a <Baloo::MetadataMover::removeFileMetadata(QString const&)>, o=0x2124e60, arg=0x7ffdfefab330) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:501
#9  0x000000000044c36c in QtPrivate::FunctionPointer<void (Baloo::MetadataMover::*)(QString const&)>::call<QtPrivate::List<QString const&>, void>(void (Baloo::MetadataMover::*)(QString const&), Baloo::MetadataMover*, void**) (f=(void (Baloo::MetadataMover::*)(Baloo::MetadataMover * const, const QString &)) 0x450b6a <Baloo::MetadataMover::removeFileMetadata(QString const&)>, o=0x2124e60, arg=0x7ffdfefab330) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:520
#10 0x000000000044bffd in QtPrivate::QSlotObject<void (Baloo::MetadataMover::*)(QString const&), QtPrivate::List<QString const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x2136e10, r=0x2124e60, a=0x7ffdfefab330, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:143
#11 0x00007f06d07c87b7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x000000000045c09f in Baloo::PendingFileQueue::removeFileIndex(QString const&) (this=0x21ed420, _t1=...) at /home/kde/build/baloo/src/file/moc_pendingfilequeue.cpp:216
#13 0x000000000044ce6e in Baloo::PendingFileQueue::processCache() (this=0x21ed420) at /home/kde/sources/baloo/src/file/pendingfilequeue.cpp:89
#14 0x0000000000450958 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (Baloo::PendingFileQueue::*)()>::call(void (Baloo::PendingFileQueue::*)(), Baloo::PendingFileQueue*, void**) (f=(void (Baloo::PendingFileQueue::*)(Baloo::PendingFileQueue * const)) 0x44cd72 <Baloo::PendingFileQueue::processCache()>, o=0x21ed420, arg=0x7ffdfefab630) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:501
#15 0x00000000004505ad in QtPrivate::FunctionPointer<void (Baloo::PendingFileQueue::*)()>::call<QtPrivate::List<>, void>(void (Baloo::PendingFileQueue::*)(), Baloo::PendingFileQueue*, void**) (f=(void (Baloo::PendingFileQueue::*)(Baloo::PendingFileQueue * const)) 0x44cd72 <Baloo::PendingFileQueue::processCache()>, o=0x21ed420, arg=0x7ffdfefab630) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:520
#16 0x000000000044f2f5 in QtPrivate::QSlotObject<void (Baloo::PendingFileQueue::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x21ed220, r=0x21ed420, a=0x7ffdfefab630, ret=0x0) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:143
#17 0x00007f06d07c87b7 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f06d07d51d8 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f06d07c97a3 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f06d0799d9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f06d07ef38d in QTimerInfoList::activateTimers() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f06d07ef891 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f06cc963fe7 in g_main_context_dispatch (context=0x2111a00) at /build/glib2.0-l3js1a/glib2.0-2.46.1/./glib/gmain.c:3154
#24 0x00007f06cc963fe7 in g_main_context_dispatch (context=context@entry=0x2111a00) at /build/glib2.0-l3js1a/glib2.0-2.46.1/./glib/gmain.c:3769
#25 0x00007f06cc964240 in g_main_context_iterate (context=context@entry=0x2111a00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-l3js1a/glib2.0-2.46.1/./glib/gmain.c:3840
#26 0x00007f06cc9642ec in g_main_context_iteration (context=0x2111a00, may_block=1) at /build/glib2.0-l3js1a/glib2.0-2.46.1/./glib/gmain.c:3901
#27 0x00007f06d07f056f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f06d079754a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f06d079f62c in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x000000000043795a in main(int, char**) (argc=1, argv=0x7ffdfefabe28) at /home/kde/sources/baloo/src/file/main.cpp:88

Reported using DrKonqi
Comment 1 Martin Steigerwald 2015-10-23 19:00:30 UTC
I think it is the same as bug #353851, but just wanted to add back trace with Qt 5.5.1. Dr Konqi forgot to link it.

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