Bug 446378

Summary: KOrganizer crash when updating a calendar entry shortly after creating it
Product: [Applications] korganizer Reporter: Marc Joliet <marcec>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dvratil, gjditchfield
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Marc Joliet 2021-12-02 15:23:21 UTC
Application: korganizer (5.18.3 (21.08.3))

Qt Version: 5.15.2
Frameworks Version: 5.88.0
Operating System: Linux 5.15.5-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.23.3 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I had just created a calendar entry, realized I put it in the wrong calendar, then double-clicked it to edit it, did so (changing the calendar and privacy settings), clicked on "apply", after which KOrganizer crashed.  Luckily the entry was updated correctly, it seems, so no data loss.

Note that this happens sporadically, though I think the main connecting factor is editing a calendar entry immediately after creating it.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
Content of s_kcrashErrorMessage: {_M_t = {<std::__uniq_ptr_impl<char, std::default_delete<char []> >> = {_M_t = {<std::_Tuple_impl<0, char*, std::default_delete<char []> >> = {<std::_Tuple_impl<1, std::default_delete<char []> >> = {<std::_Head_base<1, std::default_delete<char []>, true>> = {_M_head_impl = {<No data fields>}}, <No data fields>}, <std::_Head_base<0, char*, false>> = {_M_head_impl = <optimized out>}, <No data fields>}, <No data fields>}}, <No data fields>}}
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x55b432abd200, proxy_index=...) at itemmodels/qsortfilterproxymodel.cpp:571
#7  0x00007fd7cf3302c9 in QSortFilterProxyModel::mapToSource (proxyIndex=..., this=0x55b432cce840) at itemmodels/qsortfilterproxymodel.cpp:3171
#8  QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1248
#9  0x00007fd7cf331d5b in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x55b432abd200, sourceParents=..., hint=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1639
#10 0x00007fd7cf39a078 in doActivate<false> (sender=0x55b432ccda00, signal_index=9, argv=0x7ffcea4f7780) at kernel/qobject.cpp:3898
#11 0x00007fd7cf39350f in QMetaObject::activate (sender=sender@entry=0x55b432ccda00, m=m@entry=0x7fd7cf637fa0 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffcea4f7780) at kernel/qobject.cpp:3946
#12 0x00007fd7cf2fdef6 in QAbstractItemModel::layoutAboutToBeChanged (this=this@entry=0x55b432ccda00, _t1=..., _t2=<optimized out>, _t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:578
#13 0x00007fd7cead0204 in IncidenceEditorNG::AttendeeTableModel::setAttendees (attendees=..., this=0x55b432ccda00) at /usr/src/debug/incidenceeditor-21.08.3-1.1.x86_64/src/attendeetablemodel.cpp:212
#14 IncidenceEditorNG::IncidenceAttendee::load (this=0x55b432abb300, incidence=...) at /usr/src/debug/incidenceeditor-21.08.3-1.1.x86_64/src/incidenceattendee.cpp:186
#15 0x00007fd7ceabb6ab in IncidenceEditorNG::CombinedIncidenceEditor::load (this=0x55b432ef4ba0, incidence=...) at /usr/src/debug/incidenceeditor-21.08.3-1.1.x86_64/src/combinedincidenceeditor.cpp:83
#16 0x00007fd7ceb11a10 in IncidenceEditorNG::IncidenceDialogPrivate::handleItemSaveFinish (saveAction=IncidenceEditorNG::EditorItemManager::Create, this=0x7fd7b801aef0) at /usr/src/debug/incidenceeditor-21.08.3-1.1.x86_64/src/incidencedialog.cpp:478
#17 IncidenceEditorNG::IncidenceDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/incidenceeditor-21.08.3-1.1.x86_64/build/src/KF5IncidenceEditor_autogen/include/moc_incidencedialog.cpp:156
#18 0x00007fd7cf39a078 in doActivate<false> (sender=0x55b432b7c910, signal_index=3, argv=0x7ffcea4f7ac0) at kernel/qobject.cpp:3898
#19 0x00007fd7cf39350f in QMetaObject::activate (sender=sender@entry=0x55b432b7c910, m=m@entry=0x7fd7ceb4fa00 <IncidenceEditorNG::EditorItemManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcea4f7ac0) at kernel/qobject.cpp:3946
#20 0x00007fd7ceabe2a3 in IncidenceEditorNG::EditorItemManager::itemSaveFinished (_t1=IncidenceEditorNG::EditorItemManager::Create, this=0x55b432b7c910) at /usr/src/debug/incidenceeditor-21.08.3-1.1.x86_64/build/src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:267
#21 IncidenceEditorNG::ItemEditorPrivate::itemFetchResult (job=<optimized out>, this=0x55b432ef4bf0) at /usr/src/debug/incidenceeditor-21.08.3-1.1.x86_64/src/editoritemmanager.cpp:123
#22 IncidenceEditorNG::EditorItemManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/incidenceeditor-21.08.3-1.1.x86_64/build/src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:131
#23 0x00007fd7cf39a078 in doActivate<false> (sender=0x55b432a917b0, signal_index=6, argv=0x7ffcea4f7c00) at kernel/qobject.cpp:3898
#24 0x00007fd7cf39350f in QMetaObject::activate (sender=sender@entry=0x55b432a917b0, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffcea4f7c00) at kernel/qobject.cpp:3946
#25 0x00007fd7d05a5c7c in KJob::result (this=this@entry=0x55b432a917b0, _t1=<optimized out>, _t1@entry=0x55b432a917b0, _t2=...) at /usr/src/debug/kcoreaddons-5.88.0-1.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#26 0x00007fd7d05aa01b in KJob::finishJob (this=0x55b432a917b0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.88.0-1.1.x86_64/src/lib/jobs/kjob.cpp:98
#27 0x00007fd7cf38ffee in QObject::event (this=0x55b432a917b0, e=0x55b43308aaf0) at kernel/qobject.cpp:1314
#28 0x00007fd7cff12a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55b432a917b0, e=0x55b43308aaf0) at kernel/qapplication.cpp:3632
#29 0x00007fd7cf3639fa in QCoreApplication::notifyInternal2 (receiver=0x55b432a917b0, event=0x55b43308aaf0) at kernel/qcoreapplication.cpp:1064
#30 0x00007fd7cf366a47 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55b431b206e0) at kernel/qcoreapplication.cpp:1821
#31 0x00007fd7cf3bb853 in postEventSourceDispatch (s=s@entry=0x55b431c79e40) at kernel/qeventdispatcher_glib.cpp:277
#32 0x00007fd7ccae5d4f in g_main_dispatch (context=0x7fd7c0005000) at ../glib/gmain.c:3381
#33 g_main_context_dispatch (context=0x7fd7c0005000) at ../glib/gmain.c:4099
#34 0x00007fd7ccae60d8 in g_main_context_iterate (context=context@entry=0x7fd7c0005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#35 0x00007fd7ccae618f in g_main_context_iteration (context=0x7fd7c0005000, may_block=1) at ../glib/gmain.c:4240
#36 0x00007fd7cf3baed4 in QEventDispatcherGlib::processEvents (this=0x55b431c85400, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#37 0x00007fd7cf3623fb in QEventLoop::exec (this=this@entry=0x7ffcea4f8010, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#38 0x00007fd7cf36a6e0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#39 0x00007fd7cf7b418c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#40 0x00007fd7cff129f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#41 0x000055b43141450c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/korganizer-21.08.3-1.1.x86_64/src/main.cpp:63
[Inferior 1 (process 10851) detached]

The reporter indicates this bug may be a duplicate of or related to bug 443214.

Possible duplicates by query: bug 444543, bug 443214, bug 434282, bug 428888, bug 413978.

Reported using DrKonqi
Comment 1 Daniel Vrátil 2023-10-14 09:01:04 UTC

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