Bug 311489

Summary: Kmail crashed while I was configuring imap account
Product: [Frameworks and Libraries] Akonadi Reporter: Dmytro Podoprosvietov <erlrange>
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dmytro Podoprosvietov 2012-12-10 22:55:17 UTC
Application: akonadi_imap_resource (4.8)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-34-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

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

I tried to modify my account preferences. Just clicked on the button - Modify and got crash notification

The crash can be reproduced some of the time.

-- Backtrace:
Application: erlrange@gmail.com of type IMAP E-Mail Server (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 0x7fcd63552780 (LWP 23973))]

Thread 2 (Thread 0x7fcd4fa13700 (LWP 23980)):
#0  0x00007fcd5e55405d in pthread_mutex_unlock () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007fcd5da705d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcd5da3483b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcd5da34f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcd5da35164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcd62968426 in QEventDispatcherGlib::processEvents (this=0x7fcd40002c70, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fcd62937c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fcd62937ed7 in QEventLoop::exec (this=0x7fcd4fa12dd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fcd62836fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fcd629179ff in QInotifyFileSystemWatcherEngine::run (this=0x1279ae0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fcd62839fcb in QThreadPrivate::start (arg=0x1279ae0) at thread/qthread_unix.cpp:298
#11 0x00007fcd5e550e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#12 0x00007fcd5eef5cbd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcd63552780 (LWP 23973)):
[KCrash Handler]
#6  0x00007fcd6294ea76 in QObject::connect (sender=0x116f970, signal=0x468148 "2stateChanged(KIMAP::Session::State,KIMAP::Session::State)", receiver=0x11708a0, method=0x468100 "1onSessionStateChanged(KIMAP::Session::State,KIMAP::Session::State)", type=Qt::AutoConnection) at kernel/qobject.cpp:2551
#7  0x0000000000454f3b in SessionPool::onPasswordRequestDone (this=0x11708a0, resultType=<optimized out>, password=...) at ../../../resources/imap/sessionpool.cpp:335
#8  0x0000000000456cd7 in SessionPool::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./sessionpool.moc:94
#9  0x00007fcd6294d281 in QMetaObject::activate (sender=0x1160e90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff94c723c0) at kernel/qobject.cpp:3547
#10 0x00000000004421c1 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=...) at ./passwordrequesterinterface.moc:118
#11 0x00000000004211b3 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x1160e90, password=..., userRejected=false) at ../../../resources/imap/settingspasswordrequester.cpp:89
#12 0x00007fcd6294d281 in QMetaObject::activate (sender=0x1170d30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff94c72560) at kernel/qobject.cpp:3547
#13 0x000000000041faf1 in Settings::passwordRequestCompleted (this=<optimized out>, _t1=..., _t2=false) at ./settings.moc:124
#14 0x000000000041fb2b in Settings::requestPassword (this=0x1170d30) at ../../../resources/imap/settings.cpp:114
#15 0x0000000000453df3 in SessionPool::connect (this=0x11708a0, account=<optimized out>) at ../../../resources/imap/sessionpool.cpp:102
#16 0x000000000041688c in ImapResource::startConnect (this=0x12471e0) at ../../../resources/imap/imapresource.cpp:216
#17 0x00007fcd62940f01 in QMetaMethod::invoke (this=0x7fff94c72ba0, object=0x12471e0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#18 0x00007fcd62943210 in QMetaObject::invokeMethod (obj=0x12471e0, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#19 0x00007fcd630741f0 in ?? () from /usr/lib/libakonadi-kde.so.4
#20 0x00007fcd63075515 in ?? () from /usr/lib/libakonadi-kde.so.4
#21 0x00007fcd62952446 in QObject::event (this=0x1150cf0, e=<optimized out>) at kernel/qobject.cpp:1195
#22 0x00007fcd61cbb894 in notify_helper (e=0x12be1c0, receiver=0x1150cf0, this=0x10e91e0) at kernel/qapplication.cpp:4559
#23 QApplicationPrivate::notify_helper (this=0x10e91e0, receiver=0x1150cf0, e=0x12be1c0) at kernel/qapplication.cpp:4531
#24 0x00007fcd61cc0713 in QApplication::notify (this=0x7fff94c74e60, receiver=0x1150cf0, e=0x12be1c0) at kernel/qapplication.cpp:4420
#25 0x00007fcd5fde53f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#26 0x00007fcd62938e9c in QCoreApplication::notifyInternal (this=0x7fff94c74e60, receiver=0x1150cf0, event=0x12be1c0) at kernel/qcoreapplication.cpp:876
#27 0x00007fcd6293cc6a in sendEvent (event=0x12be1c0, receiver=0x1150cf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10be4d0) at kernel/qcoreapplication.cpp:1500
#29 0x00007fcd62967f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#31 0x00007fcd5da34d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fcd5da350a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007fcd5da35164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fcd629683bf in QEventDispatcherGlib::processEvents (this=0x10bfcb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007fcd61d63d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fcd62937c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fcd62937ed7 in QEventLoop::exec (this=0x7fff94c73a80, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007fcd6218b936 in QDialog::exec (this=0x141cb80) at dialogs/qdialog.cpp:554
#39 0x00007fcd5fd4c67a 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 0x00007fcd5fd4ce54 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 0x00007fcd5fd4f578 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 0x0000000000420bbc in SettingsPasswordRequester::askUserInput (this=0x1160e90, serverError=...) at ../../../resources/imap/settingspasswordrequester.cpp:61
#43 0x00007fcd62952446 in QObject::event (this=0x1160e90, e=<optimized out>) at kernel/qobject.cpp:1195
#44 0x00007fcd61cbb894 in notify_helper (e=0x12c45c0, receiver=0x1160e90, this=0x10e91e0) at kernel/qapplication.cpp:4559
#45 QApplicationPrivate::notify_helper (this=0x10e91e0, receiver=0x1160e90, e=0x12c45c0) at kernel/qapplication.cpp:4531
#46 0x00007fcd61cc0713 in QApplication::notify (this=0x7fff94c74e60, receiver=0x1160e90, e=0x12c45c0) at kernel/qapplication.cpp:4420
#47 0x00007fcd5fde53f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#48 0x00007fcd62938e9c in QCoreApplication::notifyInternal (this=0x7fff94c74e60, receiver=0x1160e90, event=0x12c45c0) at kernel/qcoreapplication.cpp:876
#49 0x00007fcd6293cc6a in sendEvent (event=0x12c45c0, receiver=0x1160e90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x10be4d0) at kernel/qcoreapplication.cpp:1500
#51 0x00007fcd62967f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#53 0x00007fcd5da34d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007fcd5da350a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007fcd5da35164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007fcd629683bf in QEventDispatcherGlib::processEvents (this=0x10bfcb0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#57 0x00007fcd61d63d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x00007fcd62937c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#59 0x00007fcd62937ed7 in QEventLoop::exec (this=0x7fff94c74de0, flags=...) at kernel/qeventloop.cpp:204
#60 0x00007fcd6293cf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#61 0x00007fcd63067326 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#62 0x000000000041a996 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#63 0x00007fcd5ee2376d in __libc_start_main () from /lib/x86_64-linux-gnu/libc.so.6
#64 0x0000000000415375 in _start ()

Possible duplicates by query: bug 310990, bug 310986, bug 310222, bug 308887, bug 307476.

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

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