Bug 422962 - Akonadi indexing agent crashes time and again
Summary: Akonadi indexing agent crashes time and again
Status: RESOLVED DUPLICATE of bug 401865
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Indexer (show other bugs)
Version: 5.13.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-14 12:08 UTC by Christian Nitschkowski
Modified: 2020-08-13 12:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Nitschkowski 2020-06-14 12:08:24 UTC
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'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.
Comment 1 Christoph Feck 2020-07-05 12:50:57 UTC
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
Comment 2 Christian Nitschkowski 2020-07-08 05:59:07 UTC
Application: akonadi_indexing_agent (akonadi_indexing_agent), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[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<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f173585391b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f173585391b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () 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<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) const () from /lib64/libxapian.so.30
#14 0x00007f1736c4428b in GlassPostListTable::get_freqs(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int*, unsigned int*, unsigned int*) const () from /lib64/libxapian.so.30
#15 0x00007f1736ce7010 in Xapian::Weight::Internal::accumulate_stats(Xapian::Database::Internal const&, Xapian::RSet const&) () from /lib64/libxapian.so.30
#16 0x00007f1736ca3d2b in LocalSubMatch::prepare_match(bool, Xapian::Weight::Internal&) () from /lib64/libxapian.so.30
#17 0x00007f1736cac3a5 in MultiMatch::MultiMatch(Xapian::Database const&, Xapian::Query const&, 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&, Xapian::Weight const*, std::vector<Xapian::Internal::opt_intrusive_ptr<Xapian::MatchSpy>, std::allocator<Xapian::Internal::opt_intrusive_ptr<Xapian::MatchSpy> > > const&, 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<long long>&, long long, QString const&) () from /lib64/libKF5AkonadiSearchPIM.so.5
#21 0x00007f1736dc4ee5 in Akonadi::Search::PIM::IndexedItemsPrivate::findIndexed(QSet<long long>&, long long) () from /lib64/libKF5AkonadiSearchPIM.so.5
#22 0x00005648da85178e in CollectionIndexingJob::findUnindexed() ()
#23 0x00007f1735883f76 in void doActivate<false>(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<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#35 0x00007f173585391b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#36 0x00007f173585b5a6 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#37 0x00005648da84182c in int Akonadi::AgentBase::init<AkonadiIndexingAgent>(int, char**) ()
#38 0x00007f173524a042 in __libc_start_main () from /lib64/libc.so.6
#39 0x00005648da83beae in _start ()
[Inferior 1 (process 3206) detached]
Comment 3 Christian Nitschkowski 2020-07-08 05:59:25 UTC
Attached the backtrace
Comment 4 Christoph Feck 2020-07-08 08:17:13 UTC
Seems to be an unhandled exception in Xapian.
Comment 5 Christian Nitschkowski 2020-08-04 21:50:13 UTC
Is there any way to stop that indexing error to appear time and again?
It is really annoying and gets to a point I'm actually thinking about switching to a different DE because I get those crash notificiations every few seconds.
Comment 6 Ahmad Samir 2020-08-13 12:46:02 UTC

*** This bug has been marked as a duplicate of bug 401865 ***