On scrolling screen freezes in iOS. (Xcode "Thread 1: signal SIGABRT" exception)
See original GitHub issueI’m using this module in my app. Module works fine for Android but I’ve an issue with iOS.
Issue is the screen freezes whenever I try to scroll the view. Xcode throws an error Thread 1: signal SIGABRT
exception. Help me figure it out.
Module version: "react-native-directed-scrollview": "^1.3.1"
React Native version: "react-native": "^0.51.0"
Let me know if any extra details are required.
Share my xcode logs here.
2018-01-11 16:31:04.900278+0530 BViewApp[32291:1015594] -[RCTView shouldScrollVertically]: unrecognized selector sent to instance 0x7fb08b4e4770
2018-01-11 16:31:04.906010+0530 BViewApp[32291:1015594] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RCTView shouldScrollVertically]: unrecognized selector sent to instance 0x7fb08b4e4770'
*** First throw call stack:
(
0 CoreFoundation 0x000000010fa3812b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010dbedf41 objc_exception_throw + 48
2 CoreFoundation 0x000000010fab9024 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 UIKit 0x00000001124cef51 -[UIResponder doesNotRecognizeSelector:] + 295
4 CoreFoundation 0x000000010f9baf78 ___forwarding___ + 1432
5 CoreFoundation 0x000000010f9ba958 _CF_forwarding_prep_0 + 120
6 BViewApp 0x000000010ce57975 -[DirectedScrollView scrollViewDidScroll:] + 501
7 UIKit 0x0000000112394e2f -[UIScrollView(UIScrollViewInternal) _notifyDidScroll] + 68
8 UIKit 0x000000011237ae87 -[UIScrollView setContentOffset:] + 493
9 BViewApp 0x000000010cc6a1a7 -[RCTCustomScrollView setContentOffset:] + 503
10 UIKit 0x0000000112380bc6 -[UIScrollView _updatePanGesture] + 2387
11 UIKit 0x000000011289c273 -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:] + 57
12 UIKit 0x00000001128a528a _UIGestureRecognizerSendTargetActions + 333
13 UIKit 0x00000001128a29ba _UIGestureRecognizerSendActions + 307
14 UIKit 0x00000001128a1c26 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 1002
15 UIKit 0x000000011288699c _UIGestureEnvironmentUpdate + 1329
16 UIKit 0x000000011288641f -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:] + 484
17 UIKit 0x00000001128854cb -[UIGestureEnvironment _updateGesturesForEvent:window:] + 288
18 UIKit 0x0000000112313f14 -[UIWindow sendEvent:] + 4102
19 UIKit 0x00000001122b7365 -[UIApplication sendEvent:] + 352
20 UIKit 0x0000000112c03a1d __dispatchPreprocessedEventFromEventQueue + 2809
21 UIKit 0x0000000112c06672 __handleEventQueueInternal + 5957
22 CoreFoundation 0x000000010f9db101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
23 CoreFoundation 0x000000010fa7af71 __CFRunLoopDoSource0 + 81
24 CoreFoundation 0x000000010f9bfa19 __CFRunLoopDoSources0 + 185
25 CoreFoundation 0x000000010f9befff __CFRunLoopRun + 1279
26 CoreFoundation 0x000000010f9be889 CFRunLoopRunSpecific + 409
27 GraphicsServices 0x00000001165f69c6 GSEventRunModal + 62
28 UIKit 0x000000011229b5d6 UIApplicationMain + 159
29 BViewApp 0x000000010cbaa04f main + 111
30 libdyld.dylib 0x000000011456ed81 start + 1
31 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Debugging Error: Thread 1: signal SIGABRT - Apple Developer
The SIGABRT signal specifically indicates that your app called the "abort()" function, which is how apps crash themselves intentionally. The key to ...
Read more >I have an error in main.m "Thread 1: signal SIGABRT" How ...
When you get SIGABRT on that line of main , it means that your program has raised an exception. The stack trace shows...
Read more >[Solved]-Xcode:" Thread 1: signal SIGABRT" - appsloveworld
Coding example for the question Xcode:" Thread 1: signal SIGABRT" ... Is there a leak in the Scroll View Suite sample code by...
Read more >The Guide to Fixing Xcode Errors and Crashes - CodeWithChris
Are you getting strange error messages like “Thread 1: signal sigabrt” or “Use of unresolved identifier”? This handy reference guide will ...
Read more >Xcode: What's the best way to tackle a SIGABRT error? - Quora
Turning on the exception breakpoint sometimes help in XCode. ... Why do I keep getting this error on XCode: "thread 1: signal SIGABRT"?...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Im still getting this on 1.3.6 only with vertical scroll. I tried to reproduce the example, but both scroll does not work - only horizontal. When a vertical scroll is by itself, then crash happens.
@alexlevy0 Fixed in
1.3.6