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

[NET9] iOS Run Templates on NET9 are failing #24236

Closed
PureWeen opened this issue Aug 14, 2024 · 3 comments
Closed

[NET9] iOS Run Templates on NET9 are failing #24236

PureWeen opened this issue Aug 14, 2024 · 3 comments
Assignees
Labels
area-templates Project templates, Item Templates for Blazor and MAUI p/0 Work that we can't release without s/triaged Issue has been reviewed Task neither bug nor feature but something that needs to be done in support of either testing-green-ci
Milestone

Comments

@PureWeen
Copy link
Member

PureWeen commented Aug 14, 2024

Description

https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=10045227&view=ms.vss-test-web.build-test-results-tab

Reproduction

  • git clone maui
  • git checkout net9.0
  • dotnet cake --pack
  • dotnet cake --target=dotnet-local-workloads
  • Use the dotnet created at "./bin/dotnet/dotnet" to deploy the following application
    • "../bin/dotnet/dotnet build anet8test.csproj -t:run -f net8.0-ios"

anet8test.zip

Here's the crash I get

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x126e5cdb6):0x126e5cda6  ff ff c3 90 90 90 b8 48 01 00 02 49 89 ca 0f 05  .......H...I....
0x126e5cdb6  73 08 48 89 c7 e9 20 9a ff ff c3 90 90 90 b8 53  s.H... ........S
0x126e5cdc6  00 00 02 49 89 ca 0f 05 73 08 48 89 c7 e9 08 9a  ...I....s.H.....
0x126e5cdd6  ff ff c3 90 90 90 b8 83 01 00 02 49 89 ca 0f 05  ...........I....

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at <unknown> <0xffffffff>
	  at System.Object:__icall_wrapper_ves_icall_mono_delegate_ctor_interp <0xffffffff>
	  at System.Type:.cctor <0x0004a>
	  at System.Object:runtime_invoke_direct_void <0x00044>
	  at <unknown> <0x00000>
	  at <unknown> <0xffffffff>
	  at System.Runtime.CompilerServices.QCallTypeHandle:.ctor <0x00052>
	  at System.RuntimeTypeHandle:CanCastTo <0x00018>
	  at System.RuntimeType:IsAssignableFrom <0x0007a>
	  at System.Collections.Generic.EqualityComparer`1:CreateComparer <0x00064>
	  at System.Collections.Generic.EqualityComparer`1:get_Default <0x00030>
	  at System.Collections.Generic.Dictionary`2:.ctor <0x00106>
	  at System.Collections.Generic.Dictionary`2:.ctor <0x00018>
	  at ObjCRuntime.RegistrarHelper:Initialize <0x00060>
	  at <Module>:.cctor <0x00008>
	  at System.Object:runtime_invoke_direct_void <0x00044>
	  at <unknown> <0x00000>

@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label Aug 14, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@PureWeen PureWeen added this to the Backlog milestone Aug 14, 2024
@PureWeen PureWeen added the p/0 Work that we can't release without label Aug 15, 2024
@PureWeen PureWeen modified the milestones: Backlog, 9.0-rc1 Aug 15, 2024
@ivanpovazan ivanpovazan self-assigned this Aug 21, 2024
@ivanpovazan
Copy link
Member

This was fixed in xamarin/xamarin-macios#20952 and we should reenable the disabled tests once it flows in to MAUI

FWIW: The known workaround is to manually pass: /p:_IsDedupEnabled=false

@samhouts samhouts added the Task neither bug nor feature but something that needs to be done in support of either label Aug 23, 2024
@PureWeen PureWeen modified the milestones: 9.0-rc1, 9.0-rc2 Aug 27, 2024
@samhouts samhouts added the area-templates Project templates, Item Templates for Blazor and MAUI label Aug 29, 2024
@PureWeen PureWeen modified the milestones: 9.0-rc2, .NET 9.0 GA Sep 25, 2024
@PureWeen
Copy link
Member Author

#25674

@github-project-automation github-project-automation bot moved this from Todo to Done in MAUI SDK Ongoing Nov 27, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Dec 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-templates Project templates, Item Templates for Blazor and MAUI p/0 Work that we can't release without s/triaged Issue has been reviewed Task neither bug nor feature but something that needs to be done in support of either testing-green-ci
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants