Bug 472724 - Crash when saving settings
Summary: Crash when saving settings
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-07-28 02:06 UTC by Andrew A. Adams
Modified: 2023-10-13 13:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 23.08


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew A. Adams 2023-07-28 02:06:47 UTC
Application: korganizer (5.23.2 (23.04.2))

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 6.3.8-200.fc38.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 38 (KDE Plasma)
DrKonqi: 5.27.6 [KCrashBackend]

-- Information about the crash:
Having added new Google calendars to my KOrganizer settings, it crashed when I clicked "OK" on the settings window.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f6026f6dfec in EventViews::AgendaView::calendar2(QSharedPointer<KCalendarCore::Incidence> const&) const () from /lib64/libKPim5EventViews.so.5
#5  0x00007f6026f78e62 in EventViews::AgendaView::displayIncidence(QSharedPointer<KCalendarCore::Incidence> const&, bool) () from /lib64/libKPim5EventViews.so.5
#6  0x00007f6026f7a7ab in EventViews::AgendaView::fillAgenda() () from /lib64/libKPim5EventViews.so.5
#7  0x00007f60278e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f60294c2473 in CalendarView::updateConfig() () from /lib64/libkorganizerprivate.so.5
#9  0x00007f60278e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007f6027bdc170 in KCMultiDialogPrivate::apply() () from /lib64/libKF5KCMUtils.so.5
#11 0x00007f6027bdc248 in KCMultiDialog::slotOkClicked() () from /lib64/libKF5KCMUtils.so.5
#12 0x00007f60278e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#13 0x00007f60286a9c64 in QAbstractButton::clicked(bool) () from /lib64/libQt5Widgets.so.5
#14 0x00007f60286a9eef in QAbstractButtonPrivate::emitClicked() () from /lib64/libQt5Widgets.so.5
#15 0x00007f60286ab850 in QAbstractButtonPrivate::click() () from /lib64/libQt5Widgets.so.5
#16 0x00007f60286aba58 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#17 0x00007f60285f3688 in QWidget::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f60285aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f60285b7456 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007f60278b4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#21 0x00007f60285b56a4 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#22 0x00007f602860d1a9 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#23 0x00007f602861072f in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#24 0x00007f60285aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#25 0x00007f60278b4188 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#26 0x00007f6027d6cc6b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#27 0x00007f6027d4acfc in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#28 0x00007f601331b4d6 in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#29 0x00007f602511339c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#30 0x00007f6025171438 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#31 0x00007f6025110a23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#32 0x00007f6027906729 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#33 0x00007f60278b2b4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#34 0x00007f60278baddb in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#35 0x000055a4a4a891dc in main ()
[Inferior 1 (process 1249778) detached]

The reporter indicates this bug may be a duplicate of or related to bug 262310, bug 270817, bug 280313, bug 323433, bug 327796, bug 327878, bug 328425, bug 329099, bug 332620, bug 453709, bug 470584.

Reported using DrKonqi
Comment 1 Daniel Vrátil 2023-10-13 13:15:54 UTC
Git commit 6984c3b8752956e55971b75a501fce395c5284d7 by Allen Winter.
Committed on 19/07/2023 at 19:50.
Pushed by winterz into branch 'release/23.04'.

Avoid crashes if findCalendar or calendar2 return empty
FIXED-IN: 23.08

M  +43   -22   src/agenda/agendaview.cpp

https://invent.kde.org/pim/eventviews/-/commit/6984c3b8752956e55971b75a501fce395c5284d7