Bug 471087

Summary: Unable to add email account to Kmail or Kontact
Product: [Frameworks and Libraries] Akonadi Reporter: Alexander <billings90>
Component: Account WizardAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: carl, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alexander 2023-06-15 16:53:26 UTC
Application: accountwizard (0.2)

Qt Version: 5.15.9
Frameworks Version: 5.107.0
Operating System: Linux 6.3.7-200.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 38 (KDE Plasma)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
What I'm trying to do: 
Add my Gmail account to Kmail or Kontact

My Setup:
This is a fresh install of Fedora 38, KDE Plasma Desktop, with updates applied to current day (as far as I know), and the only configuration I've done is add Google to my Online Accounts.

Steps to repeat:
How I got to the issue: Open Kmail > Settings > Add Account > Enter Email address and password with "Find provider settings on the Internet" checked > Reviewed IMAP settings and clicked "Next"
When doing these steps I see a very brief message that is gone before I can read it, I think it says something about looking up the settings, and then nothing happens except the Next button is clickable again. When I try to perform the same steps except with the "Find provider settings on the Internet" box unchecked, I get this crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Account Assistant (accountwizard), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f2e6ce08a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007f2e6ea444e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007f2e6ea479b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007f2e70ce8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f2e7062afc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#9  0x00007f2e70630bab in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#10 0x00007f2e70ce8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#11 0x00007f2e7092c9d7 in KIO::SlaveInterface::error(int, QString const&) () from /lib64/libKF5KIOCore.so.5
#12 0x00007f2e70931afe in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib64/libKF5KIOCore.so.5
#13 0x00007f2e7092c7fb in KIO::SlaveInterface::dispatch() () from /lib64/libKF5KIOCore.so.5
#14 0x00007f2e7092f121 in KIO::Slave::gotInput() () from /lib64/libKF5KIOCore.so.5
#15 0x00007f2e70ce8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007f2e70cdf73b in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007f2e719aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f2e70cb3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007f2e70cb71f5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#20 0x00007f2e70d06e2f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#21 0x00007f2e6df1339c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007f2e6df71438 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#23 0x00007f2e6df10a23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007f2e70d06919 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007f2e70cb270b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007f2e71bcccbb in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#27 0x00007f2e71bccb94 in QDialog::exec() () from /lib64/libQt5Widgets.so.5
#28 0x00007f2e71be2497 in QFileDialog::getOpenFileUrl(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () from /lib64/libQt5Widgets.so.5
#29 0x00007f2e71be2590 in QFileDialog::getOpenFileName(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) () from /lib64/libQt5Widgets.so.5
#30 0x0000557028a20767 in CryptoPage::customItemSelected(QVariant const&) ()
#31 0x00007f2e70ce8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#32 0x00007f2e7253d939 in Kleo::KeySelectionCombo::customItemSelected(QVariant const&) () from /lib64/libKPim5Libkleo.so.5
#33 0x00007f2e725c27eb in QtPrivate::QFunctorSlotObject<Kleo::KeySelectionCombo::KeySelectionCombo(bool, QWidget*)::{lambda(int)#1}, 1, QtPrivate::List<int>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /lib64/libKPim5Libkleo.so.5
#34 0x00007f2e70ce8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#35 0x00007f2e71abcca3 in QComboBox::currentIndexChanged(int) () from /lib64/libQt5Widgets.so.5
#36 0x00007f2e71abe64a in QComboBoxPrivate::_q_emitCurrentIndexChanged(QModelIndex const&) () from /lib64/libQt5Widgets.so.5
#37 0x00007f2e71ac21e4 in QComboBoxPrivate::setCurrentIndex(QModelIndex const&) () from /lib64/libQt5Widgets.so.5
#38 0x00007f2e71ac2440 in QComboBoxPrivate::_q_itemSelected(QModelIndex const&) () from /lib64/libQt5Widgets.so.5
#39 0x00007f2e70ce87d8 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#40 0x00007f2e71abced9 in QComboBoxPrivateContainer::itemSelected(QModelIndex const&) () from /lib64/libQt5Widgets.so.5
#41 0x00007f2e71abd80d in QComboBoxPrivateContainer::eventFilter(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#42 0x00007f2e70cb3af6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#43 0x00007f2e719aeb65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#44 0x00007f2e719b7456 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#45 0x00007f2e70cb3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#46 0x00007f2e719b56a4 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#47 0x00007f2e71a0dd42 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#48 0x00007f2e71a1072f in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#49 0x00007f2e719aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#50 0x00007f2e70cb3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#51 0x00007f2e7116c44b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#52 0x00007f2e7114aa0c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#53 0x00007f2e6d3639e4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#54 0x00007f2e6df1339c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#55 0x00007f2e6df71438 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#56 0x00007f2e6df10a23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#57 0x00007f2e70d06919 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#58 0x00007f2e70cb270b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#59 0x00007f2e70cba99b in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#60 0x0000557028a0c75a in main ()
[Inferior 1 (process 4933) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-06-21 18:16:13 UTC

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