Bug 279101 - plasma-desktop crashes repeatedly [QListData::remove, takeAt, Akonadi::EntityTreeModelPrivate::monitoredItemRemoved, CalendarSupport::CalendarModel::*]
Summary: plasma-desktop crashes repeatedly [QListData::remove, takeAt, Akonadi::Entity...
Status: RESOLVED DUPLICATE of bug 279322
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 280916 282498 283111 284223 285471 285571 285777 286990 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-01 22:21 UTC by Thomas Tanghus
Modified: 2011-11-21 09:16 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.69 KB, text/plain)
2011-08-10 22:58 UTC, Thomas Tanghus
Details
New crash information added by DrKonqi (11.26 KB, text/plain)
2011-08-23 12:02 UTC, Thomas Tanghus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Tanghus 2011-08-01 22:21:26 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I wasn't really doing anything related. 
Programs open:
Google Chrome
Kontact
Konsole
Amarok

Had 3 crashes with ~1 hour. If it is Akonadi related I have 1 KDE tradition calendar in remote file using memotoo.com, 1 CalDAV configured for memotoo.com, 1 CalDAV configured for Google Calendar, 1 Akonadi resource for calendar in a local file.
I have recently added the CalDAV resources for testing purposes and will try to delete them again to see if the crashes disappear. (btw: they work fine for Google Calendar but not for memotoo.com, free accounts available there ;)

The crash can be reproduced some of the time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Aborted
[Current thread is 1 (Thread 0xb77cd720 (LWP 7237))]

