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.

SIGSEGV in production for all instances invoking setReachabilityStatus

See original GitHub issue

We’re seeing elevated crash reports relating to a member invocation setReachabilityStatus on several instance types, resulting in a SIGSEG triggered by unrecognized selector sent to instance.

Here’s info from a crash report:

screen shot 2018-04-09 at 1 17 34 pm screen shot 2018-04-09 at 1 17 40 pm

Environment

Environment: OS: macOS High Sierra 10.13.4 Node: 9.4.0 Yarn: 1.3.2 npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 9.3 Build version 9E145 Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed) react: 16.3.0 => 16.3.0 react-native: 0.55.0 => 0.55.0

Steps to Reproduce

  1. Open app that uses the setReachabilityStatus method in native code somewhere.
  2. Go home, then change your network (disable cellular service)
  3. Open the app back up
  4. The app will crash

Expected Behavior

No crashes 😃

Actual Behavior

Lots of crashes

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
mmmulanicommented, Apr 10, 2018
1reaction
deveycommented, Dec 20, 2018

@mmmulani sorry for the delay. I tried with 0.55.4 and works smoothly; it would be great to cheery into 0.55.3.

Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

segmentation fault - What is the simplest standard conform ...
A segfault only happens when memory is accessed that the process isn't allowed to access. No such invalid memory access is happening by...
Read more >
SIGSEGV: Linux Segmentation Fault | Signal 11, Exit code 139
A SIGSEGV signal or segmentation error occurs when a process attempts to use a memory address that was not assigned to it by...
Read more >
SIGSEGV crash in standalone pyqgis app - GIS Stack Exchange
I'm trying to get to a piece of code that lets me print PDF maps with the PYQGIS API using a workspace and...
Read more >
Who's at Fault: Tracking Down Segfaults in Production - Blog
In some cases, subtle bugs causing a program to crash due to a ... a segfault - or Segmentation Fault - is a...
Read more >
Determining Root Cause of Segmentation Faults SIGSEGV or ...
SIGSEGV on Linux and SIGBUS on MacOS Root Causes. ... A segmention fault (bus error MacOS) is a general fault that can have...
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