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

Dead link (404) in a runtime execution engine exception #7785

Closed
lambdageek opened this issue Mar 23, 2018 · 9 comments · Fixed by #8118
Closed

Dead link (404) in a runtime execution engine exception #7785

lambdageek opened this issue Mar 23, 2018 · 9 comments · Fixed by #8118

Comments

@lambdageek
Copy link
Member

Got this error message from a FullAOT test where I have some native code that wants to invoke a managed delegate.

Following the link https://developer.xamarin.com/guides/ios/advanced_topics/limitations/ gives a 404.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ExecutionEngineException: Attempting to JIT compile method '(wrapper native-to-managed) Tests/<>c__DisplayClass5_0:<test_0_setjmp_exn_handler>b__0 ()' while running in aot-only mode. See https://developer.xamarin.com/guides/ios/advanced_topics/limitations/ for more information.

  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_delegate_to_ftnptr(object)
  at (wrapper managed-to-native) Tests.mono_test_setjmp_and_call(Tests/VoidVoidDelegate,intptr&)
  at Tests.test_0_setjmp_exn_handler () [0x00023] in <16258fbbedad473992f15c8212374900>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <e1ccb1c8ff6b4a10b926c2520e3aa15d>:0 
   --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0004b] in <e1ccb1c8ff6b4a10b926c2520e3aa15d>:0 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <e1ccb1c8ff6b4a10b926c2520e3aa15d>:0 
  at TestDriver.RunTests (System.Type type, System.String[] args, TestDriverReporter reporter) [0x003b9] in <e541aee421a44561b3fa0f2b98acb890>:0 
  at TestDriver.RunTests (System.Type type) [0x00001] in <e541aee421a44561b3fa0f2b98acb890>:0 
  at Tests.Main () [0x00001] in <16258fbbedad473992f15c8212374900>:0 
@lambdageek
Copy link
Member Author

@marek-safar
Copy link
Member

@brendanzagaeski could you find out where should this be pointing out now?

@lambdageek
Copy link
Member Author

lambdageek commented Mar 23, 2018

I think it should be https://docs.microsoft.com/en-us/xamarin/ios/internals/limitations
Edit: See @brendanzagaeski comment below with corrected URL.

@akoeplinger
Copy link
Member

There should've been a redirect for this page, e.g. https://developer.xamarin.com/guides/ios/advanced_topics/ redirects to https://docs.microsoft.com/en-us/xamarin/ios/internals/.

@conceptdev
Copy link

conceptdev commented Mar 23, 2018

Added the redirect that takes https://developer.xamarin.com/guides/ios/advanced_topics/limitations/
to https://docs.microsoft.com/xamarin/ios/internals/limitations

@brendanzagaeski
Copy link
Contributor

For a tiny bit of additional background context, it turned out this particular redirect was just unintentionally missing due to a typo.

@lambdageek
Copy link
Member Author

Works great now.

@akoeplinger
Copy link
Member

@lambdageek I think we should still update the actual link in the source code.

@brendanzagaeski
Copy link
Contributor

brendanzagaeski commented Mar 23, 2018

As a little detail note for updating the link in the source code, we can use the locale-agnostic link as in Craig's comment:

https://docs.microsoft.com/xamarin/ios/internals/limitations

This locale-agnostic link redirects to the expected locale-specific version based on the user's environment.

@lambdageek lambdageek reopened this Mar 23, 2018
@marek-safar marek-safar removed the task label Apr 9, 2018
marek-safar added a commit to marek-safar/mono that referenced this issue Apr 9, 2018
jonpryor pushed a commit to dotnet/android that referenced this issue Oct 9, 2018
Bumps to mono/llvm:release_60@117a508c
Bumps to xamarin/xamarin-android-api-compatibility:master@7ccb4802

	$ git diff --shortstat e1af6ea..ab3c897d       # mono
        1443 files changed, 66049 insertions(+), 45745 deletions(-)
	$ git diff --shortstat bdb3a116..117a508c      # llvm
	 26794 files changed, 4110589 insertions(+), 754376 deletions(-)
	$ git diff --shortstat c550d1bd..7ccb4802      # xamarin-android-api-compatibility
	 2 files changed, 16260 insertions(+), 12347 deletions(-)

