Bug 371784 - baloo file crashed
Summary: baloo file crashed
Status: RESOLVED DUPLICATE of bug 389848
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.18.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-28 15:16 UTC by Luciano Mario
Modified: 2018-04-14 01:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luciano Mario 2016-10-28 15:16:58 UTC
Application: baloo_file (5.18.0)

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

-- Information about the crash:
baloo fle crashed . opened firefox nightly. kwin_x11 crashed hourly.

The crash can be reproduced every time.

-- 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 0x7f5fa3d8d8c0 (LWP 1687))]

Thread 2 (Thread 0x7f5e58cb2700 (LWP 2302)):
[KCrash Handler]
#6  0x00007f5fa1dcf418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f5fa1dd101a in __GI_abort () at abort.c:89
#8  0x00007f5fa1e1172a in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f5fa1f2a6b0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f5fa1e19f4a in malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7f5fa1f2a728 "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 0x00007f5fa1e1dabc in __GI___libc_free (mem=<optimized out>) at malloc.c:2969
#12 0x00007f5fa2894f31 in QArrayData::deallocate (data=<optimized out>, objectSize=objectSize@entry=8, alignment=alignment@entry=8) at tools/qarraydata.cpp:131
#13 0x00007f5fa2f6147f 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=0x7f5e58cb1840, asize=<optimized out>, aalloc=<optimized out>, options=..., options@entry=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:570
#15 0x00007f5fa2f604cf in QVector<unsigned long long>::insert (t=<synthetic pointer>, n=1, before=<optimized out>, this=0x7f5e58cb1840) 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=0x7f5e58cb1840) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:198
#17 Baloo::DocumentUrlDB::add (this=this@entry=0x7f5e58cb1b10, id=id@entry=96844752246278145, parentId=77692092914075649, name=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:124
#18 0x00007f5fa2f60ca0 in Baloo::DocumentUrlDB::put (this=this@entry=0x7f5e58cb1b10, docId=docId@entry=96849528249911297, url=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:99
#19 0x00007f5fa2f780ea in Baloo::WriteTransaction::addDocument (this=0x7f5e540011e0, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/writetransaction.cpp:56
#20 0x00007f5fa2f71fe9 in Baloo::Transaction::addDocument (this=this@entry=0x7f5e58cb1bd0, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:226
#21 0x000000000041cc86 in Baloo::NewFileIndexer::run (this=0x1a36f50) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/newfileindexer.cpp:72
#22 0x00007f5fa2890343 in QThreadPoolThread::run (this=0x1c72b50) at thread/qthreadpool.cpp:93
#23 0x00007f5fa289384e in QThreadPrivate::start (arg=0x1c72b50) at thread/qthread_unix.cpp:331
#24 0x00007f5fa14f76fa in start_thread (arg=0x7f5e58cb2700) at pthread_create.c:333
#25 0x00007f5fa1ea0b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f5fa3d8d8c0 (LWP 1687)):
#0  __lll_robust_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
#1  0x00007f5fa14f9a28 in __pthread_mutex_lock_full (mutex=0x7f5fa3f17040) at ../nptl/pthread_mutex_lock.c:256
#2  0x00007f5fa05c8c32 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#3  0x00007f5fa05c9f14 in mdb_txn_begin () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#4  0x00007f5fa2f7199b in Baloo::Transaction::Transaction (this=0x7ffcb7c39ff0, 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=0x1a4b6b0, file=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/metadatamover.cpp:65
#6  0x00007f5fa2aa2e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffcb7c3a140, r=0x1a4b6b0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#7  QMetaObject::activate (sender=sender@entry=0x1a12c80, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcb7c3a140) at kernel/qobject.cpp:3698
#8  0x00007f5fa2aa37d7 in QMetaObject::activate (sender=sender@entry=0x1a12c80, m=m@entry=0x645940 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcb7c3a140) at kernel/qobject.cpp:3578
#9  0x0000000000432f05 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0x1a12c80, _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=0x1a12c80) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/pendingfilequeue.cpp:89
#11 0x00007f5fa2aa2e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffcb7c3a2c0, r=0x1a12c80, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=sender@entry=0x1a12c98, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3698
#13 0x00007f5fa2aa37d7 in QMetaObject::activate (sender=sender@entry=0x1a12c98, m=m@entry=0x7f5fa2cbd840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#14 0x00007f5fa2b226d0 in QTimer::timeout (this=this@entry=0x1a12c98) at .moc/moc_qtimer.cpp:197
#15 0x00007f5fa2aaf878 in QTimer::timerEvent (this=0x1a12c98, e=<optimized out>) at kernel/qtimer.cpp:247
#16 0x00007f5fa2aa3e53 in QObject::event (this=0x1a12c98, e=<optimized out>) at kernel/qobject.cpp:1261
#17 0x00007f5fa2a7460c in QCoreApplication::notify (event=0x7ffcb7c3a440, receiver=0x1a12c98, this=0x7ffcb7c3a740) at kernel/qcoreapplication.cpp:1038
#18 QCoreApplication::notifyInternal (this=0x7ffcb7c3a740, receiver=0x1a12c98, event=event@entry=0x7ffcb7c3a440) at kernel/qcoreapplication.cpp:965
#19 0x00007f5fa2ac989d in QCoreApplication::sendEvent (event=0x7ffcb7c3a440, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#20 QTimerInfoList::activateTimers (this=0x197f380) at kernel/qtimerinfo_unix.cpp:637
#21 0x00007f5fa2ac9dd9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#23 0x00007f5f9f0651a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f5f9f065400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f5f9f0654ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f5fa2acaa7f in QEventDispatcherGlib::processEvents (this=0x1980fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0x00007f5fa2a71dea in QEventLoop::exec (this=this@entry=0x7ffcb7c3a680, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007f5fa2a79e8c 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, bug 348699, bug 347139, bug 347134, bug 347050.

Reported using DrKonqi
Comment 1 Dominik Haumann 2018-04-14 01:54:44 UTC

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