Bug 485463 - discover 6.0.4 fails to launch on Neon Testing
Summary: discover 6.0.4 fails to launch on Neon Testing
Status: REPORTED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-12 22:28 UTC by vatbier
Modified: 2024-05-19 06:43 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vatbier 2024-04-12 22:28:26 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
discover 6.0.4 fails to launch on Neon Testing

STEPS TO REPRODUCE
1. Previous weekend (April 7) I updated my Neon Testing with Discover updates
2. Today April 12 I wanted to update again by clicking on the updates in systray but Discover didn't appear.
3. Running plasma-discover in konsole also fails
I then ran "pkcon refresh" and "pkcon -v update" and rebooted. Still discover fails to launch.

OBSERVED RESULT
running plasma-discover in konsole:
$ plasma-discover
libs QList("/usr/lib/x86_64-linux-gnu/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: true
(process:2699): GLib-GObject-WARNING **: 23:52:36.938: cannot register existing type 'SoupMessage'
(process:2699): GLib-GObject-WARNING **: 23:52:36.938: cannot add private field to invalid (non-instantiatable) type '<invalid>'
(process:2699): GLib-CRITICAL **: 23:52:36.938: g_once_init_leave: assertion 'result != 0' failed
(process:2699): GLib-GObject-WARNING **: 23:52:36.938: ../../../gobject/gsignal.c:1760: parameter 1 of type '<invalid>' for signal "SoupSession::request-queued" is not a value type
and nothing further happens.

EXPECTED RESULT
Discover appearing and working.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE neon testing
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
kinfo
Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-27-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-2120 CPU @ 3.30GHz
Memory: 3.8 GiB of RAM
Graphics Processor: NV108
Comment 1 Nate Graham 2024-04-13 14:33:07 UTC
Cannot reproduce with Qt 6.6.2. Possibly a Qt 6.7 regression.
Comment 2 cappelikan 2024-04-17 16:52:07 UTC
plasma-discover
libs QList("/usr/lib/x86_64-linux-gnu/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: true
adding empty sources model QStandardItemModel(0x5735d2867e10)
ASSERT: "isSorted(cats)" in file ./libdiscover/Category/Category.cpp, line 240
KCrash: Application 'plasma-discover' crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 8818
KCrash: Arguments: /usr/bin/plasma-discover 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
QSocketNotifier: Invalid socket 6 and type 'Read', disabling...
QSocketNotifier: Invalid socket 60 and type 'Read', disabling...
org.kde.drkonqi: Mapping found despite product information being provided by the application. Consider removing the mapping entry "plasma-discover"
void ReportInterface::maybePickUpPostbox()
kf5idletime_wayland: This plugin does not support polling idle time
29      ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
Unable to start Dr. Konqi
void ReportInterface::maybePickUpPostbox()


kinfo
Operating System: KDE neon user 6.0
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-27-lowlatency (64-bit)
Graphics Platform: Wayland
Processors: 2 × Intel® Core™2 Duo CPU E4700 @ 2.60GHz
Memory: 2.8 ГіБ of RAM
Graphics Processor: NVA8
Comment 3 Harald Sitter 2024-05-03 12:16:24 UTC
Is this still reproducible? I've downloaded the latest testing ISO and discover seems to start properly.
Comment 4 cappelikan 2024-05-03 13:22:46 UTC
(In reply to Harald Sitter from comment #3)
> Is this still reproducible? I've downloaded the latest testing ISO and
> discover seems to start properly.

Now the glitch looks like this when the locale is set to uk_UA.UTF-8, discover crashes with the error plasma-discover

libs QList("/usr/lib/x86_64-linux-gnu/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: true
adding empty sources model QStandardItemModel(0x62f3e0e5e420)
ASSERT: "isSorted(cats)" in file ./libdiscover/Category/Category.cpp, line 240
KCrash: Application 'plasma-discover' crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 28541
KCrash: Arguments: /usr/bin/plasma-discover
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
**
OSTree:ERROR:./libglnx/glnx-local-alloc.h:74:glnx_close_fd: assertion failed: (errno != EBADF)
Bail out! OSTree:ERROR:./libglnx/glnx-local-alloc.h:74:glnx_close_fd: assertion failed: (errno != EBADF)
Unable to start Dr. Konqi
org.kde.drkonqi: The specified process does not exist.

But when I explicitly set the encoding LC_ALL=POSIX plasma-discover, it starts up with a slowdown, but it works
Comment 5 cappelikan 2024-05-04 10:58:47 UTC
After update see next bugs

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(0x62d7a11cedb0)
ASSERT: "isSorted(cats)" in file ./libdiscover/Category/Category.cpp, line 240
KCrash: Application 'plasma-discover' crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 94423
KCrash: Arguments: /usr/bin/plasma-discover 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi
org.kde.drkonqi: Mapping found despite product information being provided by the application. Consider removing the mapping entry "plasma-discover"
kf5idletime_wayland: This plugin does not support polling idle time

[1]+  Stopped                 plasma-discover
Comment 6 Bug Janitor Service 2024-05-19 03:45:28 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 7 vatbier 2024-05-19 05:33:52 UTC
Today a little bit of improvement after getting the latest updates:

in konsole:
$ plasma-discover
libs QList("/usr/lib/x86_64-linux-gnu/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: true
adding empty sources model QStandardItemModel(0x5ff64a0d10a0)
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.
PackageKitBackend: No distro component found for "org.kde.neon.neon"
(process:4763): GLib-GObject-WARNING **: 07:24:43.480: cannot register existing type 'SoupMessage'
(process:4763): GLib-GObject-WARNING **: 07:24:43.480: cannot add private field to invalid (non-instantiatable) type '<invalid>'
(process:4763): GLib-CRITICAL **: 07:24:43.480: g_once_init_leave: assertion 'result != 0' failed
(process:4763): GLib-GObject-WARNING **: 07:24:43.480: ../../../gobject/gsignal.c:1760: parameter 1 of type '<invalid>' for signal "SoupSession::request-queued" is not a value type

Now Discover window appears but when I try to click on About or Settings it hangs
and the window title bar shows "Home -- Discover (Not Responding)"

info
Operating System: KDE neon Testing Edition
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-35-generic (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i3-2120 CPU @ 3.30GHz
Memory: 3.8 GiB of RAM
Graphics Processor: NV108
Comment 8 cappelikan 2024-05-19 06:43:05 UTC
plasma-discover
libs QList("/usr/lib/x86_64-linux-gnu/qt6/plugins", "/usr/bin")
org.kde.plasma.libdiscover: OdrsReviewsBackend: Fetch ratings: true
adding empty sources model QStandardItemModel(0x5c78ad388030)
ASSERT: "isSorted(cats)" in file ./libdiscover/Category/Category.cpp, line 240
KCrash: Application 'plasma-discover' crashing... crashRecursionCounter = 2
KCrash: Application Name = plasma-discover path = /usr/bin pid = 22690
KCrash: Arguments: /usr/bin/plasma-discover 
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi

(process:22690): flatpak-WARNING **: 09:41:22.099: Encountered error checking for commit object 4b74c43501da43798f0c7431d75d39f3e40f09dec137351ed0cf8ee21efd87ad: fstatat(4b/74c43501da43798f0c7431d75d39f3e40f09dec137351ed0cf8ee21efd87ad.commit): Bad file descriptor
**
OSTree:ERROR:./libglnx/glnx-local-alloc.h:74:glnx_close_fd: assertion failed: (errno != EBADF)
Bail out! OSTree:ERROR:./libglnx/glnx-local-alloc.h:74:glnx_close_fd: assertion failed: (errno != EBADF)
Unable to start Dr. Konqi