-
Notifications
You must be signed in to change notification settings - Fork 97
Description
Приложение иногда падает на iOS при старте после обновления или выхода из бэграунда с Yandex MapKit. Возможно ошибка связана с DeviceCheck и вызовом attestation_storage::availableMethods().
[YMKMapKit setLocale:@"ru_RU"];
[YMKMapKit setApiKey:@"API_KEY"];
React Native: 0.76.9
react-native-yamap: 4.8.3
iOS: 18+
Crashed: com.apple.main-thread
0 CoreFoundation 0x1e4cc -[__NSDictionaryM setObject:forKeyedSubscript:] + 460
1 DeviceCheck 0x1b28 -[DCAnalytics sendPerformanceForCategory:eventType:] + 236
2 DeviceCheck 0x14b8 -[DCAppAttestController isSupportedWithError:] + 420
3 DeviceCheck 0x1220 -[DCAppAttestController isSupported] + 52
4 DeviceCheck 0x111c -[DCAppAttestService isSupported] + 32
5 burger_king 0x1240d94 std::__1::__function::__func<bool yandex::maps::runtime::internal::runPlatform<std::__1::promise, bool, (yandex::maps::runtime::platform_dispatcher::Priority)0, yandex::maps::runtime::attestation_storage::availableMethods()::$_0>(yandex::maps::runtime::attestation_storage::availableMethods()::$_0&&)::'lambda'(), std::__1::allocator<bool yandex::maps::runtime::internal::runPlatform<std::__1::promise, bool, (yandex::maps::runtime::platform_dispatcher::Priority)0, yandex::maps::runtime::attestation_storage::availableMethods()::$_0>(yandex::maps::runtime::attestation_storage::availableMethods()::$_0&&)::'lambda'()>, void ()>::operator()() + 388360
6 burger_king 0x11297ac yandex::maps::runtime::platform_dispatcher::internal::runPlatformTask(std::__1::function<void ()>) + 3690044
7 burger_king 0x12409f0 yandex::maps::runtime::attestation_storage::availableMethods() + 387428
8 burger_king 0x12a2a5c yandex::maps::mapkit::attestation_updater::createAttestationUpdater(std::__1::function<yandex::maps::runtime::network::Request ()>, yandex::maps::runtime::async::utils::MultiPublisher<yandex::maps::mapkit::attestation_updater::Config, (yandex::maps::runtime::async::utils::StoragePolicy)0>&) + 788944
9 burger_king 0x12967d4 yandex::maps::mapkit::attestation_updater::AttestationManagerImpl::AttestationManagerImpl(std::__1::function<yandex::maps::runtime::network::Request ()>, yandex::maps::runtime::async::MultiFuture<std::__1::optionalyandex::maps::runtime::auth::async::Account>, yandex::maps::runtime::async::MultiFutureyandex::maps::proto::mobile_config::Config) + 739144
10 burger_king 0x129e448 yandex::maps::mapkit::attestation_updater::AttestationManagerImpl* std::__1::construct_at[abi:v160006]<yandex::maps::mapkit::attestation_updater::AttestationManagerImpl, std::__1::function<yandex::maps::runtime::network::Request ()>, yandex::maps::runtime::async::MultiFuture<std::__1::optionalyandex::maps::runtime::auth::async::Account>, yandex::maps::runtime::async::MultiFutureyandex::maps::proto::mobile_config::Config, yandex::maps::mapkit::attestation_updater::AttestationManagerImpl*>(yandex::maps::mapkit::attestation_updater::AttestationManagerImpl*, std::__1::function<yandex::maps::runtime::network::Request ()>&&, yandex::maps::runtime::async::MultiFuture<std::__1::optionalyandex::maps::runtime::auth::async::Account>&&, yandex::maps::runtime::async::MultiFutureyandex::maps::proto::mobile_config::Config&&) + 771004
11 burger_king 0x129e37c std::__1::__shared_ptr_emplace<yandex::maps::mapkit::attestation_updater::AttestationManagerImpl, std::__1::allocatoryandex::maps::mapkit::attestation_updater::AttestationManagerImpl>::__shared_ptr_emplace[abi:v160006]<std::__1::function<yandex::maps::runtime::network::Request ()>, yandex::maps::runtime::async::MultiFuture<std::__1::optionalyandex::maps::runtime::auth::async::Account>, yandex::maps::runtime::async::MultiFutureyandex::maps::proto::mobile_config::Config>(std::__1::allocatoryandex::maps::mapkit::attestation_updater::AttestationManagerImpl, std::__1::function<yandex::maps::runtime::network::Request ()>&&, yandex::maps::runtime::async::MultiFuture<std::__1::optionalyandex::maps::runtime::auth::async::Account>&&, yandex::maps::runtime::async::MultiFutureyandex::maps::proto::mobile_config::Config&&) + 770800
12 burger_king 0x129e328 std::__1::shared_ptryandex::maps::mapkit::attestation_updater::AttestationManagerImpl std::__1::allocate_shared[abi:v160006]<yandex::maps::mapkit::attestation_updater::AttestationManagerImpl, std::__1::allocatoryandex::maps::mapkit::attestation_updater::AttestationManagerImpl, std::__1::function<yandex::maps::runtime::network::Request ()>, yandex::maps::runtime::async::MultiFuture<std::__1::optionalyandex::maps::runtime::auth::async::Account>, yandex::maps::runtime::async::MultiFutureyandex::maps::proto::mobile_config::Config, void>(std::__1::allocatoryandex::maps::mapkit::attestation_updater::AttestationManagerImpl const&, std::__1::function<yandex::maps::runtime::network::Request ()>&&, yandex::maps::runtime::async::MultiFuture<std::__1::optionalyandex::maps::runtime::auth::async::Account>&&, yandex::maps::runtime::async::MultiFutureyandex::maps::proto::mobile_config::Config&&) + 770716
13 burger_king 0x129e24c std::__1::shared_ptryandex::maps::mapkit::attestation_updater::AttestationManagerImpl yandex::maps::runtime::makeWeakPlatformObject<yandex::maps::mapkit::attestation_updater::AttestationManagerImpl, yandex::maps::mapkit::attestation_updater::AttestationManagerImpl, std::__1::function<yandex::maps::runtime::network::Request ()>, yandex::maps::runtime::async::MultiFuture<std::__1::optionalyandex::maps::runtime::auth::async::Account>, yandex::maps::runtime::async::MultiFutureyandex::maps::proto::mobile_config::Config>(std::__1::function<yandex::maps::runtime::network::Request ()>&&, yandex::maps::runtime::async::MultiFuture<std::__1::optionalyandex::maps::runtime::auth::async::Account>&&, yandex::maps::runtime::async::MultiFutureyandex::maps::proto::mobile_config::Config&&) + 770496
14 burger_king 0x1297a98 yandex::maps::mapkit::attestation_updater::createAttestationManager(std::__1::function<yandex::maps::runtime::network::Request ()>, yandex::maps::runtime::async::MultiFuture<std::__1::optionalyandex::maps::runtime::auth::async::Account>, yandex::maps::runtime::async::MultiFutureyandex::maps::proto::mobile_config::Config) + 743948
15 burger_king 0x1acdcb8 yandex::maps::mapkit::internal::MapKitLiteImpl::MapKitLiteImpl() + 9354284
16 burger_king 0x1ac5d54 yandex::maps::mapkit::internal::MapKitFullImpl::MapKitFullImpl() + 9321672
17 burger_king 0x1acceb8 std::__1::__shared_ptr_emplace<yandex::maps::mapkit::internal::MapKitFullImpl, std::__1::allocatoryandex::maps::mapkit::internal::MapKitFullImpl>::__shared_ptr_emplace[abi:v160006]<>(std::__1::allocatoryandex::maps::mapkit::internal::MapKitFullImpl) + 9350700
18 burger_king 0x1acce6c std::__1::shared_ptryandex::maps::mapkit::internal::MapKitFullImpl std::__1::allocate_shared[abi:v160006]<yandex::maps::mapkit::internal::MapKitFullImpl, std::__1::allocatoryandex::maps::mapkit::internal::MapKitFullImpl, void>(std::__1::allocatoryandex::maps::mapkit::internal::MapKitFullImpl const&) + 9350624
19 burger_king 0x1accdb0 std::__1::shared_ptryandex::maps::mapkit::internal::MapKitFullImpl yandex::maps::runtime::makeWeakPlatformObject<yandex::maps::mapkit::internal::MapKitFullImpl, yandex::maps::mapkit::internal::MapKitFullImpl>() + 9350436
20 burger_king 0x1accd10 yandex::maps::mapkit::internal::MapKitHolder::MapKitHolder() + 9350276
21 burger_king 0x1accc98 yandex::maps::mapkit::internal::MapKitHolder& yandex::maps::runtime::singletonyandex::maps::mapkit::internal::MapKitHolder() + 9350156
22 burger_king 0x1accce0 yandex::maps::mapkit::getMapKit() + 9350228
23 burger_king 0x1adbd38 +[YMKMapKit(Factory) getPlatformInstance] + 9411756
24 burger_king 0x1adc08c +[YMKMapKit(Factory) mapKit] + 9412608
25 burger_king 0x41b8 -[AppDelegate application:didFinishLaunchingWithOptions:] + 50 (AppDelegate.mm:50)
26 UIKitCore 0x137e0c -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 320
27 UIKitCore 0x139990 -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] + 2988
28 UIKitCore 0x135908 -[UIApplication _runWithMainScene:transitionContext:completion:] + 972
29 UIKitCore 0x135474 -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] + 132
30 UIKitCore 0x16c46c _UIScenePerformActionsWithLifecycleActionMask + 112
31 UIKitCore 0x170870 __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke + 252
32 UIKitCore 0x1705e0 -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] + 212
33 UIKitCore 0x1702c8 -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] + 608
34 UIKitCore 0x16ff30 -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] + 244
35 UIKitCore 0x16ca5c __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke + 148
36 UIKitCore 0x16d078 +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] + 736
37 UIKitCore 0x16c99c _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion + 224
38 UIKitCore 0x16c64c -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] + 316
39 UIKitCore 0x16c224 __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.229 + 616
40 UIKitCore 0x16bb7c -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] + 208
41 UIKitCore 0x16b9f4 -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] + 244
42 UIKitCore 0x13b770 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 764
43 UIKitCore 0x13b408 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 288
44 FrontBoardServices 0x1f528 __95-[FBSScene _callOutQueue_didCreateWithTransitionContext:alternativeCreationCallout:completion:]_block_invoke + 288
45 FrontBoardServices 0x1f6fc -[FBSScene _callOutQueue_coalesceClientSettingsUpdates:] + 68
46 FrontBoardServices 0x1f34c -[FBSScene _callOutQueue_didCreateWithTransitionContext:alternativeCreationCallout:completion:] + 436
47 FrontBoardServices 0x1eecc __93-[FBSWorkspaceScenesClient _callOutQueue_sendDidCreateForScene:transitionContext:completion:]_block_invoke.197 + 288
48 FrontBoardServices 0x1ed38 -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 168
49 FrontBoardServices 0x1eac0 -[FBSWorkspaceScenesClient _callOutQueue_sendDidCreateForScene:transitionContext:completion:] + 472
50 libdispatch.dylib 0x1b584 _dispatch_client_callout + 16
51 libdispatch.dylib 0x6ab0 _dispatch_block_invoke_direct + 284
52 FrontBoardServices 0x1e8ac FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK + 52
53 FrontBoardServices 0x1e748 -[FBSMainRunLoopSerialQueue _targetQueue_performNextIfPossible] + 240
54 FrontBoardServices 0x1e7b0 -[FBSMainRunLoopSerialQueue _performNextFromRunLoopSource] + 28
55 CoreFoundation 0xfa8c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
56 CoreFoundation 0xf8a4 __CFRunLoopDoSource0 + 172
57 CoreFoundation 0xf700 __CFRunLoopDoSources0 + 232
58 CoreFoundation 0x10080 __CFRunLoopRun + 840
59 CoreFoundation 0x11c3c CFRunLoopRunSpecific + 572
60 GraphicsServices 0x1454 GSEventRunModal + 168
61 UIKitCore 0x135274 -[UIApplication _run] + 816
62 UIKitCore 0x100a28 UIApplicationMain + 336
63 burger_king 0x4d94 main + 8 (main.m:8)
64 ??? 0x1afbebf08 (Missing)
SECOND:
Crashed: YMK_Platform-N
0 CoreFoundation 0x1e4cc -[__NSDictionaryM setObject:forKeyedSubscript:] + 460
1 DeviceCheck 0x1b28 -[DCAnalytics sendPerformanceForCategory:eventType:] + 236
2 DeviceCheck 0x14b8 -[DCAppAttestController isSupportedWithError:] + 420
3 DeviceCheck 0x1220 -[DCAppAttestController isSupported] + 52
4 DeviceCheck 0x111c -[DCAppAttestService isSupported] + 32
5 burger_king 0x12410e8 std::__1::__function::__func<yandex::maps::runtime::platform_dispatcher::PlatformDispatcher::BinderWrapper<std::__1::promise, yandex::maps::runtime::attestation_storage::availableMethods()::$_0>::BinderWrapper(yandex::maps::runtime::attestation_storage::availableMethods()::$_0&&)::'lambda'(yandex::maps::runtime::attestation_storage::availableMethods()::$_0&&), std::__1::allocator<yandex::maps::runtime::platform_dispatcher::PlatformDispatcher::BinderWrapper<std::__1::promise, yandex::maps::runtime::attestation_storage::availableMethods()::$_0>::BinderWrapper(yandex::maps::runtime::attestation_storage::availableMethods()::$_0&&)::'lambda'(yandex::maps::runtime::attestation_storage::availableMethods()::$_0&&)>, bool (yandex::maps::runtime::attestation_storage::availableMethods()::$_0&&)>::operator()(yandex::maps::runtime::attestation_storage::availableMethods()::$_0&&) + 389212
6 burger_king 0x1241234 std::__1::__function::__func<void yandex::maps::runtime::platform_dispatcher::PlatformDispatcher::BinderWrapper<std::__1::promise, yandex::maps::runtime::attestation_storage::availableMethods()::$_0>::runBinder()::'lambda'(), std::__1::allocator<void yandex::maps::runtime::platform_dispatcher::PlatformDispatcher::BinderWrapper<std::__1::promise, yandex::maps::runtime::attestation_storage::availableMethods()::$_0>::runBinder()::'lambda'()>, void ()>::operator()() + 389544
7 burger_king 0x11297ac yandex::maps::runtime::platform_dispatcher::internal::runPlatformTask(std::__1::function<void ()>) + 3690044
8 burger_king 0x1240f50 yandex::maps::runtime::platform_dispatcher::PlatformDispatcher::BinderWrapper<std::__1::promise, yandex::maps::runtime::attestation_storage::availableMethods()::$_0>::operator()() + 388804
9 burger_king 0x11246c4 void yandex::maps::runtime::internal::threadRunner<yandex::maps::runtime::platform_dispatcher::PlatformDispatcher::PlatformDispatcher(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, yandex::maps::runtime::ThreadPriority)::$_0>(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, yandex::maps::runtime::ThreadPriority, yandex::maps::runtime::platform_dispatcher::PlatformDispatcher::PlatformDispatcher(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, yandex::maps::runtime::ThreadPriority)::$_0&&) + 3669332
10 burger_king 0x1124848 void* std::__1::__thread_proxy[abi:v160006]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct>, void ()(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, yandex::maps::runtime::ThreadPriority, yandex::maps::runtime::platform_dispatcher::PlatformDispatcher::PlatformDispatcher(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, yandex::maps::runtime::ThreadPriority)::$_0&&), std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator>, yandex::maps::runtime::ThreadPriority, yandex::maps::runtime::platform_dispatcher::PlatformDispatcher::PlatformDispatcher(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator> const&, yandex::maps::runtime::ThreadPriority)::$_0>>(void) + 3669720
11 libsystem_pthread.dylib 0x3344 _pthread_start + 136
12 libsystem_pthread.dylib 0xab8 thread_start + 8