dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.98k stars 1.72k forks source link

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

Open PureWeen opened 4 weeks ago

PureWeen commented 4 weeks ago

Description

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

Reproduction

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>
github-actions[bot] commented 4 weeks ago

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.

ivanpovazan commented 3 weeks ago

This was fixed in https://github.com/xamarin/xamarin-macios/pull/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