Skip to content
Snippets Groups Projects
Open crash when leaving app
  • View options
  • crash when leaving app

  • View options
  • Open Issue created by Kateryna Kostiuk

    [Bug report]

    • Distribution channel : [App Store]

    • State of the app when the bug appears: [background]

    • Can you reproduce the bug: [not at all]

    Crash report from App Store

    Thread 0:
    0   libsystem_kernel.dylib        	0x00000001ee4b7bcc __ulock_wait + 8 (:-1)
    1   libdispatch.dylib             	0x00000001ad7037c4 _dlock_wait + 56 (lock.c:326)
    2   libdispatch.dylib             	0x00000001ad703578 _dispatch_thread_event_wait_slow + 56 (lock.c:558)
    3   libdispatch.dylib             	0x00000001ad7125b0 __DISPATCH_WAIT_FOR_QUEUE__ + 368 (queue.c:1698)
    4   libdispatch.dylib             	0x00000001ad71215c _dispatch_sync_f_slow + 148 (queue.c:1784)
    5   libswiftDispatch.dylib        	0x00000001aebffe50 implicit closure #2 in implicit closure #1 in OS_dispatch_queue.sync<A>(flags:execute:) + 196 (Queue.swift:500)
    6   libswiftDispatch.dylib        	0x00000001aebff724 OS_dispatch_queue._syncHelper<A>(fn:execute:rescue:) + 404 (Queue.swift:396)
    7   libswiftDispatch.dylib        	0x00000001aebff3b8 OS_dispatch_queue.sync<A>(flags:execute:) + 332 (Queue.swift:0)
    8   Ring                          	0x0000000102e8aafc AccountModel.updateVolatileDetails(dictionary:) + 200 (AccountModel.swift:156)
    9   Ring                          	0x0000000102e94034 AccountsService.accountDetailsChanged(accountId:details:) + 432
    10  Ring                          	0x0000000102e96398 @objc AccountsService.accountDetailsChanged(accountId:details:) + 108
    11  Ring                          	0x0000000102bafea8 -[AccountAdapter registerConfigurationHandler]::$_2::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, std::__1::map<std::__1::basic_string<cha... + 132 (AccountAdapter.mm:70)
    12  Ring                          	0x0000000102bafea8 decltype(std::declval<-[AccountAdapter registerConfigurationHandler]::$_2&>()(std::declval<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&>(), std::declv... + 132 (invoke.h:340)
    13  Ring                          	0x0000000102bafea8 void std::__1::__invoke_void_return_wrapper<void, true>::__call[abi:ue170006]<-[AccountAdapter registerConfigurationHandler]::$_2&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__... + 132 (invoke.h:415)
    14  Ring                          	0x0000000102bafea8 std::__1::__function::__alloc_func<-[AccountAdapter registerConfigurationHandler]::$_2, std::__1::allocator<-[AccountAdapter registerConfigurationHandler]::$_2>, void (std::__1::basic_string<char, ... + 132 (function.h:193)
    15  Ring                          	0x0000000102bafea8 std::__1::__function::__func<-[AccountAdapter registerConfigurationHandler]::$_2, std::__1::allocator<-[AccountAdapter registerConfigurationHandler]::$_2>, void (std::__1::basic_string<char, std::_... + 156 (function.h:364)
    16  Ring                          	0x000000010318df48 void jami::emitSignal<libjami::ConfigurationSignal::VolatileDetailsChanged, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_strin... + 476
    17  Ring                          	0x000000010318dc14 jami::Manager::setAccountActive(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, bool, bool) + 496
    18  Ring                          	0x0000000102baf694 -[AccountAdapter setAccountsActive:] + 104 (AccountAdapter.mm:231)
    19  Ring                          	0x0000000102e40708 closure #5 in ConversationsManager.controlAccountsState() + 844 (ConversationsManager.swift:123)
    20  Ring                          	0x0000000102e4a830 thunk for @escaping @callee_guaranteed (@unowned ServiceEventType) -> () + 8 (<compiler-generated>:0)
    21  Ring                          	0x0000000102e4a830 partial apply for thunk for @escaping @callee_guaranteed (@unowned ServiceEventType) -> () + 24
    22  RxSwift                       	0x00000001060c3a98 closure #1 in ObservableType.subscribe(onNext:onError:onCompleted:onDisposed:) + 272 (ObservableType+Extensions.swift:109)
    23  RxSwift                       	0x00000001060c3cbc partial apply for closure #1 in ObservableType.subscribe(onNext:onError:onCompleted:onDisposed:) + 48 (<compiler-generated>:0)
    24  RxSwift                       	0x00000001060d9e58 AnonymousObserver.onCore(_:) + 20 (AnonymousObserver.swift:22)
    25  RxSwift                       	0x00000001060c51ec ObserverBase.on(_:) + 276 (ObserverBase.swift:16)
    26  RxSwift                       	0x00000001060c53a4 protocol witness for ObserverType.on(_:) in conformance ObserverBase<A> + 20 (<compiler-generated>:0)
    27  RxSwift                       	0x00000001060d9538 Sink.forwardOn(_:) + 112 (Sink.swift:34)
    28  RxSwift                       	0x00000001060e532c closure #1 in MergeSinkIter.on(_:) + 356 (Merge.swift:394)
    29  RxSwift                       	0x00000001060e51a4 specialized NSRecursiveLock.performLocked<A>(_:) + 24 (Lock.swift:21)
    30  RxSwift                       	0x00000001060e51a4 MergeSinkIter.on(_:) + 68 (Merge.swift:391)
    31  RxSwift                       	0x00000001060e54b8 protocol witness for ObserverType.on(_:) in conformance MergeSinkIter<A, B, C> + 20 (<compiler-generated>:0)
    32  RxSwift                       	0x00000001060fde9c implicit closure #2 in implicit closure #1 in BehaviorSubject.synchronized_subscribe<A>(_:) + 8 (BehaviorSubject.swift:120)
    33  RxSwift                       	0x00000001060fde9c partial apply for implicit closure #2 in implicit closure #1 in BehaviorSubject.synchronized_subscribe<A>(_:) + 44 (<compiler-generated>:0)
    34  RxSwift                       	0x0000000106115cb4 thunk for @escaping @callee_guaranteed (@in_guaranteed Event<A>) -> () + 20 (<compiler-generated>:0)
    35  RxSwift                       	0x00000001060fcc18 thunk for @escaping @callee_guaranteed (@in_guaranteed Event<A>) -> (@out ()) + 12 (<compiler-generated>:0)
    36  RxSwift                       	0x00000001060fcc18 dispatch<A>(_:_:) + 28 (BehaviorSubject.swift:82)
    37  RxSwift                       	0x00000001060fcc18 BehaviorSubject.on(_:) + 76
    38  RxSwift                       	0x00000001060fdc38 protocol witness for ObserverType.on(_:) in conformance BehaviorSubject<A> + 20 (<compiler-generated>:0)
    39  RxSwift                       	0x000000010611e1f0 ObserverType.onNext(_:) + 184 (ObserverType.swift:27)
    40  RxRelay                       	0x00000001057e8518 BehaviorRelay.accept(_:) + 88 (BehaviorRelay.swift:19)
    41  Ring                          	0x0000000102e41888 @objc ConversationsManager.appMovedToBackground() + 40
    42  CoreFoundation                	0x00000001a582a78c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148 (CFNotificationCenter.c:700)
    43  CoreFoundation                	0x00000001a582a6a8 ___CFXRegistrationPost_block_invoke + 88 (CFNotificationCenter.c:193)
    44  CoreFoundation                	0x00000001a582a5f0 _CFXRegistrationPost + 440 (CFNotificationCenter.c:221)
    45  CoreFoundation                	0x00000001a5828bb8 _CFXNotificationPost + 728 (CFNotificationCenter.c:1247)
    46  Foundation                    	0x00000001a46b6254 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92 (NSNotification.m:531)
    47  UIKitCore                     	0x00000001a8920568 __47-[UIApplication _applicationDidEnterBackground]_block_invoke + 268 (UIApplication.m:7398)
    48  UIKitCore                     	0x00000001a7e1cb2c +[UIViewController _performWithoutDeferringTransitionsAllowingAnimation:actions:] + 140 (UIViewController.m:8663)
    49  UIKitCore                     	0x00000001a8920348 -[UIApplication _applicationDidEnterBackground] + 136 (UIApplication.m:7386)
    50  UIKitCore                     	0x00000001a7e65d90 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke_2 + 652 (_UISceneLifecycleMultiplexer.m:701)
    51  UIKitCore                     	0x00000001a7c93708 _UIScenePerformActionsWithLifecycleActionMask + 112 (_UISceneLifecycleState.m:109)
    52  UIKitCore                     	0x00000001a7e66488 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 216 (_UISceneLifecycleMultiplexer.m:566)
    53  UIKitCore                     	0x00000001a7e66198 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 220 (_UISceneLifecycleMultiplexer.m:515)
    54  UIKitCore                     	0x00000001a7bf5360 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 608 (_UISceneLifecycleMultiplexer.m:565)
    55  UIKitCore                     	0x00000001a7bc2594 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 248 (_UISceneLifecycleMultiplexer.m:468)
    56  UIKitCore                     	0x00000001a7bc1ebc __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block... + 148 (_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction.m:73)
    57  UIKitCore                     	0x00000001a7bc1868 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 736 (BSAnimationSettings+UIKit.m:54)
    58  UIKitCore                     	0x00000001a7bc0ea8 _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224 (_UISceneSettingsDiffAction.m:27)
    59  UIKitCore                     	0x00000001a7c94c80 -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 316 (_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction.m:58)
    60  UIKitCore                     	0x00000001a7c934b8 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.226 + 612 (UIScene.m:2067)
    61  UIKitCore                     	0x00000001a7c92e10 -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 216 (UIScene.m:1736)
    62  UIKitCore                     	0x00000001a7d5df48 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244 (UIScene.m:2026)
    63  UIKitCore                     	0x00000001a7d5db28 -[UIApplicationSceneClientAgent scene:handleEvent:withCompletion:] + 336 (UIApplicationSceneClientAgent.m:86)
    64  FrontBoardServices            	0x00000001be5d66e4 -[FBSScene updater:didUpdateSettings:withDiff:transitionContext:completion:] + 660 (FBSScene.m:812)
    65  FrontBoardServices            	0x00000001be5e6844 __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke_2 + 152 (FBSWorkspaceScenesClient.m:692)
    66  FrontBoardServices            	0x00000001be5e66cc -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168 (FBSWorkspace.m:411)
    67  FrontBoardServices            	0x00000001be5eb7fc __94-[FBSWorkspaceScenesClient _queue_updateScene:withSettings:diff:transitionContext:completion:]_block_invoke + 344 (FBSWorkspaceScenesClient.m:691)
    68  libdispatch.dylib             	0x00000001ad702dd4 _dispatch_client_callout + 20 (object.m:576)
    69  libdispatch.dylib             	0x00000001ad70686c _dispatch_block_invoke_direct + 288 (queue.c:511)
    70  FrontBoardServices            	0x00000001be5e7d58 __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 52 (FBSSerialQueue.m:285)
    71  FrontBoardServices            	0x00000001be5e7cd8 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240 (FBSSerialQueue.m:309)
    72  FrontBoardServices            	0x00000001be5e7bb0 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28 (FBSSerialQueue.m:322)
    73  CoreFoundation                	0x00000001a582f834 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28 (CFRunLoop.c:1957)
    74  CoreFoundation                	0x00000001a582f7c8 __CFRunLoopDoSource0 + 176 (CFRunLoop.c:2001)
    75  CoreFoundation                	0x00000001a582d298 __CFRunLoopDoSources0 + 244 (CFRunLoop.c:2038)
    76  CoreFoundation                	0x00000001a582c484 __CFRunLoopRun + 828 (CFRunLoop.c:2955)
    77  CoreFoundation                	0x00000001a582bcd8 CFRunLoopRunSpecific + 608 (CFRunLoop.c:3420)
    78  GraphicsServices              	0x00000001ea2791a8 GSEventRunModal + 164 (GSEvent.c:2196)
    79  UIKitCore                     	0x00000001a7e65ae8 -[UIApplication _run] + 888 (UIApplication.m:3713)
    80  UIKitCore                     	0x00000001a7f19d98 UIApplicationMain + 340 (UIApplication.m:5303)
    81  Ring                          	0x0000000102d4d090 main + 64 (AppDelegate.swift:34)
    82  dyld                          	0x00000001c9003154 start + 2356 (dyldMain.cpp:1298)
    
    Thread 4 Crashed:
    0   libobjc.A.dylib               	0x000000019d6e675c objc_release + 16 (:-1)
    1   Ring                          	0x0000000102cac940 AccountConfigModel.update(withDetails:) + 940 (AccountConfigModel.swift:0)
    2   Ring                          	0x0000000102e8ab98 closure #1 in AccountModel.updateVolatileDetails(dictionary:) + 96 (AccountModel.swift:158)
    3   Ring                          	0x0000000102e8b5dc partial apply for closure #1 in AccountModel.updateVolatileDetails(dictionary:) + 16 (<compiler-generated>:0)
    4   libswiftDispatch.dylib        	0x00000001aebfe28c partial apply for thunk for @callee_guaranteed () -> (@out A, @error @owned Error) + 28 (<compiler-generated>:0)
    5   libswiftDispatch.dylib        	0x00000001aebfe268 thunk for @callee_guaranteed () -> (@out A, @error @owned Error)partial apply + 16 (:-1)
    6   libswiftDispatch.dylib        	0x00000001aebfe1a8 closure #1 in closure #1 in OS_dispatch_queue._syncHelper<A>(fn:execute:rescue:) + 192 (Queue.swift:399)
    7   libswiftDispatch.dylib        	0x00000001aebfe0cc partial apply for thunk for @callee_guaranteed () -> () + 28 (<compiler-generated>:0)
    8   libswiftDispatch.dylib        	0x00000001aebfe0a4 thunk for @escaping @callee_guaranteed () -> () + 28 (<compiler-generated>:0)
    9   libdispatch.dylib             	0x00000001ad702dd4 _dispatch_client_callout + 20 (object.m:576)
    10  libdispatch.dylib             	0x00000001ad7122c4 _dispatch_lane_barrier_sync_invoke_and_complete + 56 (queue.c:1100)
    11  libswiftDispatch.dylib        	0x00000001aebffe50 implicit closure #2 in implicit closure #1 in OS_dispatch_queue.sync<A>(flags:execute:) + 196 (Queue.swift:500)
    12  libswiftDispatch.dylib        	0x00000001aebff724 OS_dispatch_queue._syncHelper<A>(fn:execute:rescue:) + 404 (Queue.swift:396)
    13  libswiftDispatch.dylib        	0x00000001aebff3b8 OS_dispatch_queue.sync<A>(flags:execute:) + 332 (Queue.swift:0)
    14  Ring                          	0x0000000102e8aafc AccountModel.updateVolatileDetails(dictionary:) + 200 (AccountModel.swift:156)
    15  Ring                          	0x0000000102e94034 AccountsService.accountDetailsChanged(accountId:details:) + 432
    • Merge request
    • Branch

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading