Bug 356193 - Korganizer crashes while toggling calendars
Summary: Korganizer crashes while toggling calendars
Status: RESOLVED DUPLICATE of bug 362724
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-12-02 11:38 UTC by Mike Hammond
Modified: 2016-05-24 15:24 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (14.74 KB, text/plain)
2015-12-04 02:32 UTC, Mike Hammond
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Hammond 2015-12-02 11:38:52 UTC
Application: korganizer ()

Qt Version: 5.4.2
Operating System: Linux 4.2.0-19-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:
Toggling calendars off & on with month view open to see which events/todos were associated with which calendar.  After ten to fifteen toggles, korganizer crashes with segV.

- Custom settings of the application:
Multiple calendars - Exchange, Google * 7, Local Todos(Calendar Dir)*4

The crash can be reproduced sometimes.

-- Backtrace:
Application: korganizer (korganizer), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f0e3ae53e40 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5CalendarCore.so.5
#7  0x00007f0e3ae4fa0e in KCalCore::Calendar::setupRelations(QSharedPointer<KCalCore::Incidence> const&) () from /usr/lib/x86_64-linux-gnu/libKF5CalendarCore.so.5
#8  0x00007f0e3ae8e07c in KCalCore::MemoryCalendar::addIncidence(QSharedPointer<KCalCore::Incidence> const&) () from /usr/lib/x86_64-linux-gnu/libKF5CalendarCore.so.5
#9  0x00007f0e3671464c in Akonadi::CalendarBasePrivate::internalInsert (this=this@entry=0x1f13f80, item=...) at ../../src/calendarbase.cpp:158
#10 0x00007f0e36722520 in Akonadi::ETMCalendarPrivate::itemsAdded (this=this@entry=0x1f13f80, items=...) at ../../src/etmcalendar.cpp:290
#11 0x00007f0e36723822 in Akonadi::ETMCalendarPrivate::onRowsInsertedInFilteredModel (this=0x1f13f80, index=..., start=<optimized out>, end=<optimized out>) at ../../src/etmcalendar.cpp:445
#12 0x00007f0e36724de5 in Akonadi::ETMCalendarPrivate::qt_static_metacall (_o=_o@entry=0x1f13f80, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=22, _a=_a@entry=0x7fffb2169780) at ./moc_etmcalendar_p.cpp:281
#13 0x00007f0e38f9978a in QMetaObject::activate (sender=sender@entry=0x1f44660, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffb2169780) at kernel/qobject.cpp:3717
#14 0x00007f0e38f99f87 in QMetaObject::activate (sender=sender@entry=0x1f44660, m=m@entry=0x7f0e3919be40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffb2169780) at kernel/qobject.cpp:3582
#15 0x00007f0e39010874 in QAbstractItemModel::rowsInserted (this=this@entry=0x1f44660, _t1=..., _t2=146, _t3=183) at .moc/moc_qabstractitemmodel.cpp:428
#16 0x00007f0e38f11f16 in QAbstractItemModel::endInsertRows (this=this@entry=0x1f44660) at itemmodels/qabstractitemmodel.cpp:2623
#17 0x00007f0e38f33693 in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0x1f68870, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., emit_signal=emit_signal@entry=true, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:713
#18 0x00007f0e38f36984 in QSortFilterProxyModelPrivate::source_items_inserted (orient=Qt::Vertical, end=<optimized out>, start=<optimized out>, source_parent=..., this=0x1f68870) at itemmodels/qsortfilterproxymodel.cpp:824
#19 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x1f68870, source_parent=..., start=<optimized out>, end=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1379
#20 0x00007f0e38f9978a in QMetaObject::activate (sender=sender@entry=0x1eed7a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffb2169ad0) at kernel/qobject.cpp:3717
#21 0x00007f0e38f99f87 in QMetaObject::activate (sender=sender@entry=0x1eed7a0, m=m@entry=0x7f0e3919be40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffb2169ad0) at kernel/qobject.cpp:3582
#22 0x00007f0e39010874 in QAbstractItemModel::rowsInserted (this=this@entry=0x1eed7a0, _t1=..., _t2=146, _t3=183) at .moc/moc_qabstractitemmodel.cpp:428
#23 0x00007f0e38f11f16 in QAbstractItemModel::endInsertRows (this=this@entry=0x1eed7a0) at itemmodels/qabstractitemmodel.cpp:2623
#24 0x00007f0e38f33693 in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0x1f4c7e0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., emit_signal=emit_signal@entry=true, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:713
#25 0x00007f0e38f36984 in QSortFilterProxyModelPrivate::source_items_inserted (orient=Qt::Vertical, end=<optimized out>, start=<optimized out>, source_parent=..., this=0x1f4c7e0) at itemmodels/qsortfilterproxymodel.cpp:824
#26 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x1f4c7e0, source_parent=..., start=<optimized out>, end=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1379
#27 0x00007f0e38f9978a in QMetaObject::activate (sender=sender@entry=0x1ef9970, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffb2169e20) at kernel/qobject.cpp:3717
#28 0x00007f0e38f99f87 in QMetaObject::activate (sender=sender@entry=0x1ef9970, m=m@entry=0x7f0e3919be40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffb2169e20) at kernel/qobject.cpp:3582
#29 0x00007f0e39010874 in QAbstractItemModel::rowsInserted (this=this@entry=0x1ef9970, _t1=..., _t2=146, _t3=183) at .moc/moc_qabstractitemmodel.cpp:428
#30 0x00007f0e38f11f16 in QAbstractItemModel::endInsertRows (this=this@entry=0x1ef9970) at itemmodels/qabstractitemmodel.cpp:2623
#31 0x00007f0e38f33693 in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0x1f423f0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., emit_signal=emit_signal@entry=true, orient=Qt::Vertical) at itemmodels/qsortfilterproxymodel.cpp:713
#32 0x00007f0e38f36984 in QSortFilterProxyModelPrivate::source_items_inserted (orient=Qt::Vertical, end=<optimized out>, start=<optimized out>, source_parent=..., this=0x1f423f0) at itemmodels/qsortfilterproxymodel.cpp:824
#33 QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x1f423f0, source_parent=..., start=<optimized out>, end=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1379
#34 0x00007f0e38f9978a in QMetaObject::activate (sender=sender@entry=0x1ee70f0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffb216a170) at kernel/qobject.cpp:3717
#35 0x00007f0e38f99f87 in QMetaObject::activate (sender=sender@entry=0x1ee70f0, m=m@entry=0x7f0e3919be40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=10, argv=argv@entry=0x7fffb216a170) at kernel/qobject.cpp:3582
#36 0x00007f0e39010874 in QAbstractItemModel::rowsInserted (this=this@entry=0x1ee70f0, _t1=..., _t2=146, _t3=183) at .moc/moc_qabstractitemmodel.cpp:428
#37 0x00007f0e38f11f16 in QAbstractItemModel::endInsertRows (this=this@entry=0x1ee70f0) at itemmodels/qabstractitemmodel.cpp:2623
#38 0x00007f0e34d1005c in KSelectionProxyModelPrivate::insertSelectionIntoProxy (this=this@entry=0x1f42320, selection=...) at ../../src/kselectionproxymodel.cpp:2087
#39 0x00007f0e34d10554 in KSelectionProxyModelPrivate::selectionChanged (this=0x1f42320, _selected=..., _deselected=...) at ../../src/kselectionproxymodel.cpp:1994
#40 0x00007f0e34d125c1 in KSelectionProxyModel::qt_static_metacall (_o=_o@entry=0x1ee70f0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=17, _a=_a@entry=0x7fffb216a6d0) at ./moc_kselectionproxymodel.cpp:195
#41 0x00007f0e38f9978a in QMetaObject::activate (sender=sender@entry=0x1ee9a00, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb216a6d0) at kernel/qobject.cpp:3717
#42 0x00007f0e38f99f87 in QMetaObject::activate (sender=sender@entry=0x1ee9a00, m=m@entry=0x7f0e39199120 <QItemSelectionModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fffb216a6d0) at kernel/qobject.cpp:3582
#43 0x00007f0e38f1a247 in QItemSelectionModel::selectionChanged (this=this@entry=0x1ee9a00, _t1=..., _t2=...) at .moc/moc_qitemselectionmodel.cpp:280
#44 0x00007f0e38f1e66c in QItemSelectionModel::emitSelectionChanged (this=this@entry=0x1ee9a00, newSelection=..., oldSelection=...) at itemmodels/qitemselectionmodel.cpp:1752
#45 0x00007f0e38f20ae6 in QItemSelectionModel::select (this=0x1ee9a00, selection=..., command=...) at itemmodels/qitemselectionmodel.cpp:1252
#46 0x00007f0e34cf5422 in KCheckableProxyModel::select (this=this@entry=0x1eed0b0, selection=..., command=..., command@entry=...) at ../../src/kcheckableproxymodel.cpp:132
#47 0x00007f0e34cf5bcf in KCheckableProxyModel::setData (this=0x1eed0b0, index=..., value=..., role=<optimized out>) at ../../src/kcheckableproxymodel.cpp:105
#48 0x00007f0e38f2f747 in QSortFilterProxyModel::setData (this=this@entry=0x2135430, index=..., value=..., role=role@entry=10) at itemmodels/qsortfilterproxymodel.cpp:1959
#49 0x00007f0e3bec3ff5 in ReparentingModel::setData (this=0x2135ab0, index=..., value=..., role=10) at ../../korganizer/views/collectionview/reparentingmodel.cpp:777
#50 0x00007f0e38f2f747 in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=10) at itemmodels/qsortfilterproxymodel.cpp:1959
#51 0x00007f0e38f2f747 in QSortFilterProxyModel::setData (this=this@entry=0x2135820, index=..., value=..., role=role@entry=10) at itemmodels/qsortfilterproxymodel.cpp:1959
#52 0x00007f0e3beb764e in (anonymous namespace)::CalendarDelegateModel::setData (this=0x2135820, index=..., value=..., role=10) at ../../korganizer/akonadicollectionview.cpp:477
#53 0x00007f0e38f2f747 in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=10) at itemmodels/qsortfilterproxymodel.cpp:1959
#54 0x00007f0e38f2f747 in QSortFilterProxyModel::setData (this=this@entry=0x21383a0, index=..., value=..., role=role@entry=10) at itemmodels/qsortfilterproxymodel.cpp:1959
#55 0x00007f0e39fce87c in QStyledItemDelegate::editorEvent (this=this@entry=0x2146cb0, event=event@entry=0x7fffb216b7e0, model=model@entry=0x21383a0, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:764
#56 0x00007f0e3bed441e in StyledCalendarDelegate::editorEvent (this=0x2146cb0, event=0x7fffb216b7e0, model=0x21383a0, option=..., index=...) at ../../korganizer/views/collectionview/calendardelegate.cpp:242
#57 0x00007f0e39f427d3 in QAbstractItemViewPrivate::sendDelegateEvent (this=this@entry=0x213af00, index=..., event=event@entry=0x7fffb216b7e0) at itemviews/qabstractitemview.cpp:4299
#58 0x00007f0e39f4a1fb in QAbstractItemView::edit (this=this@entry=0x213a630, index=..., trigger=trigger@entry=QAbstractItemView::NoEditTriggers, event=event@entry=0x7fffb216b7e0) at itemviews/qabstractitemview.cpp:2594
#59 0x00007f0e39f42c53 in QAbstractItemView::mouseReleaseEvent (this=this@entry=0x213a630, event=event@entry=0x7fffb216b7e0) at itemviews/qabstractitemview.cpp:1847
#60 0x00007f0e39f8cb93 in QTreeView::mouseReleaseEvent (this=0x213a630, event=0x7fffb216b7e0) at itemviews/qtreeview.cpp:1914
#61 0x00007f0e39d30188 in QWidget::event (this=this@entry=0x213a630, event=event@entry=0x7fffb216b7e0) at kernel/qwidget.cpp:9023
#62 0x00007f0e39e2a76e in QFrame::event (this=0x213a630, e=0x7fffb216b7e0) at widgets/qframe.cpp:526
#63 0x00007f0e39f4da4b in QAbstractItemView::viewportEvent (this=this@entry=0x213a630, event=event@entry=0x7fffb216b7e0) at itemviews/qabstractitemview.cpp:1689
#64 0x00007f0e39f8c20c in QTreeView::viewportEvent (this=0x213a630, event=0x7fffb216b7e0) at itemviews/qtreeview.cpp:1306
#65 0x00007f0e38f68d0c in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x1da0c00, receiver=receiver@entry=0x2139ac0, event=event@entry=0x7fffb216b7e0) at kernel/qcoreapplication.cpp:1031
#66 0x00007f0e39cedb6c in QApplicationPrivate::notify_helper (this=this@entry=0x1da0c00, receiver=receiver@entry=0x2139ac0, e=e@entry=0x7fffb216b7e0) at kernel/qapplication.cpp:3716
#67 0x00007f0e39cf3c7a in QApplication::notify (this=<optimized out>, receiver=0x2139ac0, e=0x7fffb216b7e0) at kernel/qapplication.cpp:3280
#68 0x00007f0e38f68f1b in QCoreApplication::notifyInternal (this=0x7fffb216c0a0, receiver=receiver@entry=0x2139ac0, event=event@entry=0x7fffb216b7e0) at kernel/qcoreapplication.cpp:935
#69 0x00007f0e39cf26f2 in QCoreApplication::sendSpontaneousEvent (event=0x7fffb216b7e0, receiver=0x2139ac0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#70 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x2139ac0, event=event@entry=0x7fffb216b7e0, alienWidget=alienWidget@entry=0x2139ac0, nativeWidget=0x1e018a0, buttonDown=buttonDown@entry=0x7f0e3a213a10 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2751
#71 0x00007f0e39d47440 in QWidgetWindow::handleMouseEvent (this=this@entry=0x223d100, event=event@entry=0x7fffb216bc00) at kernel/qwidgetwindow.cpp:543
#72 0x00007f0e39d4978b in QWidgetWindow::event (this=0x223d100, event=0x7fffb216bc00) at kernel/qwidgetwindow.cpp:210
#73 0x00007f0e39cedb8c in QApplicationPrivate::notify_helper (this=this@entry=0x1da0c00, receiver=receiver@entry=0x223d100, e=e@entry=0x7fffb216bc00) at kernel/qapplication.cpp:3720
#74 0x00007f0e39cf3230 in QApplication::notify (this=0x7fffb216c0a0, receiver=0x223d100, e=0x7fffb216bc00) at kernel/qapplication.cpp:3503
#75 0x00007f0e38f68f1b in QCoreApplication::notifyInternal (this=0x7fffb216c0a0, receiver=receiver@entry=0x223d100, event=event@entry=0x7fffb216bc00) at kernel/qcoreapplication.cpp:935
#76 0x00007f0e3928b3c8 in QCoreApplication::sendSpontaneousEvent (event=0x7fffb216bc00, receiver=0x223d100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#77 QGuiApplicationPrivate::processMouseEvent (e=0x3017360) at kernel/qguiapplication.cpp:1772
#78 0x00007f0e3928d005 in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x3017360) at kernel/qguiapplication.cpp:1576
#79 0x00007f0e392725b8 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572
#80 0x00007f0e184e8250 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#81 0x00007f0e2f38dff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#82 0x00007f0e2f38e250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#83 0x00007f0e2f38e2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#84 0x00007f0e38fc027f in QEventDispatcherGlib::processEvents (this=0x1ddcfa0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#85 0x00007f0e38f6675a in QEventLoop::exec (this=this@entry=0x7fffb216bf80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#86 0x00007f0e38f6e2cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#87 0x00007f0e3928300c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1510
#88 0x00007f0e39cea025 in QApplication::exec () at kernel/qapplication.cpp:2956
#89 0x000000000040971a in main (argc=1, argv=0x7fffb216c238) at ../../korganizer/main.cpp:61

