Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash _NSArrayM objectAtIndexedSubscript:]: index 0 beyond bounds for empty array #65

Open
revolutionkpi opened this issue Dec 4, 2019 · 0 comments

Comments

@revolutionkpi
Copy link

revolutionkpi commented Dec 4, 2019

I have got a crash report from Fabric in the library IHKeyboardAvoiding version 2.6.0. The stack trace below:

Fatal Exception: NSRangeException

0  CoreFoundation                 0x1b329898c __exceptionPreprocess
1  libobjc.A.dylib                0x1b2fc10a4 objc_exception_throw
2  CoreFoundation                 0x1b32ee3f8 -[__NSCFString characterAtIndex:].cold.1
3  CoreFoundation                 0x1b3182c6c -[__NSArrayM objectAtIndexedSubscript:]
4  IHKeyboardAvoiding             0x1054f1730 +[IHKeyboardAvoiding applicationDidEnterBackground:] + 339 (IHKeyboardAvoiding.m:339)
5  CoreFoundation                 0x1b31f409c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__
6  CoreFoundation                 0x1b31f40e4 ___CFXRegistrationPost1_block_invoke
7  CoreFoundation                 0x1b31f3444 _CFXRegistrationPost1
8  CoreFoundation                 0x1b31f30fc ___CFXNotificationPost_block_invoke
9  CoreFoundation                 0x1b316f43c -[_CFXNotificationRegistrar find:object:observer:enumerator:]
10 CoreFoundation                 0x1b31f2a4c _CFXNotificationPost
11 Foundation                     0x1b354f2d8 -[NSNotificationCenter postNotificationName:object:userInfo:]
12 UIKitCore                      0x1b72abd50 __47-[UIApplication _applicationDidEnterBackground]_block_invoke
13 UIKitCore                      0x1b6ca6da0 +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:]
14 UIKitCore                      0x1b72abb0c -[UIApplication _applicationDidEnterBackground]
15 UIKitCore                      0x1b6a8171c __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_2
16 UIKitCore                      0x1b6f113ec _UIScenePerformActionsWithLifecycleActionMask
17 UIKitCore                      0x1b6a812f8 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke
18 UIKitCore                      0x1b6a80d50 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:]
19 UIKitCore                      0x1b6a81124 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]
20 UIKitCore                      0x1b6a809e0 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:]
21 UIKitCore                      0x1b68f5610 -[UIScene _invalidate]
22 UIKitCore                      0x1b74ceec4 -[UIWindowScene _invalidate]
23 UIKitCore                      0x1b72a2b20 -[UIApplication workspace:willDestroyScene:withTransitionContext:completion:]
24 UIKitCore                      0x1b6e64c10 -[UIApplicationSceneClientAgent scene:willInvalidateWithEvent:completion:]
25 FrontBoardServices             0x1b8331bdc -[FBSSceneImpl _callOutQueue_agent_willDestroyWithTransitionContext:completion:]
26 FrontBoardServices             0x1b8357b70 __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke_2
27 FrontBoardServices             0x1b833c0f8 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:]
28 FrontBoardServices             0x1b83579e8 __84-[FBSWorkspaceScenesClient _queue_invalidateScene:withTransitionContext:completion:]_block_invoke
29 libdispatch.dylib              0x1b2f66184 _dispatch_client_callout
30 libdispatch.dylib              0x1b2f0f038 _dispatch_block_invoke_direct$VARIANT$mp
31 FrontBoardServices             0x1b837b540 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__
32 FrontBoardServices             0x1b837b20c -[FBSSerialQueue _queue_performNextIfPossible]
33 FrontBoardServices             0x1b837b734 -[FBSSerialQueue _performNextFromRunLoopSource]
34 CoreFoundation                 0x1b32167e0 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
35 CoreFoundation                 0x1b3216738 __CFRunLoopDoSource0
36 CoreFoundation                 0x1b3215ed0 __CFRunLoopDoSources0
37 CoreFoundation                 0x1b321101c __CFRunLoopRun
38 CoreFoundation                 0x1b32108bc CFRunLoopRunSpecific
39 GraphicsServices               0x1bd07c328 GSEventRunModal
40 UIKitCore                      0x1b72a66d4 UIApplicationMain
41 MyApp                           0x1050801cc main + 14 (main.m:14)
42 libdyld.dylib                  0x1b309b460 start
@revolutionkpi revolutionkpi changed the title Crash Crash _NSArrayM objectAtIndexedSubscript:]: index 0 beyond bounds for empty array Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant