Bug 273119 - Akonadi crashed when checking for new email after resuming from suspend
Summary: Akonadi crashed when checking for new email after resuming from suspend
Status: RESOLVED DUPLICATE of bug 258479
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-12 13:04 UTC by S. Burmeister
Modified: 2011-09-17 12:56 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 S. Burmeister 2011-05-12 13:04:45 UTC
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: "openSUSE 11.4 (x86_64)"

-- 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's toolbar and that'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=<value optimized out>, timeout=0x7fb7487cdc6c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007fb759f80b35 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) 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=<value optimized out>) 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=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007fb759f558d2 in QEventLoop::processEvents (this=<value optimized out>, 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=<value optimized out>) 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=<value optimized out>, mutex=0x8db990, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, 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=<value optimized out>, n_fds=<value optimized out>) at gmain.c:2966
#1  0x00007fb754fb9132 in g_main_context_iterate (context=0xa45d40, block=1, dispatch=1, self=<value optimized out>) 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=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fb759f558d2 in QEventLoop::processEvents (this=<value optimized out>, 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=<value optimized out>) 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=<value optimized out>) at /usr/include/QtCore/qatomic_x86_64.h:133
#7  QString::~QString (this=0xa08258, __in_chrg=<value optimized out>) at /usr/include/QtCore/qstring.h:883
#8  0x00007fb75a631177 in ~CollectionPrivate (this=0xa08210, __in_chrg=<value optimized out>) at /usr/src/debug/kdepimlibs-4.6.3/akonadi/collection_p.h:57
#9  Akonadi::CollectionPrivate::~CollectionPrivate (this=0xa08210, __in_chrg=<value optimized out>) 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<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::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=<value optimized out>) at /usr/src/debug/kdepimlibs-4.6.3/akonadi/monitor_p.cpp:371
#13 0x00007fb75a669372 in Akonadi::ChangeRecorderPrivate::slotNotify (this=<value optimized out>, msgs=<value optimized out>) 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=<value optimized out>, _a=<value optimized out>) at /usr/src/debug/kdepimlibs-4.6.3/build/akonadi/changerecorder.moc:72
#16 0x00007fb759f6aa5f in QMetaObject::activate (sender=0x7abfd0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffc3642240) at kernel/qobject.cpp:3278
#17 0x00007fb75a675212 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=<value optimized out>, _t1=<value optimized out>) 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=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#21 0x00007fb759f6a37a in QObject::event (this=0x7abfd0, e=<value optimized out>) 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=<value optimized out>, 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=<value optimized out>) 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=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007fb7593c3bae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007fb759f558d2 in QEventLoop::processEvents (this=<value optimized out>, 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
Comment 1 Kevin Ottens 2011-09-17 12:56:33 UTC

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