Incomplete summary of easily `grep`able fixes:

Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=11199
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=19436
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=23668
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=26983
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=33728
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=46917
fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=60065
Fixes: mono/mono#6173
Fixes: mono/mono#6466
Fixes: mono/mono#6647
Fixes: mono/mono#6834
Fixes: mono/mono#7058
Fixes: mono/mono#7137
Fixes: mono/mono#7260
Fixes: mono/mono#7305
Fixes: mono/mono#7402
Fixes: mono/mono#7525
Fixes: mono/mono#7610
Fixes: mono/mono#7649
Fixes: mono/mono#7655
Fixes: mono/mono#7683
Fixes: mono/mono#7685
Fixes: mono/mono#7716
Fixes: mono/mono#7731
Fixes: mono/mono#7785
Fixes: mono/mono#7828
Fixes: mono/mono#7944
Fixes: mono/mono#7947
Fixes: mono/mono#8036
Fixes: mono/mono#8074
Fixes: mono/mono#8089
Fixes: mono/mono#8112
Fixes: mono/mono#8122
Fixes: mono/mono#8143
Fixes: mono/mono#8149
Fixes: mono/mono#8152
Fixes: mono/mono#8175
Fixes: mono/mono#8177
Fixes: mono/mono#8250
Fixes: mono/mono#8267
Fixes: mono/mono#8273
Fixes: mono/mono#8282
Fixes: mono/mono#8310
Fixes: mono/mono#8311
Fixes: mono/mono#8329
Fixes: mono/mono#8340
Fixes: mono/mono#8372
Fixes: mono/mono#8407
Fixes: mono/mono#8409
Fixes: mono/mono#8422
Fixes: mono/mono#8430
Fixes: mono/mono#8439
fixes: mono/mono#8447
Fixes: mono/mono#8469
Fixes: mono/mono#8504
Fixes: mono/mono#8575
Fixes: mono/mono#8597
Fixes: mono/mono#8623
Fixes: mono/mono#8627
Fixes: mono/mono#8698
Fixes: mono/mono#8701
Fixes: mono/mono#8712
Fixes: mono/mono#8721
Fixes: mono/mono#8726
Fixes: mono/mono#8759
Fixes: mono/mono#8787
Fixes: mono/mono#8820
Fixes: mono/mono#8848
Fixes: mono/mono#8866
Fixes: mono/mono#8897
Fixes: mono/mono#8915
Fixes: mono/mono#8970
Fixes: mono/mono#8979
Fixes: mono/mono#9023
Fixes: mono/mono#9031
Fixes: mono/mono#9033
Fixes: mono/mono#9179
Fixes: mono/mono#9234
Fixes: mono/mono#9262
Fixes: mono/mono#9277
Fixes: mono/mono#9318
Fixes: mono/mono#9542
Fixes: mono/mono#9753
Fixes: mono/mono#9839
Fixes: mono/mono#9869
Fixes: mono/mono#9870
Fixes: mono/mono#9943
Fixes: mono/mono#9996
Fixes: mono/mono#10000
Fixes: mono/mono#10303
Fixes: mono/mono#10447
Fixes: mono/mono#10483
Fixes: mono/mono#10488
Fixes: xamarin/maccore#628
Fixes: xamarin/maccore#673
Fixes: #1561 (comment)
Fixes: #1845
Fixes: xamarin/xamarin-macios#4347
Fixes: xamarin/xamarin-macios#4617
Fixes: xamarin/xamarin-macios#4618
picenka21 pushed a commit to picenka21/runtime that referenced this issue Feb 18, 2022
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.

5 participants