Bug 504190 - System Settings and other apps crash when scrolling the menu due to std::clamp assertion failure
Summary: System Settings and other apps crash when scrolling the menu due to std::clam...
Status: RESOLVED DUPLICATE of bug 503703
Alias: None
Product: systemsettings
Classification: Applications
Component: generic-crash (other bugs)
Version First Reported In: 6.3.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-14 03:38 UTC by Ahmed Metwally
Modified: 2025-05-14 06:05 UTC (History)
0 users

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


Attachments
kde_system-setting_crash_logs (28.48 KB, text/plain)
2025-05-14 03:38 UTC, Ahmed Metwally
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmed Metwally 2025-05-14 03:38:51 UTC
Created attachment 181266 [details]
kde_system-setting_crash_logs

SUMMARY
On CachyOS (KDE Plasma), opening System Settings (systemsettings) and scrolling through the settings menu causes the application to crash. The crash appears to be triggered by an assertion failure in std::clamp with an invalid range. This seems to be related to Kirigami or Qt6 components.

STEPS TO REPRODUCE
1. Launch systemsettings from the application menu or terminal.
2. Scroll through the settings menu (e.g., sidebar or category view).
3. Application crashes during or immediately after scrolling.

OBSERVED RESULT
 Application crashes when scrolling the settings menu.

EXPECTED RESULT
 System Settings should remain stable and fully responsive when scrolling through menu sections.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux/KDE Plasma: CachyOS latest release

KDE Plasma Version: 6.3.5

KDE Frameworks Version: 6.14.0

Qt Version: 6.9.0

ADDITIONAL INFORMATION
Crash output from terminal:
systemsettings: /build/gcc/src/gcc/libstdc++-v3/include/bits/stl_algobase.h:200: 
constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = float]: 
Assertion ‘!(__hi < __lo)’ failed.
Aborted (core dumped)
Comment 1 Antonio Rojas 2025-05-14 06:05:46 UTC

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