Bug 444534 - Akonadi crashes when Gmail root folder clicked in KMail
Summary: Akonadi crashes when Gmail root folder clicked in KMail
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-10-28 11:53 UTC by Samim Konjicija
Modified: 2023-05-27 03:45 UTC (History)
1 user (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 Samim Konjicija 2021-10-28 11:53:07 UTC
Application: akonadiserver (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.71.0
Operating System: Linux 5.3.18-lp152.95-preempt x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.2"

-- Information about the crash:
- What I was doing when the application crashed:
For some reason, KMail shows a large number of unread mails on root of IMAP account (Gmail). It happened without any obvious reason, and nothing was changed in account settings. Each time when I click to see the list of unread messages, Akonadi crashes. Restarting Akonadi, Kontact or laptop doesn't change the behavior.

- Custom settings of the application:
Just Gmail account.

The crash can be reproduced every time.

-- Backtrace:
Application: Akonadi Server (akonadiserver), signal: Segmentation fault
[KCrash Handler]
#4  0x00007fe0c311c1ec in QString::operator=(QString const&) () from /usr/lib64/libQt5Core.so.5
#5  0x00005626e3327855 in ?? ()
#6  0x00007fe0c329ef4f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#7  0x00005626e3378764 in ?? ()
#8  0x00005626e332afee in ?? ()
#9  0x00007fe0c329ef4f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#10 0x00007fe0c39dbd5f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib64/libQt5DBus.so.5
#11 0x00007fe0c329f9e2 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#12 0x00007fe0c326f311 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#13 0x00007fe0c3271ee7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#14 0x00007fe0c32ccd93 in ?? () from /usr/lib64/libQt5Core.so.5
#15 0x00007fe0bee3d624 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#16 0x00007fe0bee3d9c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#17 0x00007fe0bee3da4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#18 0x00007fe0c32cc3af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#19 0x00007fe0c326d57a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#20 0x00007fe0c309290a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#21 0x00007fe0c30940b2 in ?? () from /usr/lib64/libQt5Core.so.5
#22 0x00007fe0c143b539 in start_thread () from /lib64/libpthread.so.0
#23 0x00007fe0c2713ecf in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fe0b3fff700 (LWP 28139) "CacheCleaner-Th"):
#1  0x00007fe0bee3d939 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe0bee3da4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe0c32cc3cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe0c326d57a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fe0c309290a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fe0c30940b2 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe0c143b539 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe0c2713ecf in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fe0b8d5c700 (LWP 28138) "NotificationMan"):
#1  0x00007fe0bee3d939 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe0bee3da4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe0c32cc3cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fe0c326d57a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fe0c309290a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fe0c30940b2 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe0c143b539 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fe0c2713ecf in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fe0b9a3d700 (LWP 28135) "QDBusConnection"):
#1  0x00007fe0bee3d371 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fe0bee3d8e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fe0bee3da4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fe0c32cc3cb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fe0c326d57a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007fe0c309290a in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#7  0x00007fe0c3981e65 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007fe0c30940b2 in ?? () from /usr/lib64/libQt5Core.so.5
#9  0x00007fe0c143b539 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fe0c2713ecf in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe0c4af8900 (LWP 28134) "akonadiserver"):
#1  0x00007fe0c309b176 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib64/libQt5Core.so.5
#2  0x00007fe0c309b4d6 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQt5Core.so.5
#3  0x00007fe0c3093c8e in QThread::wait(unsigned long) () from /usr/lib64/libQt5Core.so.5
#4  0x00005626e3380062 in ?? ()
#5  0x00005626e31f78ac in ?? ()
#6  0x00005626e31f7a49 in ?? ()
#7  0x00005626e31f1a6f in ?? ()
#8  0x00005626e31ec74f in ?? ()
#9  0x00007fe0c263c34a in __libc_start_main () from /lib64/libc.so.6
#10 0x00005626e31ef0ba in ?? ()
[Inferior 1 (process 28134) detached]

Possible duplicates by query: bug 444446, bug 444421, bug 444411, bug 444315, bug 444002.

Reported using DrKonqi
Comment 1 Carl Schwan 2023-04-27 19:31:02 UTC
Thank you for the bug report! Unfortunately, I can't reproduce the crash myself on current git master, and the backtrace is incomplete and missing debug symbols for the following lines that we need to figure out exactly what's going wrong:

Could you please install debug symbols, reproduce the crash, and attach a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports for details about how to do this.

Thanks again!
Comment 2 Bug Janitor Service 2023-05-12 03:46:02 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 3 Bug Janitor Service 2023-05-27 03:45:39 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!