Summary: | KOrganizer segmentation fault when creating new caldendar event with multiple reminders | ||
---|---|---|---|
Product: | [Applications] korganizer | Reporter: | James Beddek <telans> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | bugrprt21882, dvratil, gjditchfield |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | New crash information added by DrKonqi |
Description
James Beddek
2021-10-02 02:28:56 UTC
Note: Application and all libraries are compiled with Clang v12.0.1 with flags "-march=znver2 -O3 -glldb -pipe" Updated trace: Application: KOrganizer (korganizer), signal: Segmentation fault [KCrash Handler] #4 QSortFilterProxyModel::parent (this=0x2200af0, child=...) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/itemmodels/qsortfilterproxymodel.cpp:2219 #5 0x00007fef10e0274e in QModelIndex::parent (this=0x7ffed5f2ecd0) at .moc/../../../../qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/itemmodels/qabstractitemmodel.h:443 #6 QPersistentModelIndex::parent (this=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/itemmodels/qabstractitemmodel.cpp:378 #7 0x00007fef10e14ee8 in QItemSelectionRange::parent (this=0x7ffed5f2ed38) at .moc/../../../../qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/itemmodels/qitemselectionmodel.h:88 #8 QItemSelectionModelPrivate::_q_layoutAboutToBeChanged (this=0x3271cb0, hint=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/itemmodels/qitemselectionmodel.cpp:897 #9 0x00007fef10e83dae in doActivate<false> (sender=0x2200af0, signal_index=9, argv=0x7ffed5f2ee50) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qobject.cpp:3898 #10 0x00007fef10e0d796 in QAbstractItemModel::layoutAboutToBeChanged (this=0x7ffed5f2ece8, _t1=..., _t2=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:578 #11 0x00007fef10e2d9ec in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x2e6e760, sourceParents=..., hint=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/itemmodels/qsortfilterproxymodel.cpp:1635 #12 0x00007fef10e83dae in doActivate<false> (sender=0x326cda0, signal_index=9, argv=0x7ffed5f2efb0) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qobject.cpp:3898 #13 0x00007fef10e0d796 in QAbstractItemModel::layoutAboutToBeChanged (this=0x7ffed5f2ece8, _t1=..., _t2=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:578 #14 0x00007fef1063b1d4 in IncidenceEditorNG::AttendeeTableModel::setAttendees (this=0x326cda0, attendees=...) at /usr/src/debug/kde-apps/incidenceeditor-21.08.1/incidenceeditor-21.08.1/src/attendeetablemodel.cpp:212 #15 0x00007fef1066d700 in IncidenceEditorNG::IncidenceAttendee::load (this=0x326a950, incidence=...) at /usr/src/debug/kde-apps/incidenceeditor-21.08.1/incidenceeditor-21.08.1/src/incidenceattendee.cpp:186 #16 0x00007fef10658225 in IncidenceEditorNG::CombinedIncidenceEditor::load (this=0x2dc02c0, incidence=...) at /usr/src/debug/kde-apps/incidenceeditor-21.08.1/incidenceeditor-21.08.1/src/combinedincidenceeditor.cpp:83 #17 0x00007fef106daf73 in IncidenceEditorNG::IncidenceDialogPrivate::handleItemSaveFinish (this=0x2dbd180, saveAction=IncidenceEditorNG::EditorItemManager::Create) at /usr/src/debug/kde-apps/incidenceeditor-21.08.1/incidenceeditor-21.08.1/src/incidencedialog.cpp:478 #18 0x00007fef106de305 in IncidenceEditorNG::IncidenceDialog::qt_static_metacall (_o=0x2dc0ca0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7ffed5f2f540) at src/KF5IncidenceEditor_autogen/include/moc_incidencedialog.cpp:156 #19 0x00007fef10e83dae in doActivate<false> (sender=0x2daab30, signal_index=3, argv=0x7ffed5f2f540) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qobject.cpp:3898 #20 0x00007fef10651d92 in IncidenceEditorNG::EditorItemManager::itemSaveFinished (this=0x2daab30, _t1=IncidenceEditorNG::EditorItemManager::Create) at src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:267 #21 0x00007fef10651c22 in IncidenceEditorNG::ItemEditorPrivate::itemFetchResult (this=0x2dbcf30, job=0x2f264d0) at /usr/src/debug/kde-apps/incidenceeditor-21.08.1/incidenceeditor-21.08.1/src/editoritemmanager.cpp:123 #22 0x00007fef10653b23 in IncidenceEditorNG::EditorItemManager::qt_static_metacall (_o=0x2daab30, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x7ffed5f2f780) at src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:131 #23 0x00007fef10e83dae in doActivate<false> (sender=0x2f264d0, signal_index=6, argv=0x7ffed5f2f780) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qobject.cpp:3898 #24 0x00007fef11d9ea63 in KJob::result (this=0x2f264d0, _t1=0x2f264d0, _t2=...) at src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:631 #25 0x00007fef11d9e9eb in KJob::finishJob (this=0x2f264d0, emitResult=true) at /usr/src/debug/kde-frameworks/kcoreaddons-5.86.0/kcoreaddons-5.86.0/src/lib/jobs/kjob.cpp:97 #26 0x00007fef11d9f801 in KJob::emitResult (this=0x2f264d0) at /usr/src/debug/kde-frameworks/kcoreaddons-5.86.0/kcoreaddons-5.86.0/src/lib/jobs/kjob.cpp:310 #27 0x00007fef10e786fa in QObject::event (this=0x2f264d0, e=0x7feef807e910) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qobject.cpp:1314 #28 0x00007fef1180b720 in QApplicationPrivate::notify_helper (this=<optimized out>, this@entry=0x1f51450, receiver=receiver@entry=0x2f264d0, e=e@entry=0x7feef807e910) at /usr/src/debug/dev-qt/qtwidgets-5.15.2-r11/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/widgets/kernel/qapplication.cpp:3632 #29 0x00007fef1180ca9f in QApplication::notify (this=<optimized out>, receiver=0x2f264d0, e=0x7feef807e910) at /usr/src/debug/dev-qt/qtwidgets-5.15.2-r11/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/widgets/kernel/qapplication.cpp:2971 #30 0x00007fef10e5068f in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x2f264d0, event=<optimized out>, event@entry=0x7feef807e910) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qcoreapplication.cpp:1064 #31 0x00007fef10e51587 in QCoreApplication::sendEvent (receiver=0x2f264d0, event=0x7feef807e910) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qcoreapplication.cpp:1462 #32 QCoreApplicationPrivate::sendPostedEvents (receiver=<optimized out>, event_type=0, data=<optimized out>) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qcoreapplication.cpp:1821 #33 0x00007fef10ea2c03 in postEventSourceDispatch (s=0x1f964e0) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qeventdispatcher_glib.cpp:277 #34 0x00007fef0e404e80 in g_main_dispatch (context=<optimized out>) at ../glib-2.70.0/glib/gmain.c:3381 #35 g_main_context_dispatch (context=context@entry=0x7fef04005000) at ../glib-2.70.0/glib/gmain.c:4099 #36 0x00007fef0e4051d2 in g_main_context_iterate (context=context@entry=0x7fef04005000, block=<optimized out>, block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.70.0/glib/gmain.c:4175 #37 0x00007fef0e405280 in g_main_context_iteration (context=0x7fef04005000, may_block=1) at ../glib-2.70.0/glib/gmain.c:4240 #38 0x00007fef10ea26e8 in QEventDispatcherGlib::processEvents (this=0x1fa0bb0, flags=...) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qeventdispatcher_glib.cpp:423 #39 0x00007fef10e4cdf6 in QEventLoop::processEvents (this=0x7ffed5f2fdf0, flags=...) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qeventloop.cpp:139 #40 QEventLoop::exec (this=0x7ffed5f2fdf0, flags=...) at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qeventloop.cpp:232 #41 0x00007fef10e50c31 in QCoreApplication::exec () at /usr/src/debug/dev-qt/qtcore-5.15.2-r10/qtbase-c2ea67ecefe049f6e9bb8f910d7f9c60319d8619/src/corelib/kernel/qcoreapplication.cpp:1375 #42 0x000000000020e8df in main (argc=1, argv=0x7ffed5f2fff8) at /usr/src/debug/kde-apps/korganizer-21.08.1/korganizer-21.08.1/src/main.cpp:63 [Inferior 1 (process 1152806) detached] This is hard to reproduce, of course. I have a few questions. - Step 3: do you close by clicking OK, or Cancel, or ... ? - "10% chance": is that 10% of event creations, or of reminder modifications? - The crash seems to start with a call to IncidenceEditorNG::AttendeeTableModel::setAttendees. Did your events have any attendees? (Note: bug 428888 and bug 413978 also have setAttendees in their stack traces.) > - Step 3: do you close by clicking OK, or Cancel, or ... ? I thought it was through OK, but I just replicated it with "Cancel" so I assume it's that > - "10% chance": is that 10% of event creations, or of reminder modifications? I should have clarified, a 10% chance of the application crashing, although the event is still created with all reminders in place. > - The crash seems to start with a call to IncidenceEditorNG::AttendeeTableModel::setAttendees. Did your events have any attendees? I haven't added any attendees, however this crash seems very reproducible just by clicking on the "Status" and "Response" selections for a blank attendee without changing anything. Perhaps try this before adding the reminders? Cheers (In reply to James Beddek from comment #3) > ... however this crash seems very reproducible > just by clicking on the "Status" and "Response" selections for a blank > attendee without changing anything. Perhaps try this before adding the > reminders? Crash on my first try. Progress, of a sort! Bug 446378 is another setAttendees() crash. Created attachment 153767 [details]
New crash information added by DrKonqi
kontact (5.19.3 (21.12.3)) using Qt 5.15.2
- What I was doing when the application crashed:
Adding a meeting member as Leader of the meeting.
* Possibly the instability is affected by IncidenceEditorNG::AttendeeTableModel::setAttendees
-- Backtrace (Reduced):
#6 0x00007f9e372769c2 in QSortFilterProxyModel::parent(QModelIndex const&) const (this=0x558d9332c3b0, child=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:2219
#7 0x00007f9e3724877f in QModelIndex::parent() const (this=<optimized out>) at itemmodels/qabstractitemmodel.h:443
#8 QPersistentModelIndex::parent() const (this=this@entry=0x7ffc19c9b0d0) at itemmodels/qabstractitemmodel.cpp:378
#9 0x00007f9e3725833f in mergeIndexes(QVector<QPersistentModelIndex> const&) (indexes=...) at itemmodels/qitemselectionmodel.cpp:980
#10 0x00007f9e3725e2a8 in QItemSelectionModelPrivate::_q_layoutChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) (this=0x558d9b006a70, hint=<optimized out>) at itemmodels/qitemselectionmodel.cpp:1088
*** This bug has been marked as a duplicate of bug 428888 *** |