Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

com.facebook.react.JavaScript (17): EXC_BAD_ACCESS (code=1, address=0xda9bf7c08) #21434

Closed
NijaahnandhRV opened this issue Oct 1, 2018 · 11 comments
Labels
Bug Resolution: Locked This issue was locked by the bot.

Comments

@NijaahnandhRV
Copy link

NijaahnandhRV commented Oct 1, 2018

Environment:

OS: macOS Sierra 10.12.6
Xcode: Xcode 9.2 Build version 9C40b
Node: 6.11.1
npm: 3.10.10
Watchman: 4.9.0
react-native-cli: 2.0.1

Description:

When I run my code the app gets crashes in this line context = [JSC_JSContext(contextRef) contextWithJSGlobalContextRef:contextRef] which is from /Users/mac1/Documents/test/project/node_modules/react-native/React/Executors/RCTJSCExecutor.mm. Can anyone help me with this issue

Crashlytics Log:

crashlytics_log.txt

@atishoo

This comment has been minimized.

1 similar comment
@kyungjoongo

This comment has been minimized.

@hramos
Copy link
Contributor

hramos commented Feb 11, 2019

Can you provide an example of the actual code that triggers this crash?

@andresmtz98
Copy link

andresmtz98 commented Feb 11, 2019

Similar problem with release variant :/.

React Native Environment Info:
System:
OS: macOS 10.14
CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Memory: 34.43 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.1 - /usr/local/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
IDEs:
Android Studio: 3.3 AI-182.5107.16.33.5264788
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.3 => 16.6.3
react-native: 0.57.8 => 0.57.8
npmGlobalPackages:
react-native-cli: 2.0.1

captura de pantalla 2019-02-11 a la s 16 58 48

That happens once the app has been opened and i press any button or textinput

@tommypd
Copy link

tommypd commented Feb 21, 2019

Similar problem with release variant :/.
That happens once the app has been opened and i press any button or textinput

Same here, do you have resolved?

@andresmtz98
Copy link

Similar problem with release variant :/.
That happens once the app has been opened and i press any button or textinput

Same here, do you have resolved?

Sure. In my case, it was due the Podfile and manual dependencies. Make sure your dependencies are added once because if you have X module to add in Podfile and the same X dependency in Project build phases maybe throws that error.

Example:
Note my Podfile and build phases
whatsapp image 2019-02-12 at 09 13 52
whatsapp image 2019-02-12 at 09 18 00

Some dependencies were already added manually but i didn't know (I didn't understand a lot of this because i'm new with Pods :v)

@tommypd
Copy link

tommypd commented Feb 22, 2019

Thank you! Solved

@Titozzz
Copy link
Collaborator

Titozzz commented Mar 19, 2019

Closing as it seems solved

@hpelitebook745G2
Copy link

@andresmtz98 I'm having this problem as well and I'm also new and have just been familiarized to Pods. Can you specify on which did you retain or remove based from your screenshots? I see some listed in your Podfile that are in Build Phases, same as mine. There no duplicates, but I still got the error.

@anmol-appzoy
Copy link

Hi @andresmtz98, can you please tell me which libraries you removed from project to work out in your's I tried but I am getting more errors after that.

@MomenYasser
Copy link

Guys i'm still have this issue, RN 60.5
image

@facebook facebook locked as resolved and limited conversation to collaborators Mar 19, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Mar 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests