Bug 463145 - Kalendar crash when changing completition status of tasks
Summary: Kalendar crash when changing completition status of tasks
Status: RESOLVED DUPLICATE of bug 466063
Alias: None
Product: Merkuro
Classification: Applications
Component: general (show other bugs)
Version: 22.12.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-12-17 10:27 UTC by Théophile Gilgien
Modified: 2023-02-19 12:37 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Théophile Gilgien 2022-12-17 10:27:20 UTC
Application: kalendar (22.12.0)

Qt Version: 5.15.7
Frameworks Version: 5.101.0
Operating System: Linux 6.0.12-1-default x86_64
Windowing System: Wayland
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
When clicking on a task, you get a pop-up inside the main Kalendar window. where you can set the completition status with a slider. Kalendar immediatly crash when you try to edit this slider.
By double-clicking the task, you get a pop-up window where you can also change the completition status. Kalendar crashes when saving the changes if you modified the completition status. However, the completition status does get saved.
I observed this behaviour both with tasks from my google calendar and whith tasks from my local Personal Calendar.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  std::__atomic_base<int>::operator--() (this=0x0) at /usr/include/c++/12/bits/atomic_base.h:392
#5  QAtomicOps<int>::deref<int>(std::atomic<int>&) (_q_value=<error reading variable: Cannot access memory at address 0x0>) at ../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:289
#6  QBasicAtomicInteger<int>::deref() (this=0x0) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:119
#7  QDateTime::Data::operator=(QDateTime::Data const&) (other=..., this=0x55de68eafa88) at time/qdatetime.cpp:3411
#8  QDateTime::operator=(QDateTime const&) (this=this@entry=0x55de68eafa88, other=...) at time/qdatetime.cpp:3791
#9  0x000055de65720ad8 in IncidenceOccurrenceModel::Occurrence::operator=(IncidenceOccurrenceModel::Occurrence const&) (this=0x55de68eafa88) at /usr/src/debug/kalendar-22.12.0/src/models/incidenceoccurrencemodel.h:89
#10 QVector<IncidenceOccurrenceModel::Occurrence>::replace(int, IncidenceOccurrenceModel::Occurrence const&) (t=..., i=<optimized out>, this=0x55de67ef51e0) at /usr/include/qt5/QtCore/qvector.h:491
#11 IncidenceOccurrenceModel::slotSourceDataChanged(QModelIndex const&, QModelIndex const&) (this=0x55de67ef5170, upperLeft=..., bottomRight=<optimized out>) at /usr/src/debug/kalendar-22.12.0/src/models/incidenceoccurrencemodel.cpp:225
#12 0x00007f8bd8f132cd in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffef7ac2f10, r=0x55de67ef5170, this=0x55de67f00dc0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false>(QObject*, int, void**) (sender=0x55de66e07170, signal_index=3, argv=0x7ffef7ac2f10) at kernel/qobject.cpp:3919
#14 0x00007f8bd8f0c74f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55de66e07170, m=m@entry=0x7f8bd91b1d40, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffef7ac2f10) at kernel/qobject.cpp:3979
#15 0x00007f8bd8e761cc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x55de66e07170, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#16 0x00007f8bd8eb0fd6 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=0x55de66e0ca20, source_top_left=<optimized out>, source_bottom_right=<optimized out>, roles=...) at itemmodels/qsortfilterproxymodel.cpp:1539
#17 0x00007f8bd8f1354c in doActivate<false>(QObject*, int, void**) (sender=0x55de66e09ce0, signal_index=3, argv=0x7ffef7ac31c0) at kernel/qobject.cpp:3931
#18 0x00007f8bd8f0c74f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55de66e09ce0, m=m@entry=0x7f8bd91b1d40, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffef7ac31c0) at kernel/qobject.cpp:3979
#19 0x00007f8bd8e761cc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x55de66e09ce0, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#20 0x00007f8bd8eb0fd6 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=0x55de66e0b360, source_top_left=<optimized out>, source_bottom_right=<optimized out>, roles=...) at itemmodels/qsortfilterproxymodel.cpp:1539
#21 0x00007f8bd8f1354c in doActivate<false>(QObject*, int, void**) (sender=0x55de66e09cc0, signal_index=3, argv=0x7ffef7ac3470) at kernel/qobject.cpp:3931
#22 0x00007f8bd8f0c74f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55de66e09cc0, m=m@entry=0x7f8bd91b1d40, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffef7ac3470) at kernel/qobject.cpp:3979
#23 0x00007f8bd8e761cc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x55de66e09cc0, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#24 0x00007f8bd8eb0fd6 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=0x55de66e0a720, source_top_left=<optimized out>, source_bottom_right=<optimized out>, roles=...) at itemmodels/qsortfilterproxymodel.cpp:1539
#25 0x00007f8bd8f1354c in doActivate<false>(QObject*, int, void**) (sender=0x55de66e06200, signal_index=3, argv=0x7ffef7ac3720) at kernel/qobject.cpp:3931
#26 0x00007f8bd8f0c74f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f8bd91b1d40, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffef7ac3720) at kernel/qobject.cpp:3979
#27 0x00007f8bd8e761cc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>, _t3=<optimized out>) at .moc/moc_qabstractitemmodel.cpp:557
#28 0x00007f8bdb2b69aa in KSelectionProxyModelPrivate::sourceDataChanged(QModelIndex const&, QModelIndex const&) (this=0x55de66e06a50, topLeft=..., bottomRight=...) at /usr/src/debug/kitemmodels-5.101.0/src/core/kselectionproxymodel.cpp:734
#29 0x00007f8bd8f132cd in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffef7ac3970, r=0x55de66e06200, this=0x55de66e0a1b0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#30 doActivate<false>(QObject*, int, void**) (sender=0x55de66e15c40, signal_index=3, argv=0x7ffef7ac3970) at kernel/qobject.cpp:3919
#31 0x00007f8bd8f0c74f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55de66e15c40, m=m@entry=0x7f8bd91b1d40, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffef7ac3970) at kernel/qobject.cpp:3979
#32 0x00007f8bd8e761cc in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) (this=this@entry=0x55de66e15c40, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#33 0x00007f8bdb5f1f47 in Akonadi::EntityTreeModelPrivate::dataChanged(QModelIndex const&, QModelIndex const&) [clone .isra.0] (top=..., bottom=<optimized out>, this=<optimized out>) at /usr/src/debug/akonadi-22.12.0/src/core/models/entitytreemodel_p.cpp:1618
#34 0x00007f8bdb5d4c32 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged(Akonadi::Item const&, QSet<QByteArray> const&) (item=..., this=0x55de66e09130) at /usr/src/debug/akonadi-22.12.0/src/core/models/entitytreemodel_p.cpp:1117
#35 Akonadi::EntityTreeModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/akonadi-22.12.0/build/src/core/KF5AkonadiCore_autogen/include/moc_entitytreemodel.cpp:227
#36 0x00007f8bd8f1354c in doActivate<false>(QObject*, int, void**) (sender=0x55de66e08470, signal_index=3, argv=0x7ffef7ac3c00) at kernel/qobject.cpp:3931
#37 0x00007f8bd8f0c74f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffef7ac3c00) at kernel/qobject.cpp:3979
#38 0x00007f8bdb55b327 in Akonadi::Monitor::itemChanged(Akonadi::Item const&, QSet<QByteArray> const&) (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at /usr/src/debug/akonadi-22.12.0/build/src/core/KF5AkonadiCore_autogen/include/moc_monitor.cpp:864
#39 0x00007f8bdb56ec61 in Akonadi::MonitorPrivate::emitToListeners<void (Akonadi::Monitor::*)(Akonadi::Item const&, QSet<QByteArray> const&), Akonadi::Item, QSet<QByteArray> >(void (Akonadi::Monitor::*)(Akonadi::Item const&, QSet<QByteArray> const&), Akonadi::Item, QSet<QByteArray>) (signal=<optimized out>, this=0x55de66bf10d0) at /usr/src/debug/akonadi-22.12.0/src/core/monitor_p.h:395
#40 Akonadi::MonitorPrivate::emitItemsNotification(Akonadi::Protocol::ItemChangeNotification const&, QVector<Akonadi::Item> const&, Akonadi::Collection const&, Akonadi::Collection const&) (this=0x55de66bf10d0, msg=<optimized out>, items=..., collection=<optimized out>, collectionDest=<optimized out>) at /usr/src/debug/akonadi-22.12.0/src/core/monitor_p.cpp:1056
#41 0x00007f8bdb5696ea in Akonadi::MonitorPrivate::emitNotification(QSharedPointer<Akonadi::Protocol::ChangeNotification> const&) (this=0x55de66bf10d0, msg=<optimized out>) at /usr/src/debug/akonadi-22.12.0/src/core/monitor_p.cpp:544
#42 0x00007f8bdb568895 in Akonadi::MonitorPrivate::flushPipeline() (this=0x55de66bf10d0) at /usr/src/debug/akonadi-22.12.0/src/core/monitor_p.cpp:969
#43 0x00007f8bdb5691f9 in Akonadi::MonitorPrivate::dataAvailable() (this=0x55de66bf10d0) at /usr/src/debug/akonadi-22.12.0/src/core/monitor_p.cpp:978
#44 0x00007f8bd8f132cd in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffef7ac3ee0, r=0x55de66e08470, this=0x55de66e0f660) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#45 doActivate<false>(QObject*, int, void**) (sender=0x7f8bcc01c8e0, signal_index=3, argv=0x7ffef7ac3ee0) at kernel/qobject.cpp:3919
#46 0x00007f8bd8f1354c in doActivate<false>(QObject*, int, void**) (sender=0x55de69ac9460, signal_index=6, argv=0x7ffef7ac4000) at kernel/qobject.cpp:3931
#47 0x00007f8bd8f0c74f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55de69ac9460, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffef7ac4000) at kernel/qobject.cpp:3979
#48 0x00007f8bdade4e55 in KJob::result(KJob*, KJob::QPrivateSignal) (this=this@entry=0x55de69ac9460, _t1=<optimized out>, _t1@entry=0x55de69ac9460, _t2=...) at /usr/src/debug/kcoreaddons-5.101.0/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#49 0x00007f8bdade90bb in KJob::finishJob(bool) (this=0x55de69ac9460, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons-5.101.0/src/lib/jobs/kjob.cpp:98
#50 0x00007f8bd8f07c40 in QObject::event(QEvent*) (this=0x55de69ac9460, e=0x7f8b880063b0) at kernel/qobject.cpp:1347
#51 0x00007f8bd9ba53fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55de69ac9460, e=0x7f8b880063b0) at kernel/qapplication.cpp:3637
#52 0x00007f8bd8edc128 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55de69ac9460, event=0x7f8b880063b0) at kernel/qcoreapplication.cpp:1064
#53 0x00007f8bd8edf0c1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x55de66ac93e0) at kernel/qcoreapplication.cpp:1821
#54 0x00007f8bd8f34353 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x55de66af29f0) at kernel/qeventdispatcher_glib.cpp:277
#55 0x00007f8bd6e6aa90 in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#56 0x00007f8bd6e6ae48 in  () at /lib64/libglib-2.0.so.0
#57 0x00007f8bd6e6aedc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#58 0x00007f8bd8f33b56 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55de66afabe0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#59 0x00007f8bd8edab9b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffef7ac43f0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#60 0x00007f8bd8ee2d06 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#61 0x000055de656f797a in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kalendar-22.12.0/src/main.cpp:188
[Inferior 1 (process 3012) detached]

Reported using DrKonqi
Comment 1 Petrov Egor 2022-12-18 14:42:41 UTC
Have the same problem ad error in trace. Also have this on changing name after double-clicking on task.
Maybe that's openSUSE-specific problem?

Operating System: openSUSE Tumbleweed 20221216
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.0.12-1-default (64-bit)
Graphics Platform: X11
Comment 2 Carl Schwan 2023-02-19 12:37:39 UTC
*** This bug has been marked as a duplicate of bug 466063 ***