Bug 490686

Summary: Crash when selecting category without search
Product: [Applications] Discover Reporter: simondelorme4 <simondelorme4>
Component: discoverAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: aleixpol
Priority: NOR    
Version First Reported In: 5.24.7   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description simondelorme4@gmail.com 2024-07-23 03:27:15 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
***

I am aware that im running a super old version. The Pop!_ OS repos don't want to update for some reason 
SUMMARY
After selecting a category (on sidebar) in discover, it crashes. However, it only does if i am not in a search 

STEPS TO REPRODUCE
1. Open discover
2. Open category in sidebar

OBSERVED RESULT
It hangs for a few seconds and then crashes.
(when using gdb, the window never closes and it just hangs until i manually kill it)
output from gdb after crash: 
```
(process:13609): GLib-ERROR **: 23:09:44.724: Creating pipes for GWakeup: Too many open files
[New Thread 0x7ffdb6000640 (LWP 14124)]

Thread 480 "plasma-discover" received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7ffdb6a00640 (LWP 14123)]
0x00007ffff4858cef in g_log_structured_array () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
```
EXPECTED RESULT
It should enter the category and display without die

SOFTWARE/OS VERSIONS
Linux:  Pop!_ OS v22.04
KDE Plasma Version: 5.24.7
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Pop!_ OS ships with GNOME by default (and doesn't seem to update KDE apps in its repos, since i can't update to KDE6 even tho its been a while since it exists)

\/ (idk if this helps) \/
I have gotten a completely unrelated error that also complains about "Too many open files". For that one i fixed it by running `echo 256 | sudo tee /proc/sys/fs/inotify/max_user_instances`. I tried doing this and running it again but it still crashes.
Comment 1 Bug Janitor Service 2024-07-23 03:33:37 UTC
Thank you for the bug report!

However Plasma 5.24.7 is no longer eligible for support or maintenance from KDE; supported versions are 5.27 (LTS), and 5.27 (non-LTS) or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 5.24.7, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.