auth0/SimpleKeychain

EXC_BAD_ACCESS in dataForKey - release 0.11.0

activebeans opened this issue · 2 comments

Description

When calling .dataForKey, I intermittently crash my app on the following EXC_BAD_ACCESS. I am always passing the same Key into the method to retrieve the user's "token" from KeyChain. I expect to always receive my token, or nil.

Reproduction

I seem to see this crash after one of two things:

  1. High frequency requests from the UI to retrieve the user's token, OR
  2. A certain number of requests to retrieve the user's token has been reached

The reason I raise item 2 is that the issue only happens after a while in my app's lifecycle, (i.e. after it has been used to do a certain number of things).

Screen Shot 2020-03-14 at 15 17 12

Environment

  • SimpleKeyChain version 0.11.0
  • Xcode version 11.3.1 (11C504)
  • iOS version 13.3.1

Thank you. Please let me know if I can provide any further information?

Hi @activebeans, thanks for the report. Can you please provide a minimal sample app that reproduces this problem? This would be of great help for us.

Closing due to inactivity.