Bug 302148

Summary: Akonadi IMAP crashes after entering password
Product: [Frameworks and Libraries] Akonadi Reporter: Vojtěch Zeisek <Vojtech.Zeisek>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andysem, auxsvr, dvn74, erlrange, faure, julius.schwartzenberg, k, kde.org, kdepim-bugs, leveillerems, montel, oleg.atamanenko+kde, stringchopper, tomas.chvatal, vkrause
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=303952
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Vojtěch Zeisek 2012-06-18 20:05:11 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.4 (4.8.4) "release 511"
Qt Version: 4.8.2
Operating System: Linux 3.1.10-1.9-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
Akonadi IMAP noticed some error when logging to IMAP server. One of proposed solutions was re-entering of password. I did not change the password, but I choose the possibility to enter it again. After entering the password, Akonadi IMAP crashed.

-- Backtrace:
Application: gmail-vojta.scz typu E-mailový IMAP server (akonadi_imap_resource), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f3d77675e90 in vtable for KPasswordDialog () from /usr/lib64/libkdeui.so.5
#7  0x00007f3d79de1438 in QObject::connect (sender=0x82bda0, signal=0x469808 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x86cc30, method=0x4697c0 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2560
#8  0x00000000004562eb in SessionPool::onPasswordRequestDone (this=0x86cc30, resultType=<optimized out>, password=...) at /usr/src/debug/kdepim-runtime-4.8.4/resources/imap/sessionpool.cpp:335
#9  0x0000000000458087 in SessionPool::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-runtime-4.8.4/build/resources/imap/sessionpool.moc:94
#10 0x00007f3d79ddfc41 in QMetaObject::activate (sender=0x86be20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd351f4d0) at kernel/qobject.cpp:3556
#11 0x00000000004436a1 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=<optimized out>) at /usr/src/debug/kdepim-runtime-4.8.4/build/resources/imap/passwordrequesterinterface.moc:118
#12 0x0000000000422633 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x86be20, password=..., userRejected=false) at /usr/src/debug/kdepim-runtime-4.8.4/resources/imap/settingspasswordrequester.cpp:89
#13 0x00007f3d79ddfc41 in QMetaObject::activate (sender=0x8708d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd351f670) at kernel/qobject.cpp:3556
#14 0x0000000000420f71 in Settings::passwordRequestCompleted (this=<optimized out>, _t1=<optimized out>, _t2=false) at /usr/src/debug/kdepim-runtime-4.8.4/build/resources/imap/settings.moc:124
#15 0x000000000042153d in Settings::onDialogFinished (this=0x8708d0, result=<optimized out>) at /usr/src/debug/kdepim-runtime-4.8.4/resources/imap/settings.cpp:164
#16 0x0000000000421743 in Settings::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-runtime-4.8.4/build/resources/imap/settings.moc:74
#17 0x00007f3d79ddfc41 in QMetaObject::activate (sender=0x73d060, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd351f850) at kernel/qobject.cpp:3556
#18 0x00007f3d7961b28e in QDialog::finished (this=<optimized out>, _t1=1) at .moc/release-shared/moc_qdialog.cpp:153
#19 0x00007f3d7961b32a in QDialog::done (this=<optimized out>, r=1) at dialogs/qdialog.cpp:597
#20 0x00007f3d771e2b69 in KPasswordDialog::KPasswordDialogPrivate::actuallyAccept (this=0x8ae6e0) at /usr/src/debug/kdelibs-4.8.4/kdeui/dialogs/kpassworddialog.cpp:404
#21 0x00007f3d79de4e06 in QObject::event (this=0x73d060, e=<optimized out>) at kernel/qobject.cpp:1204
#22 0x00007f3d7919f07b in QWidget::event (this=0x73d060, event=0x9cfb20) at kernel/qwidget.cpp:8830
#23 0x00007f3d7914efe4 in notify_helper (e=0x9cfb20, receiver=0x73d060, this=0x6ab7a0) at kernel/qapplication.cpp:4551
#24 QApplicationPrivate::notify_helper (this=0x6ab7a0, receiver=0x73d060, e=0x9cfb20) at kernel/qapplication.cpp:4523
#25 0x00007f3d79153db3 in QApplication::notify (this=0x7fffd35204e0, receiver=0x73d060, e=0x9cfb20) at kernel/qapplication.cpp:4412
#26 0x00007f3d77267746 in KApplication::notify (this=0x7fffd35204e0, receiver=0x73d060, event=0x9cfb20) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#27 0x00007f3d79dcbd0c in QCoreApplication::notifyInternal (this=0x7fffd35204e0, receiver=0x73d060, event=0x9cfb20) at kernel/qcoreapplication.cpp:915
#28 0x00007f3d79dcf5ba in sendEvent (event=0x9cfb20, receiver=0x73d060) at kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x688e50) at kernel/qcoreapplication.cpp:1539
#30 0x00007f3d79dfa9a3 in sendPostedEvents () at kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0x6b1150) at kernel/qeventdispatcher_glib.cpp:279
#32 0x00007f3d74cab58d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f3d74cabd88 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f3d74cabf59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f3d79dfadcf in QEventDispatcherGlib::processEvents (this=0x688710, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#36 0x00007f3d791f269e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#37 0x00007f3d79dca842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007f3d79dcaa97 in QEventLoop::exec (this=0x7fffd3520460, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007f3d79dcf8b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#40 0x00007f3d7a4360e7 in Akonadi::ResourceBase::init (r=0x82a690) at /usr/src/debug/kdepimlibs-4.8.4/akonadi/resourcebase.cpp:412
#41 0x000000000041bea6 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#42 0x00007f3d762aa23d in __libc_start_main () from /lib64/libc.so.6
#43 0x0000000000416885 in _start () at ../sysdeps/x86_64/elf/start.S:113

