Bug 462998 - Discover crashes because autoconfig.kde.org certificate has been expired
Summary: Discover crashes because autoconfig.kde.org certificate has been expired
Status: RESOLVED NOT A BUG
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.26.4
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-12-13 12:43 UTC by ironman466
Modified: 2022-12-17 22:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ironman466 2022-12-13 12:43:00 UTC
Application: plasma-discover (5.26.4)

Qt Version: 5.15.7
Frameworks Version: 5.100.0
Operating System: Linux 6.0.3-x64v1-xanmod1 x86_64
Windowing System: X11
Distribution: KDE neon 5.26
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
When I open discover it says "The server failed the authenticity check (autoconfig.kde.org)" and "The issuer certificate of a locally looked up certificate could not be found". After looking into detail, the issuer in question has:
Common name for "R3"
Organization for "Let's Encrypt"
Country for "US"
Everything else is just empty

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f9e1b01e672 in  () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#5  0x00007f9e190f40f4 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd23a6e280, r=0x7f9e1b1612e0, this=0x55f33b97ce90) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#6  doActivate<false>(QObject*, int, void**) (sender=0x55f33cae7670, signal_index=6, argv=0x7ffd23a6e280) at kernel/qobject.cpp:3919
#7  0x00007f9e1b008c35 in KIO::AskUserActionInterface::messageBoxResult(int) () at /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#8  0x00007f9e190f40f4 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd23a6e390, r=0x55f33cae7670, this=0x55f33c25e9e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#9  doActivate<false>(QObject*, int, void**) (sender=0x55f33c180830, signal_index=7, argv=0x7ffd23a6e390) at kernel/qobject.cpp:3919
#10 0x00007f9e190ed197 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f9e1a8ab3c0 <QDialog::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd23a6e390) at kernel/qobject.cpp:3979
#11 0x00007f9e1a57e1b2 in QDialog::finished(int) (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qdialog.cpp:230
#12 0x00007f9e190f40f4 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffd23a6e440, r=0x55f33c180830, this=0x55f33b824320) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#13 doActivate<false>(QObject*, int, void**) (sender=0x55f33c9cdd40, signal_index=10, argv=0x7ffd23a6e440) at kernel/qobject.cpp:3919
#14 0x00007f9e190ed197 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55f33c9cdd40, m=m@entry=0x7f9e1a8a4340 <QDialogButtonBox::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at kernel/qobject.cpp:3979
#15 0x00007f9e1a50f6b7 in QDialogButtonBox::rejected() (this=this@entry=0x55f33c9cdd40) at .moc/moc_qdialogbuttonbox.cpp:299
#16 0x00007f9e1a50fe48 in QDialogButtonBoxPrivate::_q_handleButtonClicked() (this=<optimized out>) at widgets/qdialogbuttonbox.cpp:882
#17 0x00007f9e190f4128 in doActivate<false>(QObject*, int, void**) (sender=0x55f33b732150, signal_index=9, argv=0x7ffd23a6e5a0) at kernel/qobject.cpp:3931
#18 0x00007f9e190ed197 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=sender@entry=0x55f33b732150, m=m@entry=0x7f9e1a89b180 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd23a6e5a0) at kernel/qobject.cpp:3979
#19 0x00007f9e1a4628e6 in QAbstractButton::clicked(bool) (this=this@entry=0x55f33b732150, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#20 0x00007f9e1a462b6e in QAbstractButtonPrivate::emitClicked() (this=0x55f33bd1fa30) at widgets/qabstractbutton.cpp:416
#21 0x00007f9e1a464794 in QAbstractButtonPrivate::click() (this=0x55f33bd1fa30) at widgets/qabstractbutton.cpp:409
#22 0x00007f9e1a4649b7 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) (this=0x55f33b732150, e=0x7ffd23a6eb40) at widgets/qabstractbutton.cpp:1045
#23 0x00007f9e1a3af87e in QWidget::event(QEvent*) (this=0x55f33b732150, event=0x7ffd23a6eb40) at kernel/qwidget.cpp:9043
#24 0x00007f9e1a36c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x55f33a224dd0, receiver=receiver@entry=0x55f33b732150, e=e@entry=0x7ffd23a6eb40) at kernel/qapplication.cpp:3637
#25 0x00007f9e1a3743a4 in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x55f33b732150, e=0x7ffd23a6eb40) at kernel/qapplication.cpp:3081
#26 0x00007f9e190bc09a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55f33b732150, event=0x7ffd23a6eb40) at kernel/qcoreapplication.cpp:1064
#27 0x00007f9e1a372e87 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=receiver@entry=0x55f33b732150, event=event@entry=0x7ffd23a6eb40, alienWidget=alienWidget@entry=0x55f33b732150, nativeWidget=0x55f33c180830, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619
#28 0x00007f9e1a3c9110 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=0x55f33cbab090, event=0x7ffd23a6ee10) at kernel/qwidgetwindow.cpp:683
#29 0x00007f9e1a3cc3a5 in QWidgetWindow::event(QEvent*) (this=0x55f33cbab090, event=0x7ffd23a6ee10) at kernel/qwidgetwindow.cpp:300
#30 0x00007f9e1a36c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x55f33cbab090, e=0x7ffd23a6ee10) at kernel/qapplication.cpp:3637
#31 0x00007f9e190bc09a in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x55f33cbab090, event=0x7ffd23a6ee10) at kernel/qcoreapplication.cpp:1064
#32 0x00007f9e19542a87 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7f9e0c02fb00) at kernel/qguiapplication.cpp:2285
#33 0x00007f9e19516a6c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#34 0x00007f9e13af4c8e in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at ./src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#35 0x00007f9e17920d3b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f9e179756c8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f9e1791e3e3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f9e19115af8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55f33a2ea3d0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#39 0x00007f9e190ba9bb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd23a6f140, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#40 0x00007f9e190c2f54 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#41 0x00007f9e195364e0 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#42 0x00007f9e1a36c6d9 in QApplication::exec() () at kernel/qapplication.cpp:2829
#43 0x000055f339b68b43 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ./discover/main.cpp:223
[Inferior 1 (process 3703) detached]

