Bug 411375 - akonadi_mail_dispatcher_agent crashes when entering an app password for gmail
Summary: akonadi_mail_dispatcher_agent crashes when entering an app password for gmail
Status: RESOLVED WORKSFORME
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Mail Dispatcher Agent (show other bugs)
Version: 5.12.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-08-28 04:21 UTC by Adam Bark
Modified: 2022-10-24 05:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Bark 2019-08-28 04:21:46 UTC
Application: akonadi_maildispatcher_agent (5.12.0)

Qt Version: 5.12.3
Frameworks Version: 5.61.0
Operating System: Linux 4.15.0-58-lowlatency x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:

Trying to send an email. I added two-factor authentication and XOAUTH stopped working so I made an app password for kmail which worked for a while but seems to be broken now. I try to send the email, a dialog pops up asking for a password, I supply a password and then it crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: akonadi_maildispatcher_agent (akonadi_maildispatcher_agent), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa02149e800 (LWP 23920))]

Thread 5 (Thread 0x7f9fce623700 (LWP 23928)):
#0  0x00007fa01a2ca9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x562225f51fc8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x00007fa01a2ca9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x562225f51f78, cond=0x562225f51fa0) at pthread_cond_wait.c:502
#2  0x00007fa01a2ca9f3 in __pthread_cond_wait (cond=0x562225f51fa0, mutex=0x562225f51f78) at pthread_cond_wait.c:655
#3  0x00007f9fcf4d20aa in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f9fcf4d1dd7 in  () at /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007fa01a2c46db in start_thread (arg=0x7f9fce623700) at pthread_create.c:463
#6  0x00007fa01dae488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f9ffffff700 (LWP 23925)):
#0  0x00007fa01dad7bf9 in __GI___poll (fds=0x7f9ff4003ce0, nfds=1, timeout=9478) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fa0189065c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0189066dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa01e632dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9ff4000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fa01e5d403a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f9fffffeda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007fa01e3fb4ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007fa01e3fcc72 in QThreadPrivate::start(void*) (arg=0x562225cba7c0) at thread/qthread_unix.cpp:361
#7  0x00007fa01a2c46db in start_thread (arg=0x7f9ffffff700) at pthread_create.c:463
#8  0x00007fa01dae488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fa004d21700 (LWP 23923)):
#0  0x00007fa01e63350b in timerSourceCheck(GSource*) (source=0x7f9ff8004890) at kernel/qeventdispatcher_glib.cpp:174
#1  0x00007fa018905fe1 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa018906570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa0189066dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa01e632dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f9ff8000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fa01e5d403a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa004d20da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#6  0x00007fa01e3fb4ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:531
#7  0x00007fa01e3fcc72 in QThreadPrivate::start(void*) (arg=0x562225c952b0) at thread/qthread_unix.cpp:361
#8  0x00007fa01a2c46db in start_thread (arg=0x7fa004d21700) at pthread_create.c:463
#9  0x00007fa01dae488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fa005522700 (LWP 23922)):
#0  0x00007fa01dad30b4 in __GI___libc_read (fd=6, buf=0x7fa005521b60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007fa01894b2d0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa0189060b7 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa018906570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fa0189066dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fa01e632dcb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fa000000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fa01e5d403a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fa005521d70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#7  0x00007fa01e3fb4ca in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:531
#8  0x00007fa01f301015 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007fa01e3fcc72 in QThreadPrivate::start(void*) (arg=0x7fa01f578d80) at thread/qthread_unix.cpp:361
#10 0x00007fa01a2c46db in start_thread (arg=0x7fa005522700) at pthread_create.c:463
#11 0x00007fa01dae488f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fa02149e800 (LWP 23920)):
[KCrash Handler]
#6  0x00007fa01f5b7521 in KCoreConfigSkeleton::findItem(QString const&) const () at /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#7  0x00007fa01f5b7569 in KCoreConfigSkeleton::isImmutable(QString const&) const () at /usr/lib/x86_64-linux-gnu/libKF5ConfigCore.so.5
#8  0x00007f9ffe99b69e in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/mailtransport/mailtransport_smtpplugin.so
#9  0x00007f9ffe99d0fe in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/mailtransport/mailtransport_smtpplugin.so
#10 0x00007fa01e60598f in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffda039b070, r=0x562225df72d0, this=0x562225de59a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#11 0x00007fa01e60598f in QMetaObject::activate(QObject*, int, int, void**) (sender=0x562225de5e40, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3776
#12 0x00007f9ffe78769e in KSmtp::Session::stateChanged(KSmtp::Session::State) () at /usr/lib/x86_64-linux-gnu/libKPimSMTP.so.5
#13 0x00007f9ffe782dc5 in KSmtp::SessionPrivate::setState(KSmtp::Session::State) () at /usr/lib/x86_64-linux-gnu/libKPimSMTP.so.5
#14 0x00007f9ffe78400b in KSmtp::SessionPrivate::socketConnected() () at /usr/lib/x86_64-linux-gnu/libKPimSMTP.so.5
#15 0x00007fa01e6063e2 in QObject::event(QEvent*) (this=0x562225deda60, e=<optimized out>) at kernel/qobject.cpp:1260
#16 0x00007fa01ebe765c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x562225bc9700, receiver=receiver@entry=0x562225deda60, e=e@entry=0x7f9fd00070a0) at kernel/qapplication.cpp:3736
#17 0x00007fa01ebeeb90 in QApplication::notify(QObject*, QEvent*) (this=0x7ffda039b700, receiver=0x562225deda60, e=0x7f9fd00070a0) at kernel/qapplication.cpp:3483
#18 0x00007fa01e5d5d18 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x562225deda60, event=0x7f9fd00070a0) at kernel/qcoreapplication.cpp:1060
#19 0x00007fa01e5d5eee in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=event@entry=0x7f9fd00070a0) at kernel/qcoreapplication.cpp:1450
#20 0x00007fa01e5d88d7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x562225bc9880) at kernel/qcoreapplication.cpp:1799
#21 0x00007fa01e5d8e78 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1653
#22 0x00007fa01e633793 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x562225c83fc0) at kernel/qeventdispatcher_glib.cpp:276
#23 0x00007fa018906417 in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fa018906650 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fa0189066dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fa01e632daf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x562225c7db80, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#27 0x00007fa01e5d403a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffda039b650, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#28 0x00007fa01e5dd170 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1363
#29 0x00007fa020e9968d in Akonadi::AgentBase::init(Akonadi::AgentBase&) () at /usr/lib/x86_64-linux-gnu/libKF5AkonadiAgentBase.so.5
#30 0x0000562225904485 in  ()
#31 0x00007fa01d9e4b97 in __libc_start_main (main=0x5622258ffe90, argc=3, argv=0x7ffda039b878, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffda039b868) at ../csu/libc-start.c:310
#32 0x00005622258ffeca in  ()

Reported using DrKonqi
Comment 1 Justin Zobel 2022-09-24 09:52:31 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 2 Bug Janitor Service 2022-10-09 04:51:59 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 2022-10-24 05:00:31 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!