Bug 308887

Summary: Trying to detect the security settings for a second GMail account gives this crash
Product: [Frameworks and Libraries] Akonadi Reporter: Julius Schwartzenberg <julius.schwartzenberg>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.9   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Julius Schwartzenberg 2012-10-23 17:44:35 UTC
Application: akonadi_imap_resource (4.9)
KDE Platform Version: 4.9.2
Qt Version: 4.8.3
Operating System: Linux 3.5.0-17-generic x86_64
Distribution: Ubuntu 12.10

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

I added a second GMail account with IMAP through the Accounts preferences.
When I clicked the button to automatically detect the server settings, I got this crash.

-- Backtrace:
Application: z_god@zgod.cjb.net van type IMAP e-mailserver (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f79b317f780 (LWP 3976))]

Thread 2 (Thread 0x7f799f9ca700 (LWP 3978)):
#0  0x00007f79aebb38bd in read () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f79ad73df6f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f79ad701914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f79ad701d22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f79ad701ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f79b259dc16 in QEventDispatcherGlib::processEvents (this=0x7f79980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f79b256e2bf in QEventLoop::processEvents (this=this@entry=0x7f799f9c9dd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f79b256e548 in QEventLoop::exec (this=0x7f799f9c9dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f79b246fb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f79b254e9af in QInotifyFileSystemWatcherEngine::run (this=0x278c140) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f79b2472aec in QThreadPrivate::start (arg=0x278c140) at thread/qthread_unix.cpp:338
#11 0x00007f79ae21fe9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#12 0x00007f79aebc0cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f79b317f780 (LWP 3976)):
[KCrash Handler]
#5  0x0000000000000020 in ?? ()
#6  0x00007f79b2588bda in QObject::connect (sender=0x27335b0, signal=0x467088 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x25eed10, method=0x467040 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2551
#7  0x000000000045556b in SessionPool::onPasswordRequestDone (this=0x25eed10, resultType=<optimized out>, password=...) at ../../../resources/imap/sessionpool.cpp:335
#8  0x0000000000456287 in SessionPool::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./sessionpool.moc:94
#9  0x00007f79b2584f5f in QMetaObject::activate (sender=0x24570d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffcdb7ae30) at kernel/qobject.cpp:3547
#10 0x0000000000441a21 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=...) at ./passwordrequesterinterface.moc:118
#11 0x00000000004214e3 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x24570d0, password=..., userRejected=<optimized out>) at ../../../resources/imap/settingspasswordrequester.cpp:89
#12 0x00007f79b2584f5f in QMetaObject::activate (sender=0x25ebf60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffcdb7afc0) at kernel/qobject.cpp:3547
#13 0x0000000000420061 in Settings::passwordRequestCompleted (this=this@entry=0x25ebf60, _t1=..., _t2=_t2@entry=false) at ./settings.moc:124
#14 0x000000000042009b in Settings::requestPassword (this=0x25ebf60) at ../../../resources/imap/settings.cpp:114
#15 0x00000000004534c6 in SessionPool::connect (this=0x25eed10, account=<optimized out>) at ../../../resources/imap/sessionpool.cpp:102
#16 0x0000000000416a0c in ImapResource::startConnect (this=0x25c5960) at ../../../resources/imap/imapresource.cpp:217
#17 0x000000000041a991 in ImapResource::qt_static_metacall (_o=_o@entry=0x25c5960, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=15, _a=_a@entry=0x7fffcdb7b480) at ./imapresource.moc:113
#18 0x00007f79b2577987 in QMetaMethod::invoke (this=this@entry=0x7fffcdb7b5f0, object=object@entry=0x25c5960, connectionType=Qt::DirectConnection, connectionType@entry=Qt::AutoConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#19 0x00007f79b2579d5c in QMetaObject::invokeMethod (obj=0x25c5960, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#20 0x00007f79b2c9b450 in ?? () from /usr/lib/libakonadi-kde.so.4
#21 0x00007f79b2c9bdd5 in ?? () from /usr/lib/libakonadi-kde.so.4
#22 0x00007f79b258443e in QObject::event (this=0x25efeb0, e=<optimized out>) at kernel/qobject.cpp:1195
#23 0x00007f79b1916e9c in QApplicationPrivate::notify_helper (this=this@entry=0x2414ae0, receiver=receiver@entry=0x25efeb0, e=e@entry=0x2a81cb0) at kernel/qapplication.cpp:4562
#24 0x00007f79b191b30a in QApplication::notify (this=0x7fffcdb7d5e0, receiver=0x25efeb0, e=0x2a81cb0) at kernel/qapplication.cpp:4423
#25 0x00007f79afa8a1d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x00007f79b256f56e in QCoreApplication::notifyInternal (this=0x7fffcdb7d5e0, receiver=receiver@entry=0x25efeb0, event=event@entry=0x2a81cb0) at kernel/qcoreapplication.cpp:915
#27 0x00007f79b25733f1 in sendEvent (event=0x2a81cb0, receiver=0x25efeb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23e34d0) at kernel/qcoreapplication.cpp:1539
#29 0x00007f79b259da63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x2413bf0) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007f79ad701ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f79ad701de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f79ad701ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f79b259dbf6 in QEventDispatcherGlib::processEvents (this=0x23e4cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f79b19bbc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f79b256e2bf in QEventLoop::processEvents (this=this@entry=0x7fffcdb7c560, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f79b256e548 in QEventLoop::exec (this=0x7fffcdb7c560, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f79b1dcf428 in QDialog::exec (this=0x27b9820) at dialogs/qdialog.cpp:554
#39 0x00007f79af9fbf4a in KMessageBox::createKMessageBox(KDialog*, QIcon const&, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&, QMessageBox::Icon) () from /usr/lib/libkdeui.so.5
#40 0x00007f79af9fc4fa in KMessageBox::createKMessageBox(KDialog*, QMessageBox::Icon, QString const&, QStringList const&, QString const&, bool*, QFlags<KMessageBox::Option>, QString const&) () from /usr/lib/libkdeui.so.5
#41 0x00007f79af9fe6c5 in KMessageBox::questionYesNoCancelWId(unsigned long, QString const&, QString const&, KGuiItem const&, KGuiItem const&, KGuiItem const&, QString const&, QFlags<KMessageBox::Option>) () from /usr/lib/libkdeui.so.5
#42 0x0000000000420f32 in SettingsPasswordRequester::askUserInput (this=0x24570d0, serverError=...) at ../../../resources/imap/settingspasswordrequester.cpp:61
#43 0x00007f79b258443e in QObject::event (this=0x24570d0, e=<optimized out>) at kernel/qobject.cpp:1195
#44 0x00007f79b1916e9c in QApplicationPrivate::notify_helper (this=this@entry=0x2414ae0, receiver=receiver@entry=0x24570d0, e=e@entry=0x27e65e0) at kernel/qapplication.cpp:4562
#45 0x00007f79b191b30a in QApplication::notify (this=0x7fffcdb7d5e0, receiver=0x24570d0, e=0x27e65e0) at kernel/qapplication.cpp:4423
#46 0x00007f79afa8a1d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#47 0x00007f79b256f56e in QCoreApplication::notifyInternal (this=0x7fffcdb7d5e0, receiver=receiver@entry=0x24570d0, event=event@entry=0x27e65e0) at kernel/qcoreapplication.cpp:915
#48 0x00007f79b25733f1 in sendEvent (event=0x27e65e0, receiver=0x24570d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23e34d0) at kernel/qcoreapplication.cpp:1539
#50 0x00007f79b259da63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#51 postEventSourceDispatch (s=0x2413bf0) at kernel/qeventdispatcher_glib.cpp:279
#52 0x00007f79ad701ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f79ad701de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f79ad701ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f79b259dbf6 in QEventDispatcherGlib::processEvents (this=0x23e4cb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#56 0x00007f79b19bbc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f79b256e2bf in QEventLoop::processEvents (this=this@entry=0x7fffcdb7d560, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f79b256e548 in QEventLoop::exec (this=0x7fffcdb7d560, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007f79b2573708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#60 0x00007f79b2c8d683 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#61 0x000000000041afe3 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#62 0x00007f79aeaee76d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#63 0x00000000004156a5 in _start ()

This bug may be a duplicate of or related to bug 303952, bug 293633.

Possible duplicates by query: bug 307476, bug 307269, bug 303952, bug 302148, bug 300613.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-01-04 16:39:00 UTC

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