Thread 8 (Thread 0xb5b23b70 (LWP 7238)):
#0  0x00c90416 in __kernel_vsyscall ()
#1  0x057cc48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x007793fd in __pthread_cond_wait (cond=0x331b7f0, mutex=0x331b7d8) at forward.c:139
#3  0x02d65b57 in scavengerThread (context=0x3316700) at wtf/FastMalloc.cpp:2378
#4  WTF::TCMalloc_PageHeap::runScavengerThread (context=0x3316700) at wtf/FastMalloc.cpp:1497
#5  0x057c7e99 in start_thread (arg=0xb5b23b70) at pthread_create.c:304
#6  0x0076b73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xaeaaeb70 (LWP 7239)):
#0  0x00c90416 in __kernel_vsyscall ()
#1  0x00779753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0070cb94 in _L_lock_10338 () from /lib/i386-linux-gnu/libc.so.6
#3  0x0070b416 in __libc_free (mem=0x8d0b1a8) at malloc.c:3736
#4  0x00b664d1 in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0x01eb198e in QEventDispatcherGlib::unregisterSocketNotifier (this=0x8d03340, notifier=0xaeaae2dc) at kernel/qeventdispatcher_glib.cpp:503
#6  0x01e9fdb9 in QSocketNotifier::setEnabled (this=0xaeaae2dc, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0x01eb0f94 in socketNotifierSourceCheck (source=0x8d0ae70) at kernel/qeventdispatcher_glib.cpp:92
#8  0x067a871d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x067a903a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x067a9524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x01eb153c in QEventDispatcherGlib::processEvents (this=0x8d03340, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#12 0x01e83289 in QEventLoop::processEvents (this=0xaeaae280, flags=...) at kernel/qeventloop.cpp:149
#13 0x01e83522 in QEventLoop::exec (this=0xaeaae280, flags=...) at kernel/qeventloop.cpp:201
#14 0x01d8d2a0 in QThread::exec (this=0x82e4d08) at thread/qthread.cpp:492
#15 0x01e64fdb in QInotifyFileSystemWatcherEngine::run (this=0x82e4d08) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x01d8fda2 in QThreadPrivate::start (arg=0x82e4d08) at thread/qthread_unix.cpp:320
#17 0x057c7e99 in start_thread (arg=0xaeaaeb70) at pthread_create.c:304
#18 0x0076b73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xae069b70 (LWP 7240)):
#0  0x00c90416 in __kernel_vsyscall ()
#1  0x00779753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0070cb94 in _L_lock_10338 () from /lib/i386-linux-gnu/libc.so.6
#3  0x0070b416 in __libc_free (mem=0x90ce8a8) at malloc.c:3736
#4  0x00b664d1 in operator delete(void*) () from /usr/lib/i386-linux-gnu/libstdc++.so.6
#5  0x01eb198e in QEventDispatcherGlib::unregisterSocketNotifier (this=0x90cf6a0, notifier=0xae0692dc) at kernel/qeventdispatcher_glib.cpp:503
#6  0x01e9fdb9 in QSocketNotifier::setEnabled (this=0xae0692dc, enable=false) at kernel/qsocketnotifier.cpp:298
#7  0x01eb0f94 in socketNotifierSourceCheck (source=0x90cf720) at kernel/qeventdispatcher_glib.cpp:92
#8  0x067a871d in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x067a903a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x067a9524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#11 0x01eb153c in QEventDispatcherGlib::processEvents (this=0x90cf6a0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#12 0x01e83289 in QEventLoop::processEvents (this=0xae069280, flags=...) at kernel/qeventloop.cpp:149
#13 0x01e83522 in QEventLoop::exec (this=0xae069280, flags=...) at kernel/qeventloop.cpp:201
#14 0x01d8d2a0 in QThread::exec (this=0x90cec68) at thread/qthread.cpp:492
#15 0x01e64fdb in QInotifyFileSystemWatcherEngine::run (this=0x90cec68) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x01d8fda2 in QThreadPrivate::start (arg=0x90cec68) at thread/qthread_unix.cpp:320
#17 0x057c7e99 in start_thread (arg=0xae069b70) at pthread_create.c:304
#18 0x0076b73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xac2feb70 (LWP 7243)):
#0  0x00c90416 in __kernel_vsyscall ()
#1  0x057cc48c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x007793fd in __pthread_cond_wait (cond=0x15e42b0, mutex=0x15e4298) at forward.c:139
#3  0x014cb817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x15df1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x014cb851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x15df1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x057c7e99 in start_thread (arg=0xac2feb70) at pthread_create.c:304
#6  0x0076b73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xaad7eb70 (LWP 7245)):
#0  0x00c90416 in __kernel_vsyscall ()
#1  0x0075cf76 in __poll (fds=0xacb221c8, nfds=3, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x067b984b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x067a91af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x067a992b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x06d44304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x067d22df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x057c7e99 in start_thread (arg=0xaad7eb70) at pthread_create.c:304
#8  0x0076b73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaa2ffb70 (LWP 7246)):
#0  0x00c90416 in __kernel_vsyscall ()
#1  0x00779753 in __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:95
#2  0x0070cb94 in _L_lock_10338 () from /lib/i386-linux-gnu/libc.so.6
#3  0x0070b416 in __libc_free (mem=0x96d8b50) at malloc.c:3736
#4  0x067afc86 in g_free () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x067a4a6b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x01eb1a15 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x967efd8, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:373
#7  0x01eb1b52 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x967efd8, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:401
#8  0x01d8f00a in QThreadPrivate::finish (arg=0x1fc08b0) at thread/qthread_unix.cpp:356
#9  0x01d8fdaa in ~__pthread_cleanup_class (arg=0x1fc08b0) at /usr/include/pthread.h:545
#10 QThreadPrivate::start (arg=0x1fc08b0) at thread/qthread_unix.cpp:279
#11 0x057c7e99 in start_thread (arg=0xaa2ffb70) at pthread_create.c:304
#12 0x0076b73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa9afeb70 (LWP 7248)):
#0  0x00d8fd41 in clock_gettime (clock_id=1, tp=0xa9afdff0) at ../sysdeps/unix/clock_gettime.c:116
#1  0x01de5dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x01eb24f2 in updateCurrentTime (this=0xacb1fc9c, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xacb1fc9c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x01eb0d32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa9afe0cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x01eb0dcd in timerSourcePrepare (source=0xacb1fc68, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x067a7fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x067a8e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x067a9524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x01eb1577 in QEventDispatcherGlib::processEvents (this=0x98417f0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x01e83289 in QEventLoop::processEvents (this=0xa9afe280, flags=...) at kernel/qeventloop.cpp:149
#12 0x01e83522 in QEventLoop::exec (this=0xa9afe280, flags=...) at kernel/qeventloop.cpp:201
#13 0x01d8d2a0 in QThread::exec (this=0x9814b68) at thread/qthread.cpp:492
#14 0x01e64fdb in QInotifyFileSystemWatcherEngine::run (this=0x9814b68) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x01d8fda2 in QThreadPrivate::start (arg=0x9814b68) at thread/qthread_unix.cpp:320
#16 0x057c7e99 in start_thread (arg=0xa9afeb70) at pthread_create.c:304
#17 0x0076b73e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77cd720 (LWP 7237)):
[KCrash Handler]
#7  0x00c90416 in __kernel_vsyscall ()
#8  0x006c5e71 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0x006c934e in abort () at abort.c:92
#10 0x006fc577 in __libc_message (do_abort=2, fmt=0x7d58ac "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#11 0x00706961 in malloc_printerr (action=<value optimized out>, str=<value optimized out>, ptr=0xa188440) at malloc.c:6283
#12 0x007094ba in _int_malloc (av=0x7f93c0, bytes=3) at malloc.c:4308
#13 0x0070af53 in __libc_malloc (bytes=3) at malloc.c:3660
#14 0x011dc479 in getDisplay (argc=2, argv=0x81a3088) at ../../kdeui/util/kcrash.cpp:660
#15 openSocket (argc=2, argv=0x81a3088) at ../../kdeui/util/kcrash.cpp:774
#16 startFromKdeinit (argc=2, argv=0x81a3088) at ../../kdeui/util/kcrash.cpp:569
#17 0x011dca4b in startProcessInternal (argc=2, argv=0x81a3088, waitAndExit=false, directly=false) at ../../kdeui/util/kcrash.cpp:537
#18 0x011dd32a in KCrash::startProcess (argc=2, argv=0x81a3088, waitAndExit=false) at ../../kdeui/util/kcrash.cpp:524
#19 0x011dd4a7 in KCrash::defaultCrashHandler (sig=11) at ../../kdeui/util/kcrash.cpp:311
#20 <signal handler called>
#21 __memmove_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:1284
#22 0x01dafdba in QListData::remove (this=0x9702790, i=<value optimized out>) at /usr/include/bits/string3.h:58
#23 0xae147e62 in takeAt (this=0x99add68, item=...) at /usr/include/qt4/QtCore/qlist.h:474
#24 Akonadi::EntityTreeModelPrivate::monitoredItemRemoved (this=0x99add68, item=...) at ../../akonadi/entitytreemodel_p.cpp:1022
#25 0xae1349e8 in Akonadi::EntityTreeModel::qt_metacall (this=0x898cbd8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfaf4798) at ./entitytreemodel.moc:168
#26 0x05b15f62 in CalendarSupport::CalendarModel::qt_metacall (this=0x898cbd8, _c=QMetaObject::InvokeMetaMethod, _id=50, _a=0xbfaf4798) at moc_calendarmodel.cpp:66
#27 0x01e8a6ba in QMetaObject::metacall (object=0x898cbd8, cl=QMetaObject::InvokeMetaMethod, idx=50, argv=0xbfaf4798) at kernel/qmetaobject.cpp:237
#28 0x01e9a4ff in QMetaObject::activate (sender=0x96c0788, m=0xae2866f4, local_signal_index=3, argv=0xbfaf4798) at kernel/qobject.cpp:3287
#29 0xae184133 in Akonadi::Monitor::itemRemoved (this=0x96c0788, _t1=...) at ./monitor.moc:190
#30 0xae1890c9 in Akonadi::MonitorPrivate::emitItemNotification (this=0x99b0e08, msg=..., item=..., collection=..., collectionDest=...) at ../../akonadi/monitor_p.cpp:525
#31 0xae18a5bf in Akonadi::MonitorPrivate::emitNotification (this=0x99b0e08, msg=...) at ../../akonadi/monitor_p.cpp:284
#32 0xae0e665c in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x99b0e08, msg=...) at ../../akonadi/changerecorder_p.h:60
#33 0xae18806f in Akonadi::MonitorPrivate::dispatchNotifications (this=0x99b0e08) at ../../akonadi/monitor_p.cpp:443
#34 0xae1846e1 in Akonadi::Monitor::qt_metacall (this=0x96c0788, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfaf4acc) at ./monitor.moc:156
#35 0xae0e4bfa in Akonadi::ChangeRecorder::qt_metacall (this=0x96c0788, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xbfaf4acc) at ./changerecorder.moc:72
#36 0x01e8a6ba in QMetaObject::metacall (object=0x96c0788, cl=QMetaObject::InvokeMetaMethod, idx=27, argv=0xbfaf4acc) at kernel/qmetaobject.cpp:237
#37 0x01e9a4ff in QMetaObject::activate (sender=0x99b1ff8, m=0xae285408, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#38 0xae12d637 in Akonadi::EntityCacheBase::dataAvailable (this=0x99b1ff8) at ./entitycache_p.moc:88
#39 0xae18c316 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult (this=0x99b1ff8, job=0xa26eac8) at ../../akonadi/entitycache_p.h:190
#40 0xae12d6c4 in Akonadi::EntityCacheBase::qt_metacall (this=0x99b1ff8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfaf4c98) at ./entitycache_p.moc:77
#41 0x01e8a6ba in QMetaObject::metacall (object=0x99b1ff8, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xbfaf4c98) at kernel/qmetaobject.cpp:237
#42 0x01e9a4ff in QMetaObject::activate (sender=0xa26eac8, m=0x35fd508, local_signal_index=3, argv=0xbfaf4c98) at kernel/qobject.cpp:3287
#43 0x0349fd73 in KJob::result (this=0xa26eac8, _t1=0xa26eac8) at ./kjob.moc:194
#44 0x0349fdc8 in KJob::emitResult (this=0xa26eac8) at ../../kdecore/jobs/kjob.cpp:312
#45 0xae17feae in Akonadi::JobPrivate::handleResponse (this=0xa136c00, tag=..., data=...) at ../../akonadi/job.cpp:66
#46 0xae1b63d7 in Akonadi::SessionPrivate::dataReceived (this=0x97bcc00) at ../../akonadi/session.cpp:218
#47 0xae1b9206 in Akonadi::Session::qt_metacall (this=0x999ac40, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfaf4eac) at ./session.moc:96
#48 0x01e8a6ba in QMetaObject::metacall (object=0x999ac40, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0xbfaf4eac) at kernel/qmetaobject.cpp:237
#49 0x01e9a4ff in QMetaObject::activate (sender=0x96fe4e8, m=0x1fbec48, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#50 0x01ee4e77 in QIODevice::readyRead (this=0x96fe4e8) at .moc/release-shared/moc_qiodevice.cpp:91
#51 0x01ee501f in QIODevice::qt_metacall (this=0x96fe4e8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfaf4ffc) at .moc/release-shared/moc_qiodevice.cpp:77
#52 0x00e564da in QLocalSocket::qt_metacall (this=0x96fe4e8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfaf4ffc) at .moc/release-shared/moc_qlocalsocket.cpp:81
#53 0x01e8a6ba in QMetaObject::metacall (object=0x96fe4e8, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfaf4ffc) at kernel/qmetaobject.cpp:237
#54 0x01e9a4ff in QMetaObject::activate (sender=0x99b6998, m=0x1fbec48, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#55 0x01ee4e77 in QIODevice::readyRead (this=0x99b6998) at .moc/release-shared/moc_qiodevice.cpp:91
#56 0x00e519fa in QAbstractSocketPrivate::canReadNotification (this=0x99aaaf0) at socket/qabstractsocket.cpp:639
#57 0x00e3d23b in QAbstractSocketEngine::readNotification (this=0x96f0230) at socket/qabstractsocketengine.cpp:154
#58 0x00e3de93 in QReadNotifier::event (this=0x99b7a20, e=0xbfaf54b4) at socket/qnativesocketengine.cpp:1103
#59 0x0466bd24 in QApplicationPrivate::notify_helper (this=0x8152d10, receiver=0x99b7a20, e=0xbfaf54b4) at kernel/qapplication.cpp:4462
#60 0x046708ce in QApplication::notify (this=0x8145d50, receiver=0x99b7a20, e=0xbfaf54b4) at kernel/qapplication.cpp:3862
#61 0x0116d93a in KApplication::notify (this=0x8145d50, receiver=0x99b7a20, event=0xbfaf54b4) at ../../kdeui/kernel/kapplication.cpp:311
#62 0x01e840bb in QCoreApplication::notifyInternal (this=0x8145d50, receiver=0x99b7a20, event=0xbfaf54b4) at kernel/qcoreapplication.cpp:731
#63 0x01eb0ec7 in sendEvent (source=0x81508d8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#64 socketNotifierSourceDispatch (source=0x81508d8) at kernel/qeventdispatcher_glib.cpp:110
#65 0x067a8aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#66 0x067a9270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#67 0x067a9524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#68 0x01eb153c in QEventDispatcherGlib::processEvents (this=0x80c9a78, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#69 0x047221e5 in QGuiEventDispatcherGlib::processEvents (this=0x80c9a78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x01e83289 in QEventLoop::processEvents (this=0xbfaf5724, flags=...) at kernel/qeventloop.cpp:149
#71 0x01e83522 in QEventLoop::exec (this=0xbfaf5724, flags=...) at kernel/qeventloop.cpp:201
#72 0x01e87ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#73 0x046698e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#74 0x0040dfdb in kdemain (argc=1, argv=0xbfaf5944) at ../../../../plasma/desktop/shell/main.cpp:120
#75 0x080485bb in main (argc=1, argv=0xbfaf5944) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 265308, bug 253841.

