question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS][CRASH] - com.squareup.SocketRocket.NetworkThread: SIGABRT ABORT 0x000000018270d2e0

See original GitHub issue

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:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
dozoischcommented, Jan 10, 2019
2reactions
risocommented, Dec 31, 2018

seeing this too on 0.57.7, using sockJS (which I believe will make use of RCTSRWebSocket)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do i fix the sigabrt error (Tried Everything)
SIGABRT (signal abort) is the code an app crashes with when an exception (a fatal error) is thrown and not handled. Most likely...
Read more >
com.squareup.SocketRocket.NetworkThread(18)
I Got an error when run application a few minutes. Error Msg:(3 Threads trace). thread #1: tid = 0x7940d5, 0x0000000110b58c96 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found