-
Notifications
You must be signed in to change notification settings - Fork 382
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
Crash when SecItemCopyMatching #155
Comments
One of our apps is getting the following crash similar to this and its happening a lot. cheers, OS Version: 10.3.3 (14G60)Device: iPhone 7RAM Free: 1.1%Disk Free: 91.9%#0. Crashed: com.apple.main-thread |
@Firerage @appsailor Could you provide a reproduction case? |
@kishikawakatsumi - false alarm, there was an infinite loop issue that resulted in this crash on our side. So fixed it after lots of trial and errors to narrow down the problem area. All good for now. Thanks! |
@kishikawakatsumi @appsailor so, is this problem solved? I met a dead lock when multi thread situation, one thread execute SecItemCopyMatching and another execute SecItemAdd. |
@shanksGuo we are facing with a similar problem can you explain how you detected deadlock and how did you fixed it? |
I can’t reproduce that, we met this problem when App Store review our App. Our solution is using dispatch_once because once is enough for us. For you, I guess you can use sync operation or serial queue. |
I try to get password from UICKeyChainStore 2.1.0.This method
crash when SecItemCopyMatching
Device Information:
iOS 10.3.3
iPhone6 Plus
The text was updated successfully, but these errors were encountered: