Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: sigaction is calling getg before TLS is set up on Android #31476
The following crash has started to appear when running Android apps with Go tip:
I believe the crash is caused by an invalid g returned from
This started to appear after my fixes for #29674 but I believe it's been a latent bug for a long time. We've just been lucky that the static TLS slot previously used for accessing g on android/amd64 and android/386 always contained 0.