I am using crashlytics in my app since it was part of Fabric. I would see the crash line and Class name. But now in Firebase, I don't see the line number causing the crash.
Here is the crash log:
Crashed: com.apple.main-thread
0 Haraj 0x100c1eb00 specialized GQLHelper.submitPost(post:onFinish:) + 4313017088 (<compiler-generated>:4313017088)
1 Haraj 0x100bb900c HJAdDetailsViewController.submitPost() + 4312600588 (<compiler-generated>:4312600588)
2 Haraj 0x100bbcc94 partial apply for closure #1 in HJAdDetailsViewController.setupPopOver() + 4312616084 (<compiler-generated>:4312616084)
3 Haraj 0x100c303f8 #objc HJAgreementsView.acceptButtonPressed(_:) + 4313089016
4 UIKitCore 0x1bef53a44 -[UIApplication sendAction:to:from:forEvent:] + 96
5 UIKitCore 0x1be9976d0 -[UIControl sendAction:to:forEvent:] + 240
6 UIKitCore 0x1be997a34 -[UIControl _sendActionsForEvents:withEvent:] + 408
7 UIKitCore 0x1be996a50 -[UIControl touchesEnded:withEvent:] + 520
8 UIKitCore 0x1bef8cd68 -[UIWindow _sendTouchesForEvent:] + 2324
9 UIKitCore 0x1bef8e0a8 -[UIWindow sendEvent:] + 3352
10 UIKitCore 0x1bef6aae8 -[UIApplication sendEvent:] + 336
11 UIKitCore 0x1befe223c __dispatchPreprocessedEventFromEventQueue + 5880
12 UIKitCore 0x1befe4798 __handleEventQueueInternal + 4924
13 UIKitCore 0x1befe4ae4 __handleEventQueueInternal + 5768
14 UIKitCore 0x1befdd60c __handleHIDEventFetcherDrain + 108
15 CoreFoundation 0x1baec27e0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
16 CoreFoundation 0x1baec2738 __CFRunLoopDoSource0 + 80
17 CoreFoundation 0x1baec1ed0 __CFRunLoopDoSources0 + 180
18 CoreFoundation 0x1baebd01c __CFRunLoopRun + 1080
19 CoreFoundation 0x1baebc8bc CFRunLoopRunSpecific + 464
20 GraphicsServices 0x1c4d28328 GSEventRunModal + 104
21 UIKitCore 0x1bef526d4 UIApplicationMain + 1936
22 Haraj 0x100a54ad8 main + 15 (main.m:15)
23 libdyld.dylib 0x1bad47460 start + 4
In here the crash seems to be coming from GQLHelper.submitPost(post:onFinish:) but the line number is invalid.
Any help? Has something got changed while moving from Fabric to Firebase?
In firebase, I don't see missing dSYMs for this particular release version.
Related
Over the last week, I've noticed a lot of -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 1256 crashes on iPhone 14 Pro devices running iOS 16.1.1.
The tableView where this problem originates has a constant number of rows and sections, so the datasource is never modified.
The crashes are also being reported to Crashlytics and Sentry, but never make it into the Apple Organizer.
Any idea what's going on? How can I resolve this issue?
Crashed: com.apple.main-thread
0 App 0x90e74 SettingsViewController.tableView(_:cellForRowAt:) + 4374285940 (SettingsViewController.swift:4374285940)
1 App 0x91210 #objc SettingsViewController.tableView(_:cellForRowAt:) + 4374286864 (<compiler-generated>:4374286864)
2 UIKitCore 0x14beec -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 1256
3 UIKitCore 0x11f844 -[UITableView _updateVisibleCellsForRanges:createIfNecessary:] + 596
4 UIKitCore 0x59350 -[UITableView _updateVisibleCellsNow:] + 1088
5 UIKitCore 0x58e44 -[UITableView layoutSubviews] + 148
6 UIKitCore 0x5020 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1980
7 QuartzCore 0x99ec CA::Layer::layout_if_needed(CA::Transaction*) + 500
8 UIKitCore 0xd21dc -[UIView(Hierarchy) layoutBelowIfNeeded] + 292
9 UIKitCore 0x3dc0c -[UINavigationController _layoutViewController:] + 816
10 UIKitCore 0x3d8d8 -[UINavigationController _layoutTopViewControllerLookForNested:] + 436
11 UIKitCore 0x1506dc -[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 892
12 UIKitCore 0x150324 -[UINavigationTransitionView _notifyDelegateTransitionDidStopWithContext:] + 296
13 UIKitCore 0x14f8e4 -[UINavigationTransitionView _cleanupTransition] + 536
14 UIKitCore 0x14f634 +[UIView(UIViewAnimationWithBlocks) conditionallyAnimate:withAnimation:layout:completion:] + 136
15 UIKitCore 0x1a8c0c -[UINavigationTransitionView transition:fromView:toView:] + 1612
16 UIKitCore 0x1a8270 -[UINavigationController _startTransition:fromViewController:toViewController:] + 2104
17 UIKitCore 0x1a6fb4 -[UINavigationController _startDeferredTransitionIfNeeded:] + 608
18 UIKitCore 0x1a6604 -[UINavigationController __viewWillLayoutSubviews] + 96
19 UIKitCore 0x1a6568 -[UILayoutContainerView layoutSubviews] + 172
20 UIKitCore 0x5020 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1980
21 QuartzCore 0x99ec CA::Layer::layout_if_needed(CA::Transaction*) + 500
22 QuartzCore 0x1d0a0 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 148
23 QuartzCore 0x2e5b0 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 456
24 QuartzCore 0x635ec CA::Transaction::commit() + 652
25 QuartzCore 0x4c8cc CA::Transaction::flush_as_runloop_observer(bool) + 88
26 UIKitCore 0x504b44 _UIApplicationFlushCATransaction + 52
27 UIKitCore 0x652740 _UIUpdateSequenceRun + 84
28 UIKitCore 0xc99fd0 schedulerStepScheduledMainSection + 172
29 UIKitCore 0xc9919c runloopSourceCallback + 92
30 CoreFoundation 0xd5f54 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
31 CoreFoundation 0xe232c __CFRunLoopDoSource0 + 176
32 CoreFoundation 0x66210 __CFRunLoopDoSources0 + 244
33 CoreFoundation 0x7bba8 __CFRunLoopRun + 836
34 CoreFoundation 0x80ed4 CFRunLoopRunSpecific + 612
35 GraphicsServices 0x1368 GSEventRunModal + 164
36 UIKitCore 0x3a23d0 -[UIApplication _run] + 888
37 UIKitCore 0x3a2034 UIApplicationMain + 340
38 App 0x8020 main + 41 (AppDelegate.swift:41)
39 ??? 0x1aa7e0960 (Missing)
I discovered that there was a forced unwrapping deep inside my codebase. I would encourage you to search for any forced unwrapping.
I am getting decent number of crashes that are reported to Crashlytics. There is not any reproducible steps. Sharing crash logs.
If anyone has similar crash or ideas, it is greatly appreciated.
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x1f40 objc_msgSend + 32
1 UIKitCore 0x5bc680 -[UIInputWindowController changeChild:toAppearState:animated:] + 124
2 UIKitCore 0x602270 -[UIInputWindowController updateAppearStatesForPlacement:start:animated:] + 124
3 UIKitCore 0xd4013c __77-[UIInputWindowController moveFromPlacement:toPlacement:starting:completion:]_block_invoke.1045 + 1448
4 UIKitCore 0x12aa4dc __UIVIEW_IS_EXECUTING_ANIMATION_COMPLETION_BLOCK__ + 36
5 UIKitCore 0x2c2fa4 -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 728
6 UIKitCore 0x18ed04 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 248
7 UIKitCore 0x1a3504 -[UIViewAnimationState animationDidStop:finished:] + 244
8 QuartzCore 0xcbe50 CA::Layer::run_animation_callbacks(void*) + 280
9 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
10 libdispatch.dylib 0x11f48 _dispatch_main_queue_drain + 928
11 libdispatch.dylib 0x11b98 _dispatch_main_queue_callback_4CF + 44
12 CoreFoundation 0x51800 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
13 CoreFoundation 0xb704 __CFRunLoopRun + 2532
14 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
15 GraphicsServices 0x1374 GSEventRunModal + 164
16 UIKitCore 0x514b58 -[UIApplication _run] + 1100
17 UIKitCore 0x296090 UIApplicationMain + 364
18 TCPApp 0xbad894 main + 39 (AppDelegate.swift:39)
19 ??? 0x106e31da4 (Missing)
This crash is happening only on iOS 13.3.1 & 13.4.0
This crash is happening randomly and is a real deterrent to my customers.
I have update fabric library to lastest version (1.10.2).
Crashed: com.apple.main-thread
0 libobjc.A.dylib 0x1947be090 objc_msgSend + 16
1 Foundation 0x194e564f0 probeGC + 120
2 Foundation 0x194d6cd64 -[NSConcreteMapTable rehashAround:] + 204
3 Foundation 0x194d6cc68 -[NSConcreteMapTable removeObjectForKey:] + 248
4 UIKitCore 0x198fbd484 _UIAnalyticsGatherMultitouchAnalytics + 632
5 UIKitCore 0x198b38a10 -[UIApplication sendEvent:] + 204
6 UIKitCore 0x198bb0c20 __dispatchPreprocessedEventFromEventQueue + 5880
7 UIKitCore 0x198bb317c __handleEventQueueInternal + 4924
8 UIKitCore 0x198babff0 __handleHIDEventFetcherDrain + 108
9 CoreFoundation 0x194a18a00 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
10 CoreFoundation 0x194a18958 __CFRunLoopDoSource0 + 80
11 CoreFoundation 0x194a180f0 __CFRunLoopDoSources0 + 180
12 CoreFoundation 0x194a1323c __CFRunLoopRun + 1080
13 CoreFoundation 0x194a12adc CFRunLoopRunSpecific + 464
14 GraphicsServices 0x19e9b3328 GSEventRunModal + 104
15 UIKitCore 0x198b2063c UIApplicationMain + 1936
16 xxxxxxxxxxxxxxx 0x1029863dc main + 17 (main.m:17)
17 libdyld.dylib 0x19489c360 start + 4
probably you can get some information here:
https://forums.developer.apple.com/thread/130095
I seem to be getting this error after my new release and its only happening on iOS 13 with most cases of upto 83% of the crash happening on iOS 13.3.1. I am not sure how to fix this error and I have been going through the code and cannot seem to figure out the change in iOS 13 that causes scrollViewDidScroll delegate method to crash the app.
Any help is greatly appreciated. It is also important to note that I haven't been able to reproduce this error, it only happens to users in production.
Crashed: com.apple.main-thread
EXC_BREAKPOINT 0x0000000104620bb0
Crashed: com.apple.main-thread
0 Motoz-AppStore 0x104620bb0 ProfileBrowserViewController.scrollViewDidScroll(_:) + 4299967408 (<compiler-generated>:4299967408)
1 Motoz-AppStore 0x104620d54 #objc ProfileBrowserViewController.scrollViewDidScroll(_:) + 4299967828 (<compiler-generated>:4299967828)
2 UIKitCore 0x1be3c6a24 -[UIScrollView _notifyDidScroll] + 76
3 UIKitCore 0x1be3b0c34 -[UIScrollView setContentOffset:] + 1016
4 UIKitCore 0x1bd8153d4 -[UICollectionView setContentOffset:] + 48
5 UIKitCore 0x1be3cdd28 -[UIScrollView _adjustContentOffsetIfNecessary] + 60
6 UIKitCore 0x1be3af1cc -[UIScrollView setFrame:] + 484
7 UIKitCore 0x1bd802e7c -[UICollectionView setFrame:] + 460
8 UIKitCore 0x1be41b878 -[UIView(Geometry) _applyAutoresizingMaskWithOldSuperviewSize:] + 576
9 UIKitCore 0x1be41c510 -[UIView(Geometry) _resizeWithOldSuperviewSize:] + 236
10 UIKitCore 0x1be355b84 -[UIScrollView(_UIOldConstraintBasedLayoutSupport) _resizeWithOldSuperviewSize:] + 52
11 CoreFoundation 0x1b9eed95c __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__ + 16
12 CoreFoundation 0x1b9df0fb0 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 416
13 UIKitCore 0x1be41b5e4 -[UIView(Geometry) resizeSubviewsWithOldSize:] + 156
14 UIKitCore 0x1be419938 -[UIView(Geometry) setFrame:] + 700
15 UIKitCore 0x1bd8e519c -[UINavigationController _startCustomTransition:] + 1212
16 UIKitCore 0x1bd8f9168 -[UINavigationController _startDeferredTransitionIfNeeded:] + 680
17 UIKitCore 0x1bd8fa55c -[UINavigationController __viewWillLayoutSubviews] + 164
18 UIKitCore 0x1bd8dd9e0 -[UILayoutContainerView layoutSubviews] + 224
19 UIKitCore 0x1be43617c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 2140
20 QuartzCore 0x1c099e2c0 -[CALayer layoutSublayers] + 284
21 QuartzCore 0x1c09a443c CA::Layer::layout_if_needed(CA::Transaction*) + 480
22 QuartzCore 0x1c09af140 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 136
23 QuartzCore 0x1c08f7884 CA::Context::commit_transaction(CA::Transaction*, double) + 304
24 QuartzCore 0x1c0921574 CA::Transaction::commit() + 676
25 QuartzCore 0x1c0921f68 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92
26 CoreFoundation 0x1b9e97e68 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
27 CoreFoundation 0x1b9e92d54 __CFRunLoopDoObservers + 416
28 CoreFoundation 0x1b9e93320 __CFRunLoopRun + 1308
29 CoreFoundation 0x1b9e92adc CFRunLoopRunSpecific + 464
30 GraphicsServices 0x1c3e33328 GSEventRunModal + 104
31 UIKitCore 0x1bdfa063c UIApplicationMain + 1936
32 Motoz-AppStore 0x1043fed70 main + 17 (TeraHeaderView.swift:17)
33 libdyld.dylib 0x1b9d1c360 start + 4
I can not say a concrete answer unless you show a piece of code but there is a possibility that error might occur because of delegation structure. Just in case check your delegation of scrollviews(tableviews, collection views, embedded web-views as well). Please check the link link for more info.
Failed to load bounding path bitmap data from the asset manager for asset name: BoundingPathBitmap-1125x2436-375x812-3.00x
The crash happen on the viewcontroller contain UIScrollView When open it,and only happens with the iPhone X and above
We develop app UI use storyboard
0 CoreFoundation ___exceptionPreprocess + 228
1 libobjc.A.dylib objc_exception_throw + 56
2 CoreFoundation +[_CFXNotificationTokenRegistration keyCallbacks]
3 Foundation -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 UIKitCore -[_UIScreenBezierBoundingPathUtilities _loadBitmapForScreen:type:] + 1124
5 UIKitCore -[_UIScreenBezierBoundingPathUtilities initWithScreen:] + 144
6 UIKitCore +[_UIScreenBoundingPathUtilities boundingPathUtilitiesForScreen:] + 108
7 UIKitCore -[UIScreen _boundingPathUtilities] + 56
8 UIKitCore -[UIWindow _boundingPath] + 168
9 UIKitCore -[UIView(UIViewBoundingPathSupportInternal) _effectiveBoundingPathAndBoundingPathView:] + 256
10 UIKitCore -[UIView(UIViewBoundingPathSupport) _inscribedRectInBoundingPathByInsettingRect:onEdges:withOptions:] + 88
11 UIKitCore -[UIScrollView(UIScrollViewInternal) _baseInsetsForTrailingEdgeAccessoryWithBoundingPathEdgesToUse:safeAreaInsets:bounds:scale:accessoryWidth:additionalInsetFromEdge:] + 180
12 UIKitCore -[UIScrollView(UIScrollViewInternal) _baseInsetsForAccessoryOnEdge:hasCustomClientInsets:accessorySize:additionalInsetFromEdge:] + 1388
13 UIKitCore -[UIScrollView(UIScrollViewInternal) _effectiveVerticalScrollIndicatorInsets] + 152
14 UIKitCore -[UIScrollView _layoutVerticalScrollIndicatorWithBounds:effectiveInset:contentOffset:fraction:additionalInset:cornerAdjust:showing:recalcSize:] + 252
15 UIKitCore -[UIScrollView _adjustScrollerIndicators:alwaysShowingThem:] + 1040
16 UIKitCore -[UIScrollView _updateForChangedScrollIndicatorRelatedInsets] + 132
17 UIKitCore __UIScrollViewAdjustForOverlayInsetsChangeIfNecessary + 512
18 UIKitCore -[UIScrollView(UIScrollViewInternal) setSafeAreaInsets:] + 312
19 UIKitCore -[UIView(Geometry) _applyISEngineLayoutValuesToBoundsOnly:] + 1288
20 UIKitCore -[UIView(Geometry) _resizeWithOldSuperviewSize:] + 124
21 UIKitCore -[UIScrollView(_UIOldConstraintBasedLayoutSupport) _resizeWithOldSuperviewSize:] + 52
22 CoreFoundation -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] + 464
23 UIKitCore -[UIView(Geometry) resizeSubviewsWithOldSize:] + 156
24 UIKitCore -[UIView(AdditionalLayoutSupport) _is_layout] + 152
25 UIKitCore -[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 988
26 UIKitCore -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1380
27 QuartzCore 0x00000001ca79e000 + 1309564
28 QuartzCore 0x00000001ca79e000 + 1329972
29 QuartzCore 0x00000001ca79e000 + 669080
30 QuartzCore 0x00000001ca79e000 + 859848
31 QuartzCore 0x00000001ca79e000 + 863536
32 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 32
33 CoreFoundation ___CFRunLoopDoObservers + 412
34 CoreFoundation ___CFRunLoopRun + 1264
35 CoreFoundation CFRunLoopRunSpecific + 436
36 GraphicsServices GSEventRunModal + 100
37 UIKitCore UIApplicationMain + 212
38 live main (main.mm:23)
39 libdyld.dylib 0x00000001c5d2a000 + 2996
hope someone could give me some advice, thanks
The same crash also happened in my app.
When I turned off the 'Show Horizontal Indicator' and 'Show Vertical Indicator' on the storyboard, the crash no longer occurred.
It just happened with my app .. Fixed ,
Delete the app and restart Simulator ..
^ command + shift + K to clean build folder