MacOS Crashing on upgrade/waking from sleep and starting back after 4-5 hrs, PerfPowerServices process NSRangeException
Translated Report (Full Report Below)
-------------------------------------
Process: PerfPowerServices [691]
Path: /usr/libexec/PerfPowerServices
Identifier: PerfPowerServices
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 0
Date/Time: 2024-06-14 10:34:06.9260 +0530
OS Version: macOS 12.3.1 (21E258)
Report Version: 12
Bridge OS Version: 6.4 (19P4243)
Time Awake Since Boot: 630 seconds
System Integrity Protection: enabled
Crashed Thread: 3 Dispatch queue: com.apple.root.user-initiated-qos
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConstantArray objectAtIndexedSubscript:]: index 138 beyond bounds [0 .. 119]'
terminating with uncaught exception of type NSException
abort() called
Application Specific Backtrace 0:
0 CoreFoundation 0x00007ff8052331e3 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff804f93c13 objc_exception_throw + 48
2 CoreFoundation 0x00007ff8052ee63c _CFThrowFormattedException + 202
3 CoreFoundation 0x00007ff805273a4b +[NSConstantArray new] + 0
4 PowerlogLiteOperators 0x00007ff91bcc8622 -[PLXPCService permissionForClientID:withKey:withType:withProcessName:] + 130
5 PowerlogLiteOperators 0x00007ff91bccbdb1 -[PLXPCService handlePeerShouldLogEvent:withMessage:withClientID:withProcessName:withKey:] + 209
6 PowerlogLiteOperators 0x00007ff91bccb15f -[PLXPCService handleSingleMessage:fromPeer:forEvent:] + 2129
7 PowerlogLiteOperators 0x00007ff91bcca1b7 -[PLXPCService handlePeer:forEvent:] + 3511
8 PowerlogLiteOperators 0x00007ff91bcc65f8 __20-[PLXPCService init]_block_invoke.428 + 482
9 libxpc.dylib 0x00007ff804e2cb6c _xpc_connection_call_event_handler + 56
10 libxpc.dylib 0x00007ff804e2b947 _xpc_connection_mach_event + 1382
11 libdispatch.dylib 0x00007ff804f363b1 _dispatch_client_callout4 + 9
12 libdispatch.dylib 0x00007ff804f4f041 _dispatch_mach_msg_invoke + 445
13 libdispatch.dylib 0x00007ff804f3c1cd _dispatch_lane_serial_drain + 342
14 libdispatch.dylib 0x00007ff804f4fb77 _dispatch_mach_invoke + 484
15 libdispatch.dylib 0x00007ff804f46eee _dispatch_workloop_worker_thread + 753
16 libsystem_pthread.dylib 0x00007ff8050edfd0 _pthread_wqthread + 326
17 libsystem_pthread.dylib 0x00007ff8050ecf57 start_wqthread + 15
[Edited by Moderator]
MacBook Pro 16″, macOS 12.3