Bug 443771

Summary: Kcalendar crashed on Leap 15.3 KDE start up
Product: [Frameworks and Libraries] Akonadi Reporter: Eion MacDonald <eionmac>
Component: ICal file resourceAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash CC: eionmac
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Eion MacDonald 2021-10-15 09:58:40 UTC
Application: akonadi_ical_resource (5.14.2 (20.04.2))

Qt Version: 5.12.7
Frameworks Version: 5.76.0
Operating System: Linux 5.3.18-59.27-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.3"

-- Information about the crash:
- What I was doing when the application crashed: I started up Leap 15.3 KDE, each time if shows an aconadi exception error and that KCalendar crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Personal Calendar (akonadi_ical_resource), signal: Segmentation fault
[KCrash Handler]
#4  0x00007fe19708ce1a in operator== (s1=..., s2=...) at tools/qstring.cpp:3402
#5  0x00007fe19982829c in KCalendarCore::MemoryCalendar::Private::forIncidences<KCalendarCore::Incidence, QString>(QMultiHash<QString, QSharedPointer<KCalendarCore::Incidence> > const&, QString const&, std::function<void (KCalendarCore::Incidence::Ptr const&)>&&) const (op=..., key=..., incidences=..., this=<optimized out>) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/memorycalendar.cpp:101
#6  KCalendarCore::MemoryCalendar::deleteIncidenceInstances (this=<optimized out>, incidence=...) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/memorycalendar.cpp:243
#7  0x00007fe19982c75f in KCalendarCore::MemoryCalendar::deleteIncidence (this=0x55874c55ea10, incidence=...) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/memorycalendar.cpp:231
#8  0x00007fe19982709a in KCalendarCore::MemoryCalendar::deleteEvent (this=<optimized out>, event=...) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/memorycalendar.cpp:331
#9  0x00007fe19980b018 in KCalendarCore::ICalFormatImpl::populate (this=0x55874c52cfd0, cal=..., calendar=calendar@entry=0x55874c5a5280, deleted=deleted@entry=false, notebook=...) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/icalformat_p.cpp:2867
#10 0x00007fe1997fad93 in KCalendarCore::ICalFormat::fromRawString (this=0x55874c5256a0, cal=..., string=..., deleted=<optimized out>, notebook=...) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/icalformat.cpp:224
#11 0x00007fe1997fe45d in KCalendarCore::ICalFormat::load (this=this@entry=0x55874c5256a0, calendar=..., fileName=...) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/icalformat.cpp:84
#12 0x00007fe1997f55bc in KCalendarCore::FileStorage::load (this=0x55874c595300) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/filestorage.cpp:100
#13 0x000055874bdfe3bf in ICalResourceBase::readFromFile (this=0x7fff8f1de810, fileName=...) at /usr/src/debug/kdepim-runtime-20.04.2-bp153.2.2.1.x86_64/resources/ical/shared/icalresourcebase.cpp:82
#14 0x00007fe199591fe2 in Akonadi::SingleFileResourceBase::setLocalFileName (this=0x7fff8f1de810, fileName=...) at /usr/src/debug/kdepim-runtime-20.04.2-bp153.2.2.1.x86_64/resources/shared/singlefileresource/singlefileresourcebase.cpp:120
#15 0x00007fe199593a3f in Akonadi::SingleFileResourceBase::readLocalFile (this=this@entry=0x7fff8f1de810, fileName=...) at /usr/src/debug/kdepim-runtime-20.04.2-bp153.2.2.1.x86_64/resources/shared/singlefileresource/singlefileresourcebase.cpp:110
#16 0x000055874bdfd153 in Akonadi::SingleFileResource<Akonadi_ICal_Resource::Settings>::readFile (this=0x7fff8f1de810, taskContext=<optimized out>) at /usr/src/debug/kdepim-runtime-20.04.2-bp153.2.2.1.x86_64/resources/shared/singlefileresource/singlefileresource.h:121
#17 0x00007fe19721ae84 in QtPrivate::QSlotObjectBase::call (a=0x7fff8f1de1c0, r=<optimized out>, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:394
#18 QSingleShotTimer::timerEvent (this=0x55874c5275b0) at kernel/qtimer.cpp:318
#19 0x00007fe19720ea1b in QObject::event (this=0x55874c5275b0, e=<optimized out>) at kernel/qobject.cpp:1283
#20 0x00007fe1985b2f9c in QApplicationPrivate::notify_helper (this=this@entry=0x55874c3f3280, receiver=receiver@entry=0x55874c5275b0, e=e@entry=0x7fff8f1de500) at kernel/qapplication.cpp:3701
#21 0x00007fe1985ba5b0 in QApplication::notify (this=0x7fff8f1de800, receiver=0x55874c5275b0, e=0x7fff8f1de500) at kernel/qapplication.cpp:3447
#22 0x00007fe1971de3a8 in QCoreApplication::notifyInternal2 (receiver=0x55874c5275b0, event=0x7fff8f1de500) at kernel/qcoreapplication.cpp:1088
#23 0x00007fe19723a899 in QTimerInfoList::activateTimers (this=0x55874c4ed280) at kernel/qtimerinfo_unix.cpp:643
#24 0x00007fe19723b061 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:182
#25 0x00007fe190e32694 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fe190e32a30 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fe190e32abc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fe19723b42f in QEventDispatcherGlib::processEvents (this=0x55874c4fb420, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007fe1971dc5fa in QEventLoop::exec (this=this@entry=0x7fff8f1de750, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#30 0x00007fe1971e5800 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#31 0x00007fe1993508ed in Akonadi::ResourceBase::init (r=...) at /usr/src/debug/akonadi-server-20.04.2-bp153.4.2.1.x86_64/src/agentbase/resourcebase.cpp:611
#32 0x000055874bdfda4f in Akonadi::ResourceBase::init<ICalResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:199
#33 0x00007fe19659134d in __libc_start_main () from /lib64/libc.so.6
#34 0x000055874bdf8d3a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 6608) detached]

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

