<?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>371382</bug_id>
          
          <creation_ts>2016-10-20 19:42:19 +0000</creation_ts>
          <short_desc>baloo file crashing</short_desc>
          <delta_ts>2018-04-14 01:53:57 +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>1634059</commentid>
    <comment_count>0</comment_count>
    <who name="Luciano Mario">lucianomario58</who>
    <bug_when>2016-10-20 19:42:19 +0000</bug_when>
    <thetext>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 &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 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 &quot;*** Error in `%s&apos;: %s: 0x%s ***\n&quot;) at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f827b103f4a in malloc_printerr (ar_ptr=&lt;optimized out&gt;, ptr=&lt;optimized out&gt;, str=0x7f827b214728 &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 0x00007f827b107abc in __GI___libc_free (mem=&lt;optimized out&gt;) at malloc.c:2969
#12 0x00007f827bb7ef31 in QArrayData::deallocate (data=&lt;optimized out&gt;, objectSize=objectSize@entry=8, alignment=alignment@entry=8) at tools/qarraydata.cpp:131
#13 0x00007f827c24b47f 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=0x7f8131f9b840, 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 0x00007f827c24a4cf in QVector&lt;unsigned long long&gt;::insert (t=&lt;synthetic pointer&gt;, n=1, before=&lt;optimized out&gt;, this=0x7f8131f9b840) 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=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=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#7  QMetaObject::activate (sender=sender@entry=0x18a0f90, signalOffset=&lt;optimized out&gt;, 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 &lt;KInotify::staticMetaObject&gt;, 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=&lt;optimized out&gt;, socket=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#12 QMetaObject::activate (sender=sender@entry=0x19175e0, signalOffset=&lt;optimized out&gt;, 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 &lt;QSocketNotifier::staticMetaObject&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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=&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.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745455</commentid>
    <comment_count>1</comment_count>
    <who name="Dominik Haumann">dhaumann</who>
    <bug_when>2018-04-14 01:53:57 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>