Skip to content

[android] System.Buffers.ArrayBufferWriter running out-of-memory #101368

Closed
@matouskozak

Description

@matouskozak

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=649141
Build error leg or test failing: System.Text.Json.Tests

Failing job: android-arm Release AllSubsets_Mono from runtime-extra-platforms

Error Message

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

{
  "ErrorMessage": "Exception messages: System.OutOfMemoryException : Insufficient memory to continue the execution of the program.   Exception stack traces:    at System.Buffers.ArrayBufferWriter",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Stack trace (from adb-logcat-net.dot.System.Text.Json.Tests-net.dot.MonoRunner.log file):

04-19 03:15:33.818  6081 21360 I DOTNET  : Failed tests:
04-19 03:15:33.819  6081 21360 I DOTNET  : 1) 	[FAIL] System.Text.Json.Tests.Utf8JsonWriterTests.WritingTooDeepProperty   Test name: System.Text.Json.Tests.Utf8JsonWriterTests.WritingTooDeepProperty(options: System.Text.Json.JsonWriterOptions)   Test case: System.Text.Json.Tests.Utf8JsonWriterTests.WritingTooDeepProperty
04-19 03:15:33.819  6081 21360 I DOTNET  :    Assembly:  [System.Text.Json.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
04-19 03:15:33.819  6081 21360 I DOTNET  :    Exception messages: System.OutOfMemoryException : Insufficient memory to continue the execution of the program.   Exception stack traces:    at System.Buffers.ArrayBufferWriter`1[[System.Byte, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]..ctor(Int32 initialCapacity)
04-19 03:15:33.819  6081 21360 I DOTNET  :    at System.Text.Json.Tests.Utf8JsonWriterTests.WritingTooDeepProperty(JsonWriterOptions options) in /_/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Utf8JsonWriterTests.cs:line 2778
04-19 03:15:33.819  6081 21360 I DOTNET  :    at System.Object.InvokeStub_Utf8JsonWriterTests.WritingTooDeepProperty(Object , Span`1 )
04-19 03:15:33.819  6081 21360 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
04-19 03:15:33.819  6081 21360 I DOTNET  :    Execution time: 0.065967
04-19 03:15:33.819  6081 21360 I DOTNET  : 2) 	[FAIL] System.Text.Json.Tests.Utf8JsonWriterTests.WritingTooDeepProperty   Test name: System.Text.Json.Tests.Utf8JsonWriterTests.WritingTooDeepProperty(options: System.Text.Json.JsonWriterOptions)   Test case: System.Text.Json.Tests.Utf8JsonWriterTests.WritingTooDeepProperty
04-19 03:15:33.819  6081 21360 I DOTNET  :    Assembly:  [System.Text.Json.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
04-19 03:15:33.819  6081 21360 I DOTNET  :    Exception messages: System.OutOfMemoryException : Insufficient memory to continue the execution of the program.   Exception stack traces:    at System.Buffers.ArrayBufferWriter`1[[System.Byte, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]..ctor(Int32 initialCapacity)
04-19 03:15:33.819  6081 21360 I DOTNET  :    at System.Text.Json.Tests.Utf8JsonWriterTests.WritingTooDeepProperty(JsonWriterOptions options) in /_/src/libraries/System.Text.Json/tests/System.Text.Json.Tests/Utf8JsonWriterTests.cs:line 2766
04-19 03:15:33.819  6081 21360 I DOTNET  :    at System.Object.InvokeStub_Utf8JsonWriterTests.WritingTooDeepProperty(Object , Span`1 )
04-19 03:15:33.819  6081 21360 I DOTNET  :    at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
04-19 03:15:33.819  6081 21360 I DOTNET  :    Execution time: 0.0002807

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=649141
Error message validated: [Exception messages: System.OutOfMemoryException : Insufficient memory to continue the execution of the program. Exception stack traces: at System.Buffers.ArrayBufferWriter]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 4/22/2024 8:13:54 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions