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

SwiftJWT causing exceptions for iOS 12.4 devices #86

Open
zallanx opened this issue May 9, 2020 · 1 comment
Open

SwiftJWT causing exceptions for iOS 12.4 devices #86

zallanx opened this issue May 9, 2020 · 1 comment

Comments

@zallanx
Copy link

zallanx commented May 9, 2020

Note that this currently applies to iOS 12.4 devices. iOS 13+ devices have not had this issue reported. It seems CryptorECC, which the SwiftJWT library uses, is the culprit.

Has anyone also encountered this?

Relevant trace posted below:

Date/Time:           2020-05-09 00:15:57.1893 -0400
Launch Time:         2020-05-09 00:15:55.7345 -0400
OS Version:          iPhone OS 12.4.4 (16G140)
Baseband Version:    n/a
Report Version:      104

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x0000000259a73b00
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [2416]
Triggered by Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libswiftCore.dylib            	0x0000000259a73b00 0x259870000 + 2112256
1   libswiftCore.dylib            	0x0000000259a73b00 0x259870000 + 2112256
2   libswiftCore.dylib            	0x0000000259aa5300 0x259870000 + 2315008
3   libswiftCore.dylib            	0x00000002598f1f70 0x259870000 + 532336
4   CryptorECC                    	0x0000000100d1d9fc 0x100d14000 + 39420
5   CryptorECC                    	0x0000000100d1ec9c 0x100d14000 + 44188
6   CryptorECC                    	0x0000000100d1b5dc 0x100d14000 + 30172
7   SwiftJWT                      	0x00000001011242c8 0x10111c000 + 33480
8   SwiftJWT                      	0x00000001011240ec 0x10111c000 + 33004
9   SwiftJWT                      	0x0000000101124514 0x10111c000 + 34068
10  SwiftJWT                      	0x0000000101137a5c 0x10111c000 + 113244
@zallanx zallanx changed the title SwiftJWT causing exception for iOS 12.4 devices SwiftJWT causing exceptions for iOS 12.4 devices May 10, 2020
@azeemohd786
Copy link

@zallanx , I have come across this same error, did you find any solution or any alternatives? please share

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