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

[mono] Attempting to JIT compile method (wrapper dynamic-method) void object:WriteArrayOfintToXml #110148

Closed
kotlarmilos opened this issue Nov 25, 2024 · 2 comments
Labels
area-VM-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS
Milestone

Comments

@kotlarmilos
Copy link
Member

kotlarmilos commented Nov 25, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=876794&view=logs&j=07effcfd-c63d-5008-e811-03b29530f5cb&t=506b47fe-4551-54d6-41af-334dd2c09566
Build error leg or test failing: iOS.Simulator.XmlFormatWriterGeneratorAot.Test

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Attempting to JIT compile method '(wrapper dynamic-method) void object:WriteArrayOfintToXml",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Error log:

[11:20:09] dbug: Attempting to JIT compile method '(wrapper dynamic-method) void object:WriteArrayOfintToXml (System.Runtime.Serialization.XmlWriterDelegator,object,System.Runtime.Serialization.XmlObjectSerializerWriteContext,System.Runtime.Serialization.DataContracts.CollectionDataContract)' while running in aot-only mode. See https://learn.microsoft.com/xamarin/ios/internals/limitations for more information.
[11:20:09] dbug: (System.ExecutionEngineException)
[11:20:09] dbug: at System.Delegate.CreateDelegate(Type , Object , MethodInfo , Boolean , Boolean )
[11:20:09] dbug: at System.Delegate.CreateDelegate(Type , Object , MethodInfo , Boolean )
[11:20:09] dbug: at System.Delegate.CreateDelegate(Type , Object , MethodInfo )
[11:20:09] dbug: at System.Reflection.Emit.DynamicMethod.CreateDelegate(Type )
[11:20:09] dbug: at System.Runtime.Serialization.CodeGenerator.EndMethod()
[11:20:09] dbug: at System.Runtime.Serialization.XmlFormatWriterGenerator.CriticalHelper.GenerateCollectionWriter(CollectionDataContract )
[11:20:09] dbug: at System.Runtime.Serialization.XmlFormatWriterGenerator.GenerateCollectionWriter(CollectionDataContract )
[11:20:09] dbug: at System.Runtime.Serialization.DataContracts.CollectionDataContract.CreateXmlFormatWriterDelegate()
[11:20:09] dbug: at System.Runtime.Serialization.DataContracts.CollectionDataContract.get_XmlFormatWriterDelegate()
[11:20:09] dbug: at System.Runtime.Serialization.DataContracts.CollectionDataContract.WriteXmlValue(XmlWriterDelegator , Object , XmlObjectSerializerWriteContext )
[11:20:09] dbug: at System.Runtime.Serialization.XmlObjectSerializerWriteContext.WriteDataContractValue(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle declaredTypeHandle)
[11:20:09] dbug: at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeAndVerifyType(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, Boolean verifyKnownType, RuntimeTypeHandle declaredTypeHandle, Type declaredType)
[11:20:09] dbug: at System.Runtime.Serialization.XmlObjectSerializerWriteContext.SerializeWithXsiTypeAtTopLevel(DataContract dataContract, XmlWriterDelegator xmlWriter, Object obj, RuntimeTypeHandle originalDeclaredTypeHandle, Type graphType)
[11:20:09] dbug: at System.Runtime.Serialization.DataContractSerializer.InternalWriteObjectContent(XmlWriterDelegator , Object , DataContractResolver )
[11:20:09] dbug: at System.Runtime.Serialization.DataContractSerializer.InternalWriteObject(XmlWriterDelegator , Object , DataContractResolver )
[11:20:09] dbug: at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator , Object , DataContractResolver )
[11:20:09] dbug: at System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator , Object )
[11:20:09] dbug: at System.Runtime.Serialization.DataContractSerializer.WriteObject(XmlWriter , Object )

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=876794
Error message validated: [Attempting to JIT compile method '(wrapper dynamic-method) void object:WriteArrayOfintToXml]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 11/25/2024 12:12:48 PM UTC

@kotlarmilos kotlarmilos added area-VM-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS labels Nov 25, 2024
@kotlarmilos kotlarmilos added this to the 10.0.0 milestone Nov 25, 2024
Copy link
Contributor

Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

@ivanpovazan
Copy link
Member

This seems a duplicate of: #104431

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-VM-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS
Projects
None yet
Development

No branches or pull requests

2 participants