Bug 283527

Summary: akonadi crashes when adding imap in kmail2 with gmail
Product: [Frameworks and Libraries] Akonadi Reporter: barthel.daniel
Component: IMAP resourceAssignee: Kevin Ottens <ervin>
Status: RESOLVED DUPLICATE    
Severity: crash CC: faure, kdepim-bugs, postdoc38, vkrause
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description barthel.daniel 2011-10-07 11:22:55 UTC
Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.2 (4.7.2) "release 9"
Qt Version: 4.7.4
Operating System: Linux 2.6.37.6-0.7-desktop i686
Distribution: "openSUSE 11.4 (i586)"

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

kmail2 added my gmail account and akonadi crashed when the imap should be added

-- Backtrace:
Application: Google Mail of type IMAP-E-Mail-Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4c64710 (LWP 11852))]

Thread 3 (Thread 0xb27ccb70 (LWP 11865)):
#0  0xb584dfcd in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb599ecc4 in pthread_mutex_lock () from /lib/libc.so.6
#2  0xb56dafb3 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0xb7512247 in QEventDispatcherGlib::processEvents (this=0x82d1448, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0xb74e2c5d in QEventLoop::processEvents (this=0xb27cc2d0, flags=...) at kernel/qeventloop.cpp:149
#5  0xb74e2e89 in QEventLoop::exec (this=0xb27cc2d0, flags=...) at kernel/qeventloop.cpp:201
#6  0xb73e3fd9 in QThread::exec (this=0x8237dc0) at thread/qthread.cpp:498
#7  0xb6748990 in KIMAP::SessionThread::run (this=0x8237dc0) at /usr/src/debug/kdepimlibs-4.7.2/kimap/sessionthread.cpp:169
#8  0xb73e6c23 in QThreadPrivate::start (arg=0x8237dc0) at thread/qthread_unix.cpp:331
#9  0xb584bb05 in start_thread () from /lib/libpthread.so.0
#10 0xb5990d1e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb1dffb70 (LWP 11866)):
#0  0xb584f480 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0xb599ed04 in pthread_mutex_unlock () from /lib/libc.so.6
#2  0xb56d939b in g_main_context_release () from /lib/libglib-2.0.so.0
#3  0xb56daade in ?? () from /lib/libglib-2.0.so.0
#4  0xb56dafce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0xb7512247 in QEventDispatcherGlib::processEvents (this=0x82eae00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb74e2c5d in QEventLoop::processEvents (this=0xb1dff2d0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb74e2e89 in QEventLoop::exec (this=0xb1dff2d0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb73e3fd9 in QThread::exec (this=0x82e70f8) at thread/qthread.cpp:498
#9  0xb6748990 in KIMAP::SessionThread::run (this=0x82e70f8) at /usr/src/debug/kdepimlibs-4.7.2/kimap/sessionthread.cpp:169
#10 0xb73e6c23 in QThreadPrivate::start (arg=0x82e70f8) at thread/qthread_unix.cpp:331
#11 0xb584bb05 in start_thread () from /lib/libpthread.so.0
#12 0xb5990d1e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4c64710 (LWP 11852)):
[KCrash Handler]
#7  0x0809a897 in ?? ()
#8  0x0809c38c in ?? ()
#9  0x0809c6f9 in ?? ()
#10 0xb74ea26d in QMetaObject::metacall (object=0x821d1d0, cl=QMetaObject::InvokeMetaMethod, idx=14, argv=0xbf7ff498) at kernel/qmetaobject.cpp:237
#11 0xb74f979c in QMetaObject::activate (sender=0x82eade8, m=0xb5e09508, local_signal_index=3, argv=0xbf7ff498) at kernel/qobject.cpp:3287
#12 0xb5c56205 in KJob::result (this=0x82eade8, _t1=0x82eade8) at /usr/src/debug/kdelibs-4.7.2/build/kdecore/kjob.moc:194
#13 0xb5c56258 in KJob::emitResult (this=0x82eade8) at /usr/src/debug/kdelibs-4.7.2/kdecore/jobs/kjob.cpp:312
#14 0xb6761b99 in KIMAP::LoginJob::handleResponse (this=0x82eade8, response=...) at /usr/src/debug/kdepimlibs-4.7.2/kimap/loginjob.cpp:322
#15 0xb676708e in KIMAP::SessionPrivate::responseReceived (this=0x82f7620, response=...) at /usr/src/debug/kdepimlibs-4.7.2/kimap/session.cpp:271
#16 0xb6767aa6 in KIMAP::Session::qt_metacall (this=0x82e70c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xb1e02760) at /usr/src/debug/kdepimlibs-4.7.2/build/kimap/session.moc:113
#17 0xb74ea26d in QMetaObject::metacall (object=0x82e70c0, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0xb1e02760) at kernel/qmetaobject.cpp:237
#18 0xb74f4e15 in QMetaCallEvent::placeMetaCall (this=0xb1e03a20, object=0x82e70c0) at kernel/qobject.cpp:535
#19 0xb74f908f in QObject::event (this=0x82e70c0, e=0xb1e03a20) at kernel/qobject.cpp:1226
#20 0xb6a005c4 in QApplicationPrivate::notify_helper (this=0x80e2dd0, receiver=0x82e70c0, e=0xb1e03a20) at kernel/qapplication.cpp:4481
#21 0xb6a09367 in QApplication::notify (this=0xbf7fff30, receiver=0x82e70c0, e=0xb1e03a20) at kernel/qapplication.cpp:3881
#22 0xb6007b41 in KApplication::notify (this=0xbf7fff30, receiver=0x82e70c0, event=0xb1e03a20) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#23 0xb74e397e in QCoreApplication::notifyInternal (this=0xbf7fff30, receiver=0x82e70c0, event=0xb1e03a20) at kernel/qcoreapplication.cpp:787
#24 0xb74e770c in sendEvent (receiver=0x0, event_type=0, data=0x80ca300) at kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80ca300) at kernel/qcoreapplication.cpp:1428
#26 0xb74e785c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#27 0xb7512074 in sendPostedEvents (s=0x80e5100) at kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=0x80e5100) at kernel/qeventdispatcher_glib.cpp:277
#29 0xb56da509 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0xb56dad10 in ?? () from /lib/libglib-2.0.so.0
#31 0xb56dafce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0xb75121fb in QEventDispatcherGlib::processEvents (this=0x80c9eb0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#33 0xb6ab76aa in QGuiEventDispatcherGlib::processEvents (this=0x80c9eb0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0xb74e2c5d in QEventLoop::processEvents (this=0xbf7ffe94, flags=...) at kernel/qeventloop.cpp:149
#35 0xb74e2e89 in QEventLoop::exec (this=0xbf7ffe94, flags=...) at kernel/qeventloop.cpp:201
#36 0xb74e7930 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#37 0xb69fe314 in QApplication::exec () at kernel/qapplication.cpp:3755
#38 0xb77081af in Akonadi::ResourceBase::init (r=0x820b528) at /usr/src/debug/kdepimlibs-4.7.2/akonadi/resourcebase.cpp:393
#39 0x0805c903 in _start ()

This bug may be a duplicate of or related to bug 282337.

Possible duplicates by query: bug 282337, bug 272741, bug 259798, bug 256837.

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-17 23:27:58 UTC
*** Bug 285592 has been marked as a duplicate of this bug. ***
Comment 2 David Faure 2012-01-05 11:05:05 UTC

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