Skip to content

Crash in JSCExecutor.cpp when reloading JS on error (iOS) #15716

Description

@VinDeng

Using commas + R or click reload when in the red error message screen has chance to make it crash.

Code due to crash:
path: /#rootpath/react-native/third-party/glog-0.3.4/src/logging.cc

static void logging_fail() {
#if defined(_DEBUG) && defined(_MSC_VER)
  // When debugging on windows, avoid the obnoxious dialog and make
  // it possible to continue past a LOG(FATAL) in the debugger
  _asm int 3
#else
  abort();
#endif
}

Since I build In Debug Environment, I guess the problem is I did not use VS IDE.

Xcode: 8.3.3
Simulator: iPhone 7 Plus - iOS 10.3
React Native: 0.47.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions