Bug 466162

Summary: Kalendar crashes when hitting the save button on an event that I have already made
Product: [Applications] Merkuro Reporter: mathmanrm
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: RESOLVED FIXED    
Severity: crash CC: carl
Priority: NOR Keywords: drkonqi
Version First Reported In: 22.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 23.04.1
Sentry Crash Report:

Description mathmanrm 2023-02-20 20:05:51 UTC
Application: kalendar (22.12.2)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.12-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.0 [KCrashBackend]

-- Information about the crash:
I open Kalendar right click the event, click edit, then click save and it crashes

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007fb812faaa3e in QTimeZone::~QTimeZone() () at /usr/lib/libQt5Core.so.5
#5  0x00007fb812fa131f in QDateTime::operator=(QDateTime const&) () at /usr/lib/libQt5Core.so.5
#6  0x000055c26914b47e in  ()
#7  0x00007fb8130bea71 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fb813046cd1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
#9  0x00007fb81306d3a6 in  () at /usr/lib/libQt5Core.so.5
#10 0x00007fb8130bec20 in  () at /usr/lib/libQt5Core.so.5
#11 0x00007fb813046cd1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
#12 0x00007fb81306d3a6 in  () at /usr/lib/libQt5Core.so.5
#13 0x00007fb8130bec20 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007fb813046cd1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
#15 0x00007fb81306d3a6 in  () at /usr/lib/libQt5Core.so.5
#16 0x00007fb8130bec20 in  () at /usr/lib/libQt5Core.so.5
#17 0x00007fb813046cd1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
#18 0x00007fb81538269b in  () at /usr/lib/libKF5ItemModels.so.5
#19 0x00007fb8130bea71 in  () at /usr/lib/libQt5Core.so.5
#20 0x00007fb813046cd1 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
#21 0x00007fb8156c462c in  () at /usr/lib/libKF5AkonadiCore.so.5
#22 0x00007fb8156a59eb in  () at /usr/lib/libKF5AkonadiCore.so.5
#23 0x00007fb8130bec20 in  () at /usr/lib/libQt5Core.so.5
#24 0x00007fb815625d6c in Akonadi::Monitor::itemChanged(Akonadi::Item const&, QSet<QByteArray> const&) () at /usr/lib/libKF5AkonadiCore.so.5
#25 0x00007fb81563a4a1 in Akonadi::MonitorPrivate::emitItemsNotification(Akonadi::Protocol::ItemChangeNotification const&, QVector<Akonadi::Item> const&, Akonadi::Collection const&, Akonadi::Collection const&) () at /usr/lib/libKF5AkonadiCore.so.5
#26 0x00007fb815634b74 in Akonadi::MonitorPrivate::emitNotification(QSharedPointer<Akonadi::Protocol::ChangeNotification> const&) () at /usr/lib/libKF5AkonadiCore.so.5
#27 0x00007fb815633ca5 in Akonadi::MonitorPrivate::flushPipeline() () at /usr/lib/libKF5AkonadiCore.so.5
#28 0x00007fb81563465e in Akonadi::MonitorPrivate::dataAvailable() () at /usr/lib/libKF5AkonadiCore.so.5
#29 0x00007fb8130bea71 in  () at /usr/lib/libQt5Core.so.5
#30 0x00007fb8130bec20 in  () at /usr/lib/libQt5Core.so.5
#31 0x00007fb8149a743a in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/libKF5CoreAddons.so.5
#32 0x00007fb8149ad54c in KJob::finishJob(bool) () at /usr/lib/libKF5CoreAddons.so.5
#33 0x00007fb8130b1bb0 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#34 0x00007fb813d78b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#35 0x00007fb81308df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#36 0x00007fb81308ea53 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#37 0x00007fb8130d4e88 in  () at /usr/lib/libQt5Core.so.5
#38 0x00007fb81126e82b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#39 0x00007fb8112c5cc9 in  () at /usr/lib/libglib-2.0.so.0
#40 0x00007fb81126d0e2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#41 0x00007fb8130d8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#42 0x00007fb8130866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#43 0x00007fb813091219 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#44 0x000055c26911fee4 in  ()
#45 0x00007fb81283c790 in  () at /usr/lib/libc.so.6
#46 0x00007fb81283c84a in __libc_start_main () at /usr/lib/libc.so.6
#47 0x000055c269120f45 in  ()
[Inferior 1 (process 225874) detached]

Reported using DrKonqi
Comment 1 Carl Schwan 2023-04-24 11:59:34 UTC
This was fixed yesterday and the fix will be available with 23.04.1 which will be released this week