Reported using DrKonqi
Comment 1 Thomas Tanghus 2011-08-02 08:13:40 UTC
fwiw plasma-desktop hasn't crashed since I removed the CalDAV resources.
Comment 2 Grégory Oestreicher 2011-08-02 21:04:06 UTC
Hi Thomas,

Have you found a way to replicate this issue? Were items removed on the server before the crash? Have you deleted items locally?

Apparently the dav resource is doing something wrong, but this is going a little too far in Akonadi's internals to diagnose by just looking at a BT (at least for me), so I'd like to replicate this to debug.

Cheers,
Grégory
Comment 3 Thomas Tanghus 2011-08-03 15:28:07 UTC
(In reply to comment #2)
> Have you found a way to replicate this issue? Were items removed on the server
> before the crash? Have you deleted items locally?

Nothing should have happened serverside. I might have added event(s) to KOrganizer which would then have been synced to memotoo.com via the traditional Calendar in remote file resource. BTW: the two CalDAV resources where disabled (not checked in KOrganizer) when the crashes occurred.
 
> Apparently the dav resource is doing something wrong, but this is going a
> little too far in Akonadi's internals to diagnose by just looking at a BT (at
> least for me), so I'd like to replicate this to debug.

As it took a while (several logins/reboots) for the crash to appear it might take a while to see if I can reproduce it. 

