<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>371784</bug_id>
          
          <creation_ts>2016-10-28 15:16:58 +0000</creation_ts>
          <short_desc>baloo file crashed</short_desc>
          <delta_ts>2018-04-14 01:54:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>frameworks-baloo</product>
          <component>Baloo File Daemon</component>
          <version>5.18.0</version>
          <rep_platform>unspecified</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>389848</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Luciano Mario">lucianomario58</reporter>
          <assigned_to name="Pinak Ahuja">pinak.ahuja</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1636075</commentid>
    <comment_count>0</comment_count>
    <who name="Luciano Mario">lucianomario58</who>
    <bug_when>2016-10-28 15:16:58 +0000</bug_when>
    <thetext>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 &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
__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 &quot;*** Error in `%s&apos;: %s: 0x%s ***\n&quot;) at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f5fa1e19f4a in malloc_printerr (ar_ptr=&lt;optimized out&gt;, ptr=&lt;optimized out&gt;, str=0x7f5fa1f2a728 &quot;free(): invalid next size (fast)&quot;, action=3) at malloc.c:5007
#10 _int_free (av=&lt;optimized out&gt;, p=&lt;optimized out&gt;, have_lock=0) at malloc.c:3868
#11 0x00007f5fa1e1dabc in __GI___libc_free (mem=&lt;optimized out&gt;) at malloc.c:2969
#12 0x00007f5fa2894f31 in QArrayData::deallocate (data=&lt;optimized out&gt;, objectSize=objectSize@entry=8, alignment=alignment@entry=8) at tools/qarraydata.cpp:131
#13 0x00007f5fa2f6147f in QTypedArrayData&lt;unsigned long long&gt;::deallocate (data=&lt;optimized out&gt;) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:222
#14 QVector&lt;unsigned long long&gt;::reallocData (this=this@entry=0x7f5e58cb1840, asize=&lt;optimized out&gt;, aalloc=&lt;optimized out&gt;, options=..., options@entry=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:570
#15 0x00007f5fa2f604cf in QVector&lt;unsigned long long&gt;::insert (t=&lt;synthetic pointer&gt;, n=1, before=&lt;optimized out&gt;, this=0x7f5e58cb1840) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:647
#16 QVector&lt;unsigned long long&gt;::insert (x=&lt;synthetic pointer&gt;, before=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#7  QMetaObject::activate (sender=sender@entry=0x1a12c80, signalOffset=&lt;optimized out&gt;, 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 &lt;Baloo::PendingFileQueue::staticMetaObject&gt;, 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=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=sender@entry=0x1a12c98, signalOffset=&lt;optimized out&gt;, 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 &lt;QTimer::staticMetaObject&gt;, 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=&lt;optimized out&gt;) at kernel/qtimer.cpp:247
#16 0x00007f5fa2aa3e53 in QObject::event (this=0x1a12c98, e=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:177
#22 idleTimerSourceDispatch (source=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745457</commentid>
    <comment_count>1</comment_count>
    <who name="Dominik Haumann">dhaumann</who>
    <bug_when>2018-04-14 01:54:44 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 389848 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>