Bug 444002

Summary: Akonadi Crash when adding Google Groupware
Product: [Frameworks and Libraries] Akonadi Reporter: Justin Zobel <justin.zobel>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: crash CC: axel.braun, nate
Priority: NOR Keywords: drkonqi
Version: 5.17.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Crash report

Description Justin Zobel 2021-10-18 22:44:55 UTC
Application: akonadi_google_resource (5.17.3 (21.04.3))

Qt Version: 5.15.2
Frameworks Version: 5.87.0
Operating System: Linux 5.14.11-300.fc35.x86_64 x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: "Fedora release 35 (Thirty Five)"

-- Information about the crash:
Crash after adding Google Groupware account

The crash can be reproduced every time.

-- Backtrace:
Application: Google Groupware (not configured) (akonadi_google_resource), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7fcb5742b940 (LWP 436291))]
[KCrash Handler]
#6  0x00007fcb5eb6c164 in std::default_delete<QTcpServer>::operator()(QTcpServer*) const (__ptr=0x561c2916d580, this=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:79
#7  std::unique_ptr<QTcpServer, std::default_delete<QTcpServer> >::~unique_ptr() (this=0x561c29643bc8, __in_chrg=<optimized out>) at /usr/include/c++/11/bits/unique_ptr.h:361
#8  KGAPI2::FullAuthenticationJob::Private::~Private() (this=0x561c29643ba0, __in_chrg=<optimized out>) at /usr/src/debug/libkgapi-21.04.3-1.fc35.x86_64/src/core/private/fullauthenticationjob.cpp:30
#9  QScopedPointerDeleter<KGAPI2::FullAuthenticationJob::Private>::cleanup(KGAPI2::FullAuthenticationJob::Private*) (pointer=0x561c29643ba0) at /usr/include/qt5/QtCore/qscopedpointer.h:60
#10 QScopedPointerDeleter<KGAPI2::FullAuthenticationJob::Private>::cleanup(KGAPI2::FullAuthenticationJob::Private*) (pointer=0x561c29643ba0) at /usr/include/qt5/QtCore/qscopedpointer.h:52
#11 QScopedPointer<KGAPI2::FullAuthenticationJob::Private, QScopedPointerDeleter<KGAPI2::FullAuthenticationJob::Private> >::~QScopedPointer() (this=0x561c293eedc8, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qscopedpointer.h:107
#12 KGAPI2::FullAuthenticationJob::~FullAuthenticationJob() (this=0x561c293eedb0, __in_chrg=<optimized out>) at /usr/src/debug/libkgapi-21.04.3-1.fc35.x86_64/src/core/private/fullauthenticationjob.cpp:160
#13 0x00007fcb5eb6c26d in KGAPI2::FullAuthenticationJob::~FullAuthenticationJob() (this=0x561c293eedb0, __in_chrg=<optimized out>) at /usr/src/debug/libkgapi-21.04.3-1.fc35.x86_64/src/core/private/fullauthenticationjob.cpp:160
#14 0x00007fcb5d9e378a in QObjectPrivate::deleteChildren() (this=this@entry=0x561c29650fe0) at kernel/qobject.cpp:2104
#15 0x00007fcb5d9eb08c in QObject::~QObject() (this=0x561c296510b0, __in_chrg=<optimized out>) at kernel/qobject.cpp:1082
#16 0x00007fcb5eb78fcd in KGAPI2::AuthJob::~AuthJob() (this=0x561c296510b0, __in_chrg=<optimized out>) at /usr/src/debug/libkgapi-21.04.3-1.fc35.x86_64/src/core/authjob.cpp:60
#17 0x00007fcb5d9e378a in QObjectPrivate::deleteChildren() (this=this@entry=0x561c29094510) at kernel/qobject.cpp:2104
#18 0x00007fcb5e5c6556 in QWidget::~QWidget() (this=this@entry=0x561c2916cdf0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#19 0x00007fcb5e796e1e in QDialog::~QDialog() (this=this@entry=0x561c2916cdf0, __in_chrg=<optimized out>) at dialogs/qdialog.cpp:426
#20 0x0000561c27406273 in GoogleSettingsDialog::~GoogleSettingsDialog() (this=0x561c2916cdf0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-runtime-21.04.3-1.fc35.x86_64/resources/google-groupware/googlesettingsdialog.cpp:85
#21 GoogleSettingsDialog::~GoogleSettingsDialog() (this=0x561c2916cdf0, __in_chrg=<optimized out>) at /usr/src/debug/kdepim-runtime-21.04.3-1.fc35.x86_64/resources/google-groupware/googlesettingsdialog.cpp:85
#22 0x00007fcb5f35ba73 in Akonadi__ControlAdaptor::qt_metacall(QMetaObject::Call, int, void**) (this=0x7fcb38004f40, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7ffe741277b0) at /usr/src/debug/kf5-akonadi-server-21.04.3-1.fc35.x86_64/redhat-linux-build/src/agentbase/controladaptor.moc:176
#23 0x00007fcb5dcc91eb in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QVector<int> const&, int) (this=<optimized out>, object=<optimized out>, msg=<optimized out>, metaTypes=<optimized out>, slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:190
#24 0x00007fcb5dcccf07 in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) (this=this@entry=0x7fcb3c003a00, object=0x7fcb38004f40, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:911
#25 0x00007fcb5dccd649 in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) (msg=..., flags=273, object=<optimized out>, this=0x7fcb3c003a00) at qdbusintegrator.cpp:853
#26 QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) (this=0x7fcb3c003a00, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1497
#27 0x00007fcb5dccf9fc in QDBusActivateObjectEvent::placeMetaCall(QObject*) (this=0x561c293f16e0) at qdbusintegrator.cpp:1617
#28 0x00007fcb5d9e4f09 in QObject::event(QEvent*) (this=0x7ffe74127e60, e=0x561c293f16e0) at kernel/qobject.cpp:1314
#29 0x00007fcb5e588443 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7ffe74127e60, e=0x561c293f16e0) at kernel/qapplication.cpp:3632
#30 0x00007fcb5d9ba798 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7ffe74127e60, event=0x561c293f16e0) at kernel/qcoreapplication.cpp:1064
#31 0x00007fcb5d9bdd06 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x561c28e41bf0) at kernel/qcoreapplication.cpp:1821
#32 0x00007fcb5da0c0d7 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x561c290666c0) at kernel/qeventdispatcher_glib.cpp:277
#33 0x00007fcb5bb9633f in g_main_dispatch (context=0x7fcb44005000) at ../glib/gmain.c:3381
#34 g_main_context_dispatch (context=0x7fcb44005000) at ../glib/gmain.c:4099
#35 0x00007fcb5bbeb288 in g_main_context_iterate.constprop.0 (context=context@entry=0x7fcb44005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#36 0x00007fcb5bb939e3 in g_main_context_iteration (context=0x7fcb44005000, may_block=1) at ../glib/gmain.c:4240
#37 0x00007fcb5da0bb78 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x561c29062f30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007fcb5d9b91a2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe74127dd0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#39 0x00007fcb5d9c16e4 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#40 0x0000561c27401c96 in Akonadi::ResourceBase::init<GoogleResource>(int, char**) (argc=<optimized out>, argv=0x7ffe74127e60) at /usr/include/KF5/AkonadiAgentBase/resourcebase.h:183
#41 0x00007fcb5d2fc560 in __libc_start_call_main (main=main@entry=0x561c273f6750 <main(int, char**)>, argc=argc@entry=3, argv=argv@entry=0x7ffe74128048) at ../sysdeps/nptl/libc_start_call_main.h:58
#42 0x00007fcb5d2fc60c in __libc_start_main_impl (main=0x561c273f6750 <main(int, char**)>, argc=3, argv=0x7ffe74128048, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe74128038) at ../csu/libc-start.c:409
#43 0x0000561c273f67b5 in _start ()
[Inferior 1 (process 436291) detached]

Possible duplicates by query: bug 442147, bug 440175, bug 434725, bug 421614, bug 410860.

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 Axel Braun 2021-10-19 12:04:51 UTC
Created attachment 142622 [details]
Crash report

I can confirm the permanent crashes:

Operating System: openSUSE Tumbleweed 20211016
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.11-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × Intel® Core™ i7-9750H CPU @ 2.60GHz
Memory: 15.4 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1650 with Max-Q Design/PCIe/SSE2