<?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>356114</bug_id>
          
          <creation_ts>2015-11-30 13:43:04 +0000</creation_ts>
          <short_desc>Crash inside Baloo::PositionCodec::decode</short_desc>
          <delta_ts>2016-09-13 00:39:37 +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.16.0</version>
          <rep_platform>unspecified</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>1</everconfirmed>
          <reporter name="Rickard Lindberg">ricli85</reporter>
          <assigned_to name="Pinak Ahuja">pinak.ahuja</assigned_to>
          <cc>aspotashev</cc>
    
    <cc>christoph</cc>
    
    <cc>drdrnewman</cc>
    
    <cc>jfgoncal</cc>
    
    <cc>jonrysh</cc>
    
    <cc>kde-bugs</cc>
    
    <cc>pinak.ahuja</cc>
    
    <cc>zawertun</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>1560621</commentid>
    <comment_count>0</comment_count>
    <who name="Rickard Lindberg">ricli85</who>
    <bug_when>2015-11-30 13:43:04 +0000</bug_when>
    <thetext>Application: baloo_file_extractor (5.16.0)

Qt Version: 5.5.1
Operating System: Linux 4.2.6-200.fc22.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

I rebootet my system and logged into Plasma. The crash happens every time I reboot.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Extractor (baloo_file_extractor), signal: Segmentation fault
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f72cf00b840 (LWP 1868))]

Thread 2 (Thread 0x7f72b9283700 (LWP 1869)):
#0  0x00007f72cb53e2fd in poll () from /lib64/libc.so.6
#1  0x00007f72c6041182 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f72c6042c77 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f72bbc4dda9 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f72cc14b3ce in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f72ca651555 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f72cb549b9d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f72cf00b840 (LWP 1868)):
[KCrash Handler]
#5  0x00007f72ce2b23c4 in Baloo::PositionCodec::decode(QByteArray const&amp;) () from /lib64/libKF5BalooEngine.so.5
#6  0x00007f72ce299dc4 in Baloo::PositionDB::get(QByteArray const&amp;) () from /lib64/libKF5BalooEngine.so.5
#7  0x00007f72ce2afbf4 in Baloo::WriteTransaction::commit() () from /lib64/libKF5BalooEngine.so.5
#8  0x00007f72ce2a5cf2 in Baloo::Transaction::commit() () from /lib64/libKF5BalooEngine.so.5
#9  0x000000000040cc1c in Baloo::App::processNextFile() ()
#10 0x00007f72cc3678d8 in QSingleShotTimer::timerEvent(QTimerEvent*) () from /lib64/libQt5Core.so.5
#11 0x00007f72cc35c163 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#12 0x00007f72cd01241c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#13 0x00007f72cd0178e6 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007f72cc32c77b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#15 0x00007f72cc381d0d in QTimerInfoList::activateTimers() () from /lib64/libQt5Core.so.5
#16 0x00007f72cc382211 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#17 0x00007f72c9ebea8a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#18 0x00007f72c9ebee20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#19 0x00007f72c9ebeecc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#20 0x00007f72cc382eef in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#21 0x00007f72cc329f0a in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#22 0x00007f72cc331fec in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#23 0x000000000040b545 in main ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1563684</commentid>
    <comment_count>1</comment_count>
    <who name="Vishesh Handa">me</who>
    <bug_when>2015-12-15 11:18:58 +0000</bug_when>
    <thetext>*** Bug 356445 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1563686</commentid>
    <comment_count>2</comment_count>
    <who name="Vishesh Handa">me</who>
    <bug_when>2015-12-15 11:22:18 +0000</bug_when>
    <thetext>*** Bug 355280 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1583479</commentid>
    <comment_count>3</comment_count>
    <who name="Jonathan Ryshpan">jonrysh</who>
    <bug_when>2016-03-19 16:29:08 +0000</bug_when>
    <thetext>I see exactly the same thing using Fedora-23.  
Balloo is identified as:
$ rpm -qf /usr/bin/baloo_file_extractor
kf5-baloo-file-5.19.0-1.fc23.x86_64

I am running Firefox with an unusually larger number of windows+tabs
Windows: 14, Tabs: 58, which seems to affect system performance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1599624</commentid>
    <comment_count>4</comment_count>
    <who name="Edward Donovan">kde-bugs</who>
    <bug_when>2016-06-07 03:34:34 +0000</bug_when>
    <thetext>My experience under Kubuntu 16.04 is just the same.  
  Plasma 5.5.5
  Qt 5.5.1

I believe it&apos;s been happening for a while under at least Kubuntu 15.10 as well; I forget what Plasma &amp; Qt versions that might have been.  

My backtrace may not add anything, but drkonqi usually suggests it&apos;s no use, and this time it liked it for a change.  (I&apos;m not adding this via drkonqi because it got stuck when I tried to mark my report as a dupe.  Oh well.)  Thanks.

Backtrace of the crash I experienced:

Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library &quot;/lib/x86_64-linux-gnu/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f47d0f988c0 (LWP 2451))]

Thread 2 (Thread 0x7f4686028700 (LWP 2742)):
#0  0x00007f47cf0a7e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f47cc27931c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47cc27942c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47cfcdda9b in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f47cfc84dea in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x0000000000420cd8 in Baloo::FileContentIndexer::run() ()
#6  0x00007f47cfaa3343 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f47cfaa684e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f47ce70a6fa in start_thread (arg=0x7f4686028700) at pthread_create.c:333
#9  0x00007f47cf0b3b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f47d0f988c0 (LWP 2451)):
[KCrash Handler]
#6  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:38
#7  0x00007f47d01908da in Baloo::PostingCodec::decode(QByteArray const&amp;) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#8  0x00007f47d017c814 in Baloo::PostingDB::get(QByteArray const&amp;) () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#9  0x00007f47d018d3c6 in Baloo::WriteTransaction::commit() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#10 0x00007f47d0185032 in Baloo::Transaction::commit() () from /usr/lib/x86_64-linux-gnu/libKF5BalooEngine.so.5
#11 0x00000000004296d5 in Baloo::MetadataMover::removeFileMetadata(QString const&amp;) ()
#12 0x00007f47cfcb5e4f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x0000000000432f05 in Baloo::PendingFileQueue::removeFileIndex(QString const&amp;) ()
#14 0x0000000000427856 in Baloo::PendingFileQueue::processCache() ()
#15 0x00007f47cfcb5e4f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f47cfcc2878 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f47cfcb6e53 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f47cfc8760c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007f47cfcdc89d in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f47cfcdcdd9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f47cc279127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f47cc279380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f47cc27942c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f47cfcdda7f in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007f47cfc84dea in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f47cfc8ce8c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x000000000041698c in main ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620927</commentid>
    <comment_count>5</comment_count>
    <who name="Christoph Cullmann">christoph</who>
    <bug_when>2016-09-11 13:30:53 +0000</bug_when>
    <thetext>Hi, how large is your

.local/share/baloo/index

file?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1620961</commentid>
    <comment_count>6</comment_count>
    <who name="Christoph Cullmann">christoph</who>
    <bug_when>2016-09-11 13:42:11 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 367480 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621559</commentid>
    <comment_count>7</comment_count>
    <who name="José Gonçalves">jfgoncal</who>
    <bug_when>2016-09-12 09:08:39 +0000</bug_when>
    <thetext>Hi,
I restarted baloo so I do not know if the size is the same when the
program crashed.
Right now the size is 5.0 GB.
And the infor in balooctl status is:

Baloo File Indexer is running
Indexer state: Indexing file content
Indexed 120536 / 204025 files
Current size of index is 992.07 MiB

Thanks
José

On Sun, Sep 11, 2016 at 2:30 PM, Christoph Cullmann via KDE Bugzilla
&lt;bugzilla_noreply@kde.org&gt; wrote:
&gt; https://bugs.kde.org/show_bug.cgi?id=356114
&gt;
&gt; Christoph Cullmann &lt;cullmann@kde.org&gt; changed:
&gt;
&gt;            What    |Removed                     |Added
&gt; ----------------------------------------------------------------------------
&gt;                  CC|                            |cullmann@kde.org
&gt;              Status|UNCONFIRMED                 |CONFIRMED
&gt;      Ever confirmed|0                           |1
&gt;
&gt; --- Comment #5 from Christoph Cullmann &lt;cullmann@kde.org&gt; ---
&gt; Hi, how large is your
&gt;
&gt; .local/share/baloo/index
&gt;
&gt; file?
&gt;
&gt; --
&gt; You are receiving this mail because:
&gt; You are on the CC list for the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621560</commentid>
    <comment_count>8</comment_count>
    <who name="Christoph Cullmann">christoph</who>
    <bug_when>2016-09-12 09:09:59 +0000</bug_when>
    <thetext>Ok, then you are soon screwed again :/

You need at least git master, as baloo will kill itself after 5GB

(see already the wrapped output in status)

Current size of index is 992.07 MiB</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1621724</commentid>
    <comment_count>9</comment_count>
    <who name="Edward Donovan">kde-bugs</who>
    <bug_when>2016-09-13 00:39:37 +0000</bug_when>
    <thetext>Pardon me if this isn&apos;t needed, or should be on the the bug this is duped to --

Same here, my ~/.local/share/baloo/index is 5.0G.

Thanks for looking at this, Christoph.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>