-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Build failed in Release with exit code 139 #26369
Comments
I can repro this issue at Android platform on the latest 17.13 Preview 1(9.0.0 & 9.0.10). |
Added a binlog msbuild.zip |
@jonathanpeppers @rolfbjarne thoughts? |
@mattleibow do you still have But we can probably pass this to dotnet/runtime for them to take a look. |
After inspecting the IL, we think the Xaml compiler is doing something incorrect for a nullable Moving back to MAUI. |
We've found some similar issues:
If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.
|
IL generated by XAML
IL generated by C#
|
IL generated by XAMLC after the change
|
Description
If XAML contains code that sets a property of the
GridLength?
type, the release build is failed.Error: Microsoft.Android.Sdk.Aot.targets(110,5): error : Precompiling failed for DXMauiApp.dll with exit code 139.
*iOS:
Error: Xamarin.Shared.Sdk.targets(1279,3): error : Failed to AOT compile DXMauiApp.dll, the AOT compiler exited with code 139.
Steps to Reproduce
Expected outcome: build successful
Actual outcome: error with exit code 139.
Link to public reproduction project repository
https://github.com/AlexanderEgorov/dotnet-maui-bug-build-release
Version with bug
9.0.10 SR1
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: