<?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>422962</bug_id>
          
          <creation_ts>2020-06-14 12:08:24 +0000</creation_ts>
          <short_desc>Akonadi indexing agent crashes time and again</short_desc>
          <delta_ts>2020-08-13 12:46:02 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Akonadi</product>
          <component>Indexer</component>
          <version>5.13.2</version>
          <rep_platform>Fedora RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>401865</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="Christian Nitschkowski">cn001</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>a.samirh78</cc>
    
    <cc>chrigi_1</cc>
    
    <cc>dvratil</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>1937007</commentid>
    <comment_count>0</comment_count>
    <who name="Christian Nitschkowski">cn001</who>
    <bug_when>2020-06-14 12:08:24 +0000</bug_when>
    <thetext>SUMMARY
Akonadi indexing agent crashes time and again, even without any user interaction without any special configuration.

STEPS TO REPRODUCE
1. Login into Plasma session.

OBSERVED RESULT
When I login to KDE session the crash report dialog pops up during login.
While the session is running a toast message will pop up every now and then telling me the indexing agent crashed.

EXPECTED RESULT
The indexing agent shouldn&apos;t crash.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 32 
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70
Qt Version: 5.13.2

ADDITIONAL INFORMATION
I upgraded from KDE 5.16 to 5.17 to 5.18 without resetting my configuration. The problem occurred already with KDE 5.16. It first came up a few days after setting up my computer and persisted over several updates.

The crash can be reproduced every time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1941896</commentid>
    <comment_count>1</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2020-07-05 12:50:57 +0000</bug_when>
    <thetext>Please add the backtrace from the crash dialog. For more information, please see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1942363</commentid>
    <comment_count>2</comment_count>
    <who name="Christian Nitschkowski">cn001</who>
    <bug_when>2020-07-08 05:59:07 +0000</bug_when>
    <thetext>Application: akonadi_indexing_agent (akonadi_indexing_agent), signal: Aborted
Using host libthread_db library &quot;/lib64/libthread_db.so.1&quot;.
[Current thread is 1 (Thread 0x7f1730e8d600 (LWP 3206))]

Thread 4 (Thread 0x7f172188f700 (LWP 3264)):
#0  0x00007f1733f1d87c in g_source_ref () from /lib64/libglib-2.0.so.0
#1  0x00007f1733f1d948 in g_source_iter_next () from /lib64/libglib-2.0.so.0
#2  0x00007f1733f1ef03 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#3  0x00007f1733f1f9fb in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#4  0x00007f1733f1fc03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#5  0x00007f17358a0b8b in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#6  0x00007f173585391b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#7  0x00007f17356bf427 in QThread::exec() () from /lib64/libQt5Core.so.5
#8  0x00007f17356c0690 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007f1734833432 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f17353249d3 in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f1722090700 (LWP 3263)):
#0  0x00007f1735319b6f in poll () from /lib64/libc.so.6
#1  0x00007f1733f1face in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#2  0x00007f1733f1fc03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f17358a0b8b in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#4  0x00007f173585391b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#5  0x00007f17356bf427 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f1735b2e51b in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f17356c0690 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f1734833432 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f17353249d3 in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f1723bc0700 (LWP 3227)):
#0  0x00007f1735319b6f in poll () from /lib64/libc.so.6
#1  0x00007f173147d38a in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f173147f71a in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f1723d98c78 in QXcbEventQueue::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f17356c0690 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f1734833432 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f17353249d3 in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1730e8d600 (LWP 3206)):
[KCrash Handler]
#4  0x00007f173525fa25 in raise () from /lib64/libc.so.6
#5  0x00007f1735248895 in abort () from /lib64/libc.so.6
#6  0x00007f17354a8961 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] () from /lib64/libstdc++.so.6
#7  0x00007f17354b442c in __cxxabiv1::__terminate(void (*)()) () from /lib64/libstdc++.so.6
#8  0x00007f17354b4497 in std::terminate() () from /lib64/libstdc++.so.6
#9  0x00007f17354b4749 in __cxa_throw () from /lib64/libstdc++.so.6
#10 0x00007f1736b7a314 in GlassTable::set_overwritten() const () from /lib64/libxapian.so.30
#11 0x00007f1736b7a67a in GlassTable::block_to_cursor(Glass::Cursor*, int, unsigned int) const [clone .cold] () from /lib64/libxapian.so.30
#12 0x00007f1736c51a0d in GlassTable::find(Glass::Cursor*) const () from /lib64/libxapian.so.30
#13 0x00007f1736c540a9 in GlassTable::get_exact_entry(std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;) const () from /lib64/libxapian.so.30
#14 0x00007f1736c4428b in GlassPostListTable::get_freqs(std::__cxx11::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, unsigned int*, unsigned int*, unsigned int*) const () from /lib64/libxapian.so.30
#15 0x00007f1736ce7010 in Xapian::Weight::Internal::accumulate_stats(Xapian::Database::Internal const&amp;, Xapian::RSet const&amp;) () from /lib64/libxapian.so.30
#16 0x00007f1736ca3d2b in LocalSubMatch::prepare_match(bool, Xapian::Weight::Internal&amp;) () from /lib64/libxapian.so.30
#17 0x00007f1736cac3a5 in MultiMatch::MultiMatch(Xapian::Database const&amp;, Xapian::Query const&amp;, unsigned int, Xapian::RSet const*, unsigned int, unsigned int, int, double, Xapian::Enquire::docid_order, unsigned int, Xapian::Enquire::Internal::sort_setting, bool, double, Xapian::Weight::Internal&amp;, Xapian::Weight const*, std::vector&lt;Xapian::Internal::opt_intrusive_ptr&lt;Xapian::MatchSpy&gt;, std::allocator&lt;Xapian::Internal::opt_intrusive_ptr&lt;Xapian::MatchSpy&gt; &gt; &gt; const&amp;, bool, bool) () from /lib64/libxapian.so.30
#18 0x00007f1736ba3c56 in Xapian::Enquire::Internal::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const () from /lib64/libxapian.so.30
#19 0x00007f1736ba3f09 in Xapian::Enquire::get_mset(unsigned int, unsigned int, unsigned int, Xapian::RSet const*, Xapian::MatchDecider const*) const () from /lib64/libxapian.so.30
#20 0x00007f1736dc4ae8 in Akonadi::Search::PIM::IndexedItemsPrivate::findIndexedInDatabase(QSet&lt;long long&gt;&amp;, long long, QString const&amp;) () from /lib64/libKF5AkonadiSearchPIM.so.5
#21 0x00007f1736dc4ee5 in Akonadi::Search::PIM::IndexedItemsPrivate::findIndexed(QSet&lt;long long&gt;&amp;, long long) () from /lib64/libKF5AkonadiSearchPIM.so.5
#22 0x00005648da85178e in CollectionIndexingJob::findUnindexed() ()
#23 0x00007f1735883f76 in void doActivate&lt;false&gt;(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#24 0x00007f173614afad in KJob::finished(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#25 0x00007f173614bc30 in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#26 0x00007f173587cb5e in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#27 0x00007f1736312063 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#28 0x00007f1735854fc0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#29 0x00007f1735857c47 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#30 0x00007f17358a10a7 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#31 0x00007f1733f1f7af in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x00007f1733f1fb38 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#33 0x00007f1733f1fc03 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x00007f17358a0b73 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#35 0x00007f173585391b in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /lib64/libQt5Core.so.5
#36 0x00007f173585b5a6 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#37 0x00005648da84182c in int Akonadi::AgentBase::init&lt;AkonadiIndexingAgent&gt;(int, char**) ()
#38 0x00007f173524a042 in __libc_start_main () from /lib64/libc.so.6
#39 0x00005648da83beae in _start ()
[Inferior 1 (process 3206) detached]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1942365</commentid>
    <comment_count>3</comment_count>
    <who name="Christian Nitschkowski">cn001</who>
    <bug_when>2020-07-08 05:59:25 +0000</bug_when>
    <thetext>Attached the backtrace</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1942384</commentid>
    <comment_count>4</comment_count>
    <who name="Christoph Feck">cfeck</who>
    <bug_when>2020-07-08 08:17:13 +0000</bug_when>
    <thetext>Seems to be an unhandled exception in Xapian.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1948867</commentid>
    <comment_count>5</comment_count>
    <who name="Christian Nitschkowski">cn001</who>
    <bug_when>2020-08-04 21:50:13 +0000</bug_when>
    <thetext>Is there any way to stop that indexing error to appear time and again?
It is really annoying and gets to a point I&apos;m actually thinking about switching to a different DE because I get those crash notificiations every few seconds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950542</commentid>
    <comment_count>6</comment_count>
    <who name="Ahmad Samir">a.samirh78</who>
    <bug_when>2020-08-13 12:46:02 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>