Bug 293426

Summary: Crash of an akonadi resource when password is reasked
Product: [Frameworks and Libraries] Akonadi Reporter: Laurent RINEAU <laurent.rineau>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Laurent RINEAU 2012-02-06 09:45:46 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.8.0
Operating System: Linux 3.2.2-1.fc16.x86_64 x86_64
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
- What I was doing when the application crashed:
I am logged in on my desktop computer 24/24, with Kontact working. This morning, there was a popup saying that akonadi failed to connect to one of my IMAP servers. I clicked on "Retry", and another popup asked for my password. When I click on OK after given my password, I got the crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Inria of type Serveur de courriels IMAP (akonadi_imap_resource), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  0x000000388fb8034d in indexOfMethodRelative<4> (normalizeStringData=false, method=0x4669a9 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", baseObject=0x7fff0079b3d8) at kernel/qmetaobject.cpp:525
#7  QMetaObjectPrivate::indexOfSignalRelative (baseObject=0x7fff0079b3d8, signal=0x4669a9 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", normalizeStringData=false) at kernel/qmetaobject.cpp:628
#8  0x000000388fb8e55a in QObject::connect (sender=0x10355a0, signal=0x4669a9 "stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x101d480, method=0x466960 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2554
#9  0x0000000000453a4c in SessionPool::onPasswordRequestDone (this=0x101d480, resultType=<optimized out>, password=...) at /usr/src/debug/kdepim-runtime-4.8.0/resources/imap/sessionpool.cpp:328
#10 0x00000000004559c7 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.0/x86_64-redhat-linux-gnu/resources/imap/sessionpool.moc:94
#11 0x000000388fb8cce1 in QMetaObject::activate (sender=0x101ef70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0079b730) at kernel/qobject.cpp:3547
#12 0x00000000004419f1 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=<optimized out>) at /usr/src/debug/kdepim-runtime-4.8.0/x86_64-redhat-linux-gnu/resources/imap/passwordrequesterinterface.moc:118
#13 0x0000000000420b93 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x101ef70, password=..., userRejected=false) at /usr/src/debug/kdepim-runtime-4.8.0/resources/imap/settingspasswordrequester.cpp:89
#14 0x000000388fb8cce1 in QMetaObject::activate (sender=0xfc4ba0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0079b8d0) at kernel/qobject.cpp:3547
#15 0x000000000041f4d1 in Settings::passwordRequestCompleted (this=<optimized out>, _t1=<optimized out>, _t2=false) at /usr/src/debug/kdepim-runtime-4.8.0/x86_64-redhat-linux-gnu/resources/imap/settings.moc:124
#16 0x000000000041fa9d in Settings::onDialogFinished (this=0xfc4ba0, result=<optimized out>) at /usr/src/debug/kdepim-runtime-4.8.0/resources/imap/settings.cpp:164
#17 0x000000000041fca3 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.0/x86_64-redhat-linux-gnu/resources/imap/settings.moc:74
#18 0x000000388fb8cce1 in QMetaObject::activate (sender=0x17684d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff0079bab0) at kernel/qobject.cpp:3547
#19 0x00000030d148fe8e in QDialog::finished (this=<optimized out>, _t1=1) at .moc/release-shared/moc_qdialog.cpp:153
#20 0x00000030d148ff2a in QDialog::done (this=0x17684d0, r=1) at dialogs/qdialog.cpp:595
#21 0x00000030d21cdff9 in KPasswordDialog::KPasswordDialogPrivate::actuallyAccept (this=0x1600a80) at /usr/src/debug/kdelibs-4.8.0/kdeui/dialogs/kpassworddialog.cpp:404
#22 0x000000388fb91f16 in QObject::event (this=0x17684d0, e=<optimized out>) at kernel/qobject.cpp:1195
#23 0x00000030d1019a5b in QWidget::event (this=0x17684d0, event=0xf790e0) at kernel/qwidget.cpp:8820
#24 0x00000030d0fc9994 in notify_helper (e=0xf790e0, receiver=0x17684d0, this=0xe0b200) at kernel/qapplication.cpp:4550
#25 QApplicationPrivate::notify_helper (this=0xe0b200, receiver=0x17684d0, e=0xf790e0) at kernel/qapplication.cpp:4522
#26 0x00000030d0fce813 in QApplication::notify (this=0x7fff0079c740, receiver=0x17684d0, e=0xf790e0) at kernel/qapplication.cpp:4411
#27 0x00000030d2250eb6 in KApplication::notify (this=0x7fff0079c740, receiver=0x17684d0, event=0xf790e0) at /usr/src/debug/kdelibs-4.8.0/kdeui/kernel/kapplication.cpp:311
#28 0x000000388fb7904c in QCoreApplication::notifyInternal (this=0x7fff0079c740, receiver=0x17684d0, event=0xf790e0) at kernel/qcoreapplication.cpp:876
#29 0x000000388fb7cada in sendEvent (event=0xf790e0, receiver=0x17684d0) at kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xdd18e0) at kernel/qcoreapplication.cpp:1500
#31 0x000000388fba7933 in sendPostedEvents () at kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=0xe10450) at kernel/qeventdispatcher_glib.cpp:279
#33 0x000000388ea44acd in g_main_dispatch (context=0xe0d8e0) at gmain.c:2441
#34 g_main_context_dispatch (context=0xe0d8e0) at gmain.c:3011
#35 0x000000388ea452c8 in g_main_context_iterate (context=0xe0d8e0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#36 0x000000388ea4549c in g_main_context_iteration (context=0xe0d8e0, may_block=1) at gmain.c:3152
#37 0x000000388fba7d5f in QEventDispatcherGlib::processEvents (this=0xdd3140, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00000030d106c66e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#39 0x000000388fb78182 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x000000388fb783d7 in QEventLoop::exec (this=0x7fff0079c6c0, flags=...) at kernel/qeventloop.cpp:204
#41 0x000000388fb7cdd5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#42 0x00000030da15bf06 in Akonadi::ResourceBase::init (r=0xff8560) at /usr/src/debug/kdepimlibs-4.8.0/akonadi/resourcebase.cpp:408
#43 0x000000000041a756 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/kde4/akonadi/resourcebase.h:188
#44 0x000000367382169d in __libc_start_main (main=0x415170 <main(int, char**)>, argc=3, ubp_av=0x7fff0079c858, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0079c848) at libc-start.c:226
#45 0x0000000000415325 in _start ()

Reported using DrKonqi
Comment 1 Kevin Ottens 2012-02-12 08:55:54 UTC

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