Bug 355731

Summary: Baloo crashed (assert) after copying a lot of files
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Andreas Cord-Landwehr <cordlandwehr>
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aspotashev, christoph, pinak.ahuja
Priority: NOR Keywords: drkonqi
Version: 5.16.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Cord-Landwehr 2015-11-22 13:19:02 UTC
Application: baloo_file (5.16.0)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.2.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

-- Information about the crash:
- What I was doing when the application crashed:
I copied a rather big folder tree (about 6GB, several sub- and subsubfolders and a lot of files).
Shortly after, I got the crash report.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f47fc9c9107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f47fc9ca4e8 in __GI_abort () at abort.c:89
#8  0x00007f47fd889291 in qt_message_fatal (context=..., message=...) at global/qlogging.cpp:1578
#9  0x00007f47fd88595c in QMessageLogger::fatal (this=0x7ffc6649d1f0, msg=0x7f47fdba5c78 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:781
#10 0x00007f47fd87ebf3 in qt_assert_x (where=0x7f47fe0ac06b "DocumentUrlDB::del", what=0x7f47fe0ac028 "This folder still has sub-files in its cache. It cannot be deleted", file=0x7f47fe0abfd0 "/opt/kde/src/frameworks/baloo/src/engine/documenturldb.h", line=127) at global/qglobal.cpp:2974
#11 0x00007f47fe0a2e1a in Baloo::DocumentUrlDB::replace<Baloo::WriteTransaction::removeDocument(quint64)::<lambda(quint64)> >(quint64, const QByteArray &, Baloo::WriteTransaction::<lambda(quint64)>) (this=0x7ffc6649d340, docId=34912973105399815, url=..., shouldDeleteFolder=...) at /opt/kde/src/frameworks/baloo/src/engine/documenturldb.h:127
#12 0x00007f47fe0a2584 in Baloo::DocumentUrlDB::del<Baloo::WriteTransaction::removeDocument(quint64)::<lambda(quint64)> >(quint64, Baloo::WriteTransaction::<lambda(quint64)>) (this=0x7ffc6649d340, docId=34912973105399815, shouldDeleteFolder=...) at /opt/kde/src/frameworks/baloo/src/engine/documenturldb.h:53
#13 0x00007f47fe0a1631 in Baloo::WriteTransaction::removeDocument (this=0x2845900, id=34912973105399815) at /opt/kde/src/frameworks/baloo/src/engine/writetransaction.cpp:132
#14 0x00007f47fe09cba3 in Baloo::Transaction::removeDocument (this=0x7ffc6649d490, id=34912973105399815) at /opt/kde/src/frameworks/baloo/src/engine/transaction.cpp:235
#15 0x0000000000453738 in Baloo::MetadataMover::removeMetadata (this=0x25a4fb0, tr=0x7ffc6649d490, url=...) at /opt/kde/src/frameworks/baloo/src/file/metadatamover.cpp:82
#16 0x000000000045363c in Baloo::MetadataMover::removeFileMetadata (this=0x25a4fb0, file=...) at /opt/kde/src/frameworks/baloo/src/file/metadatamover.cpp:66
#17 0x000000000044eff6 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (Baloo::MetadataMover::*)(QString const&)>::call (f=(void (Baloo::MetadataMover::*)(Baloo::MetadataMover * const, const QString &)) 0x453594 <Baloo::MetadataMover::removeFileMetadata(QString const&)>, o=0x25a4fb0, arg=0x7ffc6649d750) at /opt/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:501
#18 0x000000000044ee5e in QtPrivate::FunctionPointer<void (Baloo::MetadataMover::*)(QString const&)>::call<QtPrivate::List<QString const&>, void> (f=(void (Baloo::MetadataMover::*)(Baloo::MetadataMover * const, const QString &)) 0x453594 <Baloo::MetadataMover::removeFileMetadata(QString const&)>, o=0x25a4fb0, arg=0x7ffc6649d750) at /opt/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:520
#19 0x000000000044ebcb in QtPrivate::QSlotObject<void (Baloo::MetadataMover::*)(QString const&), QtPrivate::List<QString const&>, void>::impl (which=1, this_=0x2600e00, r=0x25a4fb0, a=0x7ffc6649d750, ret=0x0) at /opt/qt5/qtbase/src/corelib/kernel/qobject_impl.h:143
#20 0x00007f47fdb07b5d in QtPrivate::QSlotObjectBase::call (this=0x2600e00, r=0x25a4fb0, a=0x7ffc6649d750) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#21 0x00007f47fdb04b5e in QMetaObject::activate (sender=0x25bc130, signalOffset=3, local_signal_index=3, argv=0x7ffc6649d750) at kernel/qobject.cpp:3698
#22 0x00007f47fdb04474 in QMetaObject::activate (sender=0x25bc130, m=0x67de80 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=3, argv=0x7ffc6649d750) at kernel/qobject.cpp:3578
#23 0x000000000045ed9d in Baloo::PendingFileQueue::removeFileIndex (this=0x25bc130, _t1=...) at /opt/kde/build/frameworks/baloo/src/file/moc_pendingfilequeue.cpp:217
#24 0x000000000044f898 in Baloo::PendingFileQueue::processCache (this=0x25bc130) at /opt/kde/src/frameworks/baloo/src/file/pendingfilequeue.cpp:89
#25 0x0000000000453382 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)) 0x44f79c <Baloo::PendingFileQueue::processCache()>, o=0x25bc130, arg=0x7ffc6649da60) at /opt/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:501
#26 0x0000000000452fd7 in QtPrivate::FunctionPointer<void (Baloo::PendingFileQueue::*)()>::call<QtPrivate::List<>, void>(void (Baloo::PendingFileQueue::*)(), Baloo::PendingFileQueue*, void**) (f=(void (Baloo::PendingFileQueue::*)(Baloo::PendingFileQueue * const)) 0x44f79c <Baloo::PendingFileQueue::processCache()>, o=0x25bc130, arg=0x7ffc6649da60) at /opt/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:520
#27 0x0000000000451d1f in QtPrivate::QSlotObject<void (Baloo::PendingFileQueue::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x25bc250, r=0x25bc130, a=0x7ffc6649da60, ret=0x0) at /opt/qt5/qtbase/src/corelib/kernel/qobject_impl.h:143
#28 0x00007f47fdb07b5d in QtPrivate::QSlotObjectBase::call (this=0x25bc250, r=0x25bc130, a=0x7ffc6649da60) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#29 0x00007f47fdb04b5e in QMetaObject::activate (sender=0x25bc148, signalOffset=3, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3698
#30 0x00007f47fdb04474 in QMetaObject::activate (sender=0x25bc148, m=0x7f47fddbe960 <QTimer::staticMetaObject>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3578
#31 0x00007f47fdba049d in QTimer::timeout (this=0x25bc148) at .moc/moc_qtimer.cpp:197
#32 0x00007f47fdb0ff2f in QTimer::timerEvent (this=0x25bc148, e=0x7ffc6649de30) at kernel/qtimer.cpp:247
#33 0x00007f47fdafe140 in QObject::event (this=0x25bc148, e=0x7ffc6649de30) at kernel/qobject.cpp:1220
#34 0x00007f47fdac6670 in QCoreApplicationPrivate::notify_helper (this=0x256b700, receiver=0x25bc148, event=0x7ffc6649de30) at kernel/qcoreapplication.cpp:1093
#35 0x00007f47fdac6352 in QCoreApplication::notify (this=0x7ffc6649e380, receiver=0x25bc148, event=0x7ffc6649de30) at kernel/qcoreapplication.cpp:1038
#36 0x00007f47fdac625c in QCoreApplication::notifyInternal (this=0x7ffc6649e380, receiver=0x25bc148, event=0x7ffc6649de30) at kernel/qcoreapplication.cpp:965
#37 0x00007f47fdac9f95 in QCoreApplication::sendEvent (receiver=0x25bc148, event=0x7ffc6649de30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#38 0x00007f47fdb3a75e in QTimerInfoList::activateTimers (this=0x256e260) at kernel/qtimerinfo_unix.cpp:637
#39 0x00007f47fdb3ba7c in timerSourceDispatch (source=0x256e200) at kernel/qeventdispatcher_glib.cpp:177
#40 0x00007f47fdb3bb63 in idleTimerSourceDispatch (source=0x256e2b0) at kernel/qeventdispatcher_glib.cpp:224
#41 0x00007f47f7c9afe7 in g_main_dispatch (context=0x256d000) at /build/glib2.0-ocmJ1Y/glib2.0-2.46.2/./glib/gmain.c:3154
#42 g_main_context_dispatch (context=context@entry=0x256d000) at /build/glib2.0-ocmJ1Y/glib2.0-2.46.2/./glib/gmain.c:3769
#43 0x00007f47f7c9b240 in g_main_context_iterate (context=context@entry=0x256d000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-ocmJ1Y/glib2.0-2.46.2/./glib/gmain.c:3840
#44 0x00007f47f7c9b2ec in g_main_context_iteration (context=0x256d000, may_block=1) at /build/glib2.0-ocmJ1Y/glib2.0-2.46.2/./glib/gmain.c:3901
#45 0x00007f47fdb3c42d in QEventDispatcherGlib::processEvents (this=0x256fc10, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#46 0x00007f47fdac2df6 in QEventLoop::processEvents (this=0x7ffc6649e160, flags=...) at kernel/qeventloop.cpp:128
#47 0x00007f47fdac30f2 in QEventLoop::exec (this=0x7ffc6649e160, flags=...) at kernel/qeventloop.cpp:204
#48 0x00007f47fdac693a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#49 0x00000000004399aa in main (argc=1, argv=0x7ffc6649e5c8) at /opt/kde/src/frameworks/baloo/src/file/main.cpp:88

Possible duplicates by query: bug 355096, bug 354692, bug 353914, bug 353362, bug 353057.

Reported using DrKonqi
Comment 1 Christoph Cullmann 2016-09-11 20:48:16 UTC

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