Bug 297837

Summary: Akonadi Google / KOrganizer crashed when deleting calendar folder
Product: [Applications] korganizer Reporter: Vojtěch Zeisek <Vojtech.Zeisek>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: smartins
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vojtěch Zeisek 2012-04-10 11:08:53 UTC
Application: korganizer (4.7.4- ())
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
Probably as result of bug #297824 I had messed up calendars, so I decided to delete damaged calendar folders. When I was doing so, Korganizer with Akonadi Google crashed.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7fff9c5d2190) at /usr/include/QtCore/qabstractitemmodel.h:65
#7  KSelectionProxyModelPrivate::mapTopLevelToSource (this=0x837c20, row=0, column=0) at /usr/src/debug/kdelibs-4.7.4/kdeui/itemviews/kselectionproxymodel.cpp:1596
#8  0x00007ff23690f7c3 in KSelectionProxyModel::mapToSource (this=0x837af0, proxyIndex=...) at /usr/src/debug/kdelibs-4.7.4/kdeui/itemviews/kselectionproxymodel.cpp:2124
#9  0x00007ff23690a01f in KSelectionProxyModel::data (this=0x837af0, index=..., role=34) at /usr/src/debug/kdelibs-4.7.4/kdeui/itemviews/kselectionproxymodel.cpp:2228
#10 0x00007ff234e0eafc in QSortFilterProxyModel::data (this=<optimized out>, index=..., role=34) at itemviews/qsortfilterproxymodel.cpp:1716
#11 0x00007ff22dc04451 in data (arole=34, this=0x7fff9c5d23c0) at /usr/include/QtCore/qabstractitemmodel.h:398
#12 CalendarSupport::itemFromIndex (idx=...) at /usr/src/debug/kdepim-4.7.4/calendarsupport/utils.cpp:380
#13 0x00007ff22dc08cbc in CalendarSupport::itemsFromModel (model=0x9583a0, parentIndex=<optimized out>, start=<optimized out>, end=<optimized out>) at /usr/src/debug/kdepim-4.7.4/calendarsupport/utils.cpp:418
#14 0x00007ff22dbc06d2 in CalendarSupport::Calendar::Private::rowsAboutToBeRemoved (this=0x85ba00, parent=<optimized out>, start=<optimized out>, end=<optimized out>) at /usr/src/debug/kdepim-4.7.4/calendarsupport/calendar.cpp:128
#15 0x00007ff22dbad704 in CalendarSupport::Calendar::Private::qt_metacall (this=0x85ba00, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff9c5d25a0) at /usr/src/debug/kdepim-4.7.4/build/calendarsupport/moc_calendar_p.cpp:152
#16 0x00007ff233eba5aa in QMetaObject::activate (sender=0x9583a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9c5d25a0) at kernel/qobject.cpp:3287
#17 0x00007ff233f03584 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=3) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#18 0x00007ff233ea1d88 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=<optimized out>, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2449
#19 0x00007ff234e10a8d in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x9330b0, source_to_proxy=..., proxy_to_source=..., proxy_start=0, proxy_end=<optimized out>, proxy_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:555
#20 0x00007ff234e1553a in QSortFilterProxyModelPrivate::remove_source_items (this=0x9330b0, source_to_proxy=..., proxy_to_source=..., source_items=<optimized out>, source_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:537
#21 0x00007ff234e16f04 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x9330b0, source_parent=..., start=0, end=3, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:838
#22 0x00007ff234e171ec in QSortFilterProxyModel::qt_metacall (this=0x9583a0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fff9c5d28b0) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:138
#23 0x00007ff233eba5aa in QMetaObject::activate (sender=0x837af0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9c5d28b0) at kernel/qobject.cpp:3287
#24 0x00007ff233f03584 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>, _t2=0, _t3=3) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#25 0x00007ff233ea1d88 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=<optimized out>, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2449
#26 0x00007ff236914023 in KSelectionProxyModelPrivate::removeRangeFromProxy (this=0x837c20, range=...) at /usr/src/debug/kdelibs-4.7.4/kdeui/itemviews/kselectionproxymodel.cpp:1687
#27 0x00007ff236914458 in KSelectionProxyModelPrivate::removeSelectionFromProxy (this=0x837c20, selection=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/kdeui/itemviews/kselectionproxymodel.cpp:1610
#28 0x00007ff236915f8b in KSelectionProxyModelPrivate::selectionChanged (this=0x837c20, _selected=<optimized out>, _deselected=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/kdeui/itemviews/kselectionproxymodel.cpp:1860
#29 0x00007ff23691786e in KSelectionProxyModel::qt_metacall (this=0x837af0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff9c5d30e0) at /usr/src/debug/kdelibs-4.7.4/build/kdeui/moc_kselectionproxymodel.cpp:134
#30 0x00007ff233eba5aa in QMetaObject::activate (sender=0x93f500, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9c5d30e0) at kernel/qobject.cpp:3287
#31 0x00007ff234ddfaf7 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#32 0x00007ff234de4451 in QItemSelectionModelPrivate::_q_rowsAboutToBeRemoved (this=0x93f520, parent=..., start=4, end=4) at itemviews/qitemselectionmodel.cpp:671
#33 0x00007ff234de7c8e in QItemSelectionModel::qt_metacall (this=0x93f500, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff9c5d3660) at .moc/release-shared/moc_qitemselectionmodel.cpp:136
#34 0x00007ff233eba5aa in QMetaObject::activate (sender=0x93f750, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9c5d3660) at kernel/qobject.cpp:3287
#35 0x00007ff233f03584 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>, _t2=4, _t3=4) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#36 0x00007ff233ea1d88 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=<optimized out>, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2449
#37 0x00007ff234e10a8d in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x93f770, source_to_proxy=..., proxy_to_source=..., proxy_start=4, proxy_end=<optimized out>, proxy_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:555
#38 0x00007ff234e1553a in QSortFilterProxyModelPrivate::remove_source_items (this=0x93f770, source_to_proxy=..., proxy_to_source=..., source_items=<optimized out>, source_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:537
#39 0x00007ff234e16f04 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x93f770, source_parent=..., start=4, end=4, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:838
#40 0x00007ff234e171ec in QSortFilterProxyModel::qt_metacall (this=0x93f750, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fff9c5d3970) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:138
#41 0x00007ff233eba5aa in QMetaObject::activate (sender=0x8fd290, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9c5d3970) at kernel/qobject.cpp:3287
#42 0x00007ff233f03584 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>, _t2=4, _t3=4) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#43 0x00007ff233ea1d88 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=<optimized out>, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2449
#44 0x00007ff234e10a8d in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x8fd2b0, source_to_proxy=..., proxy_to_source=..., proxy_start=4, proxy_end=<optimized out>, proxy_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:555
#45 0x00007ff234e1553a in QSortFilterProxyModelPrivate::remove_source_items (this=0x8fd2b0, source_to_proxy=..., proxy_to_source=..., source_items=<optimized out>, source_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:537
#46 0x00007ff234e16f04 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x8fd2b0, source_parent=..., start=4, end=4, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:838
#47 0x00007ff234e171ec in QSortFilterProxyModel::qt_metacall (this=0x8fd290, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fff9c5d3c80) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:138
#48 0x00007ff233eba5aa in QMetaObject::activate (sender=0x97ce70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9c5d3c80) at kernel/qobject.cpp:3287
#49 0x00007ff233f03584 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>, _t2=4, _t3=4) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#50 0x00007ff233ea1d88 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=<optimized out>, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2449
#51 0x00007ff22ef600a9 in Akonadi::EntityTreeModelPrivate::monitoredCollectionRemoved (this=0x93fa00, collection=...) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/entitytreemodel_p.cpp:794
#52 0x00007ff22ef608b0 in Akonadi::EntityTreeModelPrivate::agentInstanceRemoved (this=0x93fa00, instance=...) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/entitytreemodel_p.cpp:252
#53 0x00007ff22ef9efd8 in Akonadi::EntityTreeModel::qt_metacall (this=0x97ce70, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff9c5d3ff0) at /usr/src/debug/kdepimlibs-4.7.4/build/akonadi/entitytreemodel.moc:175
#54 0x00007ff233eba5aa in QMetaObject::activate (sender=0x7b19d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9c5d3ff0) at kernel/qobject.cpp:3287
#55 0x00007ff22ef08925 in Akonadi::AgentManager::instanceRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/build/akonadi/agentmanager.moc:170
#56 0x00007ff22ef3cf01 in Akonadi::AgentManagerPrivate::agentInstanceRemoved (this=0x7b1810, identifier=...) at /usr/src/debug/kdepimlibs-4.7.4/akonadi/agentmanager.cpp:117
#57 0x00007ff22ef68cf9 in Akonadi::AgentManager::qt_metacall (this=0x7b19d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff9c5d4120) at /usr/src/debug/kdepimlibs-4.7.4/build/akonadi/agentmanager.moc:130
#58 0x00007ff233eba5aa in QMetaObject::activate (sender=0x7b2110, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff9c5d4120) at kernel/qobject.cpp:3287
#59 0x00007ff22efee9a5 in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdepimlibs-4.7.4/build/akonadi/agentmanagerinterface.moc:278
#60 0x00007ff22efeee8e in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x7b2110, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff9c5d49d0) at /usr/src/debug/kdepimlibs-4.7.4/build/akonadi/agentmanagerinterface.moc:166
#61 0x00007ff2315c89fb in QDBusConnectionPrivate::deliverCall (this=0x63b8d0, object=0x7b2110, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:942
#62 0x00007ff2315d1d5f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#63 0x00007ff233ebe15a in QObject::event (this=0x7b2110, e=<optimized out>) at kernel/qobject.cpp:1226
#64 0x00007ff234885c34 in notify_helper (e=0x2083920, receiver=0x7b2110, this=0x64a5c0) at kernel/qapplication.cpp:4481
#65 QApplicationPrivate::notify_helper (this=0x64a5c0, receiver=0x7b2110, e=0x2083920) at kernel/qapplication.cpp:4453
#66 0x00007ff23488aac1 in QApplication::notify (this=0x7fff9c5d53e0, receiver=0x7b2110, e=0x2083920) at kernel/qapplication.cpp:4360
#67 0x00007ff236928186 in KApplication::notify (this=0x7fff9c5d53e0, receiver=0x7b2110, event=0x2083920) at /usr/src/debug/kdelibs-4.7.4/kdeui/kernel/kapplication.cpp:311
#68 0x00007ff233ea782c in QCoreApplication::notifyInternal (this=0x7fff9c5d53e0, receiver=0x7b2110, event=0x2083920) at kernel/qcoreapplication.cpp:787
#69 0x00007ff233eaac08 in sendEvent (event=0x2083920, receiver=0x7b2110) at kernel/qcoreapplication.h:215
#70 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x615c80) at kernel/qcoreapplication.cpp:1428
#71 0x00007ff233ed20c3 in sendPostedEvents () at kernel/qcoreapplication.h:220
#72 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#73 0x00007ff22d0d158d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#74 0x00007ff22d0d1d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#75 0x00007ff22d0d1f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#76 0x00007ff233ed251f in QEventDispatcherGlib::processEvents (this=0x615490, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#77 0x00007ff234928fbe in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#78 0x00007ff233ea6a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#79 0x00007ff233ea6c2f in QEventLoop::exec (this=0x7fff9c5d5390, flags=...) at kernel/qeventloop.cpp:201
#80 0x00007ff233eaadf7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#81 0x00000000004086b6 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.7.4/korganizer/main.cpp:67

Possible duplicates by query: bug 291034, bug 282511, bug 281017, bug 280273, bug 280025.

Reported using DrKonqi
Comment 1 Sergio Martins 2013-06-13 21:05:36 UTC
Please try a newer version
Comment 2 Vojtěch Zeisek 2013-06-14 08:42:18 UTC
I don't see this problem anymore in KDE 4.10.