Bug 467364

Summary: Crash in KNSCore::Engine::slotProviderFileLoaded() when fetching updates due to being signed into an opendesktop.org account
Product: [Applications] Discover Reporter: duncanyoyo1
Component: KNewStuff BackendAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aleixpol, kde, leinir, nate
Priority: NOR Keywords: drkonqi
Version: 5.27.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description duncanyoyo1 2023-03-14 21:13:44 UTC
Application: plasma-discover (5.27.3)

Qt Version: 5.15.8
Frameworks Version: 5.104.0
Operating System: Linux 6.2.6-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.27.3 [KCrashBackend]

-- Information about the crash:
Every time discover is opened and checks for updates, it will crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Discover (plasma-discover), signal: Aborted

[KCrash Handler]
#4  0x00007fb68eea08ec in  () at /usr/lib/libc.so.6
#5  0x00007fb68ee51ea8 in raise () at /usr/lib/libc.so.6
#6  0x00007fb68ee3b53d in abort () at /usr/lib/libc.so.6
#7  0x00007fb68f09a833 in __gnu_cxx::__verbose_terminate_handler() () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/vterminate.cc:95
#8  0x00007fb68f0a6d0c in __cxxabiv1::__terminate(void (*)()) (handler=<optimized out>) at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:48
#9  0x00007fb68f0a6d79 in std::terminate() () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_terminate.cc:58
#10 0x00007fb68f0a702f in __cxxabiv1::__cxa_rethrow() () at /usr/src/debug/gcc/gcc/libstdc++-v3/libsupc++/eh_throw.cc:136
#11 0x00007fb68f4a2a9f in  () at /usr/lib/libQt5Core.so.5
#12 0x00007fb65c128f32 in KNSCore::Engine::addProvider(QSharedPointer<KNSCore::Provider>) () at /usr/lib/libKF5NewStuffCore.so.5
#13 0x00007fb65c12b040 in KNSCore::Engine::slotProviderFileLoaded(QDomDocument const&) () at /usr/lib/libKF5NewStuffCore.so.5
#14 0x00007fb68f6bea71 in  () at /usr/lib/libQt5Core.so.5
#15 0x00007fb65c1141f7 in KNSCore::XmlLoader::signalLoaded(QDomDocument const&) () at /usr/lib/libKF5NewStuffCore.so.5
#16 0x00007fb65c146dcc in  () at /usr/lib/libKF5NewStuffCore.so.5
#17 0x00007fb68f6bea71 in  () at /usr/lib/libQt5Core.so.5
#18 0x00007fb6907d078a in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/libKF5CoreAddons.so.5
#19 0x00007fb6907d633c in KJob::finishJob(bool) () at /usr/lib/libKF5CoreAddons.so.5
#20 0x00007fb68f6bea71 in  () at /usr/lib/libQt5Core.so.5
#21 0x00007fb65c151868 in  () at /usr/lib/libKF5NewStuffCore.so.5
#22 0x00007fb68f6bea71 in  () at /usr/lib/libQt5Core.so.5
#23 0x00007fb68ed496b8 in  () at /usr/lib/libQt5Network.so.5
#24 0x00007fb68f6b1bb0 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#25 0x00007fb691178b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007fb68f68df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#27 0x00007fb68f68ea53 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#28 0x00007fb68f6d4e88 in  () at /usr/lib/libQt5Core.so.5
#29 0x00007fb68df0fafb in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#30 0x00007fb68df6c5d9 in  () at /usr/lib/libglib-2.0.so.0
#31 0x00007fb68df0d382 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#32 0x00007fb68f6d8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007fb68f6866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#34 0x00007fb68f691219 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#35 0x000056129aca2947 in  ()
#36 0x00007fb68ee3c790 in  () at /usr/lib/libc.so.6
#37 0x00007fb68ee3c84a in __libc_start_main () at /usr/lib/libc.so.6
#38 0x000056129aca3365 in  ()
[Inferior 1 (process 124123) detached]

Reported using DrKonqi
Comment 1 duncanyoyo1 2023-03-15 22:15:32 UTC
I figured out this crash was because of being signed in ( or well, I *was* signed in till I got logged out somehow ) to a OpenDesktop account in the "Online Accounts" settings.

Removing the account fixed the crash.
Comment 2 Nate Graham 2023-03-27 17:46:00 UTC
Urgh, thanks for the info.
Comment 3 David Edmundson 2023-10-22 20:45:39 UTC

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