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

SDK bug #33

Open
ghost opened this issue Aug 3, 2022 · 1 comment
Open

SDK bug #33

ghost opened this issue Aug 3, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 3, 2022

Hello. I am developing an iOS application that will receive data from your device's gyroscope. For this, I use your SDK. While developing the application, I encountered an error. When I'm connected to a device via my app, my app crashes if anyone else connects to the device. XCode complains on board property of MetaWear class: EXC_ BAD_ACCESS. Could you give me any advice or fix this problem?

@importRyan
Copy link
Member

That exception arises from invalid access of memory. Two things to check, without seeing any code:

  1. Are you on the SDK's specific DispatchQueue?
  2. Are you storing the pointer to the board and accessing it later when it may no longer be valid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant