Bug 453988

Summary: Discover crashes on first open
Product: [Applications] Discover Reporter: David <kitt997>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED WAITINGFORINFO    
Severity: crash CC: aleixpol, nate
Priority: NOR    
Version First Reported In: 5.24.4   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David 2022-05-18 14:47:45 UTC
Application: plasma-discover (5.24.4)

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.17.6-200.fc35.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 35 (Thirty Five)
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>
Just click on the updates notification, system tray. Or start the application normally. The first start always ends in a crash.
The crash can be reproduced every time.

-- Backtrace:
A useful backtrace could not be generated
Comment 1 Nate Graham 2022-05-18 15:46:20 UTC
If something crashed, we need a backtrace of it so we can figure out what's going on. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Can you please attach one? Thanks!
Comment 2 David 2022-05-18 15:55:35 UTC
(In reply to Nate Graham from comment #1)
> If something crashed, we need a backtrace of it so we can figure out what's
> going on. See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports
> 
> Can you please attach one? Thanks!

The problem is that every time discover crashes I get no backtrace. That sentence you see in the report is not mine, is from the bug report wizard in fact.
I don't know why, it simply doesn't create it. It does with other KDE apps...
anyway, here is the whole journalctl portion showing the crash. Better than nothing I suppose :)

mag 18 16:44:25 fedora systemd[1216]: Started Discover - Software Center.
mag 18 16:44:26 fedora systemd[1]: Starting Firmware update daemon...
mag 18 16:44:26 fedora systemd[1]: Starting flatpak system helper...
mag 18 16:44:26 fedora systemd[1]: Started flatpak system helper.
mag 18 16:44:26 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=flatpak-system-helper comm>
mag 18 16:44:27 fedora systemd[1]: Started Firmware update daemon.
mag 18 16:44:27 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fwupd comm="systemd" exe=">
mag 18 16:44:27 fedora plasma-discover[81499]: kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
mag 18 16:44:27 fedora plasma-discover[81499]: kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
mag 18 16:44:27 fedora plasma-discover[81499]: kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
mag 18 16:44:27 fedora plasma-discover[81499]: kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
mag 18 16:44:27 fedora plasma-discover[81499]: kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
mag 18 16:44:27 fedora plasma-discover[81499]: kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
mag 18 16:44:27 fedora plasma-discover[81499]: kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
mag 18 16:44:27 fedora plasma-discover[81499]: kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
mag 18 16:44:27 fedora plasma-discover[81499]: kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
mag 18 16:44:27 fedora plasma-discover[81499]: kf.newstuff.core: The CustomName property is deprecated and will be removed in KF6
mag 18 16:44:27 fedora plasma-discover[81499]: adding empty sources model QStandardItemModel(0x55ba789db160)
mag 18 16:44:27 fedora plasma-discover[81499]: libostree pull from 'playonlinux-origin' for appstream2/x86_64 complete
                                               security: GPG: summary+commit 
                                               security: SIGN: disabled http: TLS
                                               non-delta: meta: 7 content: 21
                                               transfer: secs: 1 size: 5.7 MB
mag 18 16:44:27 fedora plasma-discover[81499]: /var/tmp/flatpak-cache-QF17L1/repo-MUg5ma: Pulled appstream2/x86_64 from playonlinux-origin
mag 18 16:44:27 fedora plasma-discover[81499]: org.kde.plasma.libdiscover: Couldn't find a category for  "fwupd-backend"
mag 18 16:44:27 fedora plasma-discover[81499]: libostree pull from 'flathub' for appstream2/x86_64 complete
                                               security: GPG: summary+commit 
                                               security: SIGN: disabled http: TLS
                                               non-delta: meta: 7 content: 21
                                               transfer: secs: 1 size: 5.7 MB
mag 18 16:44:27 fedora plasma-discover[81499]: /var/tmp/flatpak-cache-QF17L1/repo-CaAIuo: Pulled appstream2/x86_64 from flathub
mag 18 16:44:27 fedora plasma-discover[81499]: file:///usr/lib64/qt5/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:74:5: QML Binding: Binding loop>
mag 18 16:44:28 fedora PackageKit[1725]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0)
mag 18 16:44:28 fedora PackageKit[1725]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh
mag 18 16:44:28 fedora plasma-discover[81499]: fwupd_client_download_bytes_async: assertion 'url != NULL' failed
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 3)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 2)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 3)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 2)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 3)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 2)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 3)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 2)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 3)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 2)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 3)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 2)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "KsirK Themes"
mag 18 16:44:28 fedora plasma-discover[81499]: KNS error in "Ksirk" : KNSCore::ConfigFileError "All categories are missing" QVariant(Invalid)
mag 18 16:44:28 fedora plasma-discover[81499]: invalid kns backend! "/usr/share/knsrcfiles/ksirk.knsrc" because: "Invalid Ksirk backend, contact your distribut>
mag 18 16:44:28 fedora plasma-discover[81499]: org.kde.plasma.libdiscover: Discarding invalid backend "ksirk.knsrc"
mag 18 16:44:28 fedora plasma-discover[81499]: kns error "/usr/share/knsrcfiles/ksirk.knsrc" "Invalid Ksirk backend, contact your distributor."
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 3)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 2)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 3)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 2)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 3)"
mag 18 16:44:28 fedora plasma-discover[81499]: kf.newstuff.core: Could not find category "Cantor (Python 2)"
mag 18 16:44:28 fedora plasma-discover[81499]: org.kde.plasma.libdiscover: Couldn't find a category for  "fwupd-backend"
mag 18 16:44:29 fedora flatpak-system-helper[81525]: system: Pulled appstream2/x86_64 from /var/tmp/flatpak-cache-QF17L1/repo-CaAIuo
mag 18 16:44:29 fedora flatpak-system-helper[81525]: system: Pulled appstream2/x86_64 from /var/tmp/flatpak-cache-QF17L1/repo-MUg5ma
mag 18 16:44:30 fedora audit: BPF prog-id=96 op=LOAD
mag 18 16:44:30 fedora audit: BPF prog-id=97 op=LOAD
mag 18 16:44:30 fedora audit: BPF prog-id=98 op=LOAD
mag 18 16:44:30 fedora systemd[1]: Starting Locale Service...
mag 18 16:44:30 fedora systemd[1]: Started Locale Service.
mag 18 16:44:30 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-localed comm="syst>
mag 18 16:44:31 fedora DiscoverNotifier[81499]: KCrash: Application 'plasma-discover' crashing...
mag 18 16:44:31 fedora DiscoverNotifier[81499]: KCrash: Attempting to start /usr/libexec/drkonqi
mag 18 16:44:31 fedora plasmashell[1405]: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
mag 18 16:44:33 fedora kwin_x11[1376]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 60114, resource id: 165675033, major code: 15 (QueryTree>
mag 18 16:44:35 fedora kwin_x11[1376]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 61088, resource id: 52428817, major code: 18 (ChangeProp>
                              [me restarting the app, after it crashed] 
mag 18 16:44:35 fedora systemd[1216]: Started Discover - Software Center.
...
Comment 3 Nate Graham 2022-05-18 16:03:52 UTC
You may be able to get it using the `coredumpctl` utility. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl
Comment 4 David 2022-05-18 16:52:43 UTC
(In reply to Nate Graham from comment #3)
> You may be able to get it using the `coredumpctl` utility. See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl

I've tried, but no trace for Discover unfortunately. Maybe the next time it crashes (I know it will), I'll try sending the bug report *before* closing the app. Who knows, maybe..
Comment 5 Nate Graham 2022-05-18 16:56:43 UTC
Ok, thanks. Let us know!