Skip to content

"react_native_keyboard_controller.KCTextInputCompositeDelegate scrollViewDidScroll: unrecognized selector sent " crash on iOS #1119

@Rag0n

Description

@Rag0n

Describe the bug
I cannot reproduce this bug myself, but it usually happens during navigation transitions.

Stack trace from Crashlytics:

Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x11a0c0 __exceptionPreprocess
1  libobjc.A.dylib                0x31abc objc_exception_throw
2  CoreFoundation                 0x1844c0 +[NSObject(NSObject) _copyDescription]
3  CoreFoundation                 0x2e6a4 ___forwarding___
4  CoreFoundation                 0x2e940 _CF_forwarding_prep_0
5  UIKitCore                      0x2dfa4 -[UIScrollView _notifyDidScroll]
6  UIKit                          0x8da4 -[UIScrollViewAccessibility _notifyDidScroll]
7  UIKitCore                      0x21104 -[UIScrollView setContentOffset:]
8  UIKitCore                      0x342018 -[UITextView setContentOffset:]
9  UIKit                          0x149e70 -[UITextViewAccessibility setContentOffset:]
10 UIKitCore                      0x5b7238 -[UIScrollViewScrollAnimation setProgress:]
11 UIKitCore                      0x5bac80 -[UIAnimator _advanceAnimationsOnScreenWithIdentifier:withTimestamp:]
12 UIKitCore                      0x9404 _UIUpdateSequenceRun
13 UIKitCore                      0x8ab4 schedulerStepScheduledMainSection
14 UIKitCore                      0x41e4 runloopSourceCallback
15 CoreFoundation                 0xf92c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
16 CoreFoundation                 0xf744 __CFRunLoopDoSource0
17 CoreFoundation                 0xf5a0 __CFRunLoopDoSources0
18 CoreFoundation                 0xff20 __CFRunLoopRun
19 CoreFoundation                 0x11adc CFRunLoopRunSpecific
20 GraphicsServices               0x1454 GSEventRunModal
21 UIKitCore                      0x135274 -[UIApplication _run]
22 UIKitCore                      0x100a28 UIApplicationMain
23 UIKitCore                      0x1e2168 __51-[UIStatusBar_Base _setHidden:animationParameters:]_block_invoke_4
  • Device: e.g iPhone 13, iPhone 16 Pro, etc
  • OS: iOS 18+ (iOS 18.5.0, 18.4.1, etc),
  • RN version: 0.79.5
  • RN architecture: old
  • JS engine: Hermes
  • Library version: 1.18.4

Metadata

Metadata

Assignees

Labels

🍎 iOSiOS specific🎯 crashLibrary triggers a crash of the app

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions