<?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>290527</bug_id>
          
          <creation_ts>2012-01-03 20:29:33 +0000</creation_ts>
          <short_desc>KMail IMAP resources crash during unstable internet connections</short_desc>
          <delta_ts>2012-01-05 11:31:55 +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>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>286003</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="Kai Krakow">kai</reporter>
          <assigned_to name="Kevin Ottens">ervin</assigned_to>
          <cc>faure</cc>
    
    <cc>mark</cc>
    
    <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>1208800</commentid>
    <comment_count>0</comment_count>
    <who name="Kai Krakow">kai</who>
    <bug_when>2012-01-03 20:29:33 +0000</bug_when>
    <thetext>Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.2.0-rc7 x86_64
Distribution: &quot;Gentoo Base System release 2.0.3&quot;

-- Information about the crash:
- Unusual behavior I noticed:

My internet connection was unstable and I had frequent disconnects. KMail&apos;s IMAP resource often crashes during such situations.

The crash can be reproduced some of the time.

-- Backtrace:
Application: IMAP postmaster@kaishome.de of type IMAP E-Mail Server (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f121c530780 (LWP 9659))]

Thread 3 (Thread 0x7f1202c27700 (LWP 11443)):
#0  0x00007f121c384230 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#1  0x00007f121c37f916 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#2  0x00007f121c38473a in _dl_open () from /lib64/ld-linux-x86-64.so.2
#3  0x00007f1217f6a710 in do_dlopen () from /lib64/libc.so.6
#4  0x00007f121c37f916 in _dl_catch_error () from /lib64/ld-linux-x86-64.so.2
#5  0x00007f1217f6a7ca in __libc_dlopen_mode () from /lib64/libc.so.6
#6  0x00007f1217f42585 in init () from /lib64/libc.so.6
#7  0x00007f12177d72b3 in pthread_once () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S:104
#8  0x00007f1217f4267c in backtrace () from /lib64/libc.so.6
#9  0x00007f1217eb78a7 in __libc_message () from /lib64/libc.so.6
#10 0x00007f1217ebd176 in malloc_printerr () from /lib64/libc.so.6
#11 0x00007f1217ec192b in _int_realloc () from /lib64/libc.so.6
#12 0x00007f1217ec30b9 in realloc () from /lib64/libc.so.6
#13 0x00007f121c382e85 in _dl_update_slotinfo () from /lib64/ld-linux-x86-64.so.2
#14 0x00007f121c3830bd in __tls_get_addr () from /lib64/ld-linux-x86-64.so.2
#15 0x00007f12184bd60c in __cxxabiv1::__cxa_get_globals () at /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libstdc++-v3/libsupc++/eh_globals.cc:63
#16 0x00007f12184bd4d9 in std::uncaught_exception () at /var/tmp/portage/sys-devel/gcc-4.5.3-r1/work/gcc-4.5.3/libstdc++-v3/libsupc++/eh_catch.cc:136
#17 0x00007f121b894b00 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtWarningMsg, msg=0x7f121ba44750 &quot;QSocketNotifier: Invalid socket %d and type &apos;%s&apos;, disabling...&quot;, ap=0x7f1202c26b50) at global/qglobal.cpp:2320
#18 0x00007f121b8953c9 in qWarning (msg=&lt;optimized out&gt;) at global/qglobal.cpp:2419
#19 0x00007f121b9b147b in socketNotifierSourceCheck (source=0x7f12041ee980) at kernel/qeventdispatcher_glib.cpp:90
#20 0x00007f1216c5bf3f in g_main_context_check (context=0x7f120422d560, max_priority=2147483647, fds=&lt;optimized out&gt;, n_fds=&lt;optimized out&gt;) at gmain.c:2959
#21 0x00007f1216c5c7d2 in g_main_context_iterate (context=0x7f120422d560, block=1, dispatch=1, self=&lt;optimized out&gt;) at gmain.c:3086
#22 0x00007f1216c5cc81 in g_main_context_iteration (context=0x7f120422d560, may_block=1) at gmain.c:3152
#23 0x00007f121b9b1a1f in QEventDispatcherGlib::processEvents (this=0x7f1204233100, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#24 0x00007f121b985d52 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f121b985f9c in QEventLoop::exec (this=0x7f1202c26de0, flags=...) at kernel/qeventloop.cpp:201
#26 0x00007f121b89b794 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:498
#27 0x00007f121a5f9463 in KIMAP::SessionThread::run (this=0x27f49b0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.3-r1/work/kdepimlibs-4.7.3/kimap/sessionthread.cpp:169
#28 0x00007f121b89dff5 in QThreadPrivate::start (arg=0x27f49b0) at thread/qthread_unix.cpp:331
#29 0x00007f12177d0d2c in start_thread () from /lib64/libpthread.so.0
#30 0x00007f1217f2c77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f1209700700 (LWP 14034)):
#0  0x00007f1217f22093 in poll () from /lib64/libc.so.6
#1  0x00007f1216c5c7b3 in g_main_context_poll (n_fds=1, fds=0x7f11fc002300, timeout=-1, context=0x27dcd80, priority=&lt;optimized out&gt;) at gmain.c:3402
#2  g_main_context_iterate (context=0x27dcd80, block=1, dispatch=1, self=&lt;optimized out&gt;) at gmain.c:3084
#3  0x00007f1216c5cc81 in g_main_context_iteration (context=0x27dcd80, may_block=1) at gmain.c:3152
#4  0x00007f121b9b1a76 in QEventDispatcherGlib::processEvents (this=0x27de090, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f121b985d52 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f121b985f9c in QEventLoop::exec (this=0x7f12096ffde0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f121b89b794 in QThread::exec (this=&lt;optimized out&gt;) at thread/qthread.cpp:498
#8  0x00007f121a5f9463 in KIMAP::SessionThread::run (this=0x27e8890) at /var/tmp/portage/kde-base/kdepimlibs-4.7.3-r1/work/kdepimlibs-4.7.3/kimap/sessionthread.cpp:169
#9  0x00007f121b89dff5 in QThreadPrivate::start (arg=0x27e8890) at thread/qthread_unix.cpp:331
#10 0x00007f12177d0d2c in start_thread () from /lib64/libpthread.so.0
#11 0x00007f1217f2c77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f121c530780 (LWP 9659)):
[KCrash Handler]
#6  __memmove_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:2826
#7  0x00007f121b8bc16d in QListData::remove (this=0x27b6b48, i=&lt;optimized out&gt;) at /usr/include/bits/string3.h:58
#8  0x00007f121b8bc43b in QListData::erase (this=0x27b6b48, xi=&lt;optimized out&gt;) at tools/qlist.cpp:412
#9  0x0000000000454d11 in erase (it=&lt;optimized out&gt;, this=&lt;optimized out&gt;) at /usr/include/qt4/QtCore/qlist.h:453
#10 removeFirst (this=0x27b6b48) at /usr/include/qt4/QtCore/qlist.h:273
#11 takeFirst (this=0x27b6b48) at /usr/include/qt4/QtCore/qlist.h:477
#12 SessionPool::declareSessionReady (this=0x27b6b00, session=0x279a9b0) at /var/tmp/portage/kde-base/kdepim-runtime-4.7.3/work/kdepim-runtime-4.7.3/resources/imap/sessionpool.cpp:207
#13 0x0000000000456763 in SessionPool::onLoginDone (this=0x27b6b00, job=0x27aead0) at /var/tmp/portage/kde-base/kdepim-runtime-4.7.3/work/kdepim-runtime-4.7.3/resources/imap/sessionpool.cpp:348
#14 0x0000000000456a5f in SessionPool::qt_metacall (this=0x27b6b00, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff7bbe3ae0) at /var/tmp/portage/kde-base/kdepim-runtime-4.7.3/work/kdepim-runtime-4.7.3_build/resources/imap/sessionpool.moc:118
#15 0x00007f121b99b21f in QMetaObject::activate (sender=0x27aead0, m=&lt;optimized out&gt;, local_signal_index=&lt;optimized out&gt;, argv=0x7fff7bbe3ae0) at kernel/qobject.cpp:3278
#16 0x00007f121884d402 in KJob::result (this=&lt;optimized out&gt;, _t1=0x27aead0) at /var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3_build/kdecore/kjob.moc:194
#17 0x00007f121884d440 in KJob::emitResult (this=0x27aead0) at /var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3/kdecore/jobs/kjob.cpp:312
#18 0x00007f121a5f8345 in KIMAP::SessionPrivate::clearJobQueue (this=0x27b57e0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.3-r1/work/kdepimlibs-4.7.3/kimap/session.cpp:393
#19 0x00007f121a5f858d in KIMAP::Session::qt_metacall (this=0x279a9b0, _c=QMetaObject::InvokeMetaMethod, _id=&lt;optimized out&gt;, _a=0x7f11fc003cf0) at /var/tmp/portage/kde-base/kdepimlibs-4.7.3-r1/work/kdepimlibs-4.7.3_build/kimap/session.moc:116
#20 0x00007f121b99ad2a in QObject::event (this=0x279a9b0, e=&lt;optimized out&gt;) at kernel/qobject.cpp:1217
#21 0x00007f121ad30eb4 in QApplicationPrivate::notify_helper (this=0x25c3230, receiver=0x279a9b0, e=0x7f11fc0040f0) at kernel/qapplication.cpp:4481
#22 0x00007f121ad35a68 in QApplication::notify (this=&lt;optimized out&gt;, receiver=0x279a9b0, e=0x7f11fc0040f0) at kernel/qapplication.cpp:4360
#23 0x00007f1218e4aa86 in KApplication::notify (this=0x7fff7bbe45f0, receiver=0x279a9b0, event=0x7f11fc0040f0) at /var/tmp/portage/kde-base/kdelibs-4.7.3-r1/work/kdelibs-4.7.3/kdeui/kernel/kapplication.cpp:311
#24 0x00007f121b9869bc in QCoreApplication::notifyInternal (this=0x7fff7bbe45f0, receiver=0x279a9b0, event=0x7f11fc0040f0) at kernel/qcoreapplication.cpp:787
#25 0x00007f121b98a17d in sendEvent (event=0x7f11fc0040f0, receiver=0x279a9b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x25a0df0) at kernel/qcoreapplication.cpp:1428
#27 0x00007f121b9b1883 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:277
#29 0x00007f1216c5c29f in g_main_dispatch (context=0x25c5860) at gmain.c:2441
#30 g_main_context_dispatch (context=0x25c5860) at gmain.c:3011
#31 0x00007f1216c5caa8 in g_main_context_iterate (context=0x25c5860, block=1, dispatch=1, self=&lt;optimized out&gt;) at gmain.c:3089
#32 0x00007f1216c5cc81 in g_main_context_iteration (context=0x25c5860, may_block=1) at gmain.c:3152
#33 0x00007f121b9b1a1f in QEventDispatcherGlib::processEvents (this=0x25a05d0, flags=&lt;optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f121add73ae in QGuiEventDispatcherGlib::processEvents (this=&lt;optimized out&gt;, flags=&lt;optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f121b985d52 in QEventLoop::processEvents (this=&lt;optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f121b985f9c in QEventLoop::exec (this=0x7fff7bbe4560, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f121b98a42b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#38 0x00007f121c080f06 in Akonadi::ResourceBase::init (r=0x2786310) at /var/tmp/portage/kde-base/kdepimlibs-4.7.3-r1/work/kdepimlibs-4.7.3/akonadi/resourcebase.cpp:393
#39 0x0000000000419c88 in init&lt;ImapResource&gt; (argv=&lt;optimized out&gt;, argc=&lt;optimized out&gt;) at /usr/include/akonadi/resourcebase.h:188
#40 main (argc=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) at /var/tmp/portage/kde-base/kdepim-runtime-4.7.3/work/kdepim-runtime-4.7.3/resources/imap/imapresource.cpp:598

Possible duplicates by query: bug 287800, bug 287077, bug 283764, bug 282598, bug 282076.

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1209396</commentid>
    <comment_count>1</comment_count>
    <who name="Lamarque V. Souza">lamarque</who>
    <bug_when>2012-01-04 22:10:22 +0000</bug_when>
    <thetext>*** Bug 290606 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1209699</commentid>
    <comment_count>2</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2012-01-05 11:31:55 +0000</bug_when>
    <thetext>declareSessionReady + takeFirst = bug 286003

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

    </bug>

</bugzilla>