https://bugs.kde.org/show_bug.cgi?id=495524
Janne Grunau <janne-...@jannau.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |janne-...@jannau.net --- Comment #1 from Janne Grunau <janne-...@jannau.net> --- wishlist doesn't seem the appropriate priority as this avoids crashes on all or many non-x86 systems. That is systems without "physical id" in `/proc/cpuinfo`. See below for a single CPU core entry from a Apple M1 Ultra: > processor : 0 > BogoMIPS : 48.00 > Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp > asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 asimddp sha512 asimdfhm > dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp flagm2 frint > CPU implementer : 0x61 > CPU architecture: 8 > CPU variant : 0x2 > CPU part : 0x028 > CPU revision : 0 It prevents a nullptr dereference in `LinuxCpuPluginPrivate::update()` when the constructor skipped all CPUs. Backtrace: > #0 __pthread_kill_implementation (threadid=281470396449024, > signo=signo@entry=11, no_tid=no_tid@entry=0) at pthread_kill.c:44 > #1 0x0000fffeee2e8850 [PAC] in __pthread_kill_internal (threadid=<optimized > out>, signo=11) at pthread_kill.c:78 > #2 0x0000fffeee295a00 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26 > #3 0x0000fffeef062adc [PAC] in KCrash::defaultCrashHandler (sig=11) at > /usr/src/debug/kf6-kcrash-6.7.0-1.fc40.aarch64/src/kcrash.cpp:596 > #4 0x0000fffeef104840 [PAC] in <signal handler called> () > #5 0x0000fffeef00b820 in KSysGuard::SensorObject::isSubscribed > (this=this@entry=0x0) at /usr/include/c++/14/bits/unique_ptr.h:193 > #6 0x0000fffee921b5bc [PAC] in LinuxCpuObject::update (this=0x0, > system=341648, user=427329, wait=15886, idle=78750572) at > /usr/src/debug/ksystemstats-6.2.1-1.fc40.aarch64/plugins/cpu/linuxcpu.cpp:63 > #7 LinuxCpuPluginPrivate::update (this=0xaaab5a9eaf50) at > /usr/src/debug/ksystemstats-6.2.1-1.fc40.aarch64/plugins/cpu/linuxcpuplugin.cpp:163 > #8 0x0000aaab4d535f80 [PAC] in Daemon::sendFrame() () -- You are receiving this mail because: You are watching all bug changes.