Skip to content

Instantly share code, notes, and snippets.

@ivanpovazan
Created May 23, 2023 16:33
Show Gist options
  • Save ivanpovazan/12b9b42cfe2284594cea334f6fd23ee1 to your computer and use it in GitHub Desktop.
Save ivanpovazan/12b9b42cfe2284594cea334f6fd23ee1 to your computer and use it in GitHub Desktop.
HelloiOS NativeAOT - runtime packs
#0 0x0000000104293054 in ::RhGetModuleFromEEType(MethodTable *) at /Users/runner/work/1/s/src/coreclr/nativeaot/Runtime/MiscHelpers.cpp:130
#1 0x00000001043ca7f0 in S_P_CoreLib_Internal_Runtime_Augments_RuntimeAugments__GetModuleFromTypeHandle ()
#2 0x00000001044237cc in S_P_Reflection_Execution_Internal_Reflection_Execution_ExecutionEnvironmentImplementation__IsReflectionBlocked ()
#3 0x00000001043c4fdc in S_P_CoreLib_Internal_Reflection_Core_Execution_ExecutionDomain__GetConstructedGenericTypeForHandle ()
#4 0x0000000104424ae8 in S_P_Reflection_Execution_Internal_Reflection_Execution_ReflectionExecutionDomainCallbacksImplementation__GetConstructedGenericTypeForHandle ()
#5 0x00000001043c587c in S_P_CoreLib_Internal_Reflection_Core_NonPortable_RuntimeTypeUnifier__GetRuntimeTypeBypassCache ()
#6 0x0000000104319628 in S_P_CoreLib_System_Type__GetTypeFromEETypePtrSlow ()
#7 0x00000001043195c0 in S_P_CoreLib_System_Type__GetTypeFromEETypePtr ()
#8 0x0000000104319518 in S_P_CoreLib_System_Type__GetTypeFromHandle ()
#9 0x00000001044c862c in S_P_CoreLib_System_Buffers_ProbabilisticMap__IndexOfAny_0<S_P_CoreLib_System_SpanHelpers_DontNegate_1<Char>> ()
#10 0x000000010436c05c in S_P_CoreLib_System_Buffers_ProbabilisticMap__IndexOfAny ()
#11 0x0000000104486d70 in S_P_CoreLib_System_MemoryExtensions__IndexOfAny_5<Char> ()
#12 0x0000000104313790 in String__IndexOfAny ()
#13 0x00000001043b7150 in S_P_CoreLib_System_Reflection_Runtime_General_Helpers__EscapeTypeNameIdentifier ()
#14 0x00000001043bd228 in S_P_CoreLib_System_Reflection_Runtime_TypeInfos_NativeFormat_NativeFormatRuntimeNamedTypeInfo__get_Name ()
#15 0x00000001043bc600 in S_P_CoreLib_System_Reflection_Runtime_TypeInfos_RuntimeNamedTypeInfo__get_FullName ()
#16 0x00000001043bcf2c in S_P_CoreLib_System_Reflection_Runtime_TypeInfos_NativeFormat_NativeFormatRuntimeNamedTypeInfo__ToString ()
#17 0x00000001043ba664 in S_P_CoreLib_System_Reflection_Runtime_TypeInfos_RuntimeTypeInfo__EstablishDebugName ()
#18 0x00000001043bc918 in S_P_CoreLib_System_Reflection_Runtime_TypeInfos_NativeFormat_NativeFormatRuntimeNamedTypeInfo__GetRuntimeNamedTypeInfo ()
#19 0x00000001043b89d8 in S_P_CoreLib_System_Reflection_Runtime_General_TypeUnifier__GetNamedType_0 ()
#20 0x00000001043c4b0c in S_P_CoreLib_Internal_Reflection_Core_Execution_ExecutionDomain__GetNamedTypeForHandle ()
#21 0x0000000104424964 in S_P_Reflection_Execution_Internal_Reflection_Execution_ReflectionExecutionDomainCallbacksImplementation__GetNamedTypeForHandle ()
#22 0x00000001043c58b0 in S_P_CoreLib_Internal_Reflection_Core_NonPortable_RuntimeTypeUnifier__GetRuntimeTypeBypassCache ()
#23 0x0000000104319628 in S_P_CoreLib_System_Type__GetTypeFromEETypePtrSlow ()
#24 0x00000001043195c0 in S_P_CoreLib_System_Type__GetTypeFromEETypePtr ()
#25 0x0000000104319518 in S_P_CoreLib_System_Type__GetTypeFromHandle ()
#26 0x00000001043ba754 in S_P_CoreLib_System_Reflection_Runtime_TypeInfos_RuntimeTypeInfo__get_Classification ()
#27 0x00000001043ba544 in S_P_CoreLib_System_Reflection_Runtime_TypeInfos_RuntimeTypeInfo__IsValueTypeImpl ()
#28 0x0000000104319898 in S_P_CoreLib_System_Type__get_IsValueType ()
#29 0x0000000104466210 in S_P_CoreLib_System_Collections_Generic_Dictionary_2<System___Canon__System___Canon>___ctor_2 ()
#30 0x000000010446613c in S_P_CoreLib_System_Collections_Generic_Dictionary_2<System___Canon__System___Canon>___ctor ()
#31 0x000000010430998c in S_P_CoreLib_System_AppContext__SetData ()
#32 0x000000010446f5dc in Internal_CompilerGenerated__Module___SetAppContextSwitches ()
#33 0x000000010446f79c in Internal_CompilerGenerated__Module___NativeLibraryStartup ()
#34 0x000000010428e48c in InitializeRuntime() at /Users/runner/work/1/s/src/coreclr/nativeaot/Bootstrap/main.cpp:186
#35 0x0000000104298000 in Thread::EnsureRuntimeInitialized() [inlined] at /Users/runner/work/1/s/src/coreclr/nativeaot/Runtime/thread.cpp:1218
#36 0x0000000104297fc0 in Thread::ReversePInvokeAttachOrTrapThread(ReversePInvokeFrame*) at /Users/runner/work/1/s/src/coreclr/nativeaot/Runtime/thread.cpp:1180
#37 0x000000010446f714 in Program__Module___StartupCodeMain ()
#38 0x000000010428df54 in __29-[ViewController viewDidLoad]_block_invoke at /Users/ivan/repos/runtime-mono-iOS/src/mono/sample/iOS-NativeAOT/bin/publish/app/main.m:63
#39 0x000000010541c5a8 in _dispatch_call_block_and_release ()
#40 0x000000010541e05c in _dispatch_client_callout ()
#41 0x0000000105420b94 in _dispatch_queue_override_invoke ()
#42 0x0000000105432478 in _dispatch_root_queue_drain ()
#43 0x0000000105432e74 in _dispatch_worker_thread2 ()
#44 0x0000000222b1bdbc in _pthread_wqthread ()
Enqueued from com.apple.main-thread (Thread 1) Queue : com.apple.main-thread (serial)
#0 0x0000000105422d4c in dispatch_async ()
#1 0x000000010428dec4 in -[ViewController viewDidLoad] at /Users/ivan/repos/runtime-mono-iOS/src/mono/sample/iOS-NativeAOT/bin/publish/app/main.m:54
#2 0x00000001d7ffbdc4 in -[UIViewController _sendViewDidLoadWithAppearanceProxyObjectTaggingEnabled] ()
#3 0x00000001d7c93e40 in -[UIViewController loadViewIfRequired] ()
#4 0x00000001d7c93b58 in -[UIViewController view] ()
#5 0x00000001d7e801a4 in -[UIWindow addRootViewControllerViewIfPossible] ()
#6 0x00000001d7e80098 in -[UIWindow _updateLayerOrderingAndSetLayerHidden:actionBlock:] ()
#7 0x00000001d7e7f93c in -[UIWindow _setHidden:forced:] ()
#8 0x00000001d7fd36dc in -[UIWindow _mainQueue_makeKeyAndVisible] ()
#9 0x000000010428dbc0 in -[AppDelegate application:didFinishLaunchingWithOptions:] at /Users/ivan/repos/runtime-mono-iOS/src/mono/sample/iOS-NativeAOT/bin/publish/app/main.m:26
#10 0x00000001d7fd3888 in -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] ()
#11 0x00000001d7fd2fac in -[UIApplication _callInitializationDelegatesWithActions:forCanvas:payload:fromOriginatingProcess:] ()
#12 0x00000001d7fd1f88 in -[UIApplication _runWithMainScene:transitionContext:completion:] ()
#13 0x00000001d7fd1bd4 in -[_UISceneLifecycleMultiplexer completeApplicationLaunchWithFBSScene:transitionContext:] ()
#14 0x00000001d7d17600 in _UIScenePerformActionsWithLifecycleActionMask ()
#15 0x00000001d8059918 in __101-[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:]_block_invoke ()
#16 0x00000001d7f09fa4 in -[_UISceneLifecycleMultiplexer _performBlock:withApplicationOfDeactivationReasons:fromReasons:] ()
#17 0x00000001d7f09dcc in -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] ()
#18 0x00000001d7f0997c in -[_UISceneLifecycleMultiplexer uiScene:transitionedFromState:withTransitionContext:] ()
#19 0x00000001d7f09848 in __186-[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:]_block_invoke ()
#20 0x00000001d85ebfa8 in +[BSAnimationSettings(UIKit) tryAnimatingWithSettings:fromCurrentState:actions:completion:] ()
#21 0x00000001d8684f98 in _UISceneSettingsDiffActionPerformChangesWithTransitionContextAndCompletion ()
#22 0x00000001d7db5958 in -[_UIWindowSceneFBSSceneTransitionContextDrivenLifecycleSettingsDiffAction _performActionsForUIScene:withUpdatedFBSScene:settingsDiff:fromSettings:transitionContext:lifecycleActionType:] ()
#23 0x00000001d82287a8 in __64-[UIScene scene:didUpdateWithDiff:transitionContext:completion:]_block_invoke.214 ()
#24 0x00000001d7e880b8 in -[UIScene _emitSceneSettingsUpdateResponseForCompletion:afterSceneUpdateWork:] ()
#25 0x00000001d7e87f28 in -[UIScene scene:didUpdateWithDiff:transitionContext:completion:] ()
#26 0x00000001d7e8747c in -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] ()
#27 0x00000001d7e87208 in -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] ()
#28 0x00000001eb6e1500 in -[FBSScene _callOutQueue_agent_didCreateWithTransitionContext:completion:] ()
#29 0x00000001eb72051c in __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke.78 ()
#30 0x00000001eb6e5294 in -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] ()
#31 0x00000001eb720154 in __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke ()
#32 0x000000010541e05c in _dispatch_client_callout ()
#33 0x0000000105421ad8 in _dispatch_block_invoke_direct ()
#34 0x00000001eb6ef3b0 in __FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ ()
#35 0x00000001eb6eef4c in -[FBSSerialQueue _targetQueue_performNextIfPossible] ()
#36 0x00000001eb6f172c in -[FBSSerialQueue _performNextFromRunLoopSource] ()
#37 0x00000001d5b91f54 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ ()
#38 0x00000001d5b9e32c in __CFRunLoopDoSource0 ()
#39 0x00000001d5b22210 in __CFRunLoopDoSources0 ()
#40 0x00000001d5b37ba8 in __CFRunLoopRun ()
#41 0x00000001d5b3ced4 in CFRunLoopRunSpecific ()
#42 0x000000020ee3a368 in GSEventRunModal ()
#43 0x00000001d801b3d0 in -[UIApplication _run] ()
#44 0x00000001d801b034 in UIApplicationMain ()
#45 0x000000010428e208 in main at /Users/ivan/repos/runtime-mono-iOS/src/mono/sample/iOS-NativeAOT/bin/publish/app/main.m:97
#46 0x00000001f41a4960 in start ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment