Bug 467213

Summary: Crashed when editing event
Product: [Applications] Merkuro Reporter: Tyler <ty.brown1293>
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: RESOLVED FIXED    
Severity: crash CC: carl, danielnimptsch
Priority: NOR Keywords: drkonqi
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 23.04.1
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Tyler 2023-03-11 18:30:04 UTC
Application: kalendar (22.12.3)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.15-200.fc37.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 37 (KDE Plasma)
DrKonqi: 5.27.2 [KCrashBackend]

-- Information about the crash:
I was editing the name of the event and then when done, I hit the 'enter' button and the application crashed

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00005608e8e4f413 in IncidenceOccurrenceModel::slotSourceDataChanged(QModelIndex const&, QModelIndex const&) ()
#5  0x00007fe94eed0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#6  0x00007fe94ee4dcd0 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#7  0x00007fe94ee7f778 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#8  0x00007fe94eed101f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#9  0x00007fe94ee4dcd0 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#10 0x00007fe94ee7f778 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#11 0x00007fe94eed101f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#12 0x00007fe94ee4dcd0 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#13 0x00007fe94ee7f778 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#14 0x00007fe94eed101f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#15 0x00007fe94ee4dcd0 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#16 0x00007fe9511c6a2a in KSelectionProxyModelPrivate::sourceDataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libKF5ItemModels.so.5
#17 0x00007fe94eed0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#18 0x00007fe94ee4dcd0 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#19 0x00007fe9515034ab in Akonadi::EntityTreeModelPrivate::dataChanged(QModelIndex const&, QModelIndex const&) () from /lib64/libKF5AkonadiCore.so.5
#20 0x00007fe95150ca82 in Akonadi::EntityTreeModelPrivate::monitoredItemChanged(Akonadi::Item const&, QSet<QByteArray> const&) () from /lib64/libKF5AkonadiCore.so.5
#21 0x00007fe94eed101f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#22 0x00007fe9514848bb in Akonadi::Monitor::itemChanged(Akonadi::Item const&, QSet<QByteArray> const&) () from /lib64/libKF5AkonadiCore.so.5
#23 0x00007fe95149b526 in Akonadi::MonitorPrivate::emitItemsNotification(Akonadi::Protocol::ItemChangeNotification const&, QVector<Akonadi::Item> const&, Akonadi::Collection const&, Akonadi::Collection const&) () from /lib64/libKF5AkonadiCore.so.5
#24 0x00007fe9514938ca in Akonadi::MonitorPrivate::emitNotification(QSharedPointer<Akonadi::Protocol::ChangeNotification> const&) () from /lib64/libKF5AkonadiCore.so.5
#25 0x00007fe951496f6c in Akonadi::MonitorPrivate::dispatchNotifications() () from /lib64/libKF5AkonadiCore.so.5
#26 0x00007fe951492395 in Akonadi::MonitorPrivate::slotNotify(QSharedPointer<Akonadi::Protocol::ChangeNotification> const&) () from /lib64/libKF5AkonadiCore.so.5
#27 0x00007fe95148f01e in Akonadi::MonitorPrivate::handleCommands() () from /lib64/libKF5AkonadiCore.so.5
#28 0x00007fe94eec8134 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#29 0x00007fe94fbaed62 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#30 0x00007fe94ee9d4e8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#31 0x00007fe94eea0854 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#32 0x00007fe94eeeeb07 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#33 0x00007fe94cc63c7f in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#34 0x00007fe94ccba118 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#35 0x00007fe94cc60f00 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#36 0x00007fe94eeee5fa in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#37 0x00007fe94ee9bf3a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#38 0x00007fe94eea4002 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#39 0x00005608e8e249ca in main ()
[Inferior 1 (process 2941) detached]

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

Reported using DrKonqi
Comment 1 danielnimptsch 2023-04-06 09:28:37 UTC
Created attachment 157890 [details]
New crash information added by DrKonqi

kalendar (22.12.3) using Qt 5.15.8

While editing some events in my calendar the app crashed. It happened after I added exceptions to my repeating event.

-- Backtrace (Reduced):
#4  0x00005621eb924413 in IncidenceOccurrenceModel::slotSourceDataChanged(QModelIndex const&, QModelIndex const&) ()
#5  0x00007fde7acd0e96 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#6  0x00007fde7ac4dcd0 in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#7  0x00007fde7ac7f778 in QSortFilterProxyModelPrivate::_q_sourceDataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () from /lib64/libQt5Core.so.5
#8  0x00007fde7acd101f in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
Comment 2 Carl Schwan 2023-04-24 11:47:47 UTC
This was fixed yesterday and the fix will be available with 23.04.1 which will be released this week.