<?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>420296</bug_id>
          
          <creation_ts>2020-04-19 09:28:10 +0000</creation_ts>
          <short_desc>baloo_file crash at startup</short_desc>
          <delta_ts>2020-05-06 21:27:38 +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.69.0</version>
          <rep_platform>Manjaro</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></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Pietro F. Fontana">pietro.fontana</reporter>
          <assigned_to name="Stefan Brüns">stefan.bruens</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>1923562</commentid>
    <comment_count>0</comment_count>
    <who name="Pietro F. Fontana">pietro.fontana</who>
    <bug_when>2020-04-19 09:28:10 +0000</bug_when>
    <thetext>Qt Version: 5.14.2
Frameworks Version: 5.69.0
Operating System: Linux 5.6.5-1-MANJARO x86_64
Windowing system: Wayland
Distribution: Manjaro Linux

-- Information about the crash:
I start the system, login and DrKonqi tells me that baloo_file has crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Aborted
Using host libthread_db library &quot;/usr/lib/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7ffb01a27240 (LWP 4102))]

Thread 3 (Thread 0x7ffb00c39700 (LWP 4259)):
[KCrash Handler]
#6  0x00007ffb0562dce5 in raise () from /usr/lib/libc.so.6
#7  0x00007ffb05617857 in abort () from /usr/lib/libc.so.6
#8  0x00007ffb04bcb753 in ?? () from /usr/lib/liblmdb.so
#9  0x00007ffb04bc0435 in ?? () from /usr/lib/liblmdb.so
#10 0x00007ffb04bc1676 in ?? () from /usr/lib/liblmdb.so
#11 0x00007ffb04bc18b3 in ?? () from /usr/lib/liblmdb.so
#12 0x00007ffb04bc34ec in ?? () from /usr/lib/liblmdb.so
#13 0x00007ffb04bc6619 in mdb_cursor_put () from /usr/lib/liblmdb.so
#14 0x00007ffb04bc94ab in mdb_put () from /usr/lib/liblmdb.so
#15 0x00007ffb0613bb8a in Baloo::DocumentTimeDB::put(unsigned long long, Baloo::DocumentTimeDB::TimeInfo const&amp;) () from /usr/lib/libKF5BalooEngine.so.5
#16 0x00007ffb06163a25 in Baloo::WriteTransaction::replaceDocument(Baloo::Document const&amp;, QFlags&lt;Baloo::DocumentOperation&gt;) () from /usr/lib/libKF5BalooEngine.so.5
#17 0x00007ffb06154cb5 in Baloo::Transaction::replaceDocument(Baloo::Document const&amp;, QFlags&lt;Baloo::DocumentOperation&gt;) () from /usr/lib/libKF5BalooEngine.so.5
#18 0x0000556c245f21c6 in ?? ()
#19 0x00007ffb05bb4002 in ?? () from /usr/lib/libQt5Core.so.5
#20 0x00007ffb05bb0dd6 in ?? () from /usr/lib/libQt5Core.so.5
#21 0x00007ffb04c2646f in start_thread () from /usr/lib/libpthread.so.0
#22 0x00007ffb056f13d3 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7ffb0173c700 (LWP 4112)):
#0  0x00007ffb056e6abf in poll () from /usr/lib/libc.so.6
#1  0x00007ffb043fb4a0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffb043fb571 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffb05de48ac in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffb05d8b05c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffb05bafc62 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007ffb06186b28 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007ffb05bb0dd6 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007ffb04c2646f in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007ffb056f13d3 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffb01a27240 (LWP 4102)):
#0  0x00007ffb056e6abf in poll () from /usr/lib/libc.so.6
#1  0x00007ffb043fb4a0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007ffb043fb571 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007ffb05de48ac in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffb05d8b05c in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQt5Core.so.5
#5  0x00007ffb05d93066 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#6  0x0000556c245df3ea in ?? ()
#7  0x00007ffb05619023 in __libc_start_main () from /usr/lib/libc.so.6
#8  0x0000556c245df59e in ?? ()
[Inferior 1 (process 4102) detached]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1923568</commentid>
    <comment_count>1</comment_count>
    <who name="Pietro F. Fontana">pietro.fontana</who>
    <bug_when>2020-04-19 09:34:54 +0000</bug_when>
    <thetext>If I try to start it again from command line with &apos;balooctl enable&apos;:

Enabling and starting the File Indexer
replace called with invalid arguments, docId: 1103806595128 url: &quot;/home/cubanpit/&quot;
mdb.c:2127: Assertion &apos;rc == 0&apos; failed in mdb_page_dirty()
KCrash: Attempting to start /usr/bin/baloo_file from kdeinit
sock_file=/run/user/1000/kdeinit5__1
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = baloo_file path = /usr/bin pid = 5313
KCrash: Arguments: /usr/bin/baloo_file 
KCrash: Attempting to start /usr/lib/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__1

I purged the index database and restarted Baloo, now it works again.
This means that I will not be able to reproduce the issue anymore, sorry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1927846</commentid>
    <comment_count>2</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2020-05-06 21:27:38 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>