Bug 447519 - akonadi_ews_resource crashes after authentication
Summary: akonadi_ews_resource crashes after authentication
Status: REPORTED
Alias: None
Product: Akonadi
Classification: Unclassified
Component: EWS Resource (show other bugs)
Version: 5.18.3
Platform: Fedora RPMs Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-12-26 00:05 UTC by tropin
Modified: 2022-01-04 17:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tropin 2021-12-26 00:05:59 UTC
Application: akonadi_ews_resource (5.18.3 (21.08.3))

Qt Version: 5.15.2
Frameworks Version: 5.89.0
Operating System: Linux 5.15.10-200.fc35.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 35 (Workstation Edition)
DrKonqi: 5.23.3 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Crash occurs when logging into KDE acoount on Fedora 33 and 35 workstations. fsck. vaccum and restart of akonadi server does not help. After successfull authentification and transfer the directory tree from Outlook server the akonadi_ews_resource executable crashes and continues to fail after akonadi restarts.  Sometimes but very rare akonadi started successfully and kmail and kontakt works some time. Evolution communicates with Outlook successfully without showing any artefacts in content trasfered by server. Behavor looks like to having a racing condition in parallel program, hope the log provided will help to find a real reason. Thank you.

The crash can be reproduced every time.

-- Backtrace:
Application: Work (akonadi_ews_resource), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007fc94dcec8b3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007fc94dc9f6a6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007fc94dc897d3 in __GI_abort () at abort.c:79
#10 0x00007fc94e15244b in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914
#11 QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffff00c27e8, msg=msg@entry=0x7fc94e411000 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:893
#12 0x00007fc94e15184c in qt_assert(char const*, char const*, int) (assertion=assertion@entry=0x7fc94db12948 "size == 0 || offset < 0 || size_t(offset) >= sizeof(QArrayData)", file=file@entry=0x7fc94db12920 "/usr/include/qt5/QtCore/qarraydata.h", line=line@entry=59) at global/qglobal.cpp:3358
#13 0x00007fc94dab6cc9 in QArrayData::data() [clone .part.0] [clone .lto_priv.0] (this=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:59
#14 0x00007fc94dab6edd in QArrayData::data() (this=<optimized out>) at /usr/src/debug/kf5-akonadi-server-21.08.3-1.fc35.x86_64/src/private/imapparser.cpp:105
#15 QTypedArrayData<char>::data() (this=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:208
#16 QByteArray::operator[](int) const (this=<optimized out>, this=<optimized out>, i=<optimized out>) at /usr/include/qt5/QtCore/qbytearray.h:502
#17 (anonymous namespace)::parseParenthesizedListHelper<QList<QByteArray> > (start=<optimized out>, result=<optimized out>, data=<optimized out>) at /usr/src/debug/kf5-akonadi-server-21.08.3-1.fc35.x86_64/src/private/imapparser.cpp:73
#18 Akonadi::ImapParser::parseParenthesizedList(QByteArray const&, QList<QByteArray>&, int) (data=<optimized out>, result=..., start=<optimized out>, start@entry=0) at /usr/src/debug/kf5-akonadi-server-21.08.3-1.fc35.x86_64/src/private/imapparser.cpp:127
#19 0x00007fc957c3a41d in parseColor(QByteArray const&) (data=<optimized out>) at /usr/src/debug/kf5-akonadi-server-21.08.3-1.fc35.x86_64/src/core/attributes/tagattribute.cpp:105
#20 0x00007fc957c3a7ba in Akonadi::TagAttribute::deserialize(QByteArray const&) (this=0x559dece2d1b0, data=<optimized out>) at /usr/src/debug/kf5-akonadi-server-21.08.3-1.fc35.x86_64/src/core/attributes/tagattribute.cpp:133
#21 0x0000559deaaa2e6a in EwsTagStore::unserializeTag(QByteArray const&, Akonadi::Tag&) const (this=<optimized out>, data=..., tag=...) at /usr/src/debug/kdepim-runtime-21.08.3-1.fc35.x86_64/resources/ews/tags/ewstagstore.cpp:82
#22 0x0000559deaaa3296 in EwsTagStore::tags() const (this=0x559decbe2160) at /usr/src/debug/kdepim-runtime-21.08.3-1.fc35.x86_64/resources/ews/tags/ewstagstore.cpp:158
#23 0x0000559deaaa0957 in EwsGlobalTagsReadJob::getFolderRequestFinished(KJob*) (this=0x559dece1cb50, job=<optimized out>) at /usr/src/debug/kdepim-runtime-21.08.3-1.fc35.x86_64/resources/ews/tags/ewsglobaltagsreadjob.cpp:73
#24 0x00007fc94e37b3e9 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffff00c2c50, r=<optimized out>, this=0x559dece2b9f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#25 doActivate<false>(QObject*, int, void**) (sender=0x559dece187e0, signal_index=6, argv=0x7ffff00c2c50) at kernel/qobject.cpp:3886
#26 0x00007fc94e376367 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x559dece187e0, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffff00c2c50) at kernel/qobject.cpp:3946
#27 0x00007fc957396450 in KJob::result(KJob*, KJob::QPrivateSignal) (this=this@entry=0x559dece187e0, _t1=<optimized out>, _t1@entry=0x559dece187e0, _t2=...) at /usr/src/debug/kf5-kcoreaddons-5.89.0-1.fc35.x86_64/redhat-linux-build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#28 0x00007fc95739aabb in KJob::finishJob(bool) (this=0x559dece187e0, emitResult=<optimized out>) at /usr/src/debug/kf5-kcoreaddons-5.89.0-1.fc35.x86_64/src/lib/jobs/kjob.cpp:98
#29 0x00007fc94e37b3e9 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffff00c2d90, r=<optimized out>, this=0x559dece11000) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#30 doActivate<false>(QObject*, int, void**) (sender=0x559dece23c90, signal_index=6, argv=0x7ffff00c2d90) at kernel/qobject.cpp:3886
#31 0x00007fc94e376367 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x559dece23c90, m=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffff00c2d90) at kernel/qobject.cpp:3946
#32 0x00007fc957396450 in KJob::result(KJob*, KJob::QPrivateSignal) (this=this@entry=0x559dece23c90, _t1=<optimized out>, _t1@entry=0x559dece23c90, _t2=...) at /usr/src/debug/kf5-kcoreaddons-5.89.0-1.fc35.x86_64/redhat-linux-build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#33 0x00007fc95739aabb in KJob::finishJob(bool) (this=0x559dece23c90, emitResult=<optimized out>) at /usr/src/debug/kf5-kcoreaddons-5.89.0-1.fc35.x86_64/src/lib/jobs/kjob.cpp:98
#34 0x00007fc94e37b3e9 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffff00c2e70, r=<optimized out>, this=0x559dece21290) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#35 doActivate<false>(QObject*, int, void**) (sender=0x559dece28bb0, signal_index=7, argv=0x7ffff00c2e70) at kernel/qobject.cpp:3886
#36 0x00007fc94e376367 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x559dece28bb0, m=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#37 0x00007fc9577893b7 in KIO::SlaveInterface::finished() (this=this@entry=0x559dece28bb0) at /usr/src/debug/kf5-kio-5.89.0-1.fc35.x86_64/redhat-linux-build/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:464
#38 0x00007fc95778fddd in KIO::SlaveInterface::dispatch(int, QByteArray const&) (this=0x559dece28bb0, _cmd=104, rawdata=...) at /usr/src/debug/kf5-kio-5.89.0-1.fc35.x86_64/src/core/slaveinterface.cpp:149
#39 0x00007fc9577891dd in KIO::SlaveInterface::dispatch() (this=0x559dece28bb0) at /usr/src/debug/kf5-kio-5.89.0-1.fc35.x86_64/src/core/slaveinterface.cpp:78
#40 0x00007fc95778ca52 in KIO::Slave::gotInput() (this=0x559dece28bb0) at /usr/src/debug/kf5-kio-5.89.0-1.fc35.x86_64/src/core/slave.cpp:336
#41 0x00007fc94e37b3e9 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffff00c30c0, r=<optimized out>, this=0x559dece28aa0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#42 doActivate<false>(QObject*, int, void**) (sender=0x559decd9d160, signal_index=3, argv=0x7ffff00c30c0) at kernel/qobject.cpp:3886
#43 0x00007fc94e371f49 in QObject::event(QEvent*) (this=0x559decd9d160, e=0x559dece13fc0) at kernel/qobject.cpp:1314
#44 0x00007fc94ef36443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x559decd9d160, e=0x559dece13fc0) at kernel/qapplication.cpp:3632
#45 0x00007fc94e3477d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x559decd9d160, event=0x559dece13fc0) at kernel/qcoreapplication.cpp:1064
#46 0x00007fc94e34ad46 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x559dec8da6a0) at kernel/qcoreapplication.cpp:1821
#47 0x00007fc94e399117 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x559dec9d1cb0) at kernel/qeventdispatcher_glib.cpp:277
#48 0x00007fc947c2f130 in g_main_dispatch (context=0x7fc92c005000) at ../glib/gmain.c:3381
#49 g_main_context_dispatch (context=0x7fc92c005000) at ../glib/gmain.c:4099
#50 0x00007fc947c84208 in g_main_context_iterate.constprop.0 (context=context@entry=0x7fc92c005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#51 0x00007fc947c2c933 in g_main_context_iteration (context=0x7fc92c005000, may_block=1) at ../glib/gmain.c:4240
#52 0x00007fc94e398bb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x559dec9e60d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#53 0x00007fc94e3461e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffff00c3510, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#54 0x00007fc94e34e724 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#55 0x0000559deaae15a6 in Akonadi::ResourceBase::init<EwsResource>(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:182
#56 0x00007fc94dc8a560 in __libc_start_call_main (main=main@entry=0x559deaa83c80 <main(int, char**)>, argc=argc@entry=3, argv=argv@entry=0x7ffff00c3808) at ../sysdeps/nptl/libc_start_call_main.h:58
#57 0x00007fc94dc8a60c in __libc_start_main_impl (main=0x559deaa83c80 <main(int, char**)>, argc=3, argv=0x7ffff00c3808, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff00c37f8) at ../csu/libc-start.c:409
#58 0x0000559deaa88d35 in _start ()
[Inferior 1 (process 3164) detached]

Possible duplicates by query: bug 419428, bug 347564.

Reported using DrKonqi
This report was filed against 'kde' because the product 'akonadi_ews_resource' could not be located in Bugzilla. Add it to drkonqi's mappings file!