Post

Replies

Boosts

Views

Activity

SwiftUI app crashes using iOS 16 EXC_BREAKPOINT, difficulty understanding crash report
Hi Everyone, Our app crashes on iOS 16, but we are having a hard time trying to interpret the crash report. Please find the report below. Does anyone know what this could be? Many thanks in advance. :) Kind regards, Floris Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x0000000199f2d20c Termination Reason: SIGNAL 5 Trace/BPT trap: 5 Terminating Process: exc handler [6538] Triggered by Thread: 0 Kernel Triage: VM - pmap_enter retried due to resource shortage Thread 0 name: Thread 0 Crashed: 0 libswiftCore.dylib 0x0000000199f2d20c _assertionFailure(_:_:file:line:flags:) + 312 (AssertCommon.swift:143) 1 SwiftUI 0x00000001a3af292c specialized PlatformListViewBase<>.hostSizeThatFits(width:) + 648 2 SwiftUI 0x00000001a4c95418 specialized PlatformListViewBase<>.hostPreferredLayoutAttributes(fitting:insets:) + 188 3 SwiftUI 0x00000001a42d3f40 @objc ListCollectionViewCell.preferredLayoutAttributesFitting(_:) + 48 (<compiler-generated>:0) 4 UIKitCore 0x00000001a22999ac -[UICollectionReusableView _preferredLayoutAttributesFittingAttributes:] + 144 (UICollectionViewCell.m:562) 5 UIKitCore 0x00000001a2326700 -[UICollectionViewListCell _preferredLayoutAttributesFittingAttributes:] + 240 (UICollectionViewListCell.m:579) 6 UIKitCore 0x00000001a21f9818 -[UICollectionView _checkForPreferredAttributesInView:originalAttributes:] + 160 (UICollectionView.m:3017) 7 UIKitCore 0x00000001a238afbc -[UICollectionView _createPreparedSupplementaryViewForElementOfKind:atIndexPath:withLayoutAttributes:applyAttributes:] + 804 (UICollectionView.m:3462) 8 UIKitCore 0x00000001a28d4804 -[UICollectionView _updatePreferredAttributesForSupplementariesInCurrentUpdate:] + 400 (UICollectionView.m:11077) 9 UIKitCore 0x00000001a28d4540 -[UICollectionView _updatePreferredAttributesForSupplementariesInCurrentUpdateWithRect:newlyVisible:includeInserts:] + 756 (UICollectionView.m:11055) 10 UIKitCore 0x00000001a28d3a44 -[UICollectionView _updatePreferredAttributesForCurrentUpdate:] + 1140 (UICollectionView.m:10892) 11 UIKitCore 0x00000001a28d3a9c -[UICollectionView _updatePreferredAttributesForCurrentUpdate:] + 1228 (UICollectionView.m:10906) 12 UIKitCore 0x00000001a2390984 -[UICollectionView _viewAnimationsForCurrentUpdateWithCollectionViewAnimator:] + 116 (UICollectionView.m:9931) 13 UIKitCore 0x00000001a28d4d44 __102-[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:]_block_invoke.744 + 268 (UICollectionView.m:11253) 14 UIKitCore 0x00000001a21ff6d0 +[UIView(Animation) performWithoutAnimation:] + 76 (UIView.m:14722) 15 UIKitCore 0x00000001a24e1f8c -[UICollectionView _updateWithItems:tentativelyForReordering:propertyAnimator:collectionViewAnimator:] + 1388 (UICollectionView.m:11243) 16 UIKitCore 0x00000001a24e15a8 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:collectionViewAnimator:] + 9020 (UICollectionView.m:9766) 17 UIKitCore 0x00000001a243f11c -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:animationHandler:] + 520 (UICollectionView.m:11823) 18 SwiftUI 0x00000001a40fa88c UpdateCoalescingCollectionView.performBatchUpdates(_:completion:) + 408 (UpdateCoalescingCollectionView.swift:241) 19 SwiftUI 0x00000001a40fb27c @objc UpdateCoalescingCollectionView.performBatchUpdates(_:completion:) + 200 (<compiler-generated>:0) 20 SwiftUI 0x00000001a3a65f58 thunk for @callee_guaranteed () -> () + 28 (<compiler-generated>:0) 21 SwiftUI 0x00000001a3bb8150 thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:0) 22 UIKitCore 0x00000001a21ff6d0 +[UIView(Animation) performWithoutAnimation:] + 76 (UIView.m:14722) 23 SwiftUI 0x00000001a40fa624 UpdateCoalescingCollectionView.layoutSubviews() + 340 (UpdateCoalescingCollectionView.swift:225) 24 SwiftUI 0x00000001a40fa6d0 @objc UpdateCoalescingCollectionView.layoutSubviews() + 32 (<compiler-generated>:0) 25 UIKitCore 0x00000001a21d2cec -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1980 (UIView.m:18550) 26 QuartzCore 0x00000001a16af4e8 CA::Layer::layout_if_needed(CA::Transaction*) + 500 (CALayer.mm:10223) 27 UIKitCore 0x00000001a22a0ae8 -[UIView(Hierarchy) layoutBelowIfNeeded] + 292 (UIView.m:12990) 28 UIKitCore 0x00000001a2a03c80 __87-[_UINavigationControllerRefreshControlHost refreshControl:didChangeToState:fromState:]_block_invoke + 52 (_UINavigationControllerRefreshControlHost.m:119) ... 54 QuartzCore 0x00000001a16ced48 CA::Display::DisplayLink::dispatch_items(unsigned long long, unsigned long long, unsigned long long) + 1444 (CATransactionInternal.mm:1933) 55 QuartzCore 0x00000001a16e03e8 display_timer_callback(__CFMachPort*, void*, long, void*) + 372 (CADisplayTimer.cpp:219) 56 CoreFoundation 0x00000001a00bbb30 __CFMachPortPerform + 176 (CFMachPort.c:549) 57 CoreFoundation 0x00000001a00d9010 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 60 (CFRunLoop.c:1998) 58 CoreFoundation 0x00000001a00dac18 __CFRunLoopDoSource1 + 520 (CFRunLoop.c:2137) 59 CoreFoundation 0x00000001a00bc44c __CFRunLoopRun + 2264 (CFRunLoop.c:3192) 60 CoreFoundation 0x00000001a00c11e4 CFRunLoopRunSpecific + 612 (CFRunLoop.c:3390) 61 GraphicsServices 0x00000001d8ee1368 GSEventRunModal + 164 (GSEvent.c:2196) 62 UIKitCore 0x00000001a2570d88 -[UIApplication _run] + 888 (UIApplication.m:3726) 63 UIKitCore 0x00000001a25709ec UIApplicationMain + 340 (UIApplication.m:5316) 64 SwiftUI 0x00000001a3b6fce8 closure #1 in KitRendererCommon(_:) + 168 (UIKitApp.swift:37) 65 SwiftUI 0x00000001a3accc24 runApp<A>(_:) + 152 (<compiler-generated>:0) 66 SwiftUI 0x00000001a3ab5b44 static App.main() + 128 (App.swift:114) 67 Figy 0x0000000102b24530 static FigyClientAppleApp.$main() + 52 (FigyClientAppleApp.swift:11) 68 Figy 0x0000000102b24530 main + 64 (FacebookAPI.swift:0) 69 dyld 0x00000001be3e5948 start + 2504 (dyldMain.cpp:1168)
5
2
2.1k
Sep ’22