Bug 371813 - baloo file crash
Summary: baloo file crash
Status: RESOLVED DUPLICATE of bug 360946
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
: 372797 372846 379178 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-10-29 08:27 UTC by Luciano Mario
Modified: 2017-10-27 17:00 UTC (History)
4 users (show)

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-29 08:27:47 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:
I saved a file cherry tree program

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 0x7fe6561fe8c0 (LWP 1798))]

Thread 2 (Thread 0x7fe50b123700 (LWP 3175)):
[KCrash Handler]
#6  0x00007fe654240418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007fe65424201a in __GI_abort () at abort.c:89
#8  0x00007fe65428272a in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7fe65439b6b0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fe65428cf01 in malloc_printerr (ar_ptr=0x3, ptr=<optimized out>, str=0x7fe65439bab8 "malloc(): memory corruption (fast)", action=3) at malloc.c:5007
#10 _int_malloc (av=av@entry=0x7fe504000020, bytes=bytes@entry=64) at malloc.c:3387
#11 0x00007fe65428e5a4 in __GI___libc_malloc (bytes=bytes@entry=64) at malloc.c:2914
#12 0x00007fe654d05eb8 in QArrayData::allocate (objectSize=objectSize@entry=8, alignment=alignment@entry=8, capacity=5, options=...) at tools/qarraydata.cpp:101
#13 0x00007fe6553d23c2 in QTypedArrayData<unsigned long long>::allocate (options=..., capacity=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:216
#14 QVector<unsigned long long>::reallocData (this=this@entry=0x7fe50b122840, asize=2, aalloc=<optimized out>, options=..., options@entry=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:507
#15 0x00007fe6553d14cf in QVector<unsigned long long>::insert (t=<synthetic pointer>, n=1, before=<optimized out>, this=0x7fe50b122840) 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=0x7fe50b122840) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:198
#17 Baloo::DocumentUrlDB::add (this=this@entry=0x7fe50b122b10, id=id@entry=96279513075288065, parentId=79379418060949505, name=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:124
#18 0x00007fe6553d1ca0 in Baloo::DocumentUrlDB::put (this=this@entry=0x7fe50b122b10, docId=docId@entry=96279551729993729, url=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:99
#19 0x00007fe6553e90ea in Baloo::WriteTransaction::addDocument (this=0x7fe504003940, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/writetransaction.cpp:56
#20 0x00007fe6553e2fe9 in Baloo::Transaction::addDocument (this=this@entry=0x7fe50b122bd0, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:226
#21 0x000000000041cc86 in Baloo::NewFileIndexer::run (this=0x298dda0) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/newfileindexer.cpp:72
#22 0x00007fe654d01343 in QThreadPoolThread::run (this=0x26e53e0) at thread/qthreadpool.cpp:93
#23 0x00007fe654d0484e in QThreadPrivate::start (arg=0x26e53e0) at thread/qthread_unix.cpp:331
#24 0x00007fe6539686fa in start_thread (arg=0x7fe50b123700) at pthread_create.c:333
#25 0x00007fe654311b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fe6561fe8c0 (LWP 1798)):
#0  __lll_robust_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
#1  0x00007fe65396aa28 in __pthread_mutex_lock_full (mutex=0x7fe656388040) at ../nptl/pthread_mutex_lock.c:256
#2  0x00007fe652a39c32 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#3  0x00007fe652a3af14 in mdb_txn_begin () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#4  0x00007fe6553e299b in Baloo::Transaction::Transaction (this=0x7ffcb745e2c0, 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=0x23938f0, file=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/metadatamover.cpp:65
#6  0x00007fe654f13e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffcb745e410, r=0x23938f0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#7  QMetaObject::activate (sender=sender@entry=0x23a49e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcb745e410) at kernel/qobject.cpp:3698
#8  0x00007fe654f147d7 in QMetaObject::activate (sender=sender@entry=0x23a49e0, m=m@entry=0x645940 <Baloo::PendingFileQueue::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcb745e410) at kernel/qobject.cpp:3578
#9  0x0000000000432f05 in Baloo::PendingFileQueue::removeFileIndex (this=this@entry=0x23a49e0, _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=0x23a49e0) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/pendingfilequeue.cpp:89
#11 0x00007fe654f13e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffcb745e590, r=0x23a49e0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=sender@entry=0x23a49f8, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3698
#13 0x00007fe654f147d7 in QMetaObject::activate (sender=sender@entry=0x23a49f8, m=m@entry=0x7fe65512e840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#14 0x00007fe654f936d0 in QTimer::timeout (this=this@entry=0x23a49f8) at .moc/moc_qtimer.cpp:197
#15 0x00007fe654f20878 in QTimer::timerEvent (this=0x23a49f8, e=<optimized out>) at kernel/qtimer.cpp:247
#16 0x00007fe654f14e53 in QObject::event (this=0x23a49f8, e=<optimized out>) at kernel/qobject.cpp:1261
#17 0x00007fe654ee560c in QCoreApplication::notify (event=0x7ffcb745e710, receiver=0x23a49f8, this=0x7ffcb745ea10) at kernel/qcoreapplication.cpp:1038
#18 QCoreApplication::notifyInternal (this=0x7ffcb745ea10, receiver=0x23a49f8, event=event@entry=0x7ffcb745e710) at kernel/qcoreapplication.cpp:965
#19 0x00007fe654f3a89d in QCoreApplication::sendEvent (event=0x7ffcb745e710, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#20 QTimerInfoList::activateTimers (this=0x2325380) at kernel/qtimerinfo_unix.cpp:637
#21 0x00007fe654f3add9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#22 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#23 0x00007fe6514d61a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fe6514d6400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fe6514d64ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fe654f3ba7f in QEventDispatcherGlib::processEvents (this=0x2326fe0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0x00007fe654ee2dea in QEventLoop::exec (this=this@entry=0x7ffcb745e950, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007fe654eeae8c 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 Marco Martin 2016-11-24 11:38:55 UTC
*** Bug 372797 has been marked as a duplicate of this bug. ***
Comment 2 Marco Martin 2016-11-24 11:39:59 UTC
*** Bug 372846 has been marked as a duplicate of this bug. ***
Comment 3 Marco Martin 2017-04-26 10:38:14 UTC
*** Bug 379178 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2017-10-27 17:00:34 UTC

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