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

Crypto: Crash in key backup #4113

Closed
manuroe opened this issue Mar 11, 2021 · 0 comments · Fixed by matrix-org/matrix-ios-sdk#1053
Closed

Crypto: Crash in key backup #4113

manuroe opened this issue Mar 11, 2021 · 0 comments · Fixed by matrix-org/matrix-ios-sdk#1053

Comments

@manuroe
Copy link
Member

manuroe commented Mar 11, 2021

There is something weird in the key we are trying to backup or with the key backup key.

Last Exception Backtrace:
0   CoreFoundation                      0x1a186586c __exceptionPreprocess + 220 (NSException.m:199)
1   libobjc.A.dylib                     0x1b67d4c50 objc_exception_throw + 60 (objc-exception.mm:565)
2   CoreFoundation                      0x1a18d5e1c _CFThrowFormattedException + 116 (CFObject.m:1994)
3   CoreFoundation                      0x1a18e2270 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.4 + 52 (NSPlaceholderDictionary.m:70)
4   CoreFoundation                      0x1a1756550 -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 308 (NSPlaceholderDictionary.m:0)
5   CoreFoundation                      0x1a1748dd0 +[NSDictionary dictionaryWithObjects:forKeys:count:] + 60 (NSDictionary.m:607)
6   MatrixSDK                           0x1065f8ed0 0x106544000 + 741072 -> -[MXKeyBackup encryptGroupSession:] (in MatrixSDK) (MXKeyBackup.m:0)
7   MatrixSDK                           0x1065f10c4 0x106544000 + 708804 -> -[MXKeyBackup sendKeyBackup] (in MatrixSDK) (MXKeyBackup.m:0)
8   MatrixSDK                           0x1065f0e3c 0x106544000 + 708156 -> __33-[MXKeyBackup maybeSendKeyBackup]_block_invoke (in MatrixSDK) (MXKeyBackup.m:0)
9   libdispatch.dylib                   0x1a1459db0 _dispatch_client_callout + 20 (object.m:559)
10  libdispatch.dylib                   0x1a145d12c _dispatch_continuation_pop + 416 (inline_internal.h:2548)
11  libdispatch.dylib                   0x1a146ec08 _dispatch_source_invoke + 1260 (source.c:570)
12  libdispatch.dylib                   0x1a1460fd8 _dispatch_lane_serial_drain + 272 (inline_internal.h:2589)
13  libdispatch.dylib                   0x1a1461c5c _dispatch_lane_invoke + 408 (queue.c:3862)
14  libdispatch.dylib                   0x1a146bd78 _dispatch_workloop_worker_thread + 708 (queue.c:6601)
15  libsystem_pthread.dylib             0x1ed037804 _pthread_wqthread + 276 (pthread.c:2207)
16  libsystem_pthread.dylib             0x1ed03e75c start_wqthread + 8
@manuroe manuroe added this to the Sprint - Element 1.2.7 milestone Mar 11, 2021
@manuroe manuroe self-assigned this Mar 24, 2021
manuroe added a commit to matrix-org/matrix-ios-sdk that referenced this issue Mar 24, 2021
manuroe added a commit to matrix-org/matrix-ios-sdk that referenced this issue Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant