Bug 261759

Summary: Plasma-desktop crashes on login in KDE 4.6.0 RC1 [null KCalCore::IncidenceBase::isReadOnly, CalendarSupport::Calendar::Private::updateItem, CalendarSupport::Calendar::Private::dataChanged]
Product: [Unmaintained] plasma4 Reporter: Chris Samuel <kde>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, asraniel, kdepim-bugs, osterfeld, sebsauer
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Samuel 2010-12-31 23:51:02 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.5.90 (4.6 RC1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-24-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

Plasma-desktop crashes with a segmentation fault (SEGV) on login and seems to crash periodically thereafter.  Restarts automatically every time.

I suspect it's related to Akonadi looking at the backtrace.

This is on Kubuntu 10.10 with the 4.6.0 RC1 packages from the kubuntu-beta PPA.

Here are the installed packages for libakonadi:

ii  libakonadi-calendar4                             4:4.5.90-0ubuntu2~maverick1~ppa1                     library for using the Akonadi PIM data server
ii  libakonadi-contact4                              4:4.5.90-0ubuntu2~maverick1~ppa1                     library for using the Akonadi PIM data server
ii  libakonadi-kabc4                                 4:4.5.90-0ubuntu2~maverick1~ppa1                     library for using the Akonadi PIM data server
ii  libakonadi-kcal4                                 4:4.5.90-0ubuntu2~maverick1~ppa1                     library for using the Akonadi PIM data server
ii  libakonadi-kde4                                  4:4.5.90-0ubuntu2~maverick1~ppa1                     library for using the Akonadi PIM data server
ii  libakonadi-kmime4                                4:4.5.90-0ubuntu2~maverick1~ppa1                     library for using the Akonadi PIM data server
ii  libakonadiprotocolinternals1                     1.4.90-0ubuntu1~maverick1~ppa1                       libraries for the Akonadi PIM storage service

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8faad3c780 (LWP 4336))]

