Bug 444411

Summary: Akonadi resource crashed at system startup
Product: [Frameworks and Libraries] Akonadi Reporter: a.key <a.key>
Component: Google ResourceAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdepim-bugs, nate
Priority: NOR Keywords: drkonqi
Version: 5.16.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description a.key 2021-10-26 07:31:10 UTC
Application: akonadi_google_resource (5.16.2 (20.12.2))

Qt Version: 5.15.2
Frameworks Version: 5.85.0
Operating System: Linux 5.14.13-200.fc34.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: "Fedora release 34 (Thirty Four)"

-- Information about the crash:
- What I was doing when the application crashed: Waiting for the desktop to load after reboot.

Bunch of these:
Oct 26 08:24:48 darkstar akonadiserver[4746]: org.kde.pim.akonadiserver: Handler exception when handling command FetchItems on connection plasmashell-297544688 (0x558b5d58f830) : Operations based on remote identifiers require a resource or collection context
Oct 26 08:24:48 darkstar akonadi_google_resource[4888]: ASSERT failure in Akonadi::ResourceBase::retrieveItem(): "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 requests.", file /builddir/build/BUILD/akonadi-20.1
2.2/src/agentbase/resourcebase.cpp, line 1462

...and eventually:

Oct 26 08:24:48 darkstar korgac[4888]: KCrash: Application 'akonadi_google_resource' crashing...

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Google Groupware (a.key1337@gmail.com) (akonadi_google_resource), signal: Aborted

[KCrash Handler]
#4  0x00007ffac8aa12a2 in raise () at /lib64/libc.so.6
#5  0x00007ffac8a8a8a4 in abort () at /lib64/libc.so.6
#6  0x00007ffac8f2045b in qt_message_output(QtMsgType, QMessageLogContext const&, QString const&) [clone .cold] () at /lib64/libQt5Core.so.5
#7  0x00007ffac8f1f8be in qgetenv(char const*) [clone .cold] () at /lib64/libQt5Core.so.5
#8  0x00007ffacaa6c1ee in QMapNode<QString, QVariant>::copy(QMapData<QString, QVariant>*) const [clone .cold] () at /lib64/libKF5AkonadiAgentBase.so.5
#9  0x00007ffacaa86082 in Akonadi::ResourceBasePrivate::slotPrepareItemRetrievalResult(KJob*) () at /lib64/libKF5AkonadiAgentBase.so.5
#10 0x00007ffac91493a9 in void doActivate<false>(QObject*, int, void**) () at /lib64/libQt5Core.so.5
#11 0x00007ffaca3eacf0 in KJob::result(KJob*, KJob::QPrivateSignal) () at /lib64/libKF5CoreAddons.so.5
#12 0x00007ffaca3ef5cb in KJob::finishJob(bool) () at /lib64/libKF5CoreAddons.so.5
#13 0x00007ffac913ff09 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#14 0x00007ffac9ce0443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#15 0x00007ffac9115798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#16 0x00007ffac9118d06 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#17 0x00007ffac91670d7 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#18 0x00007ffac72de4cf in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#19 0x00007ffac73324f8 in g_main_context_iterate.constprop () at /lib64/libglib-2.0.so.0
#20 0x00007ffac72dbc03 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#21 0x00007ffac9166b78 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#22 0x00007ffac91141a2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#23 0x00007ffac911c6e4 in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#24 0x0000556da88dc1b7 in int Akonadi::ResourceBase::init<GoogleResource>(int, char**) ()
#25 0x00007ffac8a8bb75 in __libc_start_main () at /lib64/libc.so.6
#26 0x0000556da88d293e in _start ()
[Inferior 1 (process 4888) detached]

Possible duplicates by query: bug 444002, bug 443954, bug 443935, bug 443784, bug 443771.

Reported using DrKonqi
This report was filed against 'kde' because the product 'akonadi_google_resource' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 a.key 2021-10-26 07:40:15 UTC
Then I had another crash for the same resource with this message in journal:

Oct 26 08:37:13 darkstar akonadiserver[7971]: org.kde.pim.akonadiserver.search: Executing search "kontact-97546946-SearchSession"
Oct 26 08:37:13 darkstar akonadiserver[7971]: org.kde.pim.akonadiserver.search: Search  "kontact-97546946-SearchSession" done (without remote search)
Oct 26 08:37:13 darkstar akonadi_google_resource[8013]: ASSERT failure in Akonadi::ResourceBase::retrieveItem(): "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 requests.", file /builddir/build/BUILD/akonadi-20.12.2/src/agentbase/resourcebase.cpp, line 1462
Oct 26 08:37:13 darkstar plasmashell[8013]: KCrash: Application 'akonadi_google_resource' crashing...
Comment 2 Christophe Marin 2023-04-29 07:49:59 UTC

*** This bug has been marked as a duplicate of bug 448106 ***