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

Data race in -[AMPIdentifyInterceptor transferInterceptedIdentify] #460

Open
charleslima opened this issue Aug 8, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@charleslima
Copy link

Current Behavior

Found a data race warning in [AMPIdentifyInterceptor transferInterceptedIdentify]

datarace

Steps to Reproduce

  1. Enable Thread Sanitizer in target's scheme
  2. Run the app and see the warning

Environment

  • SDK Version: 8.17.1
  • Device: iPhone 14 Pro
  • OS Version: iOS 17.0
@charleslima charleslima added the bug Something isn't working label Aug 8, 2023
@Mercy811
Copy link
Contributor

Mercy811 commented Aug 9, 2023

Hi @charleslima, I turned Thread Sanitizer on as the following screenshots. However, I didn't see a data race warning when running the app. Is there anything else you set up?

I can see there is a data race as transferInterceptedIdentify rans on a background queue. I will investigate more on this and keep you updated. Also we are deprecating iOS SDK gradually and will GA Swift SDK in about two weeks. As we are having a high volume of support tickets right now you could also try the Swift SDK.
image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants