Bug 464347 - Kalendar crashes when deleting CalDav events
Summary: Kalendar crashes when deleting CalDav events
Status: RESOLVED DUPLICATE of bug 466063
Alias: None
Product: Merkuro
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.12.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords: drkonqi
: 464553 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-01-15 23:04 UTC by archwizard@mailbox.org
Modified: 2023-03-01 16:44 UTC (History)
6 users (show)

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


Attachments
New crash information added by DrKonqi (4.48 KB, text/plain)
2023-02-18 16:52 UTC, DodoLeDev
Details
New crash information added by DrKonqi (5.41 KB, text/plain)
2023-03-01 16:44 UTC, stphnhmltn26
Details

Note You need to log in before you can comment on or make changes to this bug.
Description archwizard@mailbox.org 2023-01-15 23:04:02 UTC
Application: kalendar (22.12.1)

Qt Version: 5.15.7
Frameworks Version: 5.101.0
Operating System: Linux 6.1.5-200.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
When I right clicked on the calendar event, then pressed delete, Kalendar immediately crashed. When I restarted Kalendar, the event was deleted.

The crash can be reproduced every time.

-- Backtrace:
Application: Kalendar (kalendar), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f7c2d9b38b0 in QDateTime::operator=(QDateTime const&) () from /lib64/libQt5Core.so.5
#5  0x000055e91a8a3376 in IncidenceOccurrenceModel::slotSourceDataChanged(QModelIndex const&, QModelIndex const&) ()
#6  0x00007f7c2dadbc26 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7  0x00007f7c2da58a50 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#8  0x00007f7c2da8a508 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#9  0x00007f7c2dadbdaf in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007f7c2da58a50 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#11 0x00007f7c2da8a508 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#12 0x00007f7c2dadbdaf in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#13 0x00007f7c2da58a50 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#14 0x00007f7c2da8a508 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#15 0x00007f7c2dadbdaf in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007f7c2da58a50 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#17 0x00007f7c2fedba2a in KSelectionProxyModelPrivate::sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libKF5ItemModels.so.5
#18 0x00007f7c2dadbc26 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#19 0x00007f7c2da58a50 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#20 0x00007f7c302184ab in Akonadi::EntityTreeModelPrivate::dataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libKF5AkonadiCore.so.5
#21 0x00007f7c30221a82 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged(Akonadi::Item const&, QSet<QByteArray> const&) () from /lib64/libKF5AkonadiCore.so.5
#22 0x00007f7c2dadbdaf in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#23 0x00007f7c301998bb in Akonadi::Monitor::itemChanged(Akonadi::Item const&, QSet<QByteArray> const&) () from /lib64/libKF5AkonadiCore.so.5
#24 0x00007f7c301b0526 in Akonadi::MonitorPrivate::emitItemsNotification(Akonadi::Protocol::ItemChangeNotification const&, QVector<Akonadi::Item> const&, Akonadi::Collection const&, Akonadi::Collection const&) () from /lib64/libKF5AkonadiCore.so.5
#25 0x00007f7c301a88ca in Akonadi::MonitorPrivate::emitNotification(QSharedPointer<Akonadi::Protocol::ChangeNotification> const&) () from /lib64/libKF5AkonadiCore.so.5
#26 0x00007f7c301abc95 in Akonadi::MonitorPrivate::flushPipeline() () from /lib64/libKF5AkonadiCore.so.5
#27 0x00007f7c301abfed in Akonadi::MonitorPrivate::dataAvailable() () from /lib64/libKF5AkonadiCore.so.5
#28 0x00007f7c2dadbc26 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#29 0x00007f7c2dadbdaf in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#30 0x00007f7c2fa98719 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#31 0x00007f7c2fa9e17b in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#32 0x00007f7c2dad2ec4 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#33 0x00007f7c2e7aed12 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#34 0x00007f7c2daa8278 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#35 0x00007f7c2daab5e4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#36 0x00007f7c2daf9897 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#37 0x00007f7c2b919cbf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#38 0x00007f7c2b96f598 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#39 0x00007f7c2b916f40 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#40 0x00007f7c2daf938a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#41 0x00007f7c2daa6cca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#42 0x00007f7c2daaed92 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#43 0x000055e91a8789ca in main ()
[Inferior 1 (process 20477) detached]

The reporter indicates this bug may be a duplicate of or related to bug 464083, bug 464194.

Reported using DrKonqi
This report was filed against 'kde' because the product 'kalendar' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Claudio Cambra 2023-02-07 17:59:07 UTC
*** Bug 464641 has been marked as a duplicate of this bug. ***
Comment 2 Claudio Cambra 2023-02-07 17:59:22 UTC
*** Bug 464553 has been marked as a duplicate of this bug. ***
Comment 3 DodoLeDev 2023-02-18 16:52:30 UTC
Created attachment 156445 [details]
New crash information added by DrKonqi

kalendar (22.12.2) using Qt 5.15.8

After editing an event in Kalendar, the program crashes.
However, after reopening Kalendar, the event was successfully edited.

The event in question was created from my phone, and synced with my PC thanks to Nexcloud.

Hope this information helps...

-- Backtrace (Reduced):
#4  0x00007f358bfa1300 in QDateTime::operator=(QDateTime const&) () at /usr/lib/libQt5Core.so.5
[...]
#7  0x00007f358c046cd1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
[...]
#10 0x00007f358c046cd1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
[...]
#13 0x00007f358c046cd1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
[...]
#16 0x00007f358c046cd1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
Comment 4 Carl Schwan 2023-02-19 12:04:58 UTC

*** This bug has been marked as a duplicate of bug 466063 ***
Comment 5 stphnhmltn26 2023-03-01 16:44:10 UTC
Created attachment 156889 [details]
New crash information added by DrKonqi

kalendar (22.12.2) using Qt 5.15.8

I'm trying to delete a single occurrence of an event for Spring break. However, whenever I try to delete any of these events, Kalendar crashes with no error message. This happens consistently across all events.

-- Backtrace (Reduced):
#4  0x0000557aa0eb5373 in IncidenceOccurrenceModel::slotSourceDataChanged(QModelIndex const&, QModelIndex const&) ()
#5  0x00007fec888d0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#6  0x00007fec8884dcd0 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#7  0x00007fec8887f778 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#8  0x00007fec888d101f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5