Bug 471322 - Crash when starting and using rpm-ostree updates
Summary: Crash when starting and using rpm-ostree updates
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: rpm-ostree Backend (show other bugs)
Version: 5.27.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 470994 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-06-22 09:00 UTC by Henning
Modified: 2023-08-26 01:39 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 Henning 2023-06-22 09:00:31 UTC
Every time I start Discover, it crashes due to RPM-Ostree initializing updates.

This is accomodated with Flatpak and knewstuff simultaneously updating, which is horrible.

Solution is to immediately cancel the update.

Please either make the updates out-out or in some other way only start the update when manually wanted.

The CLI is wayyy more stable

Specified App:
plasma-discover-libs-5.27.5-2.fc38.x86_64
plasma-discover-flatpak-5.27.5-2.fc38.x86_64
plasma-discover-5.27.5-2.fc38.x86_64
plasma-discover-rpm-ostree-5.27.5-2.fc38.x86_64
plasma-discover-notifier-5.27.5-2.fc38.x86_64

--- Software ---
OS: Fedora Linux 38.20230621.0 (Kinoite)
KDE Plasma: 5.27.5
KDE Frameworks: 5.107.0
Qt: 5.15.10
Kernel: 6.3.8-200.fc38.x86_64
Compositor: wayland

--- Hardware ---
CPU: AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx
RAM: 13.5 GB
GPU: AMD Radeon Vega 8 Graphics
Video memory: 2048MB
Comment 1 Tobias Fella 2023-06-22 19:06:24 UTC
Hi,

we don't make things optional to work around crashes. Please provide a backtrace for your crash instead. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports for how to do that
Comment 2 Henning 2023-06-23 18:03:06 UTC
Yes makes sense of course, but in general

1. On rpm-ostree layering packages through a GUI may be a false impression
2. Doing such a huge update right when you start the app is horrible. It is already horrible on normal Package managers, as you want to install Flatpaks or maybe layer apps with rpm-ostree update --install APPNAME

So it makes no sense. Either you dont want to install RPMs, then the store may just crash because of overload, or you want to layer RPMs but the image gets already created and then reopened and an app layered to it. So you do double the work.
Comment 3 Timothée Ravier 2023-06-26 18:08:18 UTC
*** Bug 470994 has been marked as a duplicate of this bug. ***
Comment 4 Timothée Ravier 2023-06-26 18:11:30 UTC
Please do the following and report the crash backtrace:

```
# Layer gdb-minimal
$ sudo rpm-ostree install gdb-minimal
# Setup a symlink
$ sudo ln -nsf /usr/bin/gdb-minimal /usr/local/bin/gdb
# Trigger the crash again. DrKonqi should get you a backtrace now
```
Comment 5 Bug Janitor Service 2023-07-11 03:44:58 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 6 Henning 2023-07-12 15:17:04 UTC
Currently not reproducible. Maybe you reduced the load? System updates stay at 5% when launching disover, but it doesnt crash.
Comment 7 Bug Janitor Service 2023-07-27 03:44:57 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 8 Bug Janitor Service 2023-08-11 03:45:15 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!