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

Failed to AOT compile Microsoft.Graph.dll, the AOT compiler exited with code 134 #87061

Closed
rolfbjarne opened this issue Jun 2, 2023 · 4 comments

Comments

@rolfbjarne
Copy link
Member

Description

The AOT compiler asserts:

  • Assertion at /Users/runner/work/1/s/src/mono/mono/mini/aot-compiler.c:11219, condition `table_size < 65000' not met

which is from around here:

https://github.com/dotnet/runtime/blob/release/7.0/src/mono/mono/mini/aot-compiler.c#L11219

Reproduction Steps

Steps to Reproduce

  1. Clone https://github.com/microsoftgraph/msgraph-sample-maui
  2. Remove bundle resource 'appSettings.Development.json' from project
  3. Run dotnet publish -c Release -f net7.0-ios16.1 -r ios-arm64
  4. Wait ~1 hour because of Build in Release mode never ending microsoftgraph/msgraph-sample-maui#68

Expected Behavior

App is published.

Actual Behavior

/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.2.1024/targets/Xamarin.Shared.Sdk.targets(1011,3): Failed to AOT compile Microsoft.Graph.dll, the AOT compiler exited with code 134

Expected behavior

No crash.

Actual behavior

See above

Regression?

No response

Known Workarounds

No response

Configuration

## Environmenet

  • dotnet 7.0.100
  • Microsoft.iOS.Sdk 16.2.1024

Build Logs

msbuild_(6).zip

Example Project

https://github.com/microsoftgraph/msgraph-sample-maui

Other information

This was filed here: xamarin/xamarin-macios#18388

@radical
Copy link
Member

radical commented Jun 2, 2023

Duplicate of #85917 . It was fixed on main by #85952 .

@NickDarvey
Copy link

@radical, do you think there's any chance of a backport to dotnet 7?

@radical
Copy link
Member

radical commented Jun 3, 2023

@radical, do you think there's any chance of a backport to dotnet 7?

Cc @vargaz @lewing

@marek-safar marek-safar added this to the 8.0.0 milestone Jul 21, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Jul 21, 2023
@marek-safar marek-safar removed the untriaged New issue has not been triaged by the area owner label Jul 21, 2023
@marek-safar
Copy link
Contributor

duplicate, closing

@ghost ghost locked as resolved and limited conversation to collaborators Aug 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants