<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>446378</bug_id>
          
          <creation_ts>2021-12-02 15:23:21 +0000</creation_ts>
          <short_desc>KOrganizer crash when updating a calendar entry shortly after creating it</short_desc>
          <delta_ts>2023-10-14 09:01:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>korganizer</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>428888</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Marc Joliet">marcec</reporter>
          <assigned_to name="kdepim bugs">pim-bugs-null</assigned_to>
          <cc>dvratil</cc>
    
    <cc>gjditchfield</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2082153</commentid>
    <comment_count>0</comment_count>
    <who name="Marc Joliet">marcec</who>
    <bug_when>2021-12-02 15:23:21 +0000</bug_when>
    <thetext>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 &quot;apply&quot;, 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 = {&lt;std::__uniq_ptr_impl&lt;char, std::default_delete&lt;char []&gt; &gt;&gt; = {_M_t = {&lt;std::_Tuple_impl&lt;0, char*, std::default_delete&lt;char []&gt; &gt;&gt; = {&lt;std::_Tuple_impl&lt;1, std::default_delete&lt;char []&gt; &gt;&gt; = {&lt;std::_Head_base&lt;1, std::default_delete&lt;char []&gt;, true&gt;&gt; = {_M_head_impl = {&lt;No data fields&gt;}}, &lt;No data fields&gt;}, &lt;std::_Head_base&lt;0, char*, false&gt;&gt; = {_M_head_impl = &lt;optimized out&gt;}, &lt;No data fields&gt;}, &lt;No data fields&gt;}}, &lt;No data fields&gt;}}
[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=&lt;optimized out&gt;) at itemmodels/qsortfilterproxymodel.cpp:1248
#9  0x00007fd7cf331d5b in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x55b432abd200, sourceParents=..., hint=&lt;optimized out&gt;) at itemmodels/qsortfilterproxymodel.cpp:1639
#10 0x00007fd7cf39a078 in doActivate&lt;false&gt; (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 &lt;QAbstractItemModel::staticMetaObject&gt;, 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=&lt;optimized out&gt;, _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=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=&lt;optimized out&gt;) 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&lt;false&gt; (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 &lt;IncidenceEditorNG::EditorItemManager::staticMetaObject&gt;, 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, _c=&lt;optimized out&gt;, _id=&lt;optimized out&gt;, _a=&lt;optimized out&gt;) 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&lt;false&gt; (sender=0x55b432a917b0, signal_index=6, argv=0x7ffcea4f7c00) at kernel/qobject.cpp:3898
#24 0x00007fd7cf39350f in QMetaObject::activate (sender=sender@entry=0x55b432a917b0, m=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, _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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2258860</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Vrátil">dvratil</who>
    <bug_when>2023-10-14 09:01:04 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 428888 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>