Bug 467956 - Kalendar crashing when saving an unedited event
Summary: Kalendar crashing when saving an unedited event
Status: RESOLVED FIXED
Alias: None
Product: Merkuro
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-03-30 05:12 UTC by Damien
Modified: 2023-05-16 17:04 UTC (History)
2 users (show)

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


Attachments
New crash information added by DrKonqi (5.20 KB, text/plain)
2023-05-16 16:56 UTC, Miguel Guthridge
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damien 2023-03-30 05:12:00 UTC
Application: kalendar (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 5.19.0-35-generic x86_64
Windowing System: X11
Distribution: KDE neon 5.27
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
I was attempting to edit an existing event, as soon as I hit save Kalendar crashes

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x000055dd71d95e6c in ?? ()
#5  0x00007f200f2f40d4 in QtPrivate::QSlotObjectBase::call (a=0x7fff9b876680, r=0x55dd73b4bae0, this=0x55dd747fdc60) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#6  doActivate<false> (sender=0x55dd7303bd60, signal_index=3, argv=0x7fff9b876680) at kernel/qobject.cpp:3923
#7  0x00007f200f2ed177 in QMetaObject::activate (sender=sender@entry=0x55dd7303bd60, m=m@entry=0x7f200f55b680 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9b876680) at kernel/qobject.cpp:3983
#8  0x00007f200f254b59 in QAbstractItemModel::dataChanged (this=this@entry=0x55dd7303bd60, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#9  0x00007f200f2915a1 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x55dd73041aa0, source_top_left=..., source_bottom_right=..., roles=...) at itemmodels/qsortfilterproxymodel.cpp:1539
#10 0x00007f200f2f4108 in doActivate<false> (sender=0x55dd73032b00, signal_index=3, argv=0x7fff9b876930) at kernel/qobject.cpp:3935
#11 0x00007f200f2ed177 in QMetaObject::activate (sender=sender@entry=0x55dd73032b00, m=m@entry=0x7f200f55b680 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9b876930) at kernel/qobject.cpp:3983
#12 0x00007f200f254b59 in QAbstractItemModel::dataChanged (this=this@entry=0x55dd73032b00, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#13 0x00007f200f2915a1 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x55dd7303b440, source_top_left=..., source_bottom_right=..., roles=...) at itemmodels/qsortfilterproxymodel.cpp:1539
#14 0x00007f200f2f4108 in doActivate<false> (sender=0x55dd73032d10, signal_index=3, argv=0x7fff9b876be0) at kernel/qobject.cpp:3935
#15 0x00007f200f2ed177 in QMetaObject::activate (sender=sender@entry=0x55dd73032d10, m=m@entry=0x7f200f55b680 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9b876be0) at kernel/qobject.cpp:3983
#16 0x00007f200f254b59 in QAbstractItemModel::dataChanged (this=this@entry=0x55dd73032d10, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#17 0x00007f200f2915a1 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x55dd73033750, source_top_left=..., source_bottom_right=..., roles=...) at itemmodels/qsortfilterproxymodel.cpp:1539
#18 0x00007f200f2f4108 in doActivate<false> (sender=0x55dd73037c70, signal_index=3, argv=0x7fff9b876e90) at kernel/qobject.cpp:3935
#19 0x00007f200f2ed177 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f200f55b680 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9b876e90) at kernel/qobject.cpp:3983
#20 0x00007f200f254b59 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#21 0x00007f201166dd2a in ?? () from /lib/x86_64-linux-gnu/libKF5ItemModels.so.5
#22 0x00007f200f2f40d4 in QtPrivate::QSlotObjectBase::call (a=0x7fff9b8770f0, r=0x55dd73037c70, this=0x55dd730331e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#23 doActivate<false> (sender=0x55dd7302f8d0, signal_index=3, argv=0x7fff9b8770f0) at kernel/qobject.cpp:3923
#24 0x00007f200f2ed177 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f200f55b680 <QAbstractItemModel::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9b8770f0) at kernel/qobject.cpp:3983
#25 0x00007f200f254b59 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:557
#26 0x00007f20119848d4 in ?? () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#27 0x00007f201198edb9 in ?? () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#28 0x00007f200f2f4108 in doActivate<false> (sender=0x55dd72fd4710, signal_index=3, argv=0x7fff9b877350) at kernel/qobject.cpp:3935
#29 0x00007f20118d617b in Akonadi::Monitor::itemChanged(Akonadi::Item const&, QSet<QByteArray> const&) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#30 0x00007f20118e7692 in Akonadi::MonitorPrivate::emitItemsNotification(Akonadi::Protocol::ItemChangeNotification const&, QVector<Akonadi::Item> const&, Akonadi::Collection const&, Akonadi::Collection const&) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#31 0x00007f20118e8809 in Akonadi::MonitorPrivate::emitNotification(QSharedPointer<Akonadi::Protocol::ChangeNotification> const&) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#32 0x00007f20118e5dba in Akonadi::MonitorPrivate::flushPipeline() () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#33 0x00007f20118e621d in Akonadi::MonitorPrivate::dataAvailable() () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5
#34 0x00007f200f2f40d4 in QtPrivate::QSlotObjectBase::call (a=0x7fff9b877660, r=0x55dd72fd4710, this=0x55dd73035a10) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#35 doActivate<false> (sender=0x7f200401d2f0, signal_index=3, argv=0x7fff9b877660) at kernel/qobject.cpp:3923
#36 0x00007f200f2f4108 in doActivate<false> (sender=0x7f2004029920, signal_index=6, argv=0x7fff9b877790) at kernel/qobject.cpp:3935
#37 0x00007f201123c370 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#38 0x00007f201124221b in KJob::finishJob(bool) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#39 0x00007f200f2e9ade in QObject::event (this=0x7f2004029920, e=0x55dd75e3a780) at kernel/qobject.cpp:1347
#40 0x00007f200ff6c793 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f2004029920, e=0x55dd75e3a780) at kernel/qapplication.cpp:3640
#41 0x00007f200f2bc07a in QCoreApplication::notifyInternal2 (receiver=0x7f2004029920, event=0x55dd75e3a780) at kernel/qcoreapplication.cpp:1064
#42 0x00007f200f2bf167 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55dd7265f520) at kernel/qcoreapplication.cpp:1821
#43 0x00007f200f316487 in postEventSourceDispatch (s=0x55dd72793e10) at kernel/qeventdispatcher_glib.cpp:277
#44 0x00007f200d051d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f200d0a66c8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f200d04f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f200f315ad8 in QEventDispatcherGlib::processEvents (this=0x55dd72796480, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#48 0x00007f200f2ba99b in QEventLoop::exec (this=this@entry=0x7fff9b877ba0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#49 0x00007f200f2c2f34 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#50 0x000055dd71d6b85c in ?? ()
#51 0x00007f200e829d90 in __libc_start_call_main (main=main@entry=0x55dd71d69860, argc=argc@entry=1, argv=argv@entry=0x7fff9b878028) at ../sysdeps/nptl/libc_start_call_main.h:58
#52 0x00007f200e829e40 in __libc_start_main_impl (main=0x55dd71d69860, argc=1, argv=0x7fff9b878028, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff9b878018) at ../csu/libc-start.c:392
#53 0x000055dd71d6c805 in ?? ()
[Inferior 1 (process 2231486) detached]

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

Reported using DrKonqi
Comment 1 Miguel Guthridge 2023-05-16 16:56:37 UTC
Created attachment 159007 [details]
New crash information added by DrKonqi

kalendar (23.04.0) using Qt 5.15.9

I attempted to hit the save button after opening the event editor. The app crashed when I did this.

-- Backtrace (Reduced):
#4  0x00007fce267ba680 in QDateTime::operator=(QDateTime const&) () from /lib64/libQt5Core.so.5
#5  0x000055e674f31c52 in IncidenceOccurrenceModel::slotSourceDataChanged(QModelIndex const&, QModelIndex const&) ()
#6  0x00007fce268e8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7  0x00007fce26862101 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#8  0x00007fce26895320 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
Comment 2 Carl Schwan 2023-05-16 17:04:29 UTC
This bug was fixed with Kalendar 23.04.1, which was released a few days ago. Make sure to update.