Reported using DrKonqi
Comment 1 auxsvr 2012-08-01 07:30:08 UTC
Created attachment 72867 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.8) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.2

- What I was doing when the application crashed:

Kontact was closed, I restarted it, an error dialog box appeared about a problem communicating with gmail, a password prompt for the imap account appeared, and, upon entering the password, the resource crashed.

-- Backtrace (Reduced):
#7  0xb73a0068 in QObject::connect (sender=0x930eb50, signal=0x80ae284 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x91b50f0, method=0x80ae240 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2560
#8  0x0809c588 in SessionPool::onPasswordRequestDone (this=0x91b50f0, resultType=0, password=...) at /usr/src/debug/kdepim-runtime-4.8.4/resources/imap/sessionpool.cpp:335
#9  0x0809e1b0 in SessionPool::qt_static_metacall (_o=0x91b50f0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbff68a04) at /usr/src/debug/kdepim-runtime-4.8.4/build/resources/imap/sessionpool.moc:94
[...]
#11 0x080885ef in PasswordRequesterInterface::done (this=0x91c2da8, _t1=0, _t2=...) at /usr/src/debug/kdepim-runtime-4.8.4/build/resources/imap/passwordrequesterinterface.moc:118
#12 0x08065f30 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x91c2da8, password=..., userRejected=false) at /usr/src/debug/kdepim-runtime-4.8.4/resources/imap/settingspasswordrequester.cpp:89
Comment 2 dino74 2012-08-18 07:33:31 UTC
Created attachment 73267 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.8) on KDE Platform 4.8.4 (4.8.4) "release 2" using Qt 4.8.1

- What I was doing when the application crashed:
I entered a password for my mail IMAP account

-- Backtrace (Reduced):
#5  0x00007f8bc90ce848 in QObject::connect (sender=0x10a82d0, signal=0x467368 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x10c66d0, method=0x467320 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2560
#6  0x00000000004558bb in SessionPool::onPasswordRequestDone (this=0x10c66d0, resultType=<optimized out>, password=...) at /usr/src/debug/kdepim-runtime-4.8.4/resources/imap/sessionpool.cpp:335
#7  0x00000000004565d7 in SessionPool::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-runtime-4.8.4/build/resources/imap/sessionpool.moc:94
[...]
#9  0x0000000000441f21 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=...) at /usr/src/debug/kdepim-runtime-4.8.4/build/resources/imap/passwordrequesterinterface.moc:118
#10 0x0000000000421fb3 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x10b4a50, password=..., userRejected=false) at /usr/src/debug/kdepim-runtime-4.8.4/resources/imap/settingspasswordrequester.cpp:89
Comment 3 auxsvr 2012-09-10 15:56:26 UTC
Created attachment 73791 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.9) on KDE Platform 4.9.1 "release 561" using Qt 4.8.2

- What I was doing when the application crashed:

I had entered the wrong password, akonadi notified me of this and crashed when I tried to enter the password again.

