Bug 226112 - akonadi crashes after creating a new imap resource
Summary: akonadi crashes after creating a new imap resource
Status: RESOLVED DUPLICATE of bug 220384
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 08:33 UTC by Jan Essert
Modified: 2010-02-15 16:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Essert 2010-02-10 08:33:16 UTC
Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.4.00 (KDE 4.4.0) (Compiled from sources)
Qt Version: 4.6.1
Operating System: Linux 2.6.32-gentoo-r3 x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
I added a new IMAP resource via the akonadi tray icon. After finishing this, I got a crash dialog, but the akonadi window stayed there. While filling in the bug report, I noticed an error box appearing behind several windows telling me that the IMAP server does not support some required capability (something with UID, sorry, I forgot the precise name).

On a related note, this IMAP resource does not show up in kmail, is this related to this missing capability, or is this just not supported yet?

 -- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7f8b75105760 (LWP 21448))]

Thread 3 (Thread 0x7f8b639a4710 (LWP 21653)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f8b745144e1 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1f35d30, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1f35d30, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f8b74509988 in QThreadPoolThread::run (this=0x1f2c450) at concurrent/qthreadpool.cpp:140
#4  0x00007f8b745135a5 in QThreadPrivate::start (arg=0x1f2c450) at thread/qthread_unix.cpp:248
#5  0x00007f8b7093eb24 in start_thread () from /lib/libpthread.so.0
#6  0x00007f8b7108433d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8b622f3710 (LWP 21786)):
#0  0x00007f8b7107ab13 in poll () from /lib/libc.so.6
#1  0x00007f8b6fdfecec in g_main_context_poll (context=0x22918c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (context=0x22918c0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2586
#3  0x00007f8b6fdff030 in IA__g_main_context_iteration (context=0x22918c0, may_block=1) at gmain.c:2654
#4  0x00007f8b7462ff86 in QEventDispatcherGlib::processEvents (this=0x2150e20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f8b746054d2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f8b746058a4 in QEventLoop::exec (this=0x7f8b622f2e00, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f8b74510b99 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007f8b733e4d41 in KIMAP::SessionThread::run (this=0x1bff7c0) at /var/tmp/portage/kde-base/kdepimlibs-4.4.0/work/kdepimlibs-4.4.0/kimap/sessionthread.cpp:160
#9  0x00007f8b745135a5 in QThreadPrivate::start (arg=0x1bff7c0) at thread/qthread_unix.cpp:248
#10 0x00007f8b7093eb24 in start_thread () from /lib/libpthread.so.0
#11 0x00007f8b7108433d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8b75105760 (LWP 21448)):
[KCrash Handler]
#5  0x00007f8b733cdddb in KIMAP::Job::start (this=0x1f2ff00) at /var/tmp/portage/kde-base/kdepimlibs-4.4.0/work/kdepimlibs-4.4.0/kimap/job.cpp:56
#6  0x0000000000417c63 in ImapAccount::disconnect (this=0x1bff750) at /var/tmp/portage/kde-base/kdepim-runtime-4.4.0/work/kdepim-runtime-4.4.0/resources/imap/imapaccount.cpp:385
#7  0x0000000000418b29 in ImapAccount::onCapabilitiesTestDone (this=0x1bff750, job=<value optimized out>)
    at /var/tmp/portage/kde-base/kdepim-runtime-4.4.0/work/kdepim-runtime-4.4.0/resources/imap/imapaccount.cpp:326
#8  0x0000000000419433 in ImapAccount::qt_metacall (this=0x1bff750, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff76af1560)
    at /var/tmp/portage/kde-base/kdepim-runtime-4.4.0/work/kdepim-runtime-4.4.0_build/resources/imap/imapaccount.moc:99
#9  0x00007f8b7461985f in QMetaObject::activate (sender=0x1f2fb80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x46) at kernel/qobject.cpp:3267
#10 0x00007f8b7193b0c2 in KJob::result (this=0x1f2ff00, _t1=0x1f2fb80) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0_build/kdecore/kjob.moc:194
#11 0x00007f8b7193b360 in KJob::emitResult (this=0x1f2fb80) at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdecore/jobs/kjob.cpp:312
#12 0x00007f8b733ce488 in KIMAP::Job::handleErrorReplies (this=0x1f2fb80, response=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.4.0/work/kdepimlibs-4.4.0/kimap/job.cpp:86
#13 0x00007f8b733d086f in KIMAP::CapabilitiesJob::handleResponse (this=0x1f2ff00, response=...) at /var/tmp/portage/kde-base/kdepimlibs-4.4.0/work/kdepimlibs-4.4.0/kimap/capabilitiesjob.cpp:67
#14 0x00007f8b733e3abf in KIMAP::SessionPrivate::responseReceived (this=0x22835d0, response=...) at /var/tmp/portage/kde-base/kdepimlibs-4.4.0/work/kdepimlibs-4.4.0/kimap/session.cpp:212
#15 0x00007f8b733e4532 in KIMAP::Session::qt_metacall (this=0x1b2ed10, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1f3fcf0)
    at /var/tmp/portage/kde-base/kdepimlibs-4.4.0/work/kdepimlibs-4.4.0_build/kimap/session.moc:98
#16 0x00007f8b746167b9 in QObject::event (this=0x1b2ed10, e=0x1f2fab0) at kernel/qobject.cpp:1240
#17 0x00007f8b73ae82ac in QApplicationPrivate::notify_helper (this=0x1ac9240, receiver=0x1b2ed10, e=0x1f2fab0) at kernel/qapplication.cpp:4298
#18 0x00007f8b73aef870 in QApplication::notify (this=0x7fff76af2360, receiver=<value optimized out>, e=0x1f2fab0) at kernel/qapplication.cpp:3702
#19 0x00007f8b71f0cad6 in KApplication::notify (this=0x7fff76af2360, receiver=0x1b2ed10, event=0x1f2fab0)
    at /var/tmp/portage/kde-base/kdelibs-4.4.0/work/kdelibs-4.4.0/kdeui/kernel/kapplication.cpp:302
#20 0x00007f8b74606b7b in QCoreApplication::notifyInternal (this=0x7fff76af2360, receiver=0x1b2ed10, event=0x1f2fab0) at kernel/qcoreapplication.cpp:704
#21 0x00007f8b746092c6 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1ab0570) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1ab0570) at kernel/qcoreapplication.cpp:1345
#23 0x00007f8b746303f3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#25 0x00007f8b6fdfb54d in g_main_dispatch (context=0x1acbd20) at gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x1acbd20) at gmain.c:2513
#27 0x00007f8b6fdfef08 in g_main_context_iterate (context=0x1acbd20, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#28 0x00007f8b6fdff030 in IA__g_main_context_iteration (context=0x1acbd20, may_block=1) at gmain.c:2654
#29 0x00007f8b7462ff33 in QEventDispatcherGlib::processEvents (this=0x1ac91a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007f8b73b8502e in QGuiEventDispatcherGlib::processEvents (this=0x1f2ff00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f8b746054d2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f8b746058a4 in QEventLoop::exec (this=0x7fff76af22f0, flags=) at kernel/qeventloop.cpp:201
#33 0x00007f8b7460958b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#34 0x00007f8b74c98fd2 in Akonadi::ResourceBase::init (r=0x1c1f410) at /var/tmp/portage/kde-base/kdepimlibs-4.4.0/work/kdepimlibs-4.4.0/akonadi/resourcebase.cpp:219
#35 0x000000000041cf18 in Akonadi::ResourceBase::init<ImapResource> (argc=<value optimized out>, argv=<value optimized out>) at /usr/include/akonadi/resourcebase.h:186
#36 main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kdepim-runtime-4.4.0/work/kdepim-runtime-4.4.0/resources/imap/imapresource.cpp:1897

Possible duplicates by query: bug 220384.

Reported using DrKonqi
Comment 1 Kevin Ottens 2010-02-15 16:26:11 UTC

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