Bug 462782

Summary: Crash on event creation with multiple custom reminders
Product: [Applications] kontact Reporter: pmanousis <pmanousis>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dvratil
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description pmanousis 2022-12-08 13:47:32 UTC
Application: kontact (5.21.3 (22.08.3))

Qt Version: 5.15.7
Frameworks Version: 5.100.0
Operating System: Linux 6.0.10-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
I tried to create a new event (right click create event after seeing the extra info that is provided via pressing shift) that had 2 reminders that are custom ones (15 and 30 days before the due date), and which also contains an inline attachment (pdf) and a small description of what the event is about. When I clicked "apply", the app crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault

[KCrash Handler]
#4  QSortFilterProxyModelPrivate::proxy_to_source (this=0x5580848d01b0, proxy_index=...) at itemmodels/qsortfilterproxymodel.cpp:571
#5  0x00007f9aa24a7e22 in QSortFilterProxyModel::mapToSource (proxyIndex=..., this=0x55808a05abc0) at itemmodels/qsortfilterproxymodel.cpp:3171
#6  QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1248
#7  0x00007f9aa24a997b in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x5580848d01b0, sourceParents=..., hint=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1639
#8  0x00007f9aa251354c in doActivate<false> (sender=0x55808633c310, signal_index=9, argv=0x7ffdf8cf8cb0) at kernel/qobject.cpp:3931
#9  0x00007f9aa250c74f in QMetaObject::activate (sender=sender@entry=0x55808633c310, m=m@entry=0x7f9aa27b1d40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffdf8cf8cb0) at kernel/qobject.cpp:3979
#10 0x00007f9aa2476316 in QAbstractItemModel::layoutAboutToBeChanged (this=this@entry=0x55808633c310, _t1=..., _t2=<optimized out>, _t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:578
#11 0x00007f9a4418ac14 in IncidenceEditorNG::AttendeeTableModel::setAttendees (attendees=..., this=0x55808633c310) at /usr/src/debug/incidenceeditor-22.08.3/src/attendeetablemodel.cpp:213
#12 IncidenceEditorNG::IncidenceAttendee::load (this=0x5580863399e0, incidence=...) at /usr/src/debug/incidenceeditor-22.08.3/src/incidenceattendee.cpp:183
#13 0x00007f9a4417adca in IncidenceEditorNG::CombinedIncidenceEditor::load (this=this@entry=0x558087f3eb00, incidence=...) at /usr/src/debug/incidenceeditor-22.08.3/src/combinedincidenceeditor.cpp:83
#14 0x00007f9a441d58d1 in IncidenceEditorNG::IncidenceDialogPrivate::handleItemSaveFinish (saveAction=IncidenceEditorNG::EditorItemManager::Create, this=0x55808713da60) at /usr/src/debug/incidenceeditor-22.08.3/src/incidencedialog.cpp:484
#15 IncidenceEditorNG::IncidenceDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/incidenceeditor-22.08.3/build/src/KF5IncidenceEditor_autogen/include/moc_incidencedialog.cpp:156
#16 0x00007f9aa251354c in doActivate<false> (sender=0x55808a1d8d30, signal_index=3, argv=0x7ffdf8cf9070) at kernel/qobject.cpp:3931
#17 0x00007f9aa250c74f in QMetaObject::activate (sender=sender@entry=0x55808a1d8d30, m=m@entry=0x7f9a4420a8a0 <IncidenceEditorNG::EditorItemManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdf8cf9070) at kernel/qobject.cpp:3979
#18 0x00007f9a4417ed88 in IncidenceEditorNG::EditorItemManager::itemSaveFinished (_t1=IncidenceEditorNG::EditorItemManager::Create, this=0x55808a1d8d30) at /usr/src/debug/incidenceeditor-22.08.3/build/src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:267
#19 IncidenceEditorNG::ItemEditorPrivate::itemFetchResult (job=<optimized out>, this=0x55808644ae10) at /usr/src/debug/incidenceeditor-22.08.3/src/editoritemmanager.cpp:125
#20 IncidenceEditorNG::EditorItemManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/incidenceeditor-22.08.3/build/src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:131
#21 0x00007f9aa251354c in doActivate<false> (sender=0x55808e1331d0, signal_index=6, argv=0x7ffdf8cf91a0) at kernel/qobject.cpp:3931
#22 0x00007f9aa250c74f in QMetaObject::activate (sender=sender@entry=0x55808e1331d0, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffdf8cf91a0) at kernel/qobject.cpp:3979
#23 0x00007f9aa3a1fbc5 in KJob::result (this=this@entry=0x55808e1331d0, _t1=<optimized out>, _t1@entry=0x55808e1331d0, _t2=...) at /usr/src/debug/kcoreaddons-5.100.0/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#24 0x00007f9aa3a23e2b in KJob::finishJob (this=0x55808e1331d0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.100.0/src/lib/jobs/kjob.cpp:98
#25 0x00007f9aa2507c40 in QObject::event (this=0x55808e1331d0, e=0x55808e694740) at kernel/qobject.cpp:1347
#26 0x00007f9aa31a53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55808e1331d0, e=0x55808e694740) at kernel/qapplication.cpp:3637
#27 0x00007f9aa24dc128 in QCoreApplication::notifyInternal2 (receiver=0x55808e1331d0, event=0x55808e694740) at kernel/qcoreapplication.cpp:1064
#28 0x00007f9aa24df0c1 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5580819e8430) at kernel/qcoreapplication.cpp:1821
#29 0x00007f9aa2534353 in postEventSourceDispatch (s=0x558081bb09c0) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f9a9931ca90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x00007f9a9931ce48 in ?? () from /lib64/libglib-2.0.so.0
#32 0x00007f9a9931cedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x00007f9aa2533b56 in QEventDispatcherGlib::processEvents (this=0x558081bafe40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f9aa24dab9b in QEventLoop::exec (this=this@entry=0x7ffdf8cf9590, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#35 0x00007f9aa24e2d06 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x000055808025b04d in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kontact-22.08.3/src/main.cpp:215
[Inferior 1 (process 2602) detached]

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

Reported using DrKonqi
Comment 1 Daniel Vrátil 2023-10-14 08:58:05 UTC

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