Possible duplicates by query: bug 440841, bug 425842, bug 422092, bug 419229, bug 416379.

Reported using DrKonqi
Comment 1 Eion MacDonald 2021-10-20 07:40:01 UTC
Created attachment 142658 [details]
New crash information added by DrKonqi

akonadi_ical_resource (5.14.2 (20.04.2)) using Qt 5.12.7

- What I was doing when the application crashed: I started openSUSE LEAP15.3. The error screen comes up at same time as the log in request for password for KWallet. The Kwallet password request being in front of the error report.
This is consistent. I have tried reloading K PIM but it does not cure fault. I do not want to complely restore openSUSE to cure problem.

-- Backtrace (Reduced):
#4  0x00007f80ba1bce1a in operator== (s1=..., s2=...) at tools/qstring.cpp:3402
#5  0x00007f80bc95829c in KCalendarCore::MemoryCalendar::Private::forIncidences<KCalendarCore::Incidence, QString>(QMultiHash<QString, QSharedPointer<KCalendarCore::Incidence> > const&, QString const&, std::function<void (KCalendarCore::Incidence::Ptr const&)>&&) const (op=..., key=..., incidences=..., this=<optimized out>) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/memorycalendar.cpp:101
#6  KCalendarCore::MemoryCalendar::deleteIncidenceInstances (this=<optimized out>, incidence=...) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/memorycalendar.cpp:243
#7  0x00007f80bc95c75f in KCalendarCore::MemoryCalendar::deleteIncidence (this=0x557e77478710, incidence=...) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/memorycalendar.cpp:231
#8  0x00007f80bc95709a in KCalendarCore::MemoryCalendar::deleteEvent (this=<optimized out>, event=...) at /usr/src/debug/kcalendarcore-5.76.0-bp153.2.2.1.x86_64/src/memorycalendar.cpp:331