Bug 369184

Summary: I opened Nightly Firefox
Product: [Frameworks and Libraries] frameworks-baloo Reporter: Luciano Mario <lucianomario58>
Component: Baloo File DaemonAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.18.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luciano Mario 2016-09-22 08:53:35 UTC
Application: baloo_file (5.18.0)

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

-- Information about the crash:
I opened Nightly Firefox. Baloo indexing file crashed.

The crash can be reproduced sometimes.

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

Thread 2 (Thread 0x7fb0e704f700 (LWP 2006)):
[KCrash Handler]
#6  0x00007fb23016c418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fb23016e01a in __GI_abort () at abort.c:89
#8  0x00007fb2301ae72a in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fb2302c76b0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fb2301b6f4a in malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7fb2302c7728 "free(): invalid next size (fast)", action=3) at malloc.c:5007
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3868
#11 0x00007fb2301baabc in __GI___libc_free (mem=<optimized out>) at malloc.c:2969
#12 0x00007fb230c31f31 in QArrayData::deallocate (data=<optimized out>, objectSize=objectSize@entry=8, alignment=alignment@entry=8) at tools/qarraydata.cpp:131
#13 0x00007fb2312fe47f in QTypedArrayData<unsigned long long>::deallocate (data=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:222
#14 QVector<unsigned long long>::reallocData (this=this@entry=0x7fb0e704e840, asize=<optimized out>, aalloc=<optimized out>, options=..., options@entry=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:570
#15 0x00007fb2312fd4cf in QVector<unsigned long long>::insert (t=<synthetic pointer>, n=1, before=<optimized out>, this=0x7fb0e704e840) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:647
#16 QVector<unsigned long long>::insert (x=<synthetic pointer>, before=<optimized out>, this=0x7fb0e704e840) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:198
#17 Baloo::DocumentUrlDB::add (this=this@entry=0x7fb0e704eb10, id=id@entry=93460068908926977, parentId=77692092914075649, name=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:124
#18 0x00007fb2312fdca0 in Baloo::DocumentUrlDB::put (this=this@entry=0x7fb0e704eb10, docId=docId@entry=93449902721337345, url=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:99
#19 0x00007fb2313150ea in Baloo::WriteTransaction::addDocument (this=0x7fb0e00011e0, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/writetransaction.cpp:56
#20 0x00007fb23130efe9 in Baloo::Transaction::addDocument (this=this@entry=0x7fb0e704ebd0, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:226
#21 0x000000000041cc86 in Baloo::NewFileIndexer::run (this=0x20d7500) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/newfileindexer.cpp:72
#22 0x00007fb230c2d343 in QThreadPoolThread::run (this=0x20e4530) at thread/qthreadpool.cpp:93
#23 0x00007fb230c3084e in QThreadPrivate::start (arg=0x20e4530) at thread/qthread_unix.cpp:331
#24 0x00007fb22f8946fa in start_thread (arg=0x7fb0e704f700) at pthread_create.c:333
#25 0x00007fb23023db5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb23212b8c0 (LWP 1706)):
#0  __lll_robust_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
#1  0x00007fb22f896a28 in __pthread_mutex_lock_full (mutex=0x7fb2322b4040) at ../nptl/pthread_mutex_lock.c:256
#2  0x00007fb22e965c32 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#3  0x00007fb22e966f14 in mdb_txn_begin () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#4  0x00007fb23130e99b in Baloo::Transaction::Transaction (this=0x7ffc8fc22c80, db=..., type=Baloo::Transaction::ReadWrite) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:53
#5  0x00000000004296bf in Baloo::MetadataMover::removeFileMetadata (this=0x2037ac0, file=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/metadatamover.cpp:65
#6  0x00007fb230e3fe4f in QtPrivate::QSlotObjectBase::call (a=0x7ffc8fc22dd0, r=0x2037ac0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#7  QMetaObject::activate (sender=sender@entry=0x203e200, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc8fc22dd0) at kernel/qobject.cpp:3698
#8  0x00007fb230e407d7 in QMetaObject::activate (sender=sender@entry=0x203e200, m=m@entry=0x645940 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc8fc22dd0) at kernel/qobject.cpp:3578
#9  0x0000000000432f05 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0x203e200, _t1=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/obj-x86_64-linux-gnu/src/file/moc_pendingfilequeue.cpp:217
#10 0x0000000000427856 in Baloo::PendingFileQueue::processCache (this=0x203e200) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/pendingfilequeue.cpp:89
#11 0x00007fb230e3fe4f in QtPrivate::QSlotObjectBase::call (a=0x7ffc8fc22f50, r=0x203e200, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=sender@entry=0x203e218, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3698
#13 0x00007fb230e407d7 in QMetaObject::activate (sender=sender@entry=0x203e218, m=m@entry=0x7fb23105a840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#14 0x00007fb230ebf6d0 in QTimer::timeout (this=this@entry=0x203e218) at .moc/moc_qtimer.cpp:197
#15 0x00007fb230e4c878 in QTimer::timerEvent (this=0x203e218, e=<optimized out>) at kernel/qtimer.cpp:247
#16 0x00007fb230e40e53 in QObject::event (this=0x203e218, e=<optimized out>) at kernel/qobject.cpp:1261
#17 0x00007fb230e1160c in QCoreApplication::notify (event=0x7ffc8fc230d0, receiver=0x203e218, this=0x7ffc8fc233d0) at kernel/qcoreapplication.cpp:1038
#18 QCoreApplication::notifyInternal (this=0x7ffc8fc233d0, receiver=0x203e218, event=event@entry=0x7ffc8fc230d0) at kernel/qcoreapplication.cpp:965
#19 0x00007fb230e6689d in QCoreApplication::sendEvent (event=0x7ffc8fc230d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#20 QTimerInfoList::activateTimers (this=0x1f91380) at kernel/qtimerinfo_unix.cpp:637
#21 0x00007fb230e66dd9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#23 0x00007fb22d4021a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fb22d402400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fb22d4024ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fb230e67a7f in QEventDispatcherGlib::processEvents (this=0x1f92fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0x00007fb230e0edea in QEventLoop::exec (this=this@entry=0x7ffc8fc23310, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007fb230e16e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#29 0x000000000041698c in main (argc=1, argv=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/main.cpp:88

Possible duplicates by query: bug 354339.

Reported using DrKonqi
Comment 1 Dominik Haumann 2018-04-14 01:52:35 UTC

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