Application: plasma-desktop (0.4) KDE Platform Version: 4.5.90 (4.6 RC1) Qt Version: 4.7.1 Operating System: Linux 2.6.37-rc6-default i686 Distribution: "openSUSE 11.3 (i586)" -- Information about the crash: Plasma crashes every time when I remove an akonadi contact resource. The crash can be reproduced every time. -- Backtrace: Application: Plasma-Desktop-Umgebung (kdeinit4), signal: Segmentation fault [Current thread is 1 (Thread 0xb5967710 (LWP 1890))] Thread 2 (Thread 0xaf867b70 (LWP 2152)): #0 0xb5c6622b in clock_gettime () from /lib/librt.so.1 #1 0xb6e77265 in do_gettime () at tools/qelapsedtimer_unix.cpp:123 #2 qt_gettime () at tools/qelapsedtimer_unix.cpp:140 #3 0xb6f4ad26 in updateCurrentTime (this=0x84f2c5c, tm=...) at kernel/qeventdispatcher_unix.cpp:339 #4 QTimerInfoList::timerWait (this=0x84f2c5c, tm=...) at kernel/qeventdispatcher_unix.cpp:442 #5 0xb6f4955b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaf86711c) at kernel/qeventdispatcher_glib.cpp:136 #6 0xb6f495fd in timerSourcePrepare (source=0x84f2c28, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169 #7 0xb5bba0c0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #8 0xb5bbaf22 in ?? () from /usr/lib/libglib-2.0.so.0 #9 0xb5bbb60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #10 0xb6f49da7 in QEventDispatcherGlib::processEvents (this=0x83b9bf8, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #11 0xb6f1a89d in QEventLoop::processEvents (this=0xaf8672b0, flags=...) at kernel/qeventloop.cpp:149 #12 0xb6f1aac9 in QEventLoop::exec (this=0xaf8672b0, flags=...) at kernel/qeventloop.cpp:201 #13 0xb6e197a9 in QThread::exec (this=0x843e5f0) at thread/qthread.cpp:490 #14 0xb6efa4ad in QInotifyFileSystemWatcherEngine::run (this=0x843e5f0) at io/qfilesystemwatcher_inotify.cpp:248 #15 0xb6e1c39a in QThreadPrivate::start (arg=0x843e5f0) at thread/qthread_unix.cpp:285 #16 0xb6da0b25 in start_thread () from /lib/libpthread.so.0 #17 0xb615046e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb5967710 (LWP 1890)): [KCrash Handler] #7 QString (this=0x0) at /usr/include/QtCore/qstring.h:728 #8 KCalCore::IncidenceBase::uid (this=0x0) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/kcalcore/incidencebase.cpp:226 #9 0xa9dcb897 in CalendarSupport::Calendar::Private::removeItemFromMaps (this=0x8b25cc8, item=...) at /usr/src/debug/kdebase-workspace-4.5.90/plasma/generic/dataengines/calendar/akonadi/calendar.cpp:420 #10 0xa9dd08e2 in CalendarSupport::Calendar::Private::itemsRemoved (this=0x8b25cc8, items=...) at /usr/src/debug/kdebase-workspace-4.5.90/plasma/generic/dataengines/calendar/akonadi/calendar.cpp:449 #11 0xa9dd1d08 in CalendarSupport::Calendar::Private::rowsAboutToBeRemoved (this=0x8b25cc8, parent=..., start=0, end=0) at /usr/src/debug/kdebase-workspace-4.5.90/plasma/generic/dataengines/calendar/akonadi/calendar.cpp:118 #12 0xa9daf2c5 in CalendarSupport::Calendar::Private::qt_metacall (this=0x8b25cc8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd07860) at /usr/src/debug/kdebase-workspace-4.5.90/build/plasma/generic/dataengines/calendar/moc_calendar_p.cpp:149 #13 0xb6f21e5d in QMetaObject::metacall (object=0x8b25cc8, cl=QMetaObject::InvokeMetaMethod, idx=9, argv=0xbfd07860) at kernel/qmetaobject.cpp:237 #14 0xb6f31ffc in QMetaObject::activate (sender=0x8b29868, m=0xb7055198, local_signal_index=6, argv=0xbfd07860) at kernel/qobject.cpp:3272 #15 0xb6f80315 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x8b29868, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:188 #16 0xb6f1246c in QAbstractItemModel::beginRemoveRows (this=0x8b29868, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2450 #17 0xa8a9db66 in Akonadi::EntityTreeModelPrivate::monitoredItemRemoved (this=0x8b267b0, item=...) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/akonadi/entitytreemodel_p.cpp:917 #18 0xa8a8cdbd in Akonadi::EntityTreeModel::qt_metacall (this=0x8b29868, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd07ac8) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/build/akonadi/entitytreemodel.moc:155 #19 0xa9daefd3 in CalendarSupport::CalendarModel::qt_metacall (this=0x8b29868, _c=QMetaObject::InvokeMetaMethod, _id=47, _a=0xbfd07ac8) at /usr/src/debug/kdebase-workspace-4.5.90/build/plasma/generic/dataengines/calendar/moc_calendarmodel.cpp:66 #20 0xb6f21e5d in QMetaObject::metacall (object=0x8b29868, cl=QMetaObject::InvokeMetaMethod, idx=47, argv=0xbfd07ac8) at kernel/qmetaobject.cpp:237 #21 0xb6f31ffc in QMetaObject::activate (sender=0x8a6dbc8, m=0xa8be9834, local_signal_index=3, argv=0xbfd07ac8) at kernel/qobject.cpp:3272 #22 0xa8ae4cc5 in Akonadi::Monitor::itemRemoved (this=0x8a6dbc8, _t1=...) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/build/akonadi/monitor.moc:190 #23 0xa8ae8bc7 in Akonadi::MonitorPrivate::emitItemNotification (this=0x8b25710, msg=..., item=..., collection=..., collectionDest=...) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/akonadi/monitor_p.cpp:442 #24 0xa8ae926c in Akonadi::MonitorPrivate::emitNotification (this=0x8b25710, msg=...) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/akonadi/monitor_p.cpp:267 #25 0xa8a3e1b9 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x8b25710, msg=...) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/akonadi/changerecorder_p.h:60 #26 0xa8aeb67c in Akonadi::MonitorPrivate::dispatchNotifications (this=0x8b25710) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/akonadi/monitor_p.cpp:212 #27 0xa8aebfc9 in Akonadi::MonitorPrivate::slotNotify (this=0x8b25710, msgs=...) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/akonadi/monitor_p.cpp:372 #28 0xa8a3ee72 in Akonadi::ChangeRecorderPrivate::slotNotify (this=0x8b25710, msgs=...) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/akonadi/changerecorder_p.h:51 #29 0xa8ae5602 in Akonadi::Monitor::qt_metacall (this=0x8a6dbc8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd07eb8) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/build/akonadi/monitor.moc:155 #30 0xa8a3dfee in Akonadi::ChangeRecorder::qt_metacall (this=0x8a6dbc8, _c=QMetaObject::InvokeMetaMethod, _id=26, _a=0xbfd07eb8) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/build/akonadi/changerecorder.moc:72 #31 0xb6f21e5d in QMetaObject::metacall (object=0x8a6dbc8, cl=QMetaObject::InvokeMetaMethod, idx=26, argv=0xbfd07eb8) at kernel/qmetaobject.cpp:237 #32 0xb6f31ffc in QMetaObject::activate (sender=0x89a7428, m=0xa8beb6c4, local_signal_index=0, argv=0xbfd07eb8) at kernel/qobject.cpp:3272 #33 0xa8b6c385 in OrgFreedesktopAkonadiNotificationSourceInterface::notify (this=0x89a7428, _t1=...) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/build/akonadi/notificationsourceinterface.moc:91 #34 0xa8b6c3f3 in OrgFreedesktopAkonadiNotificationSourceInterface::qt_metacall (this=0x89a7428, _c=QMetaObject::InvokeMetaMethod, _id=-1076857300, _a=0xbfd0801c) at /usr/src/debug/kdepimlibs-4.5.90svn.rev1210273/build/akonadi/notificationsourceinterface.moc:77 #35 0xb5d53e17 in QDBusConnectionPrivate::deliverCall (this=0x80c35a0, object=0x89a7428, msg=..., metaTypes=..., slotIdx=-1076857300) at qdbusintegrator.cpp:919 #36 0xb5d608d6 in QDBusCallDeliveryEvent::placeMetaCall (this=0x92ade20, object=0x89a7428) at qdbusintegrator_p.h:103 #37 0xb6f30b7f in QObject::event (this=0x89a7428, e=0x92ade20) at kernel/qobject.cpp:1211 #38 0xb6417414 in QApplicationPrivate::notify_helper (this=0x80e5b80, receiver=0x89a7428, e=0x92ade20) at kernel/qapplication.cpp:4445 #39 0xb6420137 in QApplication::notify (this=0x80c2ed8, receiver=0x89a7428, e=0x92ade20) at kernel/qapplication.cpp:3845 #40 0xb758a541 in KApplication::notify (this=0x80c2ed8, receiver=0x89a7428, event=0x92ade20) at /usr/src/debug/kdelibs-4.5.90/kdeui/kernel/kapplication.cpp:311 #41 0xb6f1b5be in QCoreApplication::notifyInternal (this=0x80c2ed8, receiver=0x89a7428, event=0x92ade20) at kernel/qcoreapplication.cpp:732 #42 0xb6f1f34c in sendEvent (receiver=0x0, event_type=0, data=0x80582b0) at kernel/qcoreapplication.h:215 #43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80582b0) at kernel/qcoreapplication.cpp:1373 #44 0xb6f1f49c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266 #45 0xb6f49bd4 in sendPostedEvents (s=0x80e7c88) at kernel/qcoreapplication.h:220 #46 postEventSourceDispatch (s=0x80e7c88) at kernel/qeventdispatcher_glib.cpp:277 #47 0xb5bbab49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #48 0xb5bbb350 in ?? () from /usr/lib/libglib-2.0.so.0 #49 0xb5bbb60e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #50 0xb6f49d5b in QEventDispatcherGlib::processEvents (this=0x80a4468, flags=...) at kernel/qeventdispatcher_glib.cpp:422 #51 0xb64cd9aa in QGuiEventDispatcherGlib::processEvents (this=0x80a4468, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #52 0xb6f1a89d in QEventLoop::processEvents (this=0xbfd087e4, flags=...) at kernel/qeventloop.cpp:149 #53 0xb6f1aac9 in QEventLoop::exec (this=0xbfd087e4, flags=...) at kernel/qeventloop.cpp:201 #54 0xb6f1f570 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #55 0xb6415114 in QApplication::exec () at kernel/qapplication.cpp:3719 #56 0xb25e080a in kdemain (argc=1, argv=0x80b83b0) at /usr/src/debug/kdebase-workspace-4.5.90/plasma/desktop/shell/main.cpp:118 #57 0x0804e521 in _start () This bug may be a duplicate of or related to bug 261853. Possible duplicates by query: bug 261853. Reported using DrKonqi
SVN commit 1211753 by aseigo: check pointers before using BUG:262117 M +9 -3 calendar.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1211753
SVN commit 1211754 by aseigo: check pointers before using BUG:262117 M +9 -3 calendar.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1211754
*** Bug 261853 has been marked as a duplicate of this bug. ***
Created attachment 66871 [details] New crash information added by DrKonqi plasma-netbook (0.2) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4 I was deleting an akonadi calendar resource -- Backtrace (Reduced): #8 0x01614fd3 in QListData::remove (this=0xa52efc8, i=-1) at /usr/include/i386-linux-gnu/bits/string3.h:58 [...] #12 0x060844bd in Akonadi::EntityTreeModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4 #13 0x03e0b4a3 in CalendarSupport::CalendarModel::qt_metacall (this=0x98f60c8, _c=QMetaObject::InvokeMetaMethod, _id=57, _a=0xbfe21538) at moc_calendarmodel.cpp:66 #14 0x016f5b7d in metacall (argv=0xbfe21538, idx=57, cl=QMetaObject::InvokeMetaMethod, object=0x98f60c8) at kernel/qmetaobject.cpp:237 [...] #17 0x0601ee95 in Akonadi::AgentManager::instanceRemoved(Akonadi::AgentInstance const&) () from /usr/lib/libakonadi-kde.so.4