Our app is used for multi person voice call. There is inexplicable hanging and background flash back on the mobile phone system version after ios15. It will appear after ios15. The current crash log is:
OS Version: iPhone OS 15.3 (Build 19D50)
Architecture: arm64e
Report Version: 35
Data Source: Microstackshots
Shared Cache: 66BD3798-5A09-3367-BFD4-23D74646167A slid base address 0x180244000, slide 0x244000
Command: XXXX
Path: /private/var/containers/Bundle/Application/56608046-28A9-4304-AB21-D8BD53B726F8/XXXX.app/XXXX
Identifier: com.XXXX.XXXX
Version: 1.4.5 (52)
Beta Identifier: 81FA4D3D-4189-45E4-9053-2DD141C6F600
Architecture: arm64
PID: 771
Event: cpu usage
Action taken: Process killed
CPU: 9 seconds cpu time over 38 seconds (24% cpu average), exceeding limit of 15% cpu over 60 seconds
CPU limit: 9s
Limit duration: 60s
CPU used: 9s
CPU duration: 38s
Duration: 38.03s
Duration Sampled: 36.79s
Steps: 10
Hardware model: iPhone11,8
Active cpus: 6
HW page size: 16384
VM page size: 16384
Advisory levels: Battery -> 3, User -> 3, ThermalPressure -> 0, Combined -> 3
Free disk space: 63.56 GB/119.16 GB, low space threshold 150 MB
Heaviest stack for the target process:
8 ??? (libsystem_pthread.dylib + 3744) [0x1f10b2ea0]
8 ??? (libsystem_pthread.dylib + 6564) [0x1f10b39a4]
4 ??? (<801D7109-F70B-3156-8669-0309C97E8857> + 724392) [0x106708da8]
3 ??? (<801D7109-F70B-3156-8669-0309C97E8857> + 718920) [0x106707848]
3 ??? (<801D7109-F70B-3156-8669-0309C97E8857> + 721660) [0x1067082fc]
3 ??? (<801D7109-F70B-3156-8669-0309C97E8857> + 711444) [0x106705b14]
2 ??? (libsystem_kernel.dylib + 8656) [0x1b7b7c1d0]
Hang backstage and be killed in the backstage for a short time. How to solve it? will iOS kill my app for high CPU usage IN THE Background scene? Is the limit of exceeding 15% CPU in 60 seconds too low?And if so, is there a way to either disable that, or appeal for a higher CPU usage limit?