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

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

Closed
matouskozak opened this issue Apr 22, 2024 · 3 comments
Closed

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

matouskozak opened this issue Apr 22, 2024 · 3 comments
Labels
area-System.Text.Json blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-android
Milestone

Comments

@matouskozak
Copy link
Member

matouskozak commented Apr 22, 2024

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
@matouskozak matouskozak added os-android untriaged New issue has not been triaged by the area owner Known Build Error Use this to report build issues in the .NET Helix tab labels Apr 22, 2024
@matouskozak matouskozak added this to the 9.0.0 milestone Apr 22, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Apr 22, 2024
Copy link
Contributor

Tagging subscribers to 'arch-android': @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis
See info in area-owners.md if you want to be subscribed.

@matouskozak matouskozak added the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Apr 22, 2024
@matouskozak
Copy link
Member Author

fixed by #101498

@github-actions github-actions bot locked and limited conversation to collaborators May 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Text.Json blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-android
Projects
None yet
Development

No branches or pull requests

1 participant