<?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>273119</bug_id>
          
          <creation_ts>2011-05-12 13:04:45 +0000</creation_ts>
          <short_desc>Akonadi crashed when checking for new email after resuming from suspend</short_desc>
          <delta_ts>2011-09-17 12:56:33 +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>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>258479</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="S. Burmeister">sven.burmeister</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>1118342</commentid>
    <comment_count>0</comment_count>
    <who name="S. Burmeister">sven.burmeister</who>
    <bug_when>2011-05-12 13:04:45 +0000</bug_when>
    <thetext>Application: akonadi_imap_resource (0.1)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.3
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: &quot;openSUSE 11.4 (x86_64)&quot;

-- Information about the crash:
- What I was doing when the application crashed: I resumed from suspend, akonadi and kmail2 were still opened but did not check for email (another bug) so I had to check for email manually by clicking kmail&apos;s toolbar and that&apos;s when akonadi crashed.

I think I get the same crash if I restart akonadi after resuming from suspend for the imap resource because the latter is stuck somehow.

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

Thread 4 (Thread 0x7fb7487ce700 (LWP 17035)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fffc36677a1 in ?? ()
#2  0x00007fb7552692b3 in clock_gettime (clock_id=1, tp=0x7fb7487cdb40) at ../sysdeps/unix/clock_gettime.c:100
#3  0x00007fb759ebe8d2 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007fb759f81c4d in QTimerInfoList::updateCurrentTime (this=0x7fb740018110) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007fb759f81fc5 in QTimerInfoList::timerWait (this=0x7fb740018110, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007fb759f80a8c in timerSourcePrepareHelper (src=&lt;value optimized out&gt;, timeout=0x7fb7487cdc6c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007fb759f80b35 in timerSourcePrepare (source=&lt;value optimized out&gt;, timeout=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007fb754fb8087 in g_main_context_prepare (context=0x7fb7400243f0, priority=0x7fb7487cdcdc) at gmain.c:2761
#10 0x00007fb754fb8fa9 in g_main_context_iterate (context=0x7fb7400243f0, block=1, dispatch=1, self=&lt;value optimized out&gt;) at gmain.c:3071
#11 0x00007fb754fb9650 in g_main_context_iteration (context=0x7fb7400243f0, may_block=1) at gmain.c:3154
#12 0x00007fb759f81286 in QEventDispatcherGlib::processEvents (this=0x7fb740038150, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007fb759f558d2 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fb759f55ae5 in QEventLoop::exec (this=0x7fb7487cde00, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007fb759e6a7a4 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#16 0x00007fb758be2c13 in KIMAP::SessionThread::run (this=0x7b6ce0) at /usr/src/debug/kdepimlibs-4.6.3/kimap/sessionthread.cpp:166
#17 0x00007fb759e6d095 in QThreadPrivate::start (arg=0x7b6ce0) at thread/qthread_unix.cpp:320
#18 0x00007fb755f1fa3f in start_thread (arg=0x7fb7487ce700) at pthread_create.c:297
#19 0x00007fb75666367d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb74679b700 (LWP 15792)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fb759e6d6e2 in wait (this=&lt;value optimized out&gt;, mutex=0x8db990, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=&lt;value optimized out&gt;, mutex=0x8db990, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb759e61f38 in QThreadPoolThread::run (this=0x815b80) at concurrent/qthreadpool.cpp:140
#4  0x00007fb759e6d095 in QThreadPrivate::start (arg=0x815b80) at thread/qthread_unix.cpp:320
#5  0x00007fb755f1fa3f in start_thread (arg=0x7fb74679b700) at pthread_create.c:297
#6  0x00007fb75666367d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb73f7fe700 (LWP 15793)):
#0  0x00007fb754fb887d in g_main_context_check (context=0xa45d40, max_priority=2147483647, fds=&lt;value optimized out&gt;, n_fds=&lt;value optimized out&gt;) at gmain.c:2966
#1  0x00007fb754fb9132 in g_main_context_iterate (context=0xa45d40, block=1, dispatch=1, self=&lt;value optimized out&gt;) at gmain.c:3088
#2  0x00007fb754fb9650 in g_main_context_iteration (context=0xa45d40, may_block=1) at gmain.c:3154
#3  0x00007fb759f81286 in QEventDispatcherGlib::processEvents (this=0xa094c0, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fb759f558d2 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb759f55ae5 in QEventLoop::exec (this=0x7fb73f7fde00, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fb759e6a7a4 in QThread::exec (this=&lt;value optimized out&gt;) at thread/qthread.cpp:492
#7  0x00007fb758be2c13 in KIMAP::SessionThread::run (this=0x7fe430) at /usr/src/debug/kdepimlibs-4.6.3/kimap/sessionthread.cpp:166
#8  0x00007fb759e6d095 in QThreadPrivate::start (arg=0x7fe430) at thread/qthread_unix.cpp:320
#9  0x00007fb755f1fa3f in start_thread (arg=0x7fb73f7fe700) at pthread_create.c:297
#10 0x00007fb75666367d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb75aac0760 (LWP 14176)):
[KCrash Handler]
#6  deref (this=0xa08258, __in_chrg=&lt;value optimized out&gt;) at /usr/include/QtCore/qatomic_x86_64.h:133
#7  QString::~QString (this=0xa08258, __in_chrg=&lt;value optimized out&gt;) at /usr/include/QtCore/qstring.h:883
#8  0x00007fb75a631177 in ~CollectionPrivate (this=0xa08210, __in_chrg=&lt;value optimized out&gt;) at /usr/src/debug/kdepimlibs-4.6.3/akonadi/collection_p.h:57
#9  Akonadi::CollectionPrivate::~CollectionPrivate (this=0xa08210, __in_chrg=&lt;value optimized out&gt;) at /usr/src/debug/kdepimlibs-4.6.3/akonadi/collection_p.h:58
#10 0x00007fb75a668f14 in ~EntityCacheNode (this=0x794d30, id=14, scope=...) at /usr/src/debug/kdepimlibs-4.6.3/akonadi/entitycache_p.h:66
#11 Akonadi::EntityCache&lt;Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope&gt;::update (this=0x794d30, id=14, scope=...) at /usr/src/debug/kdepimlibs-4.6.3/akonadi/entitycache_p.h:130
#12 0x00007fb75a610482 in Akonadi::MonitorPrivate::slotNotify (this=0x794cd0, msgs=&lt;value optimized out&gt;) at /usr/src/debug/kdepimlibs-4.6.3/akonadi/monitor_p.cpp:371
#13 0x00007fb75a669372 in Akonadi::ChangeRecorderPrivate::slotNotify (this=&lt;value optimized out&gt;, msgs=&lt;value optimized out&gt;) at /usr/src/debug/kdepimlibs-4.6.3/akonadi/changerecorder_p.h:51
#14 0x00007fb75a6125be in Akonadi::Monitor::qt_metacall (this=0x795e20, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fffc3642240) at /usr/src/debug/kdepimlibs-4.6.3/build/akonadi/monitor.moc:155
#15 0x00007fb75a6126a8 in Akonadi::ChangeRecorder::qt_metacall (this=0x795e20, _c=QMetaObject::InvokeMetaMethod, _id=&lt;value optimized out&gt;, _a=&lt;value optimized out&gt;) at /usr/src/debug/kdepimlibs-4.6.3/build/akonadi/changerecorder.moc:72
#16 0x00007fb759f6aa5f in QMetaObject::activate (sender=0x7abfd0, m=&lt;value optimized out&gt;, local_signal_index=&lt;value optimized out&gt;, argv=0x7fffc3642240) at kernel/qobject.cpp:3278
#17 0x00007fb75a675212 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=&lt;value optimized out&gt;, _t1=&lt;value optimized out&gt;) at /usr/src/debug/kdepimlibs-4.6.3/build/akonadi/notificationsourceinterface.moc:91
#18 0x00007fb75a67526e in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0x7abfd0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffc3642480) at /usr/src/debug/kdepimlibs-4.6.3/build/akonadi/notificationsourceinterface.moc:77
#19 0x00007fb75a2ad568 in QDBusConnectionPrivate::deliverCall (this=0x71b640, object=0x7abfd0, msg=..., metaTypes=..., slotIdx=5) at qdbusintegrator.cpp:941
#20 0x00007fb75a2b7b8f in QDBusCallDeliveryEvent::placeMetaCall (this=&lt;value optimized out&gt;, object=&lt;value optimized out&gt;) at qdbusintegrator_p.h:103
#21 0x00007fb759f6a37a in QObject::event (this=0x7abfd0, e=&lt;value optimized out&gt;) at kernel/qobject.cpp:1217
#22 0x00007fb75931e144 in QApplicationPrivate::notify_helper (this=0x6b2d50, receiver=0x7abfd0, e=0xa036e0) at kernel/qapplication.cpp:4462
#23 0x00007fb7593266fa in QApplication::notify (this=&lt;value optimized out&gt;, receiver=0x7abfd0, e=0xa036e0) at kernel/qapplication.cpp:4341
#24 0x00007fb75744a006 in KApplication::notify (this=0x7fffc3642f40, receiver=0x7abfd0, event=0xa036e0) at /usr/src/debug/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#25 0x00007fb759f5647c in QCoreApplication::notifyInternal (this=0x7fffc3642f40, receiver=0x7abfd0, event=0xa036e0) at kernel/qcoreapplication.cpp:731
#26 0x00007fb759f59c75 in sendEvent (receiver=0x0, event_type=0, data=0x68e200) at kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x68e200) at kernel/qcoreapplication.cpp:1372
#28 0x00007fb759f81093 in sendPostedEvents (s=0x6b55c0) at kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=0x6b55c0) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007fb754fb8bd3 in g_main_dispatch (context=0x6b54e0) at gmain.c:2440
#31 g_main_context_dispatch (context=0x6b54e0) at gmain.c:3013
#32 0x00007fb754fb93b0 in g_main_context_iterate (context=0x6b54e0, block=1, dispatch=1, self=&lt;value optimized out&gt;) at gmain.c:3091
#33 0x00007fb754fb9650 in g_main_context_iteration (context=0x6b54e0, may_block=1) at gmain.c:3154
#34 0x00007fb759f8122f in QEventDispatcherGlib::processEvents (this=0x693890, flags=&lt;value optimized out&gt;) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007fb7593c3bae in QGuiEventDispatcherGlib::processEvents (this=&lt;value optimized out&gt;, flags=&lt;value optimized out&gt;) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fb759f558d2 in QEventLoop::processEvents (this=&lt;value optimized out&gt;, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007fb759f55ae5 in QEventLoop::exec (this=0x7fffc3642eb0, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007fb759f59f2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x00007fb75a58fbc7 in Akonadi::ResourceBase::init (r=0x77ca70) at /usr/src/debug/kdepimlibs-4.6.3/akonadi/resourcebase.cpp:390
#40 0x00000000004221c8 in _start ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1163718</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Ottens">ervin</who>
    <bug_when>2011-09-17 12:56:33 +0000</bug_when>
    <thetext>

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

    </bug>

</bugzilla>