[iOS][CRASH] - com.squareup.SocketRocket.NetworkThread: SIGABRT ABORT 0x000000018270d2e0
See original GitHub issue- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
React Native Environment Info: System: OS: macOS High Sierra 10.13.6 CPU: x64 Intel® Core™ i7-5557U CPU @ 3.10GHz Memory: 26.13 MB / 16.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 10.7.0 - /usr/local/bin/node Yarn: 1.10.1 - ~/.yarn/bin/yarn npm: 4.0.5 - ~/.npm-packages/bin/npm Watchman: 4.7.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1 Android SDK: Build Tools: 23.0.1, 23.0.3, 24.0.1, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.1, 26.0.2, 27.0.0, 27.0.3, 28.0.3 API Levels: 23, 24, 25, 26, 27, 28 IDEs: Android Studio: 2.3 AI-162.4069837 Xcode: 10.1/10B61 - /usr/bin/xcodebuild npmPackages: react: ^16.6.0 => 16.6.0 react-native: ^0.57.4 => 0.57.4 npmGlobalPackages: react-native-git-upgrade: 0.2.7
Description
this comes from crashlytics:
Crashed: com.squareup.SocketRocket.NetworkThread
0 libsystem_kernel.dylib 0x18270d2e0 __pthread_kill + 8
1 libsystem_pthread.dylib 0x1828ae288 pthread_kill$VARIANT$mp + 376
2 libsystem_c.dylib 0x18267bd0c abort + 140
3 libsystem_c.dylib 0x182650000 basename_r + 314
4 karmaMobile 0x10184c140 __37-[RCTSRWebSocket stream:handleEvent:]_block_invoke + 380472
5 CoreFoundation 0x182bbfb34 _signalEventSync + 212
6 CoreFoundation 0x182bcb554 _cfstream_solo_signalEventSync + 260
7 CoreFoundation 0x182bbf62c _CFStreamSignalEvent + 548
8 CFNetwork 0x1832f972c SocketStream::dispatchSignalFromSocketCallbackUnlocked(SocketStreamSignalHolder*) + 64
9 CFNetwork 0x1832feee4 SocketStream::socketCallback(__CFSocket*, unsigned long, __CFData const*, void const*) + 148
10 CFNetwork 0x1832fad58 SocketStream::_SocketCallBack_stream(__CFSocket*, unsigned long, __CFData const*, void const*, void*) + 88
11 CoreFoundation 0x182c359f4 __CFSocketPerformV0 + 1352
12 CoreFoundation 0x182c2f404 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
13 CoreFoundation 0x182c2ec2c __CFRunLoopDoSources0 + 276
14 CoreFoundation 0x182c2c79c __CFRunLoopRun + 1204
15 CoreFoundation 0x182b4cda8 CFRunLoopRunSpecific + 552
16 Foundation 0x1835c1674 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
17 karmaMobile 0x10184d33c -[_RCTSRRunLoopThread main] + 385076
18 Foundation 0x1836d1efc __NSThread__start__ + 1040
19 libsystem_pthread.dylib 0x1828ad220 _pthread_body + 272
20 libsystem_pthread.dylib 0x1828ad110 _pthread_body + 290
21 libsystem_pthread.dylib 0x1828abb10 thread_start + 4
Reproducible Demo
Crashes randomly. I get this from crashlytics and cannot reproduce on my own devices
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:10 (3 by maintainers)
Top GitHub Comments
This PR https://github.com/facebook/react-native/pull/22439 might fix this issue
seeing this too on 0.57.7, using sockJS (which I believe will make use of RCTSRWebSocket)