ios – How to diagnose a Time Out Runloop Hang


I’ve got an .ips file from a handset saying there’s a Timed Out Runloop Hang.
How can I go about interpreting this?
How can the .ips file be symbolicated? (Apple have instructions for symbolicating crash logs, but not ips logs)

Data Source:      KPerf Lightweight PET
Shared Cache:     7D402D22-BB6B-3B47-9C63-90FAF8061A28 slid base address 0x19ab38000, slide 0x1ab38000 (System Primary)
Shared Cache:     4A16245E-C114-3CD8-A848-490D27D024BB slid base address 0x197bbc000, slide 0x17bbc000 (DriverKit)
Reason:           UIKit-runloop-MyApp: timeout 9519ms

Command:          MyApp
Path:             /private/var/containers/Bundle/Application/18F4BDD7-DF7E-47F8-A808-8FA7C659E2FF/MyApp.app/MyApp
Identifier:       com.myApp
Version:          16.1 (25)
Adam ID:          807625235
Is First Party:   No
Is Beta:          Yes
Cohort:           2|date=1707192000000&sf=143441&tid=4191156da0351f21056ec594160a49eddcf17997b909c7125a95adc8167d45d4&ttype=i
Architecture:     arm64
PID:              3829
Time Since Fork:  1s

Event:            Timed Out Runloop Hang
Duration:         9.54s
Duration Sampled: 9.53s
Steps:            698 (10ms sampling interval)
Report threshold: 1s

Hardware model:   iPhone13,3
Active cpus:      6
HW page size:     16384
VM page size:     16384

Time Since Boot:  260777s
Time Awake Since Boot: 33066s

Total CPU Time:   18.717s (27.7G cycles, 33.9G instructions, 0.82c/i)
Memory pressure:  average 59%, highest 60%
Available memory: average 2477.40 MB, lowest 2400.67 MB
I/O statistics:
  Overall:        1177 IOs (124 IOs/s), 19.37 MB (2083.01 KB/s)
  Tier0:          291 IOs (31 IOs/s), 2902.03 KB (304.84 KB/s)
  Tier1:          494 IOs (52 IOs/s), 2524 KB (265.13 KB/s)
  Tier2:          283 IOs (30 IOs/s), 8664 KB (910.09 KB/s)
  Tier3:          109 IOs (11 IOs/s), 5740 KB (602.95 KB/s)
Advisory levels:  Battery -> 3, User -> 3, ThermalPressure -> 0, Combined -> 3
Free disk space:  97.46 GB/119.10 GB, low space threshold 150 MB
Vnodes Available: 69.87% (16768/24000, 12000 allocated, 12000 soft limit)

Preferred User Language: en-US
Country Code:     US
Keyboards:        en_US QWERTY
OS Cryptex File Extents: 1

Heaviest stack for the main thread of the target process:
  698  start + 2240 (dyld + 23940) [0x1c6e14d84]
  698  ??? (MyApp + 68712) [0x100268c68]
  698  UIApplicationMain + 340 (UIKitCore + 2273848) [0x1a513e238]
  698  -[UIApplication _run] + 888 (UIKitCore + 2276348) [0x1a513ebfc]
  698  GSEventRunModal + 164 (GraphicsServices + 13536) [0x1e7c824e0]
  698  CFRunLoopRunSpecific + 608 (CoreFoundation + 211304) [0x1a2cce968]
  698  __CFRunLoopRun + 828 (CoreFoundation + 212360) [0x1a2cced88]
  698  __CFRunLoopDoSources0 + 244 (CoreFoundation + 217176) [0x1a2cd0058]
  698  __CFRunLoopDoSource0 + 176 (CoreFoundation + 223400) [0x1a2cd18a8]
  698  __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CoreFoundation + 226860) [0x1a2cd262c]
  698  -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28 (FrontBoardServices + 41812) [0x1bc0ea354]
  698  -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240 (FrontBoardServices + 42108) [0x1bc0ea47c]
  698  __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 (FrontBoardServices + 42236) [0x1bc0ea4fc]
  698  _dispatch_block_invoke_direct + 288 (libdispatch.dylib + 30828) [0x1aab8986c]
  698  _dispatch_client_callout + 20 (libdispatch.dylib + 15828) [0x1aab85dd4]
  698  __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 344 (FrontBoardServices + 57492) [0x1bc0ee094]
  698  -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 (FrontBoardServices + 57720) [0x1bc0ee178]
  698  __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 152 (FrontBoardServices + 58076) [0x1bc0ee2dc]
  698  -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 660 (FrontBoardServices + 58768) [0x1bc0ee590]
  698  -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 336 (UIKitCore + 1277304) [0x1a504ad78]
  698  -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 (UIKitCore + 1277752) [0x1a504af38]
  698  -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 216 (UIKitCore + 1278152) [0x1a504b0c8]
  698  __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.226 + 612 (UIKitCore + 5018524) [0x1a53dc39c]
  698  -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 316 (UIKitCore + 1281876) [0x1a504bf54]
  698  _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224 (UIKitCore + 1282724) [0x1a504c2a4]
  698  +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 736 (UIKitCore + 1284636) [0x1a504ca1c]
  698  __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 148 (UIKitCore + 1284884) [0x1a504cb14]
  698  -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 248 (UIKitCore + 1285188) [0x1a504cc44]
  698  -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 608 (UIKitCore + 1286876) [0x1a504d2dc]
  698  -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 280 (UIKitCore + 1292448) [0x1a504e8a0]
  698  -[UIApplication _stopDeactivatingForReason:] + 1240 (UIKitCore + 1624992) [0x1a509fba0]
  698  -[NSNotificationCenter postNotificationName:object:userInfo:] + 92 (Foundation + 173344) [0x1a1b7c520]
  698  _CFXNotificationPost + 728 (CoreFoundation + 189960) [0x1a2cc9608]
  698  _CFXRegistrationPost + 440 (CoreFoundation + 192696) [0x1a2cca0b8]
  698  ___CFXRegistrationPost_block_invoke + 88 (CoreFoundation + 192880) [0x1a2cca170]
  698  __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148 (CoreFoundation + 194472) [0x1a2cca7a8]
  694  ??? (MyApp + 294104) [0x10029fcd8]
  693  ??? (MyApp + 293908) [0x10029fc14]
  693  ??? (MyApp + 351172) [0x1002adbc4]
  693  ??? (MyApp + 509624) [0x1002d46b8]
  693  ??? (MyApp + 110436) [0x100272f64]
  693  specialized withVaList<A>(_:_:) + 428 (Foundation + 5312064) [0x1a2062e40]
  693  _NSLogv + 164 (Foundation + 599648) [0x1a1be4660]
  693  _CFLogvEx3 + 252 (CoreFoundation + 652276) [0x1a2d3a3f4]
  693  _CFLogvEx2Predicate + 352 (CoreFoundation + 652792) [0x1a2d3a5f8]
  693  __CFLogCString + 84 (CoreFoundation + 652948) [0x1a2d3a694]
  693  _logToStderr + 144 (CoreFoundation + 653980) [0x1a2d3aa9c]
  693  __ulock_wait2 + 8 (libsystem_kernel.dylib + 59740) [0x1ebe8595c]
 *693  ??? (<30CE5ECC-BDD1-3D1F-B10E-75066730E6C5> + 5067480) [0xfffffff0082292d8]

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img