I'll add the CalDAV resources one by one and wait to see what happens :-)
Comment 4 Thomas Tanghus 2011-08-10 22:58:55 UTC
Created attachment 62736 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

- What I was doing when the application crashed:

I was away from the box but had Kontact open and KMail would have checked for mail during that time. One thing I did change was that I had earlier today removed and readded an Akonadi IMAP ressource for Gmail because it had stopped fetching new mails.
One KAlarm was triggered but that isn't even Akonadified yet? Basically I have no idea what triggered it.

-- Backtrace (Reduced):
#15 0x01a9ed73 in KJob::result (this=0xbf1d058, _t1=0xbf1d058) at ./kjob.moc:194
#16 0x01a9edc8 in KJob::emitResult (this=0xbf1d058) at ../../kdecore/jobs/kjob.cpp:312
#17 0x06c29eae in Akonadi::JobPrivate::handleResponse (this=0xb2ed010, tag=..., data=...) at ../../akonadi/job.cpp:66
#18 0x06c603d7 in Akonadi::SessionPrivate::dataReceived (this=0xa30cc48) at ../../akonadi/session.cpp:218
#19 0x06c63206 in Akonadi::Session::qt_metacall (this=0x9edcfe0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfaa4bfc) at ./session.moc:96
Comment 5 Thomas Tanghus 2011-08-23 12:02:49 UTC
Created attachment 63071 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

