Bug 371382

Summary: baloo file crashing
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-10-20 19:42:19 UTC
Application: baloo_file (5.18.0)

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

-- Information about the crash:
- What I was doing when the application crashed:

opened firefox Nightly and often crash kwin_x11 following

-- 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 0x7f827d0778c0 (LWP 1685))]

Thread 2 (Thread 0x7f8131f9c700 (LWP 2976)):
[KCrash Handler]
#6  0x00007f827b0b9418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f827b0bb01a in __GI_abort () at abort.c:89
#8  0x00007f827b0fb72a in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f827b2146b0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f827b103f4a in malloc_printerr (ar_ptr=<optimized out>, ptr=<optimized out>, str=0x7f827b214728 "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 0x00007f827b107abc in __GI___libc_free (mem=<optimized out>) at malloc.c:2969
#12 0x00007f827bb7ef31 in QArrayData::deallocate (data=<optimized out>, objectSize=objectSize@entry=8, alignment=alignment@entry=8) at tools/qarraydata.cpp:131
#13 0x00007f827c24b47f 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=0x7f8131f9b840, asize=<optimized out>, aalloc=<optimized out>, options=..., options@entry=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:570
#15 0x00007f827c24a4cf in QVector<unsigned long long>::insert (t=<synthetic pointer>, n=1, before=<optimized out>, this=0x7f8131f9b840) 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=0x7f8131f9b840) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:198
#17 Baloo::DocumentUrlDB::add (this=this@entry=0x7f8131f9bb10, id=id@entry=100779088318302209, parentId=77692092914075649, name=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:124
#18 0x00007f827c24aca0 in Baloo::DocumentUrlDB::put (this=this@entry=0x7f8131f9bb10, docId=docId@entry=100778362468829185, url=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/documenturldb.cpp:99
#19 0x00007f827c2620ea in Baloo::WriteTransaction::addDocument (this=0x7f812c003000, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/writetransaction.cpp:56
#20 0x00007f827c25bfe9 in Baloo::Transaction::addDocument (this=this@entry=0x7f8131f9bbd0, doc=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:226
#21 0x000000000041cc86 in Baloo::NewFileIndexer::run (this=0x1ef1740) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/newfileindexer.cpp:72
#22 0x00007f827bb7a343 in QThreadPoolThread::run (this=0x1c3d9c0) at thread/qthreadpool.cpp:93
#23 0x00007f827bb7d84e in QThreadPrivate::start (arg=0x1c3d9c0) at thread/qthread_unix.cpp:331
#24 0x00007f827a7e16fa in start_thread (arg=0x7f8131f9c700) at pthread_create.c:333
#25 0x00007f827b18ab5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f827d0778c0 (LWP 1685)):
#0  __lll_robust_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S:85
#1  0x00007f827a7e3a28 in __pthread_mutex_lock_full (mutex=0x7f827d201040) at ../nptl/pthread_mutex_lock.c:256
#2  0x00007f82798b2c32 in ?? () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#3  0x00007f82798b3f14 in mdb_txn_begin () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#4  0x00007f827c25b99b in Baloo::Transaction::Transaction (this=0x7ffc3ed725d0, db=..., type=Baloo::Transaction::ReadWrite) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:53
#5  0x000000000042a004 in Baloo::MetadataMover::moveFileMetadata (this=0x188eb90, from=..., to=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/metadatamover.cpp:49
#6  0x00007f827bd8ce4f in QtPrivate::QSlotObjectBase::call (a=0x7ffc3ed72730, r=0x7ffc3ed72df0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#7  QMetaObject::activate (sender=sender@entry=0x18a0f90, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffc3ed72730) at kernel/qobject.cpp:3698
#8  0x00007f827bd8d7d7 in QMetaObject::activate (sender=sender@entry=0x18a0f90, m=m@entry=0x644cc0 <KInotify::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7ffc3ed72730) at kernel/qobject.cpp:3578
#9  0x000000000042aaba in KInotify::moved (this=this@entry=0x18a0f90, _t1=..., _t2=...) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/obj-x86_64-linux-gnu/src/file/moc_kinotify.cpp:330
#10 0x000000000042cbff in KInotify::slotEvent (this=<optimized out>, socket=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/kinotify.cpp:421
#11 0x00007f827bd8ce4f in QtPrivate::QSlotObjectBase::call (a=0x7ffc3ed729c0, r=0x18a0f90, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=sender@entry=0x19175e0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc3ed729c0) at kernel/qobject.cpp:3698
#13 0x00007f827bd8d7d7 in QMetaObject::activate (sender=sender@entry=0x19175e0, m=m@entry=0x7f827bfa7780 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc3ed729c0) at kernel/qobject.cpp:3578
#14 0x00007f827be0c51e in QSocketNotifier::activated (this=this@entry=0x19175e0, _t1=13) at .moc/moc_qsocketnotifier.cpp:134
#15 0x00007f827bd9947b in QSocketNotifier::event (this=0x19175e0, e=<optimized out>) at kernel/qsocketnotifier.cpp:260
#16 0x00007f827bd5e60c in QCoreApplication::notify (event=0x7ffc3ed72a80, receiver=0x19175e0, this=0x7ffc3ed72d50) at kernel/qcoreapplication.cpp:1038
#17 QCoreApplication::notifyInternal (this=0x7ffc3ed72d50, receiver=0x19175e0, event=event@entry=0x7ffc3ed72a80) at kernel/qcoreapplication.cpp:965
#18 0x00007f827bdb4f45 in QCoreApplication::sendEvent (event=0x7ffc3ed72a80, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#19 socketNotifierSourceDispatch (source=0x187c980) at kernel/qeventdispatcher_glib.cpp:101
#20 0x00007f827834f1a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f827834f400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f827834f4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f827bdb4a7f in QEventDispatcherGlib::processEvents (this=0x187dfe0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#24 0x00007f827bd5bdea in QEventLoop::exec (this=this@entry=0x7ffc3ed72c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#25 0x00007f827bd63e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#26 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:53:57 UTC

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