https://bugs.kde.org/show_bug.cgi?id=460665

            Bug ID: 460665
           Summary: Akonadi crashes with SEGFAULT after creating a new
                    item
    Classification: Applications
           Product: korganizer
           Version: unspecified
          Platform: OpenSUSE
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-b...@kde.org
          Reporter: mar...@gmx.de
  Target Milestone: ---

Application: korganizer (5.21.2 (22.08.2))

Qt Version: 5.15.6
Frameworks Version: 5.99.0
Operating System: Linux 6.0.1-1-default x86_64
Windowing System: X11
Distribution: openSUSE Tumbleweed
DrKonqi: 5.26.0 [KCrashBackend]

-- Information about the crash:
I have recently, i.e., within the past 1-2 weeks, started experiencing crashes
in Akonadi.  The first situation was during sync, where my users journal shows
a lot of calendar item errors ("parse error from
icalcomponent_new_from_string.").  The errors relate to calendar items from all
over the place (2018, maybe earlier, to 2022).  The second situation, which I
just experienced and which prompted this bug report, relates to creating a new
appointment.  Upon clicking "Apply" (or "OK", I'm not sure anymore) to create
the entry, Korganizer crashed with a SEGFAULT.  The attached backtrace is from
that crash.

Also potentially of interest: I noticed one calendar item that does not
synchronize from my Nextcloud server, which I created on my phone.  I have not
been able to get it to show up in KOrganizer.

One random idea I have, since some calendar entries don't render special
characters properly (e.g., German "ß") *and* I also see lots of warnings in my
journal a la 'org.kde.pim.akonadicore: Unable to deserialize payload part:
"RFC822" in [...]', is that it might be related to encoding, but I have not
systematically experimented with reproducing this.  One other correlate: this
started happening after OpenSuse Tumbleweed upgraded to Plasma 5.26.0 and/or
KDE Frameworks (?) 22.08.2.

Also, I just noticed that the aformentioned warnings and errors relate to each
other.  The typical series of log entries looks like this:

    Okt 18 16:51:52 thetick korganizer[20124]: parse error from
icalcomponent_new_from_string. string= "BEGIN:VCALENDAR\n[...]\nEND:VCALENDAR"
    Okt 18 16:51:52 thetick korganizer[20124]: org.kde.pim.calendar_serializer:
Failed to parse incidence! Item id =  108245 Storage collection id  107
parentCollectionId =  107
    Okt 18 16:51:52 thetick korganizer[20124]: org.kde.pim.calendar_serializer:
"BEGIN:VCALENDAR\n[...]\nEND:VCALENDAR"
    Okt 18 16:51:52 thetick korganizer[20124]: org.kde.pim.akonadicore: Unable
to deserialize payload part: "RFC822" in item 108245 collection 107
    Okt 18 16:51:52 thetick korganizer[20124]: org.kde.pim.akonadicore: 
payload data was:  "BEGIN:VCALENDAR\n[...]\nEND:VCALENDAR"

My main calendar is a self-hosted Nextcloud (version 23.0.8, all apps
up-to-date) on a Gentoo server, synchronized via CalDav, but I also synchronize
an ical file from my university.

The reporter is unsure if this crash is reproducible.

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

[KCrash Handler]
#4  0x00007fea360c2b56 in
Akonadi::IncidenceChangerPrivate::handleInvitationsAfterChange
(this=0x560369a23100, change=...) at
/usr/src/debug/akonadi-calendar-22.08.2-1.1.x86_64/src/incidencechanger.cpp:573
#5  0x00007fea360c3c53 in
Akonadi::IncidenceChangerPrivate::handleCreateJobResult (this=0x560369a23100,
job=<optimized out>) at
/usr/src/debug/akonadi-calendar-22.08.2-1.1.x86_64/src/incidencechanger.cpp:264
#6  0x00007fea36d7b9d0 in QObject::event (this=0x560369a23100,
e=0x56036b0a7500) at kernel/qobject.cpp:1347
#7  0x00007fea378fe3fe in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x560369a23100, e=0x56036b0a7500) at
kernel/qapplication.cpp:3637
#8  0x00007fea36d50178 in QCoreApplication::notifyInternal2
(receiver=0x560369a23100, event=0x56036b0a7500) at
kernel/qcoreapplication.cpp:1064
#9  0x00007fea36d53111 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x5603696bf480) at
kernel/qcoreapplication.cpp:1821
#10 0x00007fea36da8003 in postEventSourceDispatch (s=0x560369815d30) at
kernel/qeventdispatcher_glib.cpp:277
#11 0x00007fea344bca50 in g_main_context_dispatch () from
/lib64/libglib-2.0.so.0
#12 0x00007fea344bce08 in ?? () from /lib64/libglib-2.0.so.0
#13 0x00007fea344bce9c in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#14 0x00007fea36da7806 in QEventDispatcherGlib::processEvents
(this=0x560369821ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#15 0x00007fea36d4ebeb in QEventLoop::exec (this=this@entry=0x7fff677a7480,
flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#16 0x00007fea36d56d56 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#17 0x000056036816f532 in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/korganizer-22.08.2-1.1.x86_64/src/main.cpp:72
[Inferior 1 (process 18763) detached]

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to