Bug 460219

Summary: Kalendar crashes when adding events to default calendar; shows no future events.
Product: [Applications] Merkuro Reporter: fake.name
Component: generalAssignee: Claudio Cambra <claudio.cambra>
Status: CONFIRMED ---    
Severity: crash CC: carl, vikts
Priority: NOR Keywords: drkonqi
Version First Reported In: 22.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description fake.name 2022-10-11 01:58:36 UTC
Application: kalendar (22.08.1)

Qt Version: 5.15.6
Frameworks Version: 5.98.0
Operating System: Linux 5.19.13-zen1-1-zen x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
Any attempt to save a new  event ends in a crash immediately upon saving. Further, no future-dated events are shown, though some past ones are still present on the calendar.

The crash can be reproduced every time.

-- Backtrace:
Application: Kalendar (kalendar), signal: Aborted

[KCrash Handler]
#4  0x00007fd38f0a164c in ?? () from /usr/lib/libc.so.6
#5  0x00007fd38f051958 in raise () from /usr/lib/libc.so.6
#6  0x00007fd38f03b53d in abort () from /usr/lib/libc.so.6
#7  0x00007fd38f299833 in __gnu_cxx::__verbose_terminate_handler () at /usr/src/debug/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#8  0x00007fd38f2a5cfc in __cxxabiv1::__terminate (handler=<optimized out>) at /usr/src/debug/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#9  0x00007fd38f2a5d69 in std::terminate () at /usr/src/debug/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#10 0x00007fd38f2a5fcd in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0x7fd391efbcb8 <typeinfo for Akonadi::PayloadException>, dest=0x7fd391dddd80 <Akonadi::PayloadException::~PayloadException()>) at /usr/src/debug/gcc/libstdc++-v3/libsupc++/eh_throw.cc:98
#11 0x00007fd391d97f25 in ?? () from /usr/lib/libKF5AkonadiCore.so.5
#12 0x00007fd3920d37d3 in Akonadi::History::recordCreation(Akonadi::Item const&, QString const&, unsigned int) () from /usr/lib/libKF5AkonadiCalendar.so.5
#13 0x00007fd3920d8e5c in ?? () from /usr/lib/libKF5AkonadiCalendar.so.5
#14 0x00007fd3920ddc91 in ?? () from /usr/lib/libKF5AkonadiCalendar.so.5
#15 0x00007fd38f8b0520 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#16 0x00007fd390578b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#17 0x00007fd38f88cb88 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#18 0x00007fd38f88d693 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#19 0x00007fd38f8d3728 in ?? () from /usr/lib/libQt5Core.so.5
#20 0x00007fd38d87081b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007fd38d8c6ec9 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007fd38d86f0d2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007fd38f8d750c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#24 0x00007fd38f88532c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#25 0x00007fd38f88fe59 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#26 0x0000555bcfc91a9a in ?? ()
#27 0x00007fd38f03c290 in ?? () from /usr/lib/libc.so.6
#28 0x00007fd38f03c34a in __libc_start_main () from /usr/lib/libc.so.6
#29 0x0000555bcfc92a45 in ?? ()
[Inferior 1 (process 3482) detached]

Reported using DrKonqi
Comment 1 Victoria 2022-10-17 08:24:35 UTC
Happens also with Korganizer. Bug must be with Akonadi itself.

Operating System: Arch Linux
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 6.0.1-zen2-1-zen (64-bit)
Graphics Platform: Wayland
Comment 2 Carl Schwan 2022-10-17 08:47:40 UTC
Not just you, a similar backtrace but with more debug info can be found in https://errors-eval.kde.org/organizations/kde/issues/311/?project=30