Possible duplicates by query: bug 355736.

Reported using DrKonqi
Comment 1 Mike Hammond 2015-12-04 02:32:34 UTC
Created attachment 95891 [details]
New crash information added by DrKonqi

korganizer () using Qt 5.4.2

- What I was doing when the application crashed:
Toggling calendars in an environment containing mulitiple local and remote calendars (see original bug)  This crash should have better debug symbols, as I installed the .dbgsym package for korganizer, which I was unaware of when the first report was filed.

- Unusual behavior I noticed:

-- Backtrace (Reduced):
#7  0x00007f3cd4c6ea0e in KCalCore::Calendar::setupRelations(QSharedPointer<KCalCore::Incidence> const&) () from /usr/lib/x86_64-linux-gnu/libKF5CalendarCore.so.5
#8  0x00007f3cd4cad07c in KCalCore::MemoryCalendar::addIncidence(QSharedPointer<KCalCore::Incidence> const&) () from /usr/lib/x86_64-linux-gnu/libKF5CalendarCore.so.5
#9  0x00007f3cd053364c in Akonadi::CalendarBasePrivate::internalInsert (this=this@entry=0x15bb800, item=...) at ../../src/calendarbase.cpp:158
#10 0x00007f3cd0541520 in Akonadi::ETMCalendarPrivate::itemsAdded (this=this@entry=0x15bb800, items=...) at ../../src/etmcalendar.cpp:290
#11 0x00007f3cd0542822 in Akonadi::ETMCalendarPrivate::onRowsInsertedInFilteredModel (this=0x15bb800, index=..., start=<optimized out>, end=<optimized out>) at ../../src/etmcalendar.cpp:445
Comment 2 Benni Hill 2016-05-24 15:24:55 UTC

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