Thread 4 (Thread 0x7f8f86be2700 (LWP 4340)):
#0  0x00007f8faa6502c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f8fa79ce76e in qt_safe_select (nfds=15, fdread=0x2cc4650, fdwrite=0x2cc48e8, fdexcept=0x2cc4b80, orig_timeout=0x0) at kernel/qcore_unix.cpp:82
#2  0x00007f8fa79d3beb in QEventDispatcherUNIXPrivate::doSelect (this=0x2cc4490, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:219
#3  0x00007f8fa79d481b in QEventDispatcherUNIX::processEvents (this=0x2c0dff0, flags=) at kernel/qeventdispatcher_unix.cpp:919
#4  0x00007f8fa79a3a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f8fa79a3dec in QEventLoop::exec (this=0x7f8f86be1d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f8fa78ae2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f8fa79835f8 in QInotifyFileSystemWatcherEngine::run (this=0x2cc23d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8fa78b127e in QThreadPrivate::start (arg=0x2cc23d0) at thread/qthread_unix.cpp:266
#9  0x00007f8f9fb46971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f8faa65792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8f83ee8700 (LWP 4346)):
#0  0x00007f8faa6502c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f8fa79ce76e in qt_safe_select (nfds=18, fdread=0x2e4ff90, fdwrite=0x2e50228, fdexcept=0x2e504c0, orig_timeout=0x0) at kernel/qcore_unix.cpp:82
#2  0x00007f8fa79d3beb in QEventDispatcherUNIXPrivate::doSelect (this=0x2e4fdd0, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:219
#3  0x00007f8fa79d481b in QEventDispatcherUNIX::processEvents (this=0x2e6a120, flags=) at kernel/qeventdispatcher_unix.cpp:919
#4  0x00007f8fa79a3a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f8fa79a3dec in QEventLoop::exec (this=0x7f8f83ee7d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f8fa78ae2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f8fa79835f8 in QInotifyFileSystemWatcherEngine::run (this=0x2e6be50) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8fa78b127e in QThreadPrivate::start (arg=0x2e6be50) at thread/qthread_unix.cpp:266
#9  0x00007f8f9fb46971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f8faa65792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8f836e7700 (LWP 4347)):
#0  0x00007f8faa6502c3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f8fa79ce76e in qt_safe_select (nfds=25, fdread=0x2e81250, fdwrite=0x2e814e8, fdexcept=0x2e81780, orig_timeout=0x0) at kernel/qcore_unix.cpp:82
#2  0x00007f8fa79d3beb in QEventDispatcherUNIXPrivate::doSelect (this=0x2e81090, flags=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:219
#3  0x00007f8fa79d481b in QEventDispatcherUNIX::processEvents (this=0x2e88a80, flags=) at kernel/qeventdispatcher_unix.cpp:919
#4  0x00007f8fa79a3a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f8fa79a3dec in QEventLoop::exec (this=0x7f8f836e6db0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f8fa78ae2fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f8f9dd83b6c in Herqq::Upnp::HControlPointThread::run() () from /usr/lib/libHUpnp.so.0
#8  0x00007f8fa78b127e in QThreadPrivate::start (arg=0x2e5b150) at thread/qthread_unix.cpp:266
#9  0x00007f8f9fb46971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f8faa65792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8faad3c780 (LWP 4336)):
[KCrash Handler]
#6  KCalCore::IncidenceBase::isReadOnly (this=0x0) at ../../kcalcore/incidencebase.cpp:286
#7  0x00007f8f861c4f23 in CalendarSupport::Calendar::Private::updateItem (this=0x2dc3320, item=<value optimized out>, mode=<value optimized out>) at ../../../../../plasma/generic/dataengines/calendar/akonadi/calendar.cpp:222
#8  0x00007f8f861c7e9b in CalendarSupport::Calendar::Private::dataChanged (this=<value optimized out>, topLeft=<value optimized out>, bottomRight=<value optimized out>) at ../../../../../plasma/generic/dataengines/calendar/akonadi/calendar.cpp:157
#9  0x00007f8f861a8f5c in CalendarSupport::Calendar::Private::qt_metacall (this=0x2dc3320, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9a31a5c0) at moc_calendar_p.cpp:155
#10 0x00007f8fa79bcb27 in QMetaObject::activate (sender=0x2dc5f30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#11 0x00007f8fa7a082c7 in QAbstractItemModel::dataChanged (this=0x0, _t1=<value optimized out>, _t2=<value optimized out>) at .moc/release-shared/moc_qabstractitemmodel.cpp:148
#12 0x00007f8f85e5879b in Akonadi::EntityTreeModelPrivate::dataChanged (this=<value optimized out>, top=..., bottom=...) at ../../akonadi/entitytreemodel_p.cpp:1402
#13 0x00007f8f85e5d759 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged (this=<value optimized out>, item=...) at ../../akonadi/entitytreemodel_p.cpp:940
#14 0x00007f8f85e50ee1 in Akonadi::EntityTreeModel::qt_metacall (this=0x2dc5f30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9a31a920) at ./entitytreemodel.moc:156
#15 0x00007f8fa79bcb27 in QMetaObject::activate (sender=0x2d75800, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#16 0x00007f8f85ea4c87 in Akonadi::Monitor::itemChanged (this=0x0, _t1=<value optimized out>, _t2=<value optimized out>) at ./monitor.moc:169
#17 0x00007f8f85ea7cf7 in Akonadi::MonitorPrivate::emitItemNotification (this=0x2dc3570, msg=..., item=<value optimized out>, collection=<value optimized out>, collectionDest=<value optimized out>) at ../../akonadi/monitor_p.cpp:432
#18 0x00007f8f85ea8c63 in Akonadi::MonitorPrivate::emitNotification (this=0x2dc3570, msg=...) at ../../akonadi/monitor_p.cpp:267
#19 0x00007f8f85e0d1e1 in Akonadi::ChangeRecorderPrivate::emitNotification(Akonadi::NotificationMessage const&) () from /usr/lib/libakonadi-kde.so.4
#20 0x00007f8f85ea891a in Akonadi::MonitorPrivate::dataAvailable (this=0x2dc3570) at ../../akonadi/monitor_p.cpp:281
#21 0x00007f8f85ea4d15 in Akonadi::Monitor::qt_metacall (this=0x2d75800, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9a31ae90) at ./monitor.moc:156
#22 0x00007f8f85e0cec8 in Akonadi::ChangeRecorder::qt_metacall (this=0x0, _c=49598368, _id=-1479710975, _a=0x0) at ./changerecorder.moc:72
#23 0x00007f8fa79bcb27 in QMetaObject::activate (sender=0x2dc35f8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#24 0x00007f8f85e0d597 in Akonadi::EntityCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::fetchResult(KJob*) () from /usr/lib/libakonadi-kde.so.4
#25 0x00007f8f85e49e43 in Akonadi::EntityCacheBase::qt_metacall (this=0x2dc35f8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9a31b0a0) at ./entitycache_p.moc:77
#26 0x00007f8fa79bcb27 in QMetaObject::activate (sender=0x386ef20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#27 0x00007f8fa808da62 in KJob::result (this=0x0, _t1=0x386ef20) at ./kjob.moc:194
#28 0x00007f8fa808dd00 in KJob::emitResult (this=0x386ef20) at ../../kdecore/jobs/kjob.cpp:312
#29 0x00007f8f85e9b439 in delayedEmitResult (this=0x386ef20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x3537c80) at ../../akonadi/job.cpp:144
#30 Akonadi::Job::qt_metacall (this=0x386ef20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x3537c80) at ./job.moc:91
#31 0x00007f8f85e88465 in Akonadi::ItemFetchJob::qt_metacall (this=0x0, _c=49598368, _id=-1479710975, _a=0x0) at ./itemfetchjob.moc:73
#32 0x00007f8fa79b6bde in QObject::event (this=0x386ef20, e=0x0) at kernel/qobject.cpp:1219
#33 0x00007f8fa6d0bfdc in QApplicationPrivate::notify_helper (this=0x2283640, receiver=0x386ef20, e=0x3818e70) at kernel/qapplication.cpp:4396
#34 0x00007f8fa6d11aed in QApplication::notify (this=0x226b350, receiver=0x386ef20, e=0x3818e70) at kernel/qapplication.cpp:4277
#35 0x00007f8fa86a7086 in KApplication::notify (this=0x226b350, receiver=0x386ef20, event=0x3818e70) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007f8fa79a4cdc in QCoreApplication::notifyInternal (this=0x226b350, receiver=0x386ef20, event=0x3818e70) at kernel/qcoreapplication.cpp:732
#37 0x00007f8fa79a7c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x2228ba0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x2228ba0) at kernel/qcoreapplication.cpp:1373
#39 0x00007f8fa6dbfa44 in sendPostedEvents (this=<value optimized out>, flags=) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#40 QEventDispatcherX11::processEvents (this=<value optimized out>, flags=) at kernel/qeventdispatcher_x11.cpp:75
#41 0x00007f8fa79a3a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#42 0x00007f8fa79a3dec in QEventLoop::exec (this=0x7fff9a31bb10, flags=) at kernel/qeventloop.cpp:201
#43 0x00007f8fa79a7ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#44 0x00007f8faa935c83 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:118
#45 0x00007f8faa58fd8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff9a31bee8) at libc-start.c:226
#46 0x0000000000400669 in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2011-01-01 14:21:10 UTC
[Comment from a bug triager]
This is related to bug 261593
Comment 2 Beat Wolf 2011-01-02 14:04:13 UTC

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