Bug 469093

Summary: Crash after configuring Google Groupware source
Product: [Frameworks and Libraries] Akonadi Reporter: Marek Šiller <marek.siller>
Component: Google ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: carl, dario.dag, dvratil
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Marek Šiller 2023-04-28 09:30:38 UTC
Application: akonadi_google_resource (5.23.0 (23.04.0))

Qt Version: 5.15.9
Frameworks Version: 5.105.0
Operating System: Linux 6.2.12-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
Everytime I try to configure Google Groupware Akonadi plugin / agent, it crashes. Worked with previous version of KDE / Kontact / Akonadi.

The crash can be reproduced every time.

-- Backtrace:
Application: Google Groupware (not configured) (akonadi_google_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  0x00007f1d210a0953 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007f1d21051ea8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007f1d2103b53d in __GI_abort () at abort.c:79
#10 0x00007f1d2169fede in qt_message_fatal (message=<synthetic pointer>..., context=<optimized out>) at global/qlogging.cpp:1914
#11 QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffd2f925138, msg=msg@entry=0x7f1d21977380 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893
#12 0x00007f1d2169ff9d in qt_assert_x(char const*, char const*, char const*, int) (where=where@entry=0x7f1d2336a830 "Akonadi::ResourceBase::retrieveItem()", what=what@entry=0x7f1d2336a760 "The base implementation of retrieveItem() must never be reached. You must implement either retrieveItem() or retrieveItems(Akonadi::Item::List, QSet<QByteArray>) overload to handle item retrieval requ"..., file=file@entry=0x7f1d2336a718 "/usr/src/debug/akonadi/akonadi-23.04.0/src/agentbase/resourcebase.cpp", line=line@entry=1465) at global/qglobal.cpp:3399
#13 0x00007f1d23335695 in Akonadi::ResourceBase::retrieveItem(Akonadi::Item const&, QSet<QByteArray> const&) (this=this@entry=0x7ffd2f9258a0, item=<optimized out>, parts=...) at /usr/src/debug/akonadi/akonadi-23.04.0/src/agentbase/resourcebase.cpp:1460
#14 0x00007f1d233505ad in Akonadi::ResourceBasePrivate::slotPrepareItemRetrievalResult(KJob*) (this=<optimized out>, job=<optimized out>) at /usr/src/debug/akonadi/akonadi-23.04.0/src/agentbase/resourcebase.cpp:1043
#15 0x00007f1d218beb41 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd2f9252b0, r=<optimized out>, this=0x5636ef57b4b0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#16 doActivate<false>(QObject*, int, void**) (sender=0x5636eef71ca0, signal_index=6, argv=0x7ffd2f9252b0) at kernel/qobject.cpp:3923
#17 0x00007f1d22d617da in KJob::result(KJob*, KJob::QPrivateSignal) (this=this@entry=0x5636eef71ca0, _t1=<optimized out>, _t1@entry=0x5636eef71ca0, _t2=...) at /usr/src/debug/kcoreaddons/build/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#18 0x00007f1d22d6752c in KJob::finishJob(bool) (this=0x5636eef71ca0, emitResult=<optimized out>) at /usr/src/debug/kcoreaddons/kcoreaddons-5.105.0/src/lib/jobs/kjob.cpp:98
#19 0x00007f1d218b1c80 in QObject::event(QEvent*) (this=0x5636eef71ca0, e=0x5636ef42d920) at kernel/qobject.cpp:1347
#20 0x00007f1d22578b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5636eef71ca0, e=0x5636ef42d920) at kernel/qapplication.cpp:3640
#21 0x00007f1d2188e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5636eef71ca0, event=0x5636ef42d920) at kernel/qcoreapplication.cpp:1064
#22 0x00007f1d2188e093 in QCoreApplication::sendEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1462
#23 0x00007f1d2188eb33 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5636ee697290) at kernel/qcoreapplication.cpp:1821
#24 0x00007f1d218d4f58 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5636ee76f510) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007f1d1f90f53b in g_main_dispatch (context=0x7f1d14000ee0) at ../glib/glib/gmain.c:3460
#26 g_main_context_dispatch (context=0x7f1d14000ee0) at ../glib/glib/gmain.c:4200
#27 0x00007f1d1f96c219 in g_main_context_iterate.constprop.0 (context=0x7f1d14000ee0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#28 0x00007f1d1f90e1a2 in g_main_context_iteration (context=0x7f1d14000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#29 0x00007f1d218d8d3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5636ee774600, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007f1d2188668c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ffd2f925730, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#31 0x00007f1d218912f9 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x00007f1d21d3b052 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#33 0x00007f1d22576f2a in QApplication::exec() () at kernel/qapplication.cpp:2832
#34 0x00007f1d2334b5aa in Akonadi::ResourceBase::init(Akonadi::ResourceBase&) (r=...) at /usr/src/debug/akonadi/akonadi-23.04.0/src/agentbase/resourcebase.cpp:555
#35 0x00005636ee12c37b in Akonadi::ResourceBase::init<GoogleResource>(int, char**) (argv=<optimized out>, argc=<optimized out>) at /usr/include/KPim5/AkonadiAgentBase/akonadi/resourcebase.h:184
#36 main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-runtime/kdepim-runtime-23.04.0/resources/google-groupware/googleresource.cpp:549
[Inferior 1 (process 10520) detached]

The reporter indicates this bug may be a duplicate of or related to bug 468588, bug 468723, bug 462473.

Reported using DrKonqi
Comment 1 Christophe Marin 2023-04-29 07:50:05 UTC

*** This bug has been marked as a duplicate of bug 448106 ***
Comment 2 Dario D'Agostino 2023-04-30 23:56:12 UTC
Created attachment 158583 [details]
New crash information added by DrKonqi

akonadi_google_resource (5.23.0 (23.04.0)) using Qt 5.15.9

Crach at system booting (every time), after Google Account setted

-- Backtrace (Reduced):
#6  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#7  0x00007f7aa7ca0953 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#8  0x00007f7aa7c51ea8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#9  0x00007f7aa7c3b53d in __GI_abort () at abort.c:79
#10 0x00007f7aa829fede in qt_message_fatal (message=<synthetic pointer>..., context=<optimized out>) at global/qlogging.cpp:1914