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

The debug package crashes while running, and the release package will not:__emutls_get_address ...libfolly_runtime.so #40928

Closed
yubaokang opened this issue Oct 13, 2023 · 8 comments
Labels
Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Triage 🔍 Newer Patch Available

Comments

@yubaokang
Copy link

yubaokang commented Oct 13, 2023

Description

The debug package compiled from local source code will crash, while the release package will not. The error is as follows:

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__emutls_get_address" referenced by "/data/app/~~BQSbFHjH1qN53NQ8u0q9zw==/com.xxxx.xxxxxx-3joEDE9HHdg2BRteyx4Mfw==/lib/arm64/libfolly_runtime.so"...

image

React Native Version

0.72.5

Output of npx react-native info

I integrated it in the form of a native app

image

Steps to reproduce

none

Snack, screenshot, or link to a repository

none

@github-actions
Copy link

⚠️ Missing Reproducible Example
ℹ️ We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

@github-actions github-actions bot added Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Newer Patch Available labels Oct 13, 2023
@github-actions
Copy link

⚠️ Newer Version of React Native is Available!
ℹ️ You are on a supported minor version, but it looks like there's a newer patch available - 0.72.6. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases.

@yubaokang yubaokang changed the title The debug package crashes while running, and the release package will not The debug package crashes while running, and the release package will not:__emutls_get_address ...libfolly_runtime.so Oct 13, 2023
@cortinico
Copy link
Contributor

Can you create a reproducer?

@shubhamguptadream11
Copy link

@yubaokang Are you able to solve this?
I am also getting this on my brownfield project.

@cortinico
Copy link
Contributor

Closing with the same reason as #41238.
This is most likely caused by you using a wrong version of the NDK (or any of your dependency importing a native library which has been compiled with a different version of the NDK)

@553082694
Copy link

I meet the same problem, pls help me

@gamingumar
Copy link

facing same issue, please help

@zhairui
Copy link

zhairui commented Jan 22, 2024

I meet the same problem , but I have many so files, how can i find which so file was used other ndk version? thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. Needs: Triage 🔍 Newer Patch Available
Projects
None yet
Development

No branches or pull requests

6 participants