Bug 455336 - kalendar crashes on startup
Summary: kalendar crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: Merkuro
Classification: Applications
Component: general (show other bugs)
Version: 22.04.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Claudio Cambra
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-15 14:42 UTC by florian.sieck
Modified: 2022-11-27 10:59 UTC (History)
1 user (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 florian.sieck 2022-06-15 14:42:18 UTC
SUMMARY

kalendar crashes on startup. Removing and re-installing does not solve the issue. Including deleting the cache in ~/.cache/KDE and deleting the configuration and all dependencies (with pacman -Rns). The issue occurs on archlinux, all updates installed. Kalendar was working without any issues in previous versions (however, we are not sure whether 22.04.2 was the first version with the problem, it might also be 22.04.0 or 22.03.90). The following stack trace is created upon crash (it indicates an issue with the akonadi kalendar backend? If the bug report is wrong here, please move it):

```
Application: Kalendar (kalendar), signal: Segmentation fault

[KCrash Handler]
#4  0x00007fa1176e9858 in Akonadi::IncidenceChanger::history() const () from /usr/lib/libKF5AkonadiCalendar.so.5
#5  0x0000560ac5d3b4bf in ?? ()
#6  0x00007fa116d714bb in ?? () from /usr/lib/libQt5Qml.so.5
#7  0x00007fa116ea04c7 in QV4::QQmlTypeWrapper::lookupSingletonProperty(QV4::Lookup*, QV4::ExecutionEngine*, QV4::Value const&) () from /usr/lib/libQt5Qml.so.5
#8  0x00007fa116ea0898 in QV4::QQmlTypeWrapper::virtualResolveLookupGetter(QV4::Object const*, QV4::ExecutionEngine*, QV4::Lookup*) () from /usr/lib/libQt5Qml.so.5
#9  0x00007fa116d8db1a in ?? () from /usr/lib/libQt5Qml.so.5
#10 0x00007fa116d97d64 in ?? () from /usr/lib/libQt5Qml.so.5
#11 0x00007fa116d3b7a6 in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () from /usr/lib/libQt5Qml.so.5
#12 0x00007fa116e8fb0d in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () from /usr/lib/libQt5Qml.so.5
#13 0x00007fa116e96699 in QQmlBinding::evaluate(bool*) () from /usr/lib/libQt5Qml.so.5
#14 0x00007fa116e98c8a in ?? () from /usr/lib/libQt5Qml.so.5
#15 0x00007fa116e98813 in QQmlBinding::update(QFlags<QQmlPropertyData::WriteFlag>) () from /usr/lib/libQt5Qml.so.5
#16 0x00007fa116ea4cbd in QQmlObjectCreator::finalize(QQmlInstantiationInterrupt&) () from /usr/lib/libQt5Qml.so.5
#17 0x00007fa116e486ad in QQmlComponentPrivate::complete(QQmlEnginePrivate*, QQmlComponentPrivate::ConstructionState*) () from /usr/lib/libQt5Qml.so.5
#18 0x00007fa116e4887b in QQmlComponentPrivate::completeCreate() () from /usr/lib/libQt5Qml.so.5
#19 0x00007fa116e48933 in QQmlComponent::create(QQmlContext*) () from /usr/lib/libQt5Qml.so.5
#20 0x00007fa116e9a17a in QQmlApplicationEnginePrivate::finishLoad(QQmlComponent*) () from /usr/lib/libQt5Qml.so.5
#21 0x00007fa116e9a6d2 in QQmlApplicationEngine::load(QUrl const&) () from /usr/lib/libQt5Qml.so.5
#22 0x0000560ac5d37de2 in ?? ()
#23 0x00007fa114c29290 in ?? () from /usr/lib/libc.so.6
#24 0x00007fa114c2934a in __libc_start_main () from /usr/lib/libc.so.6
#25 0x0000560ac5d390b5 in ?? ()
[Inferior 1 (process 3825) detached]
```

Installing kalendar on arch installs the following packages (incl. the version number) (some other dependencies might already have been installed):

```
pacman -S kalendar 
resolving dependencies...
looking for conflicting packages...

Packages (30) akonadi-22.04.2-1  akonadi-calendar-22.04.2-1  akonadi-mime-22.04.2-1  akonadi-notes-22.04.2-1  akonadi-search-22.04.2-1  calendarsupport-22.04.2-1  eventviews-22.04.2-1
              jemalloc-1:5.3.0-1  kcalendarcore-5.95.0-1  kcalutils-22.04.2-1  kdav-1:5.95.0-1  kdepim-runtime-22.04.2-1  kdiagram-2.8.0-1  kidentitymanagement-22.04.2-1  kimap-22.04.2-1
              kldap-22.04.2-1  kmailtransport-22.04.2-1  kmbox-22.04.2-1  kpimtextedit-22.04.2-1  ksmtp-22.04.2-1  libkdepim-22.04.2-1  libkgapi-22.04.2-1  libkolabxml-1.1.6-18  mariadb-10.8.3-1
              mariadb-clients-10.8.3-1  mariadb-libs-10.8.3-1  pimcommon-22.04.2-1  qtkeychain-qt5-0.13.2-1  xerces-c-3.2.3-6  kalendar-22.04.2-1
``` 

STEPS TO REPRODUCE
1. Install and run kalendar on a recent archlinux. There are no special prerequisites. The issues occurs on at least two different machines with archlinux. We cannot exclude an issue with the combination of the kalendar software and library versions on archlinux, however a segmentation fault did (at least for us) indicate an issue with kalendar / akonadi.

OBSERVED RESULT

Kalendar does not start and produces the attached error message.


EXPECTED RESULT

Kalendar starts.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch Linux (Kernel: 5.18.3-arch1-1) 
(available in About System)
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Comment 1 Claudio Cambra 2022-11-27 10:59:09 UTC
Hi, this bug was fixed a few weeks ago and was included in release 22.08.3. Thanks for reporting!