SAMKeychain icon indicating copy to clipboard operation
SAMKeychain copied to clipboard

Crash when app lanuch

Open yinanwang1 opened this issue 6 years ago • 17 comments

The crashed line is -[SAMKeychainQuery save:] (in SAMKeychain) (SAMKeychainQuery.m:0) in the iOS 11.3.1.

yinanwang1 avatar May 16 '18 02:05 yinanwang1

I met the same problem, can you tell me how do you solve

AmyLee91 avatar Jun 04 '18 05:06 AmyLee91

Do you two crash because of 0x8badf00d.I have no idea with it.

angBiu avatar Jun 15 '18 07:06 angBiu

@yinanwang1 @AmyLee91 Hi,do you have solve it?

angBiu avatar Jul 20 '18 01:07 angBiu

@angBiu I have not fixed it. So I have to stop using it.

yinanwang1 avatar Jul 23 '18 11:07 yinanwang1

@yinanwang1 嗨 你是没有使用keychain么 可否留个联系方式交流下哈

angBiu avatar Jul 24 '18 01:07 angBiu

@yinanwang1 can you provide some steps to reproduce this issue, if it still not fixed.

siddharthsuneel avatar Jul 30 '18 13:07 siddharthsuneel

Same crash happens no iOS 12+ system occasionally. 0x0000000100bf91a8 -[SAMKeychainQuery fetch:] + 10113448 (SAMKeychainQuery.m:144)

thierryxing avatar Oct 18 '18 05:10 thierryxing

When updated to the latest version, there is no problem

AmyLee91 avatar Nov 01 '18 05:11 AmyLee91

Same crash happens no iOS 12+ system occasionally. 0x0000000100bf91a8 -[SAMKeychainQuery fetch:] + 10113448 (SAMKeychainQuery.m:144)

me too

wayone avatar Nov 02 '18 03:11 wayone

@thierryxing @wayone have you been able to fix this? I'm suddenly running into problems with App Store review, the app crashes on their device because it apparently hangs on [SAMKeychainQuery fetch:] when it calls SecItemCopyMatching. It's impossible to reproduce though.

smeis avatar Jan 31 '19 09:01 smeis

Not yet, so I am planning to build new SDK myself.

thierryxing avatar Jan 31 '19 09:01 thierryxing

@thierryxing @wayone have you been able to fix this? I'm suddenly running into problems with App Store review, the app crashes on their device because it apparently hangs on [SAMKeychainQuery fetch:] when it calls SecItemCopyMatching. It's impossible to reproduce though.

Do u have change to solve this issue?

zolibra avatar Feb 15 '19 14:02 zolibra

@zolibra I ended up explaining the issue to Apple. In the crash logs Apple sent me I could see that the problem was not only happening when we tried to read from the keychain. There was also a crash report that showed a dependency was attempting to write something to the keychain (not using SAMKeychain) and causing a hang.

I explained to Apple that I'd found several reports after searching that indicated that this was a glitch with SecItemCopyMatching. I asked them to remove the app and install it again and they did that (or the glitch magically disappeared).

I've never heard of the issue since and I've never seen it in our crash reports.

smeis avatar Feb 15 '19 15:02 smeis

@thierryxing @wayone have you been able to fix this? I'm suddenly running into problems with App Store review, the app crashes on their device because it apparently hangs on [SAMKeychainQuery fetch:] when it calls SecItemCopyMatching. It's impossible to reproduce though.

Same situation, it happened with App Store review and never reproduced by any other device.

thierryxing avatar Mar 16 '19 04:03 thierryxing

The crashed line is -[SAMKeychainQuery save:] (in SAMKeychain) (SAMKeychainQuery.m:0) in the iOS 11.3.1.

请问你最后怎么解决的

qifengdeqingchen avatar Jul 09 '19 09:07 qifengdeqingchen

The crashed line is -[SAMKeychainQuery save:] (in SAMKeychain) (SAMKeychainQuery.m:0) in the iOS 11.3.1.

请问你最后怎么解决的

后面撤销重新提审就好了,看上去是苹果审核时的设备问题

thierryxing avatar Jul 09 '19 11:07 thierryxing

The crashed line is -[SAMKeychainQuery save:] (in SAMKeychain) (SAMKeychainQuery.m:0) in the iOS 11.3.1.

请问你最后怎么解决的

后面撤销重新提审就好了,看上去是苹果审核时的设备问题

谢谢,我们重新提审,也过了。看来真有可能跟苹果审核时设备有关系。

qifengdeqingchen avatar Jul 10 '19 01:07 qifengdeqingchen