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

Crashes after 1.8.10 #6023

Closed
6 tasks
ismailgulek opened this issue Apr 11, 2022 · 0 comments · Fixed by #6028
Closed
6 tasks

Crashes after 1.8.10 #6023

ismailgulek opened this issue Apr 11, 2022 · 0 comments · Fixed by #6028
Assignees
Labels
S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems

Comments

@ismailgulek
Copy link
Contributor

ismailgulek commented Apr 11, 2022

This is the issue for some of the crashes in the latest versions.

  • Crash 1:
0   MatrixSDK                     	0x000000010339f1f0 Swift runtime failure: Unexpectedly found nil while implicitly unwrapping an Optional value + 0 (MXEvent+Extensions.swift:0)
1   MatrixSDK                     	0x000000010339f1f0 MXEvent.shouldBeHighlighted(inSession:) + 1796 (MXEvent+Extensions.swift:37)
2   MatrixSDK                     	0x000000010339ec54 MXEvent.shouldBeHighlighted(inSession:) + 360 (MXEvent+Extensions.swift:37)
3   MatrixSDK                     	0x000000010339f230 @objc MXEvent.shouldBeHighlighted(inSession:) + 52 (<compiler-generated>:0)
4   Riot                          	0x0000000100b64528 -[MXKEventFormatter fontForEvent:string:] + 280 (MXKEventFormatter.m:2173)
5   Riot                          	0x0000000100b625d8 0x100a58000 + 1091032
6   Riot                          	0x0000000100b607e8 0x100a58000 + 1083368
7   Riot                          	0x0000000100a9c76c -[EventFormatter unsafeAttributedStringFromEvent:withRoomState:error:] + 3628 (EventFormatter.m:278)
8   Riot                          	0x0000000100a9b550 -[EventFormatter attributedStringFromEvent:withRoomState:error:] + 112 (EventFormatter.m:68)
9   Riot                          	0x0000000100b58a6c 0x100a58000 + 1051244
10  Riot                          	0x0000000100b63ea4 -[MXKEventFormatter session:updateRoomSummary:withLastEvent:eventState:roomState:] + 232 (MXKEventFormatter.m:2034)
  • Crash 2:
0   Riot                          	0x0000000102e7b298 Swift runtime failure: Unexpectedly found nil while implicitly unwrapping an Optional value + 0 (SpaceListViewModel.swift:0)
1   Riot                          	0x0000000102e7b298 closure #1 in SpaceListViewModel.getSpacesViewData(session:) + 1276 (SpaceListViewModel.swift:254)
2   Riot                          	0x0000000102e7aff4 closure #1 in SpaceListViewModel.getSpacesViewData(session:) + 600 (SpaceListViewModel.swift:254)
3   Riot                          	0x0000000102e7b5a8 $sSo13MXRoomSummaryCs5Error_pIggzo_ABsAC_pIegnzo_TR + 20 (<compiler-generated>:0)
4   Riot                          	0x0000000102e7b5a8 $sSTsE7forEachyyy7ElementQzKXEKFSaySo13MXRoomSummaryCG_Tg5 + 72 (<compiler-generated>:0)
5   Riot                          	0x0000000102e7b5a8 specialized SpaceListViewModel.getSpacesViewData(session:) + 224
6   Riot                          	0x0000000102e792c0 $s4Riot18SpaceListViewModelC09getSpacesD4Data33_7607955AA102ED5D00A6588E447B7E02LL7sessionSayAA0bc4ItemdH0VG7invites_AI6spacestSo9MXSessionC_tF + 8 (<compiler-generated>:0)
7   Riot                          	0x0000000102e792c0 SpaceListViewModel.loadData() + 348 (SpaceListViewModel.swift:155)
8   Riot                          	0x0000000102e7a7ac $s4Riot18SpaceListViewModelC14sessionDidSync33_7607955AA102ED5D00A6588E447B7E02LL12notificationy10Foundation12NotificationV_tF + 4 (SpaceListViewModel.swift:137)
9   Riot                          	0x0000000102e7a7ac @objc SpaceListViewModel.sessionDidSync(notification:) + 104 (<compiler-generated>:136)
  • Crash 3:
0   libdispatch.dylib             	0x00000001802f5a74 dispatch_group_leave.cold.1 + 36 (semaphore.c:303)
1   libdispatch.dylib             	0x00000001802c04d8 dispatch_group_leave + 140 (semaphore.c:0)
2   MatrixSDK                     	0x00000001060ecdd0 __86-[MXCrossSigning requestPrivateKeysToDeviceIds:success:onPrivateKeysReceived:failure:]_block_invoke.188 + 592 (MXCrossSigning.m:355)
3   MatrixSDK                     	0x000000010628f628 -[MXSecretShareManager handleSecretSendEvent:] + 432 (MXSecretShareManager.m:420)
  • Crash 4:
0   libsystem_kernel.dylib        	0x00000001d4da4178 __ulock_wait + 8
1   libsystem_platform.dylib      	0x000000020e3b59ac _os_unfair_lock_lock_slow + 172 (lock.c:578)
2   libobjc.A.dylib               	0x00000001b608b8fc mutex_tt<false>::lockTwo(mutex_tt<false>*, mutex_tt<false>*) + 116 (lock_private.h:716)
3   libobjc.A.dylib               	0x00000001b6092784 objc_storeWeak + 144 (NSObject.mm:144)
4   Foundation                    	0x000000019ec20d50 clearARCWeakAtWithSentinel + 44 (NSPointerFunctions.m:267)
5   Foundation                    	0x000000019ebf4eb4 -[NSConcreteMapTable grow] + 364 (NSMapTable.m:0)
6   Foundation                    	0x000000019eba72f8 -[NSConcreteMapTable setObject:forKey:] + 180 (NSMapTable.m:975)
7   MatrixSDK                     	0x0000000106230390 -[MXUIKitBackgroundModeHandler startBackgroundTaskWithName:reusable:expirationHandler:] + 1284 (MXUIKitBackgroundModeHandler.m:146)
8   MatrixSDK                     	0x000000010623abb8 -[RLMRealm(MatrixSDK) transactionWithName:block:error:] + 156 (RLMRealm+MatrixSDK.m:32)
9   MatrixSDK                     	0x000000010614bb84 0x10600c000 + 1309572
  • Crash 5:
0   CoreFoundation                	0x1811490fc __exceptionPreprocess + 220 (NSException.m:200)
1   libobjc.A.dylib               	0x199999d64 objc_exception_throw + 60 (objc-exception.mm:565)
2   CoreFoundation                	0x181252564 _CFThrowFormattedException + 116 (CFObject.m:2072)
3   CoreFoundation                	0x18124fc88 -[__NSPlaceholderArray initWithObjects:count:].cold.3 + 52 (NSPlaceholderArray.m:132)
4   CoreFoundation                	0x1810d1198 -[__NSPlaceholderArray initWithObjects:count:] + 252 (NSPlaceholderArray.m:132)
5   CoreFoundation                	0x1810fd204 +[NSArray arrayWithObjects:count:] + 48 (NSArray.m:896)
6   Riot                          	0x102c7cd44 __72-[RoomViewController showAdditionalActionsMenuForEvent:inCell:animated:]_block_invoke_7 + 268 (RoomViewController.m:3648)
7   UIKitCore                     	0x1836ae41c -[UIAlertController _invokeHandlersForAction:] + 116 (UIAlertController.m:1219)
8   UIKitCore                     	0x183c87f78 __103-[UIAlertController _dismissAnimated:triggeringAction:triggeredByPopoverDimmingView:dismissCompletion:]_block_invoke.469 + 36 (UIAlertController.m:1384)
9   UIKitCore                     	0x183902524 -[UIPresentationController transitionDidFinish:] + 1284 (UIPresentationController.m:521)
  • Crash 6:
0   CoreFoundation                	0x1e6135d78 __exceptionPreprocess + 220 (NSException.m:200)
1   libobjc.A.dylib               	0x1fed9a734 objc_exception_throw + 60 (objc-exception.mm:565)
2   CoreFoundation                	0x1e620cc20 __NSFastEnumerationMutationHandler + 124 (NSEnumerator.m:131)
3   Riot                          	0x100e0b894 __54-[MXKRoomDataSource didReceiveReceiptEvent:roomState:]_block_invoke + 448 (MXKRoomDataSource.m:2385)
@ismailgulek ismailgulek self-assigned this Apr 11, 2022
@RiotRobot RiotRobot added this to Incoming in Issue triage Apr 11, 2022
@ismailgulek ismailgulek added the T-Defect Something isn't working: bugs, crashes, hangs and other reported problems label Apr 12, 2022
@ismailgulek ismailgulek added this to Backlog (Unsorted) in iOS App Team Apr 12, 2022
@ismailgulek ismailgulek moved this from Incoming to Triaged in Issue triage Apr 12, 2022
@ismailgulek ismailgulek added the S-Major Severely degrades major functionality or product features, with no satisfactory workaround label Apr 12, 2022
@ismailgulek ismailgulek changed the title Crashes in 1.8.12 Crashes after > 1.8.10 Apr 12, 2022
iOS App Team automation moved this from Backlog (Unsorted) to Merged Apr 12, 2022
Issue triage automation moved this from Triaged to Closed Apr 12, 2022
@ismailgulek ismailgulek changed the title Crashes after > 1.8.10 Crashes after 1.8.10 Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect Something isn't working: bugs, crashes, hangs and other reported problems
Projects
Development

Successfully merging a pull request may close this issue.

1 participant