- What I was doing when the application crashed:

Same as last time - nothing ;-)
Sorry that I can't give any better feedback. I had Kontact running, the same resources configured. I really don't know how to reproduce it. The intervals can be 2 minutes or 2 weeks.
Now I will remove the CalDAV resources which I suppose is the reason for the crash. Feel free to suggest any other way I can give better feedback.
I haven't done any C++ programming for 15 years, but isn't it possible to catch an exception (or whatever it's called; I only do Python now) and fail a bit more graceful?

-- Backtrace (Reduced):
#15 0x029aed73 in KJob::result (this=0xba4e7f8, _t1=0xba4e7f8) at ./kjob.moc:194
#16 0x029aedc8 in KJob::emitResult (this=0xba4e7f8) at ../../kdecore/jobs/kjob.cpp:312
#17 0x081bfeae in Akonadi::JobPrivate::handleResponse (this=0xb648f60, tag=..., data=...) at ../../akonadi/job.cpp:66
#18 0x081f63d7 in Akonadi::SessionPrivate::dataReceived (this=0xa1cf620) at ../../akonadi/session.cpp:218
#19 0x081f9206 in Akonadi::Session::qt_metacall (this=0xa4fe970, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb25abc) at ./session.moc:96
Comment 6 Dario Andres 2011-09-29 13:43:48 UTC
*** Bug 282498 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2011-10-01 13:03:38 UTC
[Comment from a bug triager]
From bug 283111 (KDE SC 4.7.1): "plasma crash during google calendar refresh in kontact."
- What I was doing when the application crashed:
refreshing the calendar.  
- Custom settings of the application:
set calendar in kontact to sync with google calendar using kdepim.  
on refresh, plasma desktop crashes.  either refreshing the calendar manual or
automatic (every 5 minutes as default) will cause the crash.
Comment 8 Dario Andres 2011-10-01 13:03:42 UTC
*** Bug 283111 has been marked as a duplicate of this bug. ***
Comment 9 Nicolas L. 2011-10-16 21:03:27 UTC
*** Bug 284223 has been marked as a duplicate of this bug. ***
Comment 10 Tom Kijas 2011-11-15 13:51:56 UTC
I have the same problem with adding ang synchronising google calendar, plasma crashes.
Comment 11 Thomas Tanghus 2011-11-15 14:06:32 UTC
I had some crashes again using CalDAV/CardDAV resources against an ownCloud instance. Will test some more. Maybe I can get some server error logs and see if there's a pattern there.
Comment 12 Christoph Feck 2011-11-19 01:12:40 UTC
*** Bug 285777 has been marked as a duplicate of this bug. ***
Comment 13 Christoph Feck 2011-11-19 01:13:08 UTC
*** Bug 285571 has been marked as a duplicate of this bug. ***
Comment 14 Christoph Feck 2011-11-19 01:13:32 UTC
*** Bug 285471 has been marked as a duplicate of this bug. ***
Comment 15 Christoph Feck 2011-11-19 01:17:21 UTC
*** Bug 280916 has been marked as a duplicate of this bug. ***
Comment 16 Beat Wolf 2011-11-20 21:04:40 UTC
*** Bug 286990 has been marked as a duplicate of this bug. ***
Comment 17 Aaron J. Seigo 2011-11-21 09:16:08 UTC

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