<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>280149</bug_id>
          
          <creation_ts>2011-08-15 19:48:15 +0000</creation_ts>
          <short_desc>IMAP Akonadi Client crashes during IMAP folder selection</short_desc>
          <delta_ts>2011-08-28 16:20:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Frameworks and Libraries</classification>
          <product>Akonadi</product>
          <component>IMAP resource</component>
          <version>4.7</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>253031</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="John Gorkos">jgorkos</reporter>
          <assigned_to name="Kevin Ottens">ervin</assigned_to>
          <cc>pim-bugs-null</cc>
    
    <cc>vkrause</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1154077</commentid>
    <comment_count>0</comment_count>
    <who name="John Gorkos">jgorkos</who>
    <bug_when>2011-08-15 19:48:15 +0000</bug_when>
    <thetext>Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
If all remote folders are Deselected in the local subscriptions dialog, the Akonadi client associated with the IMAP client will segfault and crash.
This was with an Exchange IMAP server.

-- Backtrace:
Application: Akonadi Resource (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1d74a98780 (LWP 5634))]

Thread 7 (Thread 0x7f1d637fe700 (LWP 5669)):
#0  0x00007f1d70565f03 in __poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=&lt;value optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1d6eebd104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1d6eebd639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1d73f18446 in QEventDispatcherGlib::processEvents (this=0x272ace0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1d73eec882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1d73eecabc in QEventLoop::exec (this=0x7f1d637fdde0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1d73e03924 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#7  0x00007f1d72b8b043 in KIMAP::SessionThread::run (this=0x272f210) at ../../kimap/sessionthread.cpp:166
#8  0x00007f1d73e06175 in QThreadPrivate::start (arg=0x272f210) at thread/qthread_unix.cpp:320
#9  0x00007f1d6fe20d8c in start_thread (arg=0x7f1d637fe700) at pthread_create.c:304
#10 0x00007f1d7057304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f1d5bfff700 (LWP 5782)):
#0  0x00007f1d6fe233c4 in __pthread_mutex_lock (mutex=0x2bbdec8) at pthread_mutex_lock.c:61
#1  0x00007f1d6eebc0d3 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1d6eebcf9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1d6eebd639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f1d73f18446 in QEventDispatcherGlib::processEvents (this=0x2bb2c50, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f1d73eec882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f1d73eecabc in QEventLoop::exec (this=0x7f1d5bffedd0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f1d73e03924 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#8  0x00007f1d73ecec2f in QInotifyFileSystemWatcherEngine::run (this=0x2bb2330) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f1d73e06175 in QThreadPrivate::start (arg=0x2bb2330) at thread/qthread_unix.cpp:320
#10 0x00007f1d6fe20d8c in start_thread (arg=0x7f1d5bfff700) at pthread_create.c:304
#11 0x00007f1d7057304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f1d62a1b700 (LWP 21462)):
#0  0x00007f1d70565f03 in __poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=&lt;value optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1d6eebd104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1d6eebd639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1d73f18446 in QEventDispatcherGlib::processEvents (this=0x2a24950, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1d73eec882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1d73eecabc in QEventLoop::exec (this=0x7f1d62a1ade0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1d73e03924 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#7  0x00007f1d72b8b043 in KIMAP::SessionThread::run (this=0x2997c90) at ../../kimap/sessionthread.cpp:166
#8  0x00007f1d73e06175 in QThreadPrivate::start (arg=0x2997c90) at thread/qthread_unix.cpp:320
#9  0x00007f1d6fe20d8c in start_thread (arg=0x7f1d62a1b700) at pthread_create.c:304
#10 0x00007f1d7057304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f1d5a297700 (LWP 22428)):
#0  0x00007f1d70565f03 in __poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=&lt;value optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1d6eebd104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1d6eebd639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1d73f18446 in QEventDispatcherGlib::processEvents (this=0x2d5a640, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1d73eec882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1d73eecabc in QEventLoop::exec (this=0x7f1d5a296de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1d73e03924 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#7  0x00007f1d72b8b043 in KIMAP::SessionThread::run (this=0x2e7aa90) at ../../kimap/sessionthread.cpp:166
#8  0x00007f1d73e06175 in QThreadPrivate::start (arg=0x2e7aa90) at thread/qthread_unix.cpp:320
#9  0x00007f1d6fe20d8c in start_thread (arg=0x7f1d5a297700) at pthread_create.c:304
#10 0x00007f1d7057304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f1d59295700 (LWP 22474)):
#0  0x00007f1d70565f03 in __poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=&lt;value optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1d6eebd104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1d6eebd639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1d73f18446 in QEventDispatcherGlib::processEvents (this=0x2ba51e0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1d73eec882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1d73eecabc in QEventLoop::exec (this=0x7f1d59294de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1d73e03924 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#7  0x00007f1d72b8b043 in KIMAP::SessionThread::run (this=0x7f1d5c0047a0) at ../../kimap/sessionthread.cpp:166
#8  0x00007f1d73e06175 in QThreadPrivate::start (arg=0x7f1d5c0047a0) at thread/qthread_unix.cpp:320
#9  0x00007f1d6fe20d8c in start_thread (arg=0x7f1d59295700) at pthread_create.c:304
#10 0x00007f1d7057304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f1d58a94700 (LWP 22488)):
#0  0x00007f1d70565f03 in __poll (fds=&lt;value optimized out&gt;, nfds=&lt;value optimized out&gt;, timeout=&lt;value optimized out&gt;) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1d6eebd104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1d6eebd639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1d73f18446 in QEventDispatcherGlib::processEvents (this=0x2c6e020, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1d73eec882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1d73eecabc in QEventLoop::exec (this=0x7f1d58a93de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1d73e03924 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#7  0x00007f1d72b8b043 in KIMAP::SessionThread::run (this=0x2be8800) at ../../kimap/sessionthread.cpp:166
#8  0x00007f1d73e06175 in QThreadPrivate::start (arg=0x2be8800) at thread/qthread_unix.cpp:320
#9  0x00007f1d6fe20d8c in start_thread (arg=0x7f1d58a94700) at pthread_create.c:304
#10 0x00007f1d7057304d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1d74a98780 (LWP 5634)):
[KCrash Handler]
#6  QSharedDataPointer (one=..., other=...) at /usr/include/qt4/QtCore/qshareddata.h:93
#7  assignEntityPrivate (one=..., other=...) at ../../akonadi/entity.cpp:49
#8  0x00007f1d7450a334 in Akonadi::Entity::Entity (this=0x7fffe09c5fa0, other=&lt;value optimized out&gt;) at ../../akonadi/entity.cpp:56
#9  0x0000000000419aab in ImapResource::onIdleCollectionFetchDone (this=0x27ddbd0, job=0x2d6ef10) at ../../../resources/imap/imapresource.cpp:504
#10 0x000000000041a245 in ImapResource::qt_metacall (this=0x27ddbd0, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0x7fffe09c60c0) at ./imapresource.moc:135
#11 0x00007f1d73f025f8 in QMetaObject::activate (sender=0x2d6ef10, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x7fffe09c60c0) at kernel/qobject.cpp:3287
#12 0x00007f1d70e6bdb2 in KJob::result (this=&lt;value optimized out&gt;, _t1=0x2d6ef10) at ./kjob.moc:194
#13 0x00007f1d70e6bdf0 in KJob::emitResult (this=0x2d6ef10) at ../../kdecore/jobs/kjob.cpp:312
#14 0x00007f1d745c5acd in Akonadi::Job::qt_metacall (this=0x2d6ef10, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x2d3e530) at ./job.moc:91
#15 0x00007f1d74542395 in Akonadi::CollectionFetchJob::qt_metacall (this=0x2d6ef10, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=0x2d3e530) at ./collectionfetchjob.moc:75
#16 0x00007f1d73f0149a in QObject::event (this=0x2d6ef10, e=&lt;value optimized out&gt;) at kernel/qobject.cpp:1226
#17 0x00007f1d732aa9f4 in QApplicationPrivate::notify_helper (this=0x26a64b0, receiver=0x2d6ef10, e=0x2f2a390) at kernel/qapplication.cpp:4462
#18 0x00007f1d732af3ba in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x2d6ef10, e=0x2f2a390) at kernel/qapplication.cpp:4341
#19 0x00007f1d71431796 in KApplication::notify (this=0x7fffe09c6b00, receiver=0x2d6ef10, event=0x2f2a390) at ../../kdeui/kernel/kapplication.cpp:311
#20 0x00007f1d73eed49c in QCoreApplication::notifyInternal (this=0x7fffe09c6b00, receiver=0x2d6ef10, event=0x2f2a390) at kernel/qcoreapplication.cpp:731
#21 0x00007f1d73ef0c25 in sendEvent (receiver=0x0, event_type=0, data=0x265bdf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x265bdf0) at kernel/qcoreapplication.cpp:1372
#23 0x00007f1d73f18253 in sendPostedEvents (s=0x26aa9c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0x26aa9c0) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007f1d6eebcbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f1d6eebd3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f1d6eebd639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f1d73f183ef in QEventDispatcherGlib::processEvents (this=0x265b5d0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007f1d733544de in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f1d73eec882 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f1d73eecabc in QEventLoop::exec (this=0x7fffe09c6a80, flags=...) at kernel/qeventloop.cpp:201
#32 0x00007f1d73ef0ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#33 0x00007f1d745dcd36 in Akonadi::ResourceBase::init (r=0x27ddbd0) at ../../akonadi/resourcebase.cpp:393
#34 0x0000000000417c46 in init&lt;ImapResource&gt; (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at /usr/include/akonadi/resourcebase.h:188
#35 main (argc=&lt;value optimized out&gt;, argv=&lt;value optimized out&gt;) at ../../../resources/imap/imapresource.cpp:598

Possible duplicates by query: bug 280137, bug 278824, bug 278799, bug 277930, bug 275933.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1157914</commentid>
    <comment_count>1</comment_count>
    <who name="Christophe Marin">christophe</who>
    <bug_when>2011-08-28 16:20:32 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 253031 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>