Bug 418804 - Indexing agent crash
Summary: Indexing agent crash
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Indexer (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 418803 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-03-13 09:07 UTC by Gaël de Chalendar (aka Kleag)
Modified: 2022-11-11 05:20 UTC (History)
2 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 Gaël de Chalendar (aka Kleag) 2020-03-13 09:07:05 UTC
Application: akonadi_indexing_agent (5.13.3 (19.12.3))

Qt Version: 5.14.1
Frameworks Version: 5.67.0
Operating System: Linux 5.3.0-40-generic x86_64
Windowing system: X11
Distribution: KDE neon User Edition 5.18

-- Information about the crash:
- What I was doing when the application crashed:
I moved all my 2019 mails by drag and drop from the Microsoft Exchange server of my work to my local maildir (?) mails , for archiving. It seemed to work but now akonadi crashes after a few seconds or minutes. I have to leave my session and reopen it to be able to restart it.  Otherwise, "akonadictl start" waits some times and then says:

org.kde.pim.akonadiserver: Failed to connect to database!
org.kde.pim.akonadiserver: Database error: "Can't connect to local MySQL server through socket '/run/user/1000/akonadi/mysql.socket' (2) QMYSQL: Unable to connect"
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/run/user/1000/akonadi/mysql.socket' (2)'
Check that mysqld is running and that the socket: '/run/user/1000/akonadi/mysql.socket' exists!


- Custom settings of the application:
Using akonadi_ews_resource

The crash can be reproduced every time.

-- Backtrace:
Application: akonadi_indexing_agent (akonadi_indexing_agent), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa95c034380 (LWP 7757))]

Thread 4 (Thread 0x7fa93bfff700 (LWP 7836)):
#0  0x00007fa9577b0bf9 in __GI___poll (fds=0x7fa9300029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa9524ee5c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa9524ee6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa95832f0db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa9582ce63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa9580df317 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fa9580e07ec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa9542566db in start_thread (arg=0x7fa93bfff700) at pthread_create.c:463
#8  0x00007fa9577bd88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa940dc6700 (LWP 7835)):
#0  0x00007fa9577ac0b4 in __GI___libc_read (fd=6, buf=0x7fa940dc5a20, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fa9525332d0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa9524ee0b7 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa9524ee570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa9524ee6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa95832f0db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fa9582ce63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fa9580df317 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fa9587bb555 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fa9580e07ec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007fa9542566db in start_thread (arg=0x7fa940dc6700) at pthread_create.c:463
#11 0x00007fa9577bd88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa946697700 (LWP 7783)):
#0  0x00007fa9577b0bf9 in __GI___poll (fds=0x7fa946696b68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa94c4f3747 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa94c4f536a in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa949065cc0 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fa9580e07ec in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa9542566db in start_thread (arg=0x7fa946697700) at pthread_create.c:463
#6  0x00007fa9577bd88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa95c034380 (LWP 7757)):
[KCrash Handler]
#6  0x00007fa9576dae97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007fa9576dc801 in __GI_abort () at abort.c:79
#8  0x00007fa957d31957 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007fa957d37ae6 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007fa957d37b21 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007fa957d37d54 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007fa95a7cc9ea in  () at /usr/lib/x86_64-linux-gnu/libxapian.so.30
#13 0x00007fa95a7ccbaf in  () at /usr/lib/x86_64-linux-gnu/libxapian.so.30
#14 0x00007fa95a7ccd1e in  () at /usr/lib/x86_64-linux-gnu/libxapian.so.30
#15 0x00007fa95a7341a6 in Xapian::WritableDatabase::commit() () at /usr/lib/x86_64-linux-gnu/libxapian.so.30
#16 0x00005601dc879bf7 in  ()
#17 0x00005601dc8603bf in  ()
#18 0x00007fa95b440cd9 in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#19 0x00007fa95830adc9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fa95a37b73a in Akonadi::Monitor::collectionChanged(Akonadi::Collection const&, QSet<QByteArray> const&) () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#21 0x00007fa95a385ea3 in Akonadi::MonitorPrivate::emitCollectionNotification(Akonadi::Protocol::CollectionChangeNotification const&, Akonadi::Collection const&, Akonadi::Collection const&, Akonadi::Collection const&) () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#22 0x00007fa95a38ada3 in Akonadi::MonitorPrivate::emitNotification(QSharedPointer<Akonadi::Protocol::ChangeNotification> const&) () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#23 0x00007fa95a33150e in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#24 0x00007fa95a38933c in Akonadi::MonitorPrivate::dispatchNotifications() () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#25 0x00007fa95830adc9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fa95a32d0da in  () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#27 0x00007fa95830adc9 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fa95932892c in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#29 0x00007fa959329461 in KJob::finishJob(bool) () at /usr/lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#30 0x00007fa95a3bb8c9 in Akonadi::SessionPrivate::socketDisconnected() () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#31 0x00007fa95a3bb9c6 in Akonadi::SessionPrivate::socketError(QString const&) () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#32 0x00007fa958302e8b in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007fa9596e98bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007fa9596f0ac0 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007fa9582cfdb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fa9582d2a31 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007fa95832fa13 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007fa9524ee417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fa9524ee650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fa9524ee6dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fa95832f0bc in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007fa9582ce63a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x00007fa9582d7db0 in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007fa95b43bbed in Akonadi::AgentBase::init(Akonadi::AgentBase&) () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#45 0x00005601dc861281 in  ()
#46 0x00007fa9576bdb97 in __libc_start_main (main=0x5601dc85da50, argc=3, argv=0x7ffd935a64f8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd935a64e8) at ../csu/libc-start.c:310
#47 0x00005601dc85da8a in  ()

Possible duplicates by query: bug 418351, bug 418277, bug 418026, bug 414938, bug 413943.

Rapporter à https://bugs.kde.org/
Comment 1 Gaël de Chalendar (aka Kleag) 2020-03-13 09:14:12 UTC
*** Bug 418803 has been marked as a duplicate of this bug. ***
Comment 2 Bug Janitor Service 2020-08-29 12:03:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/pim/akonadi-search/-/merge_requests/3
Comment 3 Justin Zobel 2022-10-12 03:49:53 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-10-27 05:03:43 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2022-11-11 05:20:24 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!