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

TrustKit crash only in production environment #320

Open
devsachinsingh opened this issue Dec 7, 2023 · 1 comment
Open

TrustKit crash only in production environment #320

devsachinsingh opened this issue Dec 7, 2023 · 1 comment

Comments

@devsachinsingh
Copy link

TrustKit giving crashes in my production application, Please find the crash log attached

Thread 7 name:
Thread 7 Crashed:
0 ??? 0x0000000000000000 0x0 + 0
1 TrustKit 0x0000000102e3e114 verifyPublicKeyPin + 328 (ssl_pin_verifier.m:69)
2 TrustKit 0x0000000102e42080 -[TSKPinningValidator evaluateTrust:forHostname:] + 520 (TSKPinningValidator.m:126)
3 TrustKit 0x0000000102e42378 -[TSKPinningValidator handleChallenge:completionHandler:] + 228 (TSKPinningValidator.m:202)
4 myApp 0x0000000100cceacc specialized CustomSessionDelegate.urlSession(:task:didReceive:completionHandler:) + 256 (RestClient.swift:218)
5 myApp 0x0000000100cccb00 specialized CustomSessionDelegate.urlSession(
:task:didReceive:completionHandler:) + 12 (:0)
6 myApp 0x0000000100cccb00 @objc CustomSessionDelegate.urlSession(_:task:didReceive:completionHandler:) + 112
7 CFNetwork 0x00000001d37eb654 __78-[__NSCFURLSessionDelegateWrapper task:didReceiveChallenge:completionHandler:]_block_invoke + 168 (SessionDelegateWrapper.mm:375)
8 libdispatch.dylib 0x00000001d9bc84b4 _dispatch_call_block_and_release + 32 (init.c:1518)
9 libdispatch.dylib 0x00000001d9bc9fdc _dispatch_client_callout + 20 (object.m:560)
10 libdispatch.dylib 0x00000001d9bd1694 _dispatch_lane_serial_drain + 672 (inline_internal.h:2632)
11 libdispatch.dylib 0x00000001d9bd2214 _dispatch_lane_invoke + 436 (queue.c:3940)
12 libdispatch.dylib 0x00000001d9bdce10 _dispatch_workloop_worker_thread + 652 (queue.c:6846)
13 libsystem_pthread.dylib 0x000000021f64fdf8 _pthread_wqthread + 288 (pthread.c:2618)
14 libsystem_pthread.dylib 0x000000021f64fb98 start_wqthread + 8 (:-1)

Screenshot 2023-12-07 at 1 42 44 PM

@devsachinsingh devsachinsingh changed the title TrustKit crash on only production environment TrustKit crash only in production environment Dec 7, 2023
@EthanArbuckle
Copy link
Contributor

This looks like the bug that was fixed in this PR: 11da1c7

Are you using TK v3.0.3?

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

2 participants