https://bugs.kde.org/show_bug.cgi?id=514580
access <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REPORTED Resolution|DUPLICATE |--- --- Comment #3 from access <[email protected]> --- **SUMMARY** `ksystemstats_intel_helper` crashes with SIGFPE (division by zero) on Intel iGPU. Root cause is unguarded division by `enginesPerClass[...]` which can be 0 on some systems. **DETAILS / ROOT CAUSE** Crash happens in `plugins/gpu/IntelHelper.cpp` when printing per-engine utilization: `engineCounters[class] / enginesPerClass[class]` `enginesPerClass[...]` may be zero => SIGFPE. Related report with similar crash log / minimal info: [https://bugs.kde.org/show_bug.cgi?id=514305](https://bugs.kde.org/show_bug.cgi?id=514305) **WORKAROUND / FIX** I have a minimal patch that guards the divisions (fallback to 0 when `enginesPerClass[...] == 0`). After applying it, `plasma-ksystemstats.service` stops crashing and GPU sensors start working correctly. **USER-VISIBLE EFFECT** After the fix: * GPU sensors/graphs in Plasma System Monitor work correctly * GPU graphs in Plasma widgets also start updating normally **ATTACHMENTS** * `fix-intel-helper-fpe.patch` — minimal source patch (guarded division) * `ksystemstats-intel-fpe-fix.sh` — reproducible helper script to build/reinstall patched package (Arch packaging workflow) * `ksystemstats_intel_helper_SIGFPE.txt` — crash details (SIGFPE) (If needed I can provide additional backtrace with debug symbols, but this looks deterministic and the patch is trivial.) -- You are receiving this mail because: You are watching all bug changes.
