<?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>394662</bug_id>
          
          <creation_ts>2018-05-25 07:46:28 +0000</creation_ts>
          <short_desc>Systematic Baloo crash</short_desc>
          <delta_ts>2018-06-01 18:48:22 +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.32.0</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>367480</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="Thomas Vergnaud">thomas.vergnaud</reporter>
          <assigned_to>baloo-bugs-null</assigned_to>
          <cc>lucia.mrenica</cc>
          
          <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>1754722</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Vergnaud">thomas.vergnaud</who>
    <bug_when>2018-05-25 07:46:28 +0000</bug_when>
    <thetext>Application: baloo_file (5.32.0)

Qt Version: 5.6.2
Frameworks Version: 5.32.0
Operating System: Linux 4.4.126-48-default x86_64
Distribution: &quot;openSUSE Leap 42.3&quot;

-- Information about the crash:
- What I was doing when the application crashed:
I was doing nothing. Baloo crashes every time, a few seconds after I logged into Plasma. The crash is systematic on this computer.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f96942ad880 (LWP 3239))]

Thread 3 (Thread 0x7f5683fff700 (LWP 3241)):
[KCrash Handler]
#6  Baloo::getVarint32Ptr (value=0x7f5683ffe948, limit=0x7f56fbce9708 &lt;error: Cannot access memory at address 0x7f56fbce9708&gt;, p=0x0) at /usr/src/debug/baloo-5.32.0/src/codecs/coding.h:93
#7  Baloo::getDifferentialVarInt32 (p=0x0, p@entry=0x7f567f9cbeac &quot;\261\021V\f \362\233\177V\177&quot;, limit=limit@entry=0x7f56fbce9708 &lt;error: Cannot access memory at address 0x7f56fbce9708&gt;, values=values@entry=0x7f5683ffe9a8) at /usr/src/debug/baloo-5.32.0/src/codecs/coding.cpp:120
#8  0x00007f969309a17f in Baloo::PositionCodec::decode (this=this@entry=0x7f5683ffe9ff, arr=...) at /usr/src/debug/baloo-5.32.0/src/codecs/positioncodec.cpp:56
#9  0x00007f9693085734 in Baloo::PositionDB::get (this=this@entry=0x7f5683ffeb00, term=...) at /usr/src/debug/baloo-5.32.0/src/engine/positiondb.cpp:101
#10 0x00007f9693097e8e in Baloo::WriteTransaction::commit (this=&lt;optimized out&gt;) at /usr/src/debug/baloo-5.32.0/src/engine/writetransaction.cpp:272
#11 0x00007f969308eeb2 in Baloo::Transaction::commit (this=this@entry=0x7f5683ffebe0) at /usr/src/debug/baloo-5.32.0/src/engine/transaction.cpp:262
#12 0x0000000000410765 in Baloo::FirstRunIndexer::run (this=0x12be140) at /usr/src/debug/baloo-5.32.0/src/file/firstrunindexer.cpp:81
#13 0x00007f96927c885e in QThreadPoolThread::run (this=0x130fcb0) at thread/qthreadpool.cpp:93
#14 0x00007f96927cba29 in QThreadPrivate::start (arg=0x130fcb0) at thread/qthread_unix.cpp:365
#15 0x00007f9690e0a724 in start_thread () from /lib64/libpthread.so.0
#16 0x00007f9691ddde8d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f9688f0b700 (LWP 3240)):
#0  0x00007f9691dd133d in read () from /lib64/libc.so.6
#1  0x00007f968e81f750 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f968e7dee49 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f968e7df2a8 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f968e7df42c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f96929de1ab in QEventDispatcherGlib::processEvents (this=0x7f96840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#6  0x00007f969298bbfb in QEventLoop::exec (this=this@entry=0x7f9688f0ad20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#7  0x00007f96927c6f5a in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:500
#8  0x00007f9693b90295 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f96927cba29 in QThreadPrivate::start (arg=0x7f9693df9ce0) at thread/qthread_unix.cpp:365
#10 0x00007f9690e0a724 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f9691ddde8d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f96942ad880 (LWP 3239)):
#0  0x00007f9691dd13d7 in access () from /lib64/libc.so.6
#1  0x00007f9692924419 in QFileSystemEngine::fillMetaData (entry=..., data=..., what=..., what@entry=...) at io/qfilesystemengine_unix.cpp:503
#2  0x00007f96928c4336 in QFileInfo::isReadable (this=this@entry=0x7ffdb4799630) at io/qfileinfo.cpp:909
#3  0x00007f96928ba996 in QDirIteratorPrivate::matchesFilters (this=this@entry=0x12a9830, fileName=..., fi=...) at io/qdiriterator.cpp:378
#4  0x00007f96928bb9e8 in QDirIteratorPrivate::entryMatches (fileInfo=..., fileName=..., this=0x12a9830) at io/qdiriterator.cpp:209
#5  QDirIteratorPrivate::advance (this=0x12a9830) at io/qdiriterator.cpp:249
#6  0x00007f96928bc954 in QDirIterator::next (this=0x129e8b0) at io/qdiriterator.cpp:481
#7  0x0000000000419a99 in Baloo::FilteredDirIterator::next (this=0x12bfd00) at /usr/src/debug/baloo-5.32.0/src/file/filtereddiriterator.cpp:76
#8  0x000000000042468d in KInotify::Private::_k_addWatches (this=0x12a7e40) at /usr/src/debug/baloo-5.32.0/src/file/kinotify.cpp:163
#9  KInotify::qt_static_metacall (_o=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=0x1a09cb0) at /usr/src/debug/baloo-5.32.0/build/src/file/moc_kinotify.cpp:159
#10 0x00007f96929b8e26 in QObject::event (this=0x12b9150, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1256
#11 0x00007f969298dcac in doNotify (event=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;) at kernel/qcoreapplication.cpp:1090
#12 QCoreApplication::notify (this=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;, event=&lt;optimized out&gt;) at kernel/qcoreapplication.cpp:1076
#13 0x00007f969298dbe5 in QCoreApplication::notifyInternal2 (receiver=0x12b9150, event=event@entry=0x1a0df00) at kernel/qcoreapplication.cpp:1015
#14 0x00007f969298f9ca in QCoreApplication::sendEvent (event=0x1a0df00, receiver=&lt;optimized out&gt;) at kernel/qcoreapplication.h:225
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x126fd60) at kernel/qcoreapplication.cpp:1650
#16 0x00007f969298ff78 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#17 0x00007f96929deb03 in postEventSourceDispatch (s=0x1275960) at kernel/qeventdispatcher_glib.cpp:270
#18 0x00007f968e7df134 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f968e7df388 in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f968e7df42c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f96929de18c in QEventDispatcherGlib::processEvents (this=0x1275940, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#22 0x00007f969298bbfb in QEventLoop::exec (this=this@entry=0x7ffdb4799c80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:206
#23 0x00007f9692993ae6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#24 0x000000000040b590 in main (argc=1, argv=&lt;optimized out&gt;) at /usr/src/debug/baloo-5.32.0/src/file/main.cpp:104

The reporter indicates this bug may be a duplicate of or related to bug 367480.

Possible duplicates by query: bug 393494, bug 368352, bug 367480, bug 364133.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1756107</commentid>
    <comment_count>1</comment_count>
    <who name="Lucia Mrenica">lucia.mrenica</who>
    <bug_when>2018-06-01 14:56:54 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 389848 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1756178</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2018-06-01 18:48:22 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>