Bug 460940

Summary: Korganizer crashes while adding an event and using the "apply" button
Product: [Applications] korganizer Reporter: Kryštof Jelínek <krystof186>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: 7.on.off, dvratil
Priority: NOR    
Version: 5.22.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kryštof Jelínek 2022-10-24 13:23:57 UTC
Application: korganizer (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.76.0
Operating System: Linux 5.3.18-150300.59.93-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.3"

-- Information about the crash:
- What I was doing when the application crashed:

Adding an event with reminders, then clicked "apply". At that moment, Korganizer crashed. However, the event was saved.

The crash can be reproduced every time.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault
[KCrash Handler]
#4  0x00007f5fc8caaa02 in QSortFilterProxyModel::parent (this=0x55a997162be0, child=...) at itemmodels/qsortfilterproxymodel.cpp:2157
#5  0x00007f5fc8c823cf in QModelIndex::parent (this=<optimized out>) at itemmodels/qabstractitemmodel.h:441
#6  QPersistentModelIndex::parent (this=this@entry=0x7fff422f53d0) at itemmodels/qabstractitemmodel.cpp:373
#7  0x00007f5fc8c9417c in QItemSelectionRange::parent (this=0x7fff422f53d0) at itemmodels/qitemselectionmodel.h:90
#8  QItemSelectionModelPrivate::_q_layoutAboutToBeChanged (this=0x55a997ee4a90, hint=QAbstractItemModel::NoLayoutChangeHint) at itemmodels/qitemselectionmodel.cpp:895
#9  0x00007f5fc8c98f33 in QItemSelectionModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qitemselectionmodel.cpp:270
#10 0x00007f5fc8d09e75 in QMetaObject::activate (sender=sender@entry=0x55a997162be0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff422f55c0) at kernel/qobject.cpp:3804
#11 0x00007f5fc8d0a587 in QMetaObject::activate (sender=sender@entry=0x55a997162be0, m=m@entry=0x7f5fc9187520 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff422f55c0) at kernel/qobject.cpp:3657
#12 0x00007f5fc8c815f6 in QAbstractItemModel::layoutAboutToBeChanged (this=this@entry=0x55a997162be0, _t1=..., _t2=<optimized out>, _t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:577
#13 0x00007f5fc8caa6f7 in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x55a997ed8e50, sourceParents=..., hint=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1574
#14 0x00007f5fc8cb0d63 in QSortFilterProxyModel::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qsortfilterproxymodel.cpp:228
#15 0x00007f5fc8d09e75 in QMetaObject::activate (sender=sender@entry=0x55a997ed6d80, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff422f57c0) at kernel/qobject.cpp:3804
#16 0x00007f5fc8d0a587 in QMetaObject::activate (sender=sender@entry=0x55a997ed6d80, m=m@entry=0x7f5fc9187520 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff422f57c0) at kernel/qobject.cpp:3657
#17 0x00007f5fc8c815f6 in QAbstractItemModel::layoutAboutToBeChanged (this=this@entry=0x55a997ed6d80, _t1=..., _t2=<optimized out>, _t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:577
#18 0x00007f5fc72db788 in IncidenceEditorNG::AttendeeTableModel::setAttendees (this=0x55a997ed6d80, attendees=...) at /usr/src/debug/incidenceeditor-20.04.2-bp153.2.2.1.x86_64/src/attendeetablemodel.cpp:230
#19 0x00007f5fc72fd75d in IncidenceEditorNG::IncidenceAttendee::load (this=0x55a997ed4d20, incidence=...) at /usr/src/debug/incidenceeditor-20.04.2-bp153.2.2.1.x86_64/src/incidenceattendee.cpp:231
#20 0x00007f5fc72ed57a in IncidenceEditorNG::CombinedIncidenceEditor::load (this=this@entry=0x55a99719a2d0, incidence=...) at /usr/src/debug/incidenceeditor-20.04.2-bp153.2.2.1.x86_64/src/combinedincidenceeditor.cpp:98
#21 0x00007f5fc734e530 in IncidenceEditorNG::IncidenceDialogPrivate::handleItemSaveFinish (this=0x55a9975b9cd0, saveAction=IncidenceEditorNG::EditorItemManager::Create) at /usr/src/debug/incidenceeditor-20.04.2-bp153.2.2.1.x86_64/src/incidencedialog.cpp:532
#22 0x00007f5fc7350107 in IncidenceEditorNG::IncidenceDialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/incidenceeditor-20.04.2-bp153.2.2.1.x86_64/build/src/KF5IncidenceEditor_autogen/include/moc_incidencedialog.cpp:155
#23 0x00007f5fc8d09e75 in QMetaObject::activate (sender=sender@entry=0x55a997182830, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff422f5b50) at kernel/qobject.cpp:3804
#24 0x00007f5fc8d0a587 in QMetaObject::activate (sender=sender@entry=0x55a997182830, m=m@entry=0x7f5fc759a420 <IncidenceEditorNG::EditorItemManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff422f5b50) at kernel/qobject.cpp:3657
#25 0x00007f5fc72ead2c in IncidenceEditorNG::EditorItemManager::itemSaveFinished (_t1=<optimized out>, this=0x55a997182830) at /usr/src/debug/incidenceeditor-20.04.2-bp153.2.2.1.x86_64/build/src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:266
#26 IncidenceEditorNG::ItemEditorPrivate::itemFetchResult (this=0x55a99752e070, job=<optimized out>) at /usr/src/debug/incidenceeditor-20.04.2-bp153.2.2.1.x86_64/src/editoritemmanager.cpp:144
#27 0x00007f5fc72eafc0 in IncidenceEditorNG::EditorItemManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/incidenceeditor-20.04.2-bp153.2.2.1.x86_64/build/src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:130
#28 0x00007f5fc8d09e75 in QMetaObject::activate (sender=sender@entry=0x55a99807db20, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff422f5d30) at kernel/qobject.cpp:3804
#29 0x00007f5fc8d0a587 in QMetaObject::activate (sender=sender@entry=0x55a99807db20, m=m@entry=0x7f5fca775580 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff422f5d30) at kernel/qobject.cpp:3657
#30 0x00007f5fca5159ec in KJob::result (this=this@entry=0x55a99807db20, _t1=<optimized out>, _t1@entry=0x55a99807db20, _t2=...) at /usr/src/debug/kcoreaddons-5.76.0-bp153.2.2.1.x86_64/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:575
#31 0x00007f5fca516551 in KJob::finishJob (this=0x55a99807db20, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.76.0-bp153.2.2.1.x86_64/src/lib/jobs/kjob.cpp:93
#32 0x00007f5fc8d16e44 in QtPrivate::QSlotObjectBase::call (a=0x7fff422f5d90, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#33 QSingleShotTimer::timerEvent (this=0x55a9981d1670) at kernel/qtimer.cpp:318
#34 0x00007f5fc8d0a9db in QObject::event (this=0x55a9981d1670, e=<optimized out>) at kernel/qobject.cpp:1283
#35 0x00007f5fc9dc8f9c in QApplicationPrivate::notify_helper (this=this@entry=0x55a996db17b0, receiver=receiver@entry=0x55a9981d1670, e=e@entry=0x7fff422f60d0) at kernel/qapplication.cpp:3701
#36 0x00007f5fc9dd05b0 in QApplication::notify (this=0x7fff422f6400, receiver=0x55a9981d1670, e=0x7fff422f60d0) at kernel/qapplication.cpp:3447
#37 0x00007f5fc8cda368 in QCoreApplication::notifyInternal2 (receiver=0x55a9981d1670, event=0x7fff422f60d0) at kernel/qcoreapplication.cpp:1088
#38 0x00007f5fc8d36859 in QTimerInfoList::activateTimers (this=0x55a996f09e70) at kernel/qtimerinfo_unix.cpp:643
#39 0x00007f5fc8d37021 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#40 0x00007f5fbdc31624 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#41 0x00007f5fbdc319c0 in ?? () from /usr/lib64/libglib-2.0.so.0
#42 0x00007f5fbdc31a4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#43 0x00007f5fc8d373ef in QEventDispatcherGlib::processEvents (this=0x55a996f09930, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#44 0x00007f5fc8cd85ba in QEventLoop::exec (this=this@entry=0x7fff422f6320, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#45 0x00007f5fc8ce17c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#46 0x000055a995e6e647 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/korganizer-20.04.2-bp153.2.2.1.x86_64/src/main.cpp:64
[Inferior 1 (process 1325) detached]

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

Possible duplicates by query: bug 443214, bug 441995, bug 420497, bug 419920, bug 410036.
Comment 1 Daniel Vrátil 2023-10-14 08:59:15 UTC

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