Bug 483608 - Discover Crash when searching
Summary: Discover Crash when searching
Status: RESOLVED DUPLICATE of bug 473472
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2024-03-14 21:37 UTC by Tammes Burghard
Modified: 2024-03-18 13:02 UTC (History)
5 users (show)

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


Attachments
New crash information added by DrKonqi (107.75 KB, text/plain)
2024-03-14 21:38 UTC, Tammes Burghard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tammes Burghard 2024-03-14 21:37:59 UTC
Application: plasma-discover (6.0.2)

Qt Version: 6.6.2
Frameworks Version: 6.0.0
Operating System: Linux 6.7.9-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.0.2 [CoredumpBackend]

-- Information about the crash:
Discover crashes whenever I search for something. I only really use it for flatpaks. It might not be able to access the arch repo side of things and crashes because of that. Just a guess, it could be anything and I can't make sense of the backtrace.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x000079897ff7ed4a in KNSCore::ResultsStream::fetch (this=0x6418ad87fd10) at /usr/src/debug/knewstuff/knewstuff-6.0.0/src/core/resultsstream.cpp:70
#6  0x00007989b4590ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc8884dd68, r=0x6418ad87fd10, this=0x6418a88c7530, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#7  doActivate<false> (sender=0x6418a8d68130, signal_index=4, argv=0x7ffc8884dd68) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039
#8  0x00007989b4590ca9 in QtPrivate::QSlotObjectBase::call (a=0x7ffc8884de48, r=0x6418a8d68130, this=0x6418a914f6a0, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobjectdefs_impl.h:433
#9  doActivate<false> (sender=0x6418a9201d30, signal_index=4, argv=0x7ffc8884de48) at /usr/src/debug/qt6-base/qtbase-everywhere-src-6.6.2/src/corelib/kernel/qobject.cpp:4039


Reported using DrKonqi
Comment 1 Tammes Burghard 2024-03-14 21:38:00 UTC
Created attachment 167206 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Bernd Steinhauser 2024-03-16 08:54:45 UTC
Can confirm this.

I found that it only happens for me if I have "Home" selected when starting the search.
If I select "All Applications" and then search, it works fine without crashing.
Like for Tammes, I only use Discover for Flathub, since my package manager does not support appstream.

So it seems likely that it's related to that.
Comment 3 florian 2024-03-16 18:17:15 UTC
I can also confirm this bug on KDE Neon.
The workaround from Bernd works for me as well.

Here's the output if I start Discover from the terminal:

$ plasma-discover
libs QList("/usr/lib/x86_64-linux-gnu/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: false
adding empty sources model QStandardItemModel(0x5571fc2e4420)
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
qrc:/qt/qml/org/kde/discover/qml/DiscoverWindow.qml:330:5: QML OverlaySheet: Binding loop detected for property "implicitHeight"
qrc:/qt/qml/org/kde/discover/qml/BrowsingPage.qml:17:1: QML BrowsingPage: Created graphical object was not placed in the graphics scene.
AppStreamIntegration: No distro component found for "org.kde.neon.neon"
PackageKitBackend: No distro component found for "org.kde.neon.neon"
qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml:235:5: QML MenuItem: Binding loop detected for property "implicitWidth"
qrc:/qt/qml/org/kde/discover/qml/ApplicationsListPage.qml:16:1: QML ApplicationsListPage: Created graphical object was not placed in the graphics scene.
KCrash: Application 'plasma-discover' crashing... crashRecursionCounter = 2
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
QSocketNotifier: Invalid socket 39 and type 'Read', disabling...
KCrash: Application Name = plasma-discover path = /usr/bin pid = 105860
KCrash: Arguments: /usr/bin/plasma-discover 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
failed to signal syncobj 21
Unable to start Dr. Konqi
org.kde.drkonqi: Mapping found despite product information being provided by the application. Consider removing the mapping entry "plasma-discover"
void ReportInterface::maybePickUpPostbox()
f5idletime_wayland: This plugin does not support polling idle time
ptrace: No such process.
/tmp/drkonqi.epxKtx:1: Error in sourced command file:
No thread selected
Comment 4 Fabian Vogt 2024-03-18 08:12:32 UTC
Possibly the same cause as https://bugs.kde.org/show_bug.cgi?id=463864?
Comment 5 Christophe Marin 2024-03-18 13:02:42 UTC

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