Hi Friends. With the new iOS 16.2 update in my iPad device, my app started failing. It works in simulator but fails in real device. Below are the device logs : Tried searching various forums, tried address santizer and zombies but couldn't find useful. I am a bit newbie to Xcode so not so knowledge on how to debug. Can anyone help me on how can I determine place of error and possible fix from the log. thanks in advance
Exception Type:
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Codes: 0x0000000000000001, 0x0000000000000020
VM Region Info: 0x20 is not in any region. Bytes before following region: 68719476704
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated)
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [394]
Triggered by Thread: 0
Kernel Triage:
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
VM - pmap_enter retried due to resource shortage
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x1c7bdae5c objc_retain + 16
1 UIKitCore 0x1d0c2f000 -[_UIButtonBarItemLayout _updateItemViewSizing] + 116
2 UIKitCore 0x1d0c30970 -[_UIButtonBarItemLayout _updateItemView] + 364
3 UIKitCore 0x1d108c964 -[_UIButtonBarItemLayout minimumLayoutWidthGivenMinimumSpaceWidth:] + 28
4 UIKitCore 0x1d108d074 -[_UIButtonBarItemGroupLayout recalculateLayoutWidthsGivenItemSpaceWidth:] + 296
5 UIKitCore 0x1d1084ddc -[_UIButtonBar _widthInfoForLayout:] + 200
6 UIKitCore 0x1d10ca6b4 -[_UINavigationBarContentViewLayout _buttonBarLayoutInfo] + 336
7 UIKitCore 0x1d10caa14 -[_UINavigationBarContentViewLayout layoutSubviews] + 64
8 UIKitCore 0x1d0a84400 -[_UINavigationBarContentView layoutSubviews] + 172
9 UIKitCore 0x1d0a81860 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1980
10 QuartzCore 0x1cff54b0c CA::Layer::layout_if_needed(CA::Transaction*) + 500
11 UIKitCore 0x1d0b4ee80 -[UIView(Hierarchy) layoutBelowIfNeeded] + 292
12 UIKitCore 0x1d0c23680 -[UINavigationController _positionNavigationBarHidden:edge:initialOffset:] + 580
13 UIKitCore 0x1d0c233c0 -[UINavigationController _positionNavigationBarHidden:edge:] + 268
14 UIKitCore 0x1d0c231c4 -[UINavigationController __viewWillLayoutSubviews] + 148
15 UIKitCore 0x1d0c230f4 -[UILayoutContainerView layoutSubviews] + 172
16 UIKitCore 0x1d0a81860 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1980
17 QuartzCore 0x1cff54b0c CA::Layer::layout_if_needed(CA::Transaction*) + 500
18 QuartzCore 0x1cff681c0 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 148
19 QuartzCore 0x1cff79534 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 444
20 QuartzCore 0x1cffae930 CA::Transaction::commit() + 652
21 UIKitCore 0x1d0f10304 __34-[UIApplication _firstCommitBlock]_block_invoke_2 + 36
22 CoreFoundation 0x1ce8eb524 CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 28
23 CoreFoundation 0x1ce953d7c __CFRunLoopDoBlocks + 368
24 CoreFoundation 0x1ce923ba0 __CFRunLoopRun + 856
25 CoreFoundation 0x1ce928ec0 CFRunLoopRunSpecific + 612
26 GraphicsServices 0x2080d3368 GSEventRunModal + 164
27 UIKitCore 0x1d0e1e86c -[UIApplication _run] + 888
28 UIKitCore 0x1d0e1e4d0 UIApplicationMain + 340
29 RD Vurdering TEST 0x100486f94 main + 28564 (main.m:9)
30 dyld 0x1ed13a960 start + 2528