Bug 465625 - KOrganizer crashes immediately after creating a calendar event
Summary: KOrganizer crashes immediately after creating a calendar event
Status: RESOLVED DUPLICATE of bug 428888
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-02-12 15:07 UTC by Marc Joliet
Modified: 2023-10-14 08:58 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (8.51 KB, text/plain)
2023-04-10 07:42 UTC, Felipe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Joliet 2023-02-12 15:07:09 UTC
Application: korganizer (5.22.2 (22.12.2))

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.10-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
I was creating a calendar event and after finishing adding all the attributes I wanted (reminders, tags, etc.) hit "Apply", immediately after which KOrganizer crashed.  When I restarted it, the calendar entry had been succesfully created, with all the attributes intact.  There are several bugs that look similar (including one I created), but I'm not confident enough to determine whether they are actually identical or not.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault

[KCrash Handler]
#4  QSortFilterProxyModelPrivate::proxy_to_source (this=0x558fdfd08a90, proxy_index=...) at itemmodels/qsortfilterproxymodel.cpp:571
#5  0x00007f7cfa0a7ee2 in QSortFilterProxyModel::mapToSource (proxyIndex=..., this=0x558fe0176070) at itemmodels/qsortfilterproxymodel.cpp:3171
#6  QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1248
#7  0x00007f7cfa0a9a3b in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x558fdfd08a90, sourceParents=..., hint=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1639
#8  0x00007f7cfa11360c in doActivate<false> (sender=0x558fe0174700, signal_index=9, argv=0x7ffd02e1c390) at kernel/qobject.cpp:3935
#9  0x00007f7cfa10c80f in QMetaObject::activate (sender=sender@entry=0x558fe0174700, m=m@entry=0x7f7cfa3b1d40 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7ffd02e1c390) at kernel/qobject.cpp:3983
#10 0x00007f7cfa0763d6 in QAbstractItemModel::layoutAboutToBeChanged (this=this@entry=0x558fe0174700, _t1=..., _t2=<optimized out>, _t2@entry=QAbstractItemModel::NoLayoutChangeHint) at .moc/moc_qabstractitemmodel.cpp:578
#11 0x00007f7cf9d7b104 in IncidenceEditorNG::AttendeeTableModel::setAttendees (attendees=..., this=0x558fe0174700) at /usr/src/debug/incidenceeditor-22.12.2/src/attendeetablemodel.cpp:213
#12 IncidenceEditorNG::IncidenceAttendee::load (this=0x558fe0174010, incidence=...) at /usr/src/debug/incidenceeditor-22.12.2/src/incidenceattendee.cpp:184
#13 0x00007f7cf9d6b9ea in IncidenceEditorNG::CombinedIncidenceEditor::load (this=this@entry=0x558fdf019b70, incidence=...) at /usr/src/debug/incidenceeditor-22.12.2/src/combinedincidenceeditor.cpp:83
#14 0x00007f7cf9dc6040 in IncidenceEditorNG::IncidenceDialogPrivate::handleItemSaveFinish (saveAction=IncidenceEditorNG::EditorItemManager::Create, this=0x558fdfbe44f0) at /usr/src/debug/incidenceeditor-22.12.2/src/incidencedialog.cpp:526
#15 operator() (action=IncidenceEditorNG::EditorItemManager::Create, __closure=<optimized out>) at /usr/src/debug/incidenceeditor-22.12.2/src/incidencedialog.cpp:183
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<IncidenceEditorNG::EditorItemManager::SaveAction>, void, IncidenceEditorNG::IncidenceDialogPrivate::IncidenceDialogPrivate(Akonadi::IncidenceChanger*, IncidenceEditorNG::IncidenceDialog*)::<lambda(IncidenceEditorNG::EditorItemManager::SaveAction)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#17 QtPrivate::Functor<IncidenceEditorNG::IncidenceDialogPrivate::IncidenceDialogPrivate(Akonadi::IncidenceChanger*, IncidenceEditorNG::IncidenceDialog*)::<lambda(IncidenceEditorNG::EditorItemManager::SaveAction)>, 1>::call<QtPrivate::List<IncidenceEditorNG::EditorItemManager::SaveAction>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#18 QtPrivate::QFunctorSlotObject<IncidenceEditorNG::IncidenceDialogPrivate::IncidenceDialogPrivate(Akonadi::IncidenceChanger*, IncidenceEditorNG::IncidenceDialog*)::<lambda(IncidenceEditorNG::EditorItemManager::SaveAction)>, 1, QtPrivate::List<IncidenceEditorNG::EditorItemManager::SaveAction>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#19 0x00007f7cfa11338d in QtPrivate::QSlotObjectBase::call (a=0x7ffd02e1c740, r=0x558fdfbe4f20, this=0x558fe0207fc0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#20 doActivate<false> (sender=0x558fdeed10e0, signal_index=3, argv=0x7ffd02e1c740) at kernel/qobject.cpp:3923
#21 0x00007f7cfa10c80f in QMetaObject::activate (sender=sender@entry=0x558fdeed10e0, m=m@entry=0x7f7cf9dfa8c0 <IncidenceEditorNG::EditorItemManager::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd02e1c740) at kernel/qobject.cpp:3983
#22 0x00007f7cf9d6f182 in IncidenceEditorNG::EditorItemManager::itemSaveFinished (_t1=IncidenceEditorNG::EditorItemManager::Create, this=0x558fdeed10e0) at /usr/src/debug/incidenceeditor-22.12.2/build/src/KF5IncidenceEditor_autogen/include/moc_editoritemmanager.cpp:171
#23 IncidenceEditorNG::ItemEditorPrivate::itemFetchResult (job=<optimized out>, this=0x558fdf990aa0) at /usr/src/debug/incidenceeditor-22.12.2/src/editoritemmanager.cpp:127
#24 operator() (job=<optimized out>, __closure=<optimized out>) at /usr/src/debug/incidenceeditor-22.12.2/src/editoritemmanager.cpp:297
#25 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, IncidenceEditorNG::EditorItemManager::load(const Akonadi::Item&)::<lambda(KJob*)> >::call (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#26 QtPrivate::Functor<IncidenceEditorNG::EditorItemManager::load(const Akonadi::Item&)::<lambda(KJob*)>, 1>::call<QtPrivate::List<KJob*>, void> (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#27 QtPrivate::QFunctorSlotObject<IncidenceEditorNG::EditorItemManager::load(const Akonadi::Item&)::<lambda(KJob*)>, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#28 0x00007f7cfa11338d in QtPrivate::QSlotObjectBase::call (a=0x7ffd02e1c870, r=0x558fdeed10e0, this=0x558fdf5c3810) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#29 doActivate<false> (sender=0x558fdfc14fd0, signal_index=6, argv=0x7ffd02e1c870) at kernel/qobject.cpp:3923
#30 0x00007f7cfa10c80f in QMetaObject::activate (sender=sender@entry=0x558fdfc14fd0, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd02e1c870) at kernel/qobject.cpp:3983
#31 0x00007f7cfb49be15 in KJob::result (this=this@entry=0x558fdfc14fd0, _t1=<optimized out>, _t1@entry=0x558fdfc14fd0, _t2=...) at /usr/src/debug/kcoreaddons-5.102.0/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#32 0x00007f7cfb4a007b in KJob::finishJob (this=0x558fdfc14fd0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.102.0/src/lib/jobs/kjob.cpp:98
#33 0x00007f7cfa107d00 in QObject::event (this=0x558fdfc14fd0, e=0x558fe03cc4b0) at kernel/qobject.cpp:1347
#34 0x00007f7cfada544e in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x558fdfc14fd0, e=0x558fe03cc4b0) at kernel/qapplication.cpp:3640
#35 0x00007f7cfa0dc1e8 in QCoreApplication::notifyInternal2 (receiver=0x558fdfc14fd0, event=0x558fe03cc4b0) at kernel/qcoreapplication.cpp:1064
#36 0x00007f7cfa0df181 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x558fdea45090) at kernel/qcoreapplication.cpp:1821
#37 0x00007f7cfa134413 in postEventSourceDispatch (s=0x558fdeba3740) at kernel/qeventdispatcher_glib.cpp:277
#38 0x00007f7cf791ba90 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#39 0x00007f7cf791be48 in ?? () from /lib64/libglib-2.0.so.0
#40 0x00007f7cf791bedc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#41 0x00007f7cfa133c16 in QEventDispatcherGlib::processEvents (this=0x558fdeba4350, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#42 0x00007f7cfa0dac5b in QEventLoop::exec (this=this@entry=0x7ffd02e1cc60, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#43 0x00007f7cfa0e2dc6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#44 0x0000558fde629512 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/korganizer-22.12.2/src/main.cpp:72
[Inferior 1 (process 14314) detached]

The reporter indicates this bug may be a duplicate of or related to bug 446378, bug 451205, bug 462782.

Reported using DrKonqi
Comment 1 Felipe 2023-04-10 07:42:25 UTC
Created attachment 157987 [details]
New crash information added by DrKonqi

korganizer (5.22.3 (22.12.3)) using Qt 5.15.8

Using global theme "Expose"; new birthday event creation failed (I created the event at 03-12-21 "all day" being 04-10-23 03:38 am today). When I was going to save the event it asked me if I was sure that I wanted to use a name instead of an email for an attendant, I said yes and it crashed.

System recently installed and up to date. I was also watching a video on Freetube, with the System Monitor openned, 3 monitors connected (???).

-- Backtrace (Reduced):
#4  QSortFilterProxyModelPrivate::proxy_to_source (this=0x55ce0d8d1c80, proxy_index=...) at itemmodels/qsortfilterproxymodel.cpp:571
#5  0x00007fe6bf6b9662 in QSortFilterProxyModel::mapToSource (proxyIndex=..., this=0x55ce0d778d50) at itemmodels/qsortfilterproxymodel.cpp:3171
#6  QSortFilterProxyModelPrivate::store_persistent_indexes (this=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1248
#7  0x00007fe6bf6bb16d in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged (this=0x55ce0d8d1c80, sourceParents=..., hint=<optimized out>) at itemmodels/qsortfilterproxymodel.cpp:1639
#8  0x00007fe6bf7253a3 in doActivate<false> (sender=0x55ce0d82ee20, signal_index=9, argv=0x7ffd51511910) at kernel/qobject.cpp:3935
Comment 2 Daniel Vrátil 2023-10-14 08:58:24 UTC

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