Bug 468981

Summary: KOrganizer crashes after adding new recurring yearly event (into Google Calendar) and clicking apply
Product: [Applications] korganizer Reporter: KDamian <damikope>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: dvratil
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description KDamian 2023-04-26 05:12:32 UTC
Application: korganizer (5.22.3 (22.12.3))

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.2.11-300.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 38 (KDE Plasma)
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
# Bug summary:

KOrganizer crashes after adding new recurring yearly event (into Google Calendar backend) and clicking apply.


# Reproduction steps:

1. Add new recurring yearly event by right-clicking the day in Monthly View and selecting Add Event
2. Only title, no location; in the Repeat tab repeat set to every year starting from 26th of April 2023.
3. Click on Apply.
4.
5.

Bug appearance rate: Tried only once for now, I will try to reproduce further later.

# System info:

Operating System: Fedora Linux 38
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.11-300.fc38.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-2520M CPU @ 2.50GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 3000
Manufacturer: Hewlett-Packard
Product Name: HP EliteBook 8460p
System Version: A0001D02

# Additional information:

gdb backtrace included (I hope, using dr. konqi).

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007f3df128b759 in QSortFilterProxyModelPrivate::proxy_to_source(QModelIndex const&) const () from /lib64/libQt5Core.so.5
#5  0x00007f3df128d6f5 in QSortFilterProxyModelPrivate::store_persistent_indexes() const () from /lib64/libQt5Core.so.5
#6  0x00007f3df128f9cb in QSortFilterProxyModelPrivate::_q_sourceLayoutAboutToBeChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /lib64/libQt5Core.so.5
#7  0x00007f3df12e87d8 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f3df1262247 in QAbstractItemModel::layoutAboutToBeChanged(QList<QPersistentModelIndex> const&, QAbstractItemModel::LayoutChangeHint) () from /lib64/libQt5Core.so.5
#9  0x00007f3df1ce3c44 in IncidenceEditorNG::IncidenceAttendee::load(QSharedPointer<KCalendarCore::Incidence> const&) () from /lib64/libKF5IncidenceEditor.so.5
#10 0x00007f3df1cd3e0e in IncidenceEditorNG::CombinedIncidenceEditor::load(QSharedPointer<KCalendarCore::Incidence> const&) () from /lib64/libKF5IncidenceEditor.so.5
#11 0x00007f3df1d3174b in QtPrivate::QFunctorSlotObject<IncidenceEditorNG::IncidenceDialogPrivate::IncidenceDialogPrivate(Akonadi::IncidenceChanger*, IncidenceEditorNG::IncidenceDialog*)::{lambda(IncidenceEditorNG::EditorItemManager::SaveAction)#1}, 1, QtPrivate::List<IncidenceEditorNG::EditorItemManager::SaveAction>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] () from /lib64/libKF5IncidenceEditor.so.5
#12 0x00007f3df12e8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#13 0x00007f3df1cd78ae in QtPrivate::QFunctorSlotObject<IncidenceEditorNG::EditorItemManager::load(Akonadi::Item const&)::{lambda(KJob*)#1}, 1, QtPrivate::List<KJob*>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /lib64/libKF5IncidenceEditor.so.5
#14 0x00007f3df12e8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#15 0x00007f3df26f8f06 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#16 0x00007f3df26feaeb in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#17 0x00007f3df12df73b in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#18 0x00007f3df1faeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f3df12b3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#20 0x00007f3df12b71f5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#21 0x00007f3df1306e2f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#22 0x00007f3deeb11f58 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#23 0x00007f3deeb71cd8 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#24 0x00007f3deeb13233 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#25 0x00007f3df1306919 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007f3df12b270b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#27 0x00007f3df12ba99b in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#28 0x000055a798fad1dc in main ()
[Inferior 1 (process 26254) detached]

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

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

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