Reported using DrKonqi
Comment 1 ironman466 2022-12-13 12:46:30 UTC
It's note worthy that similar issue is happening to the KDE browser integration. When I install it on Brave browser (which is based on chromium), playing youtube video afterward just crashes plasma session, screen gets black and restarts after few seconds. Similar error message about certificate has been shown when first time that happened. I clicked "continue" and "don't show again" because I thought that would solve problem. It didn't and it's keep crashing and doesn't show error message anymore.
...Maybe I can fix both of problems by... sort of refreshing some certificates?
Comment 2 Jonathan Riddell 2022-12-13 17:05:22 UTC
Do you have ca-certificates installed?  `apt-cache policy ca-certificates`
Comment 3 Tobias Fella 2022-12-13 18:28:56 UTC
Setting to NEEDSINFO because of the question asked
Comment 4 ironman466 2022-12-15 11:41:05 UTC
(In reply to Jonathan Riddell from comment #2)
> Do you have ca-certificates installed?  `apt-cache policy ca-certificates`

Yes, I have "20211016ubuntu0.22.04.1"
```
❯ apt-cache policy ca-certificates
ca-certificates:
  설치: 20211016ubuntu0.22.04.1
  후보: 20211016ubuntu0.22.04.1
  버전 테이블:
 *** 20211016ubuntu0.22.04.1 500
        500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/main i386 Packages
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
        100 /var/lib/dpkg/status
     20211016 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages
        500 http://ftp.daum.net/ubuntu jammy/main amd64 Packages
        500 http://ftp.daum.net/ubuntu jammy/main i386 Packages
```
Comment 5 ironman466 2022-12-17 22:25:59 UTC
There seems to be issue with `ca-certificates`, reinstalling it with `sudo apt install --reinstall ca-certificates` fixed it.