Bug 351119 - Crash after downloading ISO in firefox
Summary: Crash after downloading ISO in firefox
Status: RESOLVED DUPLICATE of bug 354705
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.13.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-08-09 12:52 UTC by David Edmundson
Modified: 2016-09-11 19:36 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Edmundson 2015-08-09 12:52:56 UTC
Application: baloo_file (5.13.0)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.0.6-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
Downloaded this weeks Plasma 5.4 CI ISO. At the exact moment it finished, Baloo crashed.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fee8897d7c0 (LWP 560))]

Thread 4 (Thread 0x7fee7a234700 (LWP 563)):
#0  0x00007fee851b54ed in poll () from /usr/lib/libc.so.6
#1  0x00007fee800da9f2 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007fee800dc56f in xcb_wait_for_event () from /usr/lib/libxcb.so.1
#3  0x00007fee7cf1e1bd in QXcbEventReader::run (this=0x1804220) at /home/david/projects/kde5/qt5/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp:1202
#4  0x00007fee85f7216f in QThreadPrivate::start (arg=0x1804220) at /home/david/projects/kde5/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:331
#5  0x00007fee84ec0374 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fee851be27d in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7fed336d9700 (LWP 628)):
#0  0x00007fee851b54ed in poll () from /usr/lib/libc.so.6
#1  0x00007fee849a3c7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fee849a4002 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3  0x00007fee783d8816 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007fee849ca625 in ?? () from /usr/lib/libglib-2.0.so.0
#5  0x00007fee84ec0374 in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007fee851be27d in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fed32cc7700 (LWP 1760)):
#0  0x00007fee84ec5d58 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007fee85f737e7 in QWaitConditionPrivate::wait_relative (this=0x1aaff50, time=30000) at /home/david/projects/kde5/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:126
#2  0x00007fee85f73814 in QWaitConditionPrivate::wait (this=0x1aaff50, time=30000) at /home/david/projects/kde5/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:134
#3  0x00007fee85f73603 in QWaitCondition::wait (this=0x1ab0e50, mutex=0x1849ca0, time=30000) at /home/david/projects/kde5/qt5/qtbase/src/corelib/thread/qwaitcondition_unix.cpp:208
#4  0x00007fee85f6bdd0 in QThreadPoolThread::run (this=0x1ab0e40) at /home/david/projects/kde5/qt5/qtbase/src/corelib/thread/qthreadpool.cpp:127
#5  0x00007fee85f7216f in QThreadPrivate::start (arg=0x1ab0e40) at /home/david/projects/kde5/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:331
#6  0x00007fee84ec0374 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007fee851be27d in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fee8897d7c0 (LWP 560)):
[KCrash Handler]
#6  0x00007fee851094b7 in raise () from /usr/lib/libc.so.6
#7  0x00007fee8510a88a in abort () from /usr/lib/libc.so.6
#8  0x00007fee85f5f402 in qt_message_fatal (context=..., message=...) at /home/david/projects/kde5/qt5/qtbase/src/corelib/global/qlogging.cpp:1575
#9  0x00007fee85f5bb6e in QMessageLogger::fatal (this=0x7ffd365aedb0, msg=0x7fee862780a0 "ASSERT: \"%s\" in file %s, line %d") at /home/david/projects/kde5/qt5/qtbase/src/corelib/global/qlogging.cpp:777
#10 0x00007fee85f54de6 in qt_assert (assertion=0x7fee86778120 "docId > 0", file=0x7fee86778090 "/home/david/projects/kde5/src/frameworks/baloo/src/engine/idfilenamedb.cpp", line=81) at /home/david/projects/kde5/qt5/qtbase/src/corelib/global/qglobal.cpp:2967
#11 0x00007fee86760fc7 in Baloo::IdFilenameDB::get (this=0x7ffd365aeeb0, docId=0) at /home/david/projects/kde5/src/frameworks/baloo/src/engine/idfilenamedb.cpp:81
#12 0x00007fee86757cea in Baloo::DocumentUrlDB::getId (this=0x7ffd365aef50, docId=0, fileName=...) at /home/david/projects/kde5/src/frameworks/baloo/src/engine/documenturldb.cpp:187
#13 0x00007fee8676d7cf in Baloo::Transaction::documentId (this=0x7ffd365af010, path=...) at /home/david/projects/kde5/src/frameworks/baloo/src/engine/transaction.cpp:122
#14 0x000000000044d2ef in Baloo::MetadataMover::removeMetadata (this=0x187b230, tr=0x7ffd365af010, url=...) at /home/david/projects/kde5/src/frameworks/baloo/src/file/metadatamover.cpp:74
#15 0x000000000044d188 in Baloo::MetadataMover::moveFileMetadata (this=0x187b230, from=..., to=...) at /home/david/projects/kde5/src/frameworks/baloo/src/file/metadatamover.cpp:53
#16 0x00000000004476bf in Baloo::FileWatch::slotFileMoved (this=0x7ffd365b1770, urlFrom=..., urlTo=...) at /home/david/projects/kde5/src/frameworks/baloo/src/file/filewatch.cpp:101
#17 0x0000000000448c75 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<QString const&, QString const&>, void, void (Baloo::FileWatch::*)(QString const&, QString const&)>::call (f=(void (Baloo::FileWatch::*)(Baloo::FileWatch * const, const QString &, const QString &)) 0x447690 <Baloo::FileWatch::slotFileMoved(QString const&, QString const&)>, o=0x7ffd365b1770, arg=0x7ffd365af320) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:501
#18 0x0000000000448a48 in QtPrivate::FunctionPointer<void (Baloo::FileWatch::*)(QString const&, QString const&)>::call<QtPrivate::List<QString const&, QString const&>, void> (f=(void (Baloo::FileWatch::*)(Baloo::FileWatch * const, const QString &, const QString &)) 0x447690 <Baloo::FileWatch::slotFileMoved(QString const&, QString const&)>, o=0x7ffd365b1770, arg=0x7ffd365af320) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:520
#19 0x0000000000448781 in QtPrivate::QSlotObject<void (Baloo::FileWatch::*)(QString const&, QString const&), QtPrivate::List<QString const&, QString const&>, void>::impl (which=1, this_=0x1840070, r=0x7ffd365b1770, a=0x7ffd365af320, ret=0x0) at /opt/qt5/include/QtCore/qobject_impl.h:143
#20 0x00007fee861dadc5 in QtPrivate::QSlotObjectBase::call (this=0x1840070, r=0x7ffd365b1770, a=0x7ffd365af320) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/kernel/qobject_impl.h:124
#21 0x00007fee861d7dfc in QMetaObject::activate (sender=0x1877350, signalOffset=3, local_signal_index=7, argv=0x7ffd365af320) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qobject.cpp:3703
#22 0x00007fee861d7714 in QMetaObject::activate (sender=0x1877350, m=0x6767a0 <KInotify::staticMetaObject>, local_signal_index=7, argv=0x7ffd365af320) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qobject.cpp:3583
#23 0x0000000000450217 in KInotify::moved (this=0x1877350, _t1=..., _t2=...) at src/file/moc_kinotify.cpp:330
#24 0x000000000044f419 in KInotify::slotEvent (this=0x1877350, socket=16) at /home/david/projects/kde5/src/frameworks/baloo/src/file/kinotify.cpp:421
#25 0x000000000044fb83 in KInotify::qt_static_metacall (_o=0x1877350, _c=QMetaObject::InvokeMetaMethod, _id=15, _a=0x7ffd365af880) at src/file/moc_kinotify.cpp:157
#26 0x00007fee861d7f07 in QMetaObject::activate (sender=0x1857e50, signalOffset=3, local_signal_index=0, argv=0x7ffd365af880) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qobject.cpp:3718
#27 0x00007fee861d7714 in QMetaObject::activate (sender=0x1857e50, m=0x7fee86498e80 <QSocketNotifier::staticMetaObject>, local_signal_index=0, argv=0x7ffd365af880) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qobject.cpp:3583
#28 0x00007fee862722f6 in QSocketNotifier::activated (this=0x1857e50, _t1=16) at .moc/moc_qsocketnotifier.cpp:134
#29 0x00007fee861e2d72 in QSocketNotifier::event (this=0x1857e50, e=0x7ffd365b00e0) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qsocketnotifier.cpp:296
#30 0x00007fee87af6dd0 in QApplicationPrivate::notify_helper (this=0x17eac90, receiver=0x1857e50, e=0x7ffd365b00e0) at /home/david/projects/kde5/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3717
#31 0x00007fee87af4546 in QApplication::notify (this=0x7ffd365b1840, receiver=0x1857e50, e=0x7ffd365b00e0) at /home/david/projects/kde5/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3161
#32 0x00007fee86199a00 in QCoreApplication::notifyInternal (this=0x7ffd365b1840, receiver=0x1857e50, event=0x7ffd365b00e0) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:965
#33 0x00007fee8619d6e9 in QCoreApplication::sendEvent (receiver=0x1857e50, event=0x7ffd365b00e0) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/kernel/qcoreapplication.h:224
#34 0x00007fee8620e7a2 in socketNotifierSourceDispatch (source=0x181f4a0) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:101
#35 0x00007fee849a39fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00007fee849a3ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0x00007fee849a3d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0x00007fee8620f45b in QEventDispatcherGlib::processEvents (this=0x181acf0, flags=...) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:418
#39 0x00007fee7cf6494a in QPAEventDispatcherGlib::processEvents (this=0x181acf0, flags=...) at /home/david/projects/kde5/qt5/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:115
#40 0x00007fee86196600 in QEventLoop::processEvents (this=0x7ffd365b03a0, flags=...) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:128
#41 0x00007fee861968d9 in QEventLoop::exec (this=0x7ffd365b03a0, flags=...) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:204
#42 0x00007fee864e1544 in KJob::exec (this=0x1ab1190) at /home/david/projects/kde5/src/frameworks/kcoreaddons/src/lib/jobs/kjob.cpp:189
#43 0x0000000000447b6e in raiseWatchLimit () at /home/david/projects/kde5/src/frameworks/baloo/src/file/filewatch.cpp:174
#44 0x0000000000447b9b in Baloo::FileWatch::slotInotifyWatchUserLimitReached (this=0x7ffd365b1770, path=...) at /home/david/projects/kde5/src/frameworks/baloo/src/file/filewatch.cpp:181
#45 0x0000000000448b4b in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QString const&>, void, void (Baloo::FileWatch::*)(QString const&)>::call (f=(void (Baloo::FileWatch::*)(Baloo::FileWatch * const, const QString &)) 0x447b86 <Baloo::FileWatch::slotInotifyWatchUserLimitReached(QString const&)>, o=0x7ffd365b1770, arg=0x7ffd365b0710) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:501
#46 0x00000000004489c0 in QtPrivate::FunctionPointer<void (Baloo::FileWatch::*)(QString const&)>::call<QtPrivate::List<QString const&>, void> (f=(void (Baloo::FileWatch::*)(Baloo::FileWatch * const, const QString &)) 0x447b86 <Baloo::FileWatch::slotInotifyWatchUserLimitReached(QString const&)>, o=0x7ffd365b1770, arg=0x7ffd365b0710) at /opt/qt5/include/QtCore/qobjectdefs_impl.h:520
#47 0x00000000004485d5 in QtPrivate::QSlotObject<void (Baloo::FileWatch::*)(QString const&), QtPrivate::List<QString const&>, void>::impl (which=1, this_=0x1860320, r=0x7ffd365b1770, a=0x7ffd365b0710, ret=0x0) at /opt/qt5/include/QtCore/qobject_impl.h:143
#48 0x00007fee861dadc5 in QtPrivate::QSlotObjectBase::call (this=0x1860320, r=0x7ffd365b1770, a=0x7ffd365b0710) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/kernel/qobject_impl.h:124
#49 0x00007fee861d7dfc in QMetaObject::activate (sender=0x1877350, signalOffset=3, local_signal_index=10, argv=0x7ffd365b0710) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qobject.cpp:3703
#50 0x00007fee861d7714 in QMetaObject::activate (sender=0x1877350, m=0x6767a0 <KInotify::staticMetaObject>, local_signal_index=10, argv=0x7ffd365b0710) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qobject.cpp:3583
#51 0x00000000004502f5 in KInotify::watchUserLimitReached (this=0x1877350, _t1=...) at src/file/moc_kinotify.cpp:351
#52 0x00000000004513df in KInotify::Private::addWatch (this=0x183fe60, path=...) at /home/david/projects/kde5/src/frameworks/baloo/src/file/kinotify.cpp:138
#53 0x0000000000451633 in KInotify::Private::_k_addWatches (this=0x183fe60) at /home/david/projects/kde5/src/frameworks/baloo/src/file/kinotify.cpp:174
#54 0x000000000044fba3 in KInotify::qt_static_metacall (_o=0x1877350, _c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x1a79be0) at src/file/moc_kinotify.cpp:159
#55 0x00007fee861d0429 in QMetaCallEvent::placeMetaCall (this=0x1a78050, object=0x1877350) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qobject.cpp:486
#56 0x00007fee861d14da in QObject::event (this=0x1877350, e=0x1a78050) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qobject.cpp:1246
#57 0x00007fee87af6dd0 in QApplicationPrivate::notify_helper (this=0x17eac90, receiver=0x1877350, e=0x1a78050) at /home/david/projects/kde5/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3717
#58 0x00007fee87af4546 in QApplication::notify (this=0x7ffd365b1840, receiver=0x1877350, e=0x1a78050) at /home/david/projects/kde5/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3161
#59 0x00007fee86199a00 in QCoreApplication::notifyInternal (this=0x7ffd365b1840, receiver=0x1877350, event=0x1a78050) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:965
#60 0x00007fee8619d6e9 in QCoreApplication::sendEvent (receiver=0x1877350, event=0x1a78050) at ../../include/QtCore/../../../../qt5/qtbase/src/corelib/kernel/qcoreapplication.h:224
#61 0x00007fee8619ad39 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x17ea610) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1593
#62 0x00007fee8619a6e8 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1451
#63 0x00007fee8620eca0 in postEventSourceDispatch (s=0x1827d30) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:271
#64 0x00007fee849a39fd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#65 0x00007fee849a3ce0 in ?? () from /usr/lib/libglib-2.0.so.0
#66 0x00007fee849a3d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#67 0x00007fee8620f45b in QEventDispatcherGlib::processEvents (this=0x181acf0, flags=...) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:418
#68 0x00007fee7cf6494a in QPAEventDispatcherGlib::processEvents (this=0x181acf0, flags=...) at /home/david/projects/kde5/qt5/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:115
#69 0x00007fee86196600 in QEventLoop::processEvents (this=0x7ffd365b1600, flags=...) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:128
#70 0x00007fee861968d9 in QEventLoop::exec (this=0x7ffd365b1600, flags=...) at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:204
#71 0x00007fee8619a0da in QCoreApplication::exec () at /home/david/projects/kde5/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1229
#72 0x00007fee87379f2e in QGuiApplication::exec () at /home/david/projects/kde5/qt5/qtbase/src/gui/kernel/qguiapplication.cpp:1528
#73 0x00007fee87af3f27 in QApplication::exec () at /home/david/projects/kde5/qt5/qtbase/src/widgets/kernel/qapplication.cpp:2977
#74 0x000000000043481b in main (argc=1, argv=0x7ffd365b1ae8) at /home/david/projects/kde5/src/frameworks/baloo/src/file/main.cpp:96

Possible duplicates by query: bug 349696, bug 348367, bug 347577, bug 347355, bug 341822.

Reported using DrKonqi
Comment 1 Vishesh Handa 2015-08-13 21:10:10 UTC
Confirmed. This is a bug on our side, the file system changes too rapidly and we try to index a file only to discover it has been deleted in the middle, and then some of the extra asserts fail, and we crash! :(
Comment 2 Christoph Cullmann 2016-09-11 19:36:21 UTC

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