Instabug / Instabug-iOS

In-app feedback and bug reporting tool for apps.
https://instabug.com/
Other
288 stars 67 forks source link

crash: ibg_call_swizzler_block_with_invocation #473

Closed Mohsenkhodadadzadehthelist closed 10 months ago

Mohsenkhodadadzadehthelist commented 11 months ago

I received a crash report with firebase crashlytics that demonstrates the reason is in the Instabug SDK

the stack trace is:

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x9e88 __exceptionPreprocess
1  libobjc.A.dylib                0x178d8 objc_exception_throw
2  CoreFoundation                 0xf9c58 __CFDictionaryCreateGeneric
3  UIFoundation                   0x220e0 -[NSTextContentStorage locationFromLocation:withOffset:]
4  UIFoundation                   0x9f104 -[NSTextLineFragment textLineFragmentRange]
5  UIFoundation                   0x86e70 __95-[NSTextLayoutManager _copyTextLineFragmentRangeForPoint:inContainerAtLocation:pointPlacement:]_block_invoke
6  CoreFoundation                 0xa3a0 __NSARRAY_IS_CALLING_OUT_TO_A_BLOCK__
7  CoreFoundation                 0x910e0 -[__NSArrayI enumerateObjectsWithOptions:usingBlock:]
8  UIFoundation                   0x86cfc -[NSTextLayoutManager _copyTextLineFragmentRangeForPoint:inContainerAtLocation:pointPlacement:]
9  UIFoundation                   0x86eb4 -[NSTextLayoutManager lineFragmentRangeForPoint:inContainerAtLocation:]
10 UIFoundation                   0x7e6ec -[NSTextSelectionNavigation _lineFragmentInfoForPoint:inContainerAtLocation:bounds:layoutOrientation:beforeLineFragment:afterLineFragment:lineFragmentRange:]
11 UIFoundation                   0x815d8 -[NSTextSelectionNavigation textSelectionsInteractingAtPoint:inContainerAtLocation:anchors:modifiers:selecting:bounds:]
12 UIKitCore                      0x98f5d8 -[_UITextKit2LayoutController cursorPositionAtPoint:inContainer:]
13 UIKitCore                      0xf33d88 -[UITextInputController _characterPositionForPoint:]
14 UIKitCore                      0xf4a2cc -[UITextView closestPositionToPoint:]
15 UIKitCore                      0xedef5c -[UITextSelectionInteraction tappedToPositionCursorWithGesture:atPoint:granularity:completionHandler:]
16 UIKitCore                      0xedecc8 -[UITextSelectionInteraction _checkForRepeatedTap:gestureLocationOut:]
17 UIKitCore                      0xedf524 -[UITextSelectionInteraction _handleMultiTapGesture:]
18 UIKitCore                      0x24ed34 -[UIApplication sendAction:to:from:forEvent:]
19 UIKitCore                      0x9448fc -[UITextMultiTapRecognizer onStateUpdate:]
20 UIKitCore                      0xbe858 -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:]
21 UIKitCore                      0x42c9f0 _UIGestureRecognizerSendTargetActions
22 UIKitCore                      0x1a60a4 _UIGestureRecognizerSendActions
23 UIKitCore                      0x86a14 -[UIGestureRecognizer _updateGestureForActiveEvents]
24 UIKitCore                      0x1328d8 _UIGestureEnvironmentUpdate
25 UIKitCore                      0x9b7e14 -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:]
26 UIKitCore                      0xf731c -[UIGestureEnvironment _updateForEvent:window:]
27 UIKitCore                      0xfbc74 -[UIWindow sendEvent:]
28 UIKitCore                      0xfaf44 -[UIApplication sendEvent:]
29 Instabug                       0x11ddc8 ibg_call_swizzler_block_with_invocation
30 Instabug                       0x11e2dc ibg_call_swizzler_block_with_invocation_event
31 Instabug                       0x11e8cc -[UIApplication(IBG_SWIZZLING) ibg_sendEvent:]
32 UIKitCore                      0xfa600 __dispatchPreprocessedEventFromEventQueue
33 UIKitCore                      0x1423e4 __processEventQueue
34 UIKitCore                      0xd940a4 updateCycleEntry
35 UIKitCore                      0x652740 _UIUpdateSequenceRun
36 UIKitCore                      0xc99fd0 schedulerStepScheduledMainSection
37 UIKitCore                      0xc9919c runloopSourceCallback
38 CoreFoundation                 0xd5f54 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
39 CoreFoundation                 0xe232c __CFRunLoopDoSource0
40 CoreFoundation                 0x66210 __CFRunLoopDoSources0
41 CoreFoundation                 0x7bba8 __CFRunLoopRun
42 CoreFoundation                 0x80ed4 CFRunLoopRunSpecific
43 GraphicsServices               0x1368 GSEventRunModal
44 UIKitCore                      0x3a23d0 -[UIApplication _run]
45 UIKitCore                      0x3a2034 UIApplicationMain
46 **********                        0x831c main + 13 (AppDelegate.swift:13)
47 ???                            0x1a637c960 (Missing)

SDK Version

10.11.8

iOS Version

16.1.1

Device Model

iPhone 12

stale[bot] commented 11 months ago

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 11 months ago

This issue has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 10 months ago

This issue has been automatically closed due to inactivity.