Bug 448830

Summary: Akonadi google resource crashes everytime on refresh
Product: [I don't know] kde Reporter: Seqularise <seqularise>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nicolas.fella
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Seqularise 2022-01-20 15:30:42 UTC
Application: akonadi_google_resource (5.19.40 (22.03.40))
 (Compiled from sources)
Qt Version: 5.15.3
Frameworks Version: 5.91.0
Operating System: Linux 5.16.1-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.24.80 [KCrashBackend]

-- Information about the crash:
Steps to reproduce:
1. open Kalendar
2. Configure Kalendar - Add calendar source
3. it will crash right after signing in

The crash can be reproduced every time.

-- Backtrace:
Application: Google Groupware (seqularise@gmail.com) (akonadi_google_resource), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = {<No data fields>}}
[KCrash Handler]
#6  0x00007f2545e7ad22 in raise () at /usr/lib/libc.so.6
#7  0x00007f2545e64862 in abort () at /usr/lib/libc.so.6
#8  0x00007f25462cfaf0 in qt_message_fatal (message=<synthetic pointer>..., context=...) at global/qlogging.cpp:1914
#9  QMessageLogger::fatal(char const*, ...) const (this=this@entry=0x7ffc1e552998, msg=msg@entry=0x7f25465f8098 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893
#10 0x00007f25462cee03 in qt_assert_x(char const*, char const*, char const*, int) (where=where@entry=0x7f2547f968e8 "ResourceBase::collectionsRetrieved()", what=what@entry=0x7f2547f96898 "Calling collectionsRetrieved() although no collection retrieval is in progress", file=file@entry=0x7f2547f96500 "/build/akonadi/src/akonadi/src/agentbase/resourcebase.cpp", line=line@entry=749) at global/qglobal.cpp:3366
#11 0x00007f2547f59dfc in Akonadi::ResourceBase::collectionsRetrieved(QVector<Akonadi::Collection> const&) (this=0x7ffc1e553170, collections=<optimized out>) at /usr/src/debug/akonadi/src/agentbase/resourcebase.cpp:749
#12 0x00005578a03828b8 in GoogleResource::collectionsRetrievedFromHandler(QVector<Akonadi::Collection> const&) (this=0x7ffc1e553170, collections=<optimized out>) at /usr/src/debug/kdepim-runtime/resources/google-groupware/googleresource.cpp:393
#13 0x00005578a039f032 in operator() (job=<optimized out>, __closure=0x5578a136af40) at /usr/src/debug/kdepim-runtime/resources/google-groupware/calendarhandler.cpp:116
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KGAPI2::Job*>, void, CalendarHandler::retrieveCollections(const Akonadi::Collection&)::<lambda(KGAPI2::Job*)> >::call (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#15 QtPrivate::Functor<CalendarHandler::retrieveCollections(const Akonadi::Collection&)::<lambda(KGAPI2::Job*)>, 1>::call<QtPrivate::List<KGAPI2::Job*>, void> (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#16 QtPrivate::QFunctorSlotObject<CalendarHandler::retrieveCollections(const Akonadi::Collection&)::<lambda(KGAPI2::Job*)>, 1, QtPrivate::List<KGAPI2::Job*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=0x5578a136af30, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#17 0x00007f2546545215 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffc1e552c90, r=<optimized out>, this=0x5578a136af30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#18 doActivate<false>(QObject*, int, void**) (sender=0x5578a132f470, signal_index=3, argv=0x7ffc1e552c90) at kernel/qobject.cpp:3886
#19 0x00007f254653e467 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f25477430c0 <KGAPI2::Job::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffc1e552c90) at kernel/qobject.cpp:3946
#20 0x00007f254772aa04 in KGAPI2::Job::finished(KGAPI2::Job*) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/build/src/core/KPimGAPICore_autogen/include/moc_job.cpp:214
#21 0x00007f254653b5c1 in QObject::event(QEvent*) (this=0x5578a132f470, e=0x5578a131ccf0) at kernel/qobject.cpp:1314
#22 0x00007f2547128fb6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5578a132f470, e=0x5578a131ccf0) at kernel/qapplication.cpp:3632
#23 0x00007f254650c4a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5578a132f470, event=0x5578a131ccf0) at kernel/qcoreapplication.cpp:1064
#24 0x00007f254650f929 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x5578a12be280) at kernel/qcoreapplication.cpp:1821
#25 0x00007f2546569aa8 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x5578a12e5de0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f2542737fd3 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#27 0x00007f254278e049 in  () at /usr/lib/libglib-2.0.so.0
#28 0x00007f2542735545 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#29 0x00007f25465690ba in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5578a1292d30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#30 0x00007f254650ad6b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc1e5530e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#31 0x00007f2546513928 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#32 0x00007f25469e1292 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1867
#33 0x00007f2547128f2a in QApplication::exec() () at kernel/qapplication.cpp:2824
#34 0x00007f2547f7425d in Akonadi::ResourceBase::init(Akonadi::ResourceBase&) (r=...) at /usr/src/debug/akonadi/src/agentbase/resourcebase.cpp:555
#35 0x00005578a0389d2c in Akonadi::ResourceBase::init<GoogleResource>(int, char**) (argc=<optimized out>, argv=0x7ffc1e553170) at /usr/include/KF5/AkonadiAgentBase/akonadi/resourcebase.h:183
#36 0x00007f2545e65b25 in __libc_start_main () at /usr/lib/libc.so.6
#37 0x00005578a037d63e in _start ()
[Inferior 1 (process 1210) detached]

Possible duplicates by query: bug 419428.

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 Nicolas Fella 2022-01-20 15:33:27 UTC

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