-- Backtrace (Reduced):
#8  0xb7306622 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib/libQtCore.so.4
#9  0x0809d3e8 in SessionPool::onPasswordRequestDone (this=this@entry=0x8dec940, resultType=0, password=...) at /usr/src/debug/kdepim-runtime-4.9.1/resources/imap/sessionpool.cpp:335
#10 0x0809de4c in SessionPool::qt_static_metacall (_o=0x8dec940, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf9d9874) at /usr/src/debug/kdepim-runtime-4.9.1/build/resources/imap/sessionpool.moc:94
[...]
#12 0x0808871f in PasswordRequesterInterface::done (this=0x8dfbe80, _t1=0, _t2=...) at /usr/src/debug/kdepim-runtime-4.9.1/build/resources/imap/passwordrequesterinterface.moc:118
#13 0x0806667e in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x8dfbe80, password=..., userRejected=false) at /usr/src/debug/kdepim-runtime-4.9.1/resources/imap/settingspasswordrequester.cpp:89
Comment 4 Myriam Schweingruber 2012-09-10 18:54:49 UTC
Confirmed by several reporters.
Comment 5 Tomáš Chvátal 2012-10-02 06:03:34 UTC
Created attachment 74275 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.8) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.2

- What I was doing when the application crashed:

I entered the passwprhase for my groupwise imap account and it crashed.

-- Backtrace (Reduced):
#7  0x00007f430b0b744f in QObject::connect (sender=0x94de80, signal=0x468648 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x8c1580, method=0x468600 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2551
#8  0x000000000045503b in SessionPool::onPasswordRequestDone (this=0x8c1580, resultType=<optimized out>, password=...) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5/resources/imap/sessionpool.cpp:335
#9  0x0000000000456db7 in SessionPool::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5_build/resources/imap/sessionpool.moc:94
[...]
#11 0x00000000004423b1 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=<optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5_build/resources/imap/passwordrequesterinterface.moc:118
#12 0x0000000000421513 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x885ca0, password=..., userRejected=false) at /var/tmp/portage/kde-base/kdepim-runtime-4.8.5/work/kdepim-runtime-4.8.5/resources/imap/settingspasswordrequester.cpp:89
Comment 6 Jekyll Wu 2013-01-04 16:39:00 UTC
*** Bug 308887 has been marked as a duplicate of this bug. ***
Comment 7 Jekyll Wu 2013-01-04 16:39:12 UTC
*** Bug 312610 has been marked as a duplicate of this bug. ***
Comment 8 Jekyll Wu 2013-01-04 16:39:22 UTC
*** Bug 311489 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2013-01-04 16:39:50 UTC
*** Bug 300613 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2013-02-26 03:25:16 UTC
*** Bug 314203 has been marked as a duplicate of this bug. ***
Comment 11 Jekyll Wu 2013-02-26 03:25:47 UTC
*** Bug 310222 has been marked as a duplicate of this bug. ***
Comment 12 Jekyll Wu 2013-02-26 03:27:41 UTC
*** Bug 315042 has been marked as a duplicate of this bug. ***
Comment 13 Lastique 2013-02-27 06:19:15 UTC
Created attachment 77607 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.10) on KDE Platform 4.10.00 using Qt 4.8.2

- Unusual behavior I noticed:

For some reason IMAP resource failed to login to the email account (I suppose, to refresh the emails). The password of the account was not changed, and no apparent network probems.

- What I was doing when the application crashed:

I re-entered the password when requested and then IMAP resource crashed.

-- Backtrace (Reduced):
#7  0x00007f410738df78 in QObject::connect (sender=0xcf4360, signal=0x46b0c8 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0xcbde00, method=0x46b080 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2551
#8  0x000000000045749b in SessionPool::onPasswordRequestDone (this=0xcbde00, resultType=<optimized out>, password=...) at ../../../resources/imap/sessionpool.cpp:335
#9  0x00000000004591a7 in SessionPool::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./sessionpool.moc:94
[...]
#11 0x00000000004444f1 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=...) at ./passwordrequesterinterface.moc:118
#12 0x0000000000422b13 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0xcb7ec0, password=..., userRejected=false) at ../../../resources/imap/settingspasswordrequester.cpp:89
Comment 14 Laurent Montel 2013-02-27 08:52:46 UTC
David fixed a crash in 4.10.1
Verify with 4.10.1
Regards
Comment 15 David Faure 2013-03-03 13:09:04 UTC

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