Bug 464877 - Kalendar crashes on Task timespan change
Summary: Kalendar crashes on Task timespan change
Status: RESOLVED DUPLICATE of bug 466063
Alias: None
Product: Merkuro
Classification: Applications
Component: general (show other bugs)
Version: 22.12.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-01-26 21:44 UTC by Marcin
Modified: 2023-02-19 12:18 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (4.21 KB, text/plain)
2023-01-29 06:04 UTC, Aditya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin 2023-01-26 21:44:59 UTC
Application: kalendar (22.12.1)

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

-- Information about the crash:
It seems that Tasks cannot have a timespan, only can be set for a whole day, or user can set the end timestamp. I set an end timestamp to a task, saved it and tried to extend the task rectangle with a mouse, leading to Kalendar crashing.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f0bbebc0500 in QDateTime::operator=(QDateTime const&) () at /lib64/libQt5Core.so.5
#5  0x000055e1f1b4bae6 in  ()
#6  0x00007f0bbed132dd in  () at /lib64/libQt5Core.so.5
#7  0x00007f0bbec761dc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /lib64/libQt5Core.so.5
#8  0x00007f0bbecb0fe6 in  () at /lib64/libQt5Core.so.5
#9  0x00007f0bbed1355c in  () at /lib64/libQt5Core.so.5
#10 0x00007f0bbec761dc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /lib64/libQt5Core.so.5
#11 0x00007f0bbecb0fe6 in  () at /lib64/libQt5Core.so.5
#12 0x00007f0bbed1355c in  () at /lib64/libQt5Core.so.5
#13 0x00007f0bbec761dc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /lib64/libQt5Core.so.5
#14 0x00007f0bbecb0fe6 in  () at /lib64/libQt5Core.so.5
#15 0x00007f0bbed1355c in  () at /lib64/libQt5Core.so.5
#16 0x00007f0bbec761dc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /lib64/libQt5Core.so.5
#17 0x00007f0bc11739aa in  () at /lib64/libKF5ItemModels.so.5
#18 0x00007f0bbed132dd in  () at /lib64/libQt5Core.so.5
#19 0x00007f0bbec761dc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /lib64/libQt5Core.so.5
#20 0x00007f0bc14b1f47 in  () at /lib64/libKF5AkonadiCore.so.5
#21 0x00007f0bc1494c32 in  () at /lib64/libKF5AkonadiCore.so.5
#22 0x00007f0bbed1355c in  () at /lib64/libQt5Core.so.5
#23 0x00007f0bc141b327 in Akonadi::Monitor::itemChanged(Akonadi::Item const&, QSet<QByteArray> const&) () at /lib64/libKF5AkonadiCore.so.5
#24 0x00007f0bc142ec61 in Akonadi::MonitorPrivate::emitItemsNotification(Akonadi::Protocol::ItemChangeNotification const&, QVector<Akonadi::Item> const&, Akonadi::Collection const&, Akonadi::Collection const&) () at /lib64/libKF5AkonadiCore.so.5
#25 0x00007f0bc14296ea in Akonadi::MonitorPrivate::emitNotification(QSharedPointer<Akonadi::Protocol::ChangeNotification> const&) () at /lib64/libKF5AkonadiCore.so.5
#26 0x00007f0bc1428b5c in Akonadi::MonitorPrivate::dispatchNotifications() () at /lib64/libKF5AkonadiCore.so.5
#27 0x00007f0bc1428d1d in Akonadi::MonitorPrivate::slotNotify(QSharedPointer<Akonadi::Protocol::ChangeNotification> const&) () at /lib64/libKF5AkonadiCore.so.5
#28 0x00007f0bc1424c02 in Akonadi::MonitorPrivate::handleCommands() () at /lib64/libKF5AkonadiCore.so.5
#29 0x00007f0bbed07c50 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#30 0x00007f0bbf9a544e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#31 0x00007f0bbecdc138 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#32 0x00007f0bbecdf0d1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#33 0x00007f0bbed34363 in  () at /lib64/libQt5Core.so.5
#34 0x00007f0bbcd1ba90 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#35 0x00007f0bbcd1be48 in  () at /lib64/libglib-2.0.so.0
#36 0x00007f0bbcd1bedc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#37 0x00007f0bbed33b66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#38 0x00007f0bbecdabab in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#39 0x00007f0bbece2d16 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#40 0x000055e1f1b2297a in  ()
#41 0x00007f0bbe42c5b0 in __libc_start_call_main () at /lib64/libc.so.6
#42 0x00007f0bbe42c679 in __libc_start_main_impl () at /lib64/libc.so.6
#43 0x000055e1f1b237f5 in  ()
[Inferior 1 (process 12120) detached]

The reporter indicates this bug may be a duplicate of or related to bug 464641, bug 464358.

Reported using DrKonqi
Comment 1 Aditya 2023-01-29 06:04:15 UTC
Created attachment 155753 [details]
New crash information added by DrKonqi

kalendar (22.12.1) using Qt 5.15.8

Kalendar crashed and the app closed when I tried to edit the repeat duration of a task created on my local calendar.

-- Backtrace (Reduced):
#4  0x00007f8991552310 in QDateTime::operator=(QDateTime const&) () at /usr/lib/libQt5Core.so.5
[...]
#7  0x00007f89915f8b91 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
[...]
#10 0x00007f89915f8b91 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
[...]
#13 0x00007f89915f8b91 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
[...]
#16 0x00007f89915f8b91 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
Comment 2 Carl Schwan 2023-02-06 22:47:36 UTC
This is the same crash as in https://bugs.kde.org/show_bug.cgi?id=465080
Comment 3 Carl Schwan 2023-02-19 12:18:07 UTC
*** This bug has been marked as a duplicate of bug 466063 ***