Bug 466205 - Discover crashes in KNSCore::Engine::addProvider() while checking for updates
Summary: Discover crashes in KNSCore::Engine::addProvider() while checking for updates
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: KNewStuff Backend (show other bugs)
Version: 5.27.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
: 469104 475259 475308 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-21 19:58 UTC by Pedro Adrian Rojas
Modified: 2023-11-19 03:45 UTC (History)
5 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 Pedro Adrian Rojas 2023-02-21 19:58:55 UTC
Application: plasma-discover (5.27.0)

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.12-arch1-1 x86_64
Windowing System: Wayland
Distribution: Arch Linux
DrKonqi: 5.27.0 [KCrashBackend]

-- Information about the crash:
It crashed while checking for updates, it was about 90% done when the crash happen

The crash does not seem to be reproducible.

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

[KCrash Handler]
#4  0x00007fc00db20c3e in QHashData::detach_helper(void (*)(QHashData::Node*, void*), void (*)(QHashData::Node*), int, int) () at /usr/lib/libQt5Core.so.5
#5  0x00007fbfd8392f32 in KNSCore::Engine::addProvider(QSharedPointer<KNSCore::Provider>) () at /usr/lib/libKF5NewStuffCore.so.5
#6  0x00007fbfd8395040 in KNSCore::Engine::slotProviderFileLoaded(QDomDocument const&) () at /usr/lib/libKF5NewStuffCore.so.5
#7  0x00007fc00dcbea71 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fbfd837e1f7 in KNSCore::XmlLoader::signalLoaded(QDomDocument const&) () at /usr/lib/libKF5NewStuffCore.so.5
#9  0x00007fbfd83b0dcc in  () at /usr/lib/libKF5NewStuffCore.so.5
#10 0x00007fc00dcbea71 in  () at /usr/lib/libQt5Core.so.5
#11 0x00007fc00f3a343a in KJob::result(KJob*, KJob::QPrivateSignal) () at /usr/lib/libKF5CoreAddons.so.5
#12 0x00007fc00f3a954c in KJob::finishJob(bool) () at /usr/lib/libKF5CoreAddons.so.5
#13 0x00007fc00dcbea71 in  () at /usr/lib/libQt5Core.so.5
#14 0x00007fbfd83bb868 in  () at /usr/lib/libKF5NewStuffCore.so.5
#15 0x00007fc00dcbea71 in  () at /usr/lib/libQt5Core.so.5
#16 0x00007fc00d3426b8 in  () at /usr/lib/libQt5Network.so.5
#17 0x00007fc00dcb1bb0 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007fc00f578b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007fc00dc8df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007fc00dc8ea53 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#21 0x00007fc00dcd4e88 in  () at /usr/lib/libQt5Core.so.5
#22 0x00007fc00c71682b in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#23 0x00007fc00c76dcc9 in  () at /usr/lib/libglib-2.0.so.0
#24 0x00007fc00c7150e2 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#25 0x00007fc00dcd8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#26 0x00007fc00dc866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#27 0x00007fc00dc91219 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#28 0x000055b52d7d0947 in  ()
#29 0x00007fc00d43c790 in  () at /usr/lib/libc.so.6
#30 0x00007fc00d43c84a in __libc_start_main () at /usr/lib/libc.so.6
#31 0x000055b52d7d1365 in  ()
[Inferior 1 (process 1692) detached]

The reporter indicates this bug may be a duplicate of or related to bug 435198.

Reported using DrKonqi
Comment 1 Pedro Adrian Rojas 2023-03-09 03:58:33 UTC
It's still crashing, at about the same point in the update, the new version of the plasma-discover application is "5.27.2", I keep my Arch Linux update, but I can't update the plasma add-ons, it indicates that there are 13 updates pending
Comment 2 Nate Graham 2023-04-28 20:37:57 UTC
*** Bug 469104 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2023-04-28 20:38:37 UTC
KNSCore::XmlLoader::signalLoaded makes me think it's choking on a malformed XML file or something.

Any chance you could install debug symbols for knewstuff and get a new symbolicated backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
Comment 4 Bug Janitor Service 2023-05-13 03:46:01 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2023-05-28 03:45:26 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 6 Nate Graham 2023-10-11 20:34:13 UTC
*** Bug 475259 has been marked as a duplicate of this bug. ***
Comment 7 Nate Graham 2023-10-11 20:34:46 UTC
Got a new report from 5.27.8; re-opening.
Comment 8 Nate Graham 2023-10-11 21:04:40 UTC
*** Bug 475308 has been marked as a duplicate of this bug. ***
Comment 9 Nate Graham 2023-10-19 19:12:26 UTC
The KNS backend has gotten a lot of updates for Plasma 6, so it's possible that the issue is already fixed now.
Comment 10 Nate Graham 2023-10-20 14:05:13 UTC
Can I ask for anyone previously able to reproduce this issue to try using the Plasma 6 Alpha (see https://community.kde.org/Plasma/Plasma_6#How_to_use/test_it) and see if it's already fixed there? Thanks a lot!
Comment 11 Bug Janitor Service 2023-11-04 03:45:44 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Bug Janitor Service 2023-11-19 03:45:45 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!