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

AV in LibraryImport tests #93155

Closed
stephentoub opened this issue Oct 6, 2023 · 2 comments · Fixed by #93432
Closed

AV in LibraryImport tests #93155

stephentoub opened this issue Oct 6, 2023 · 2 comments · Fixed by #93432

Comments

@stephentoub
Copy link
Member

stephentoub commented Oct 6, 2023

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=430060
Build error leg or test failing: LibraryImportGenerator.Tests.WorkItemExecution
Pull request: #93125

Error Message

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

{
  "ErrorMessage": "'LibraryImportGenerator.Tests' END OF WORK ITEM LOG: Command exited with -1073741819",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
  Discovering: LibraryImportGenerator.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  LibraryImportGenerator.Tests (found 126 test cases)
  Starting:    LibraryImportGenerator.Tests (parallel test collections = on, max threads = 2)
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at LibraryImportGenerator.IntegrationTests.NativeExportsNE+MarshallingFails.FillRangeArray2D(SharedTypes.IntStructWrapper[][], Int32, Int32[], Int32)
   at LibraryImportGenerator.IntegrationTests.CollectionMarshallingFails+<>c__DisplayClass8_0.<MultiDimensionalOutAttributedArray_EnsureAllCleaned>b__0()
   at Xunit.Assert.RecordException(System.Func`1<System.Object>)
   at Xunit.Assert.Throws[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Func`1<System.Object>)
   at LibraryImportGenerator.IntegrationTests.CollectionMarshallingFails.MultiDimensionalOutAttributedArray_EnsureAllCleaned()

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=430060
Error message validated: 'LibraryImportGenerator.Tests' END OF WORK ITEM LOG: Command exited with -1073741819
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/7/2023 4:20:08 AM UTC

Report

Build Definition Test Pull Request
464917 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #94563
459871 dotnet/runtime LibraryImportGenerator.Tests.WorkItemExecution #94361

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 2 2
@stephentoub stephentoub added 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 labels Oct 6, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Oct 6, 2023
@ghost
Copy link

ghost commented Oct 6, 2023

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Issue Details

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=430060
Build error leg or test failing: LibraryImportGenerator.Tests.WorkItemExecution
Pull request: #93125

Error Message

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

{
  "ErrorMessage": "LibraryImportGenerator.Tests.WorkItemExecution",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
  Discovering: LibraryImportGenerator.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  LibraryImportGenerator.Tests (found 126 test cases)
  Starting:    LibraryImportGenerator.Tests (parallel test collections = on, max threads = 2)
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at LibraryImportGenerator.IntegrationTests.NativeExportsNE+MarshallingFails.FillRangeArray2D(SharedTypes.IntStructWrapper[][], Int32, Int32[], Int32)
   at LibraryImportGenerator.IntegrationTests.CollectionMarshallingFails+<>c__DisplayClass8_0.<MultiDimensionalOutAttributedArray_EnsureAllCleaned>b__0()
   at Xunit.Assert.RecordException(System.Func`1<System.Object>)
   at Xunit.Assert.Throws[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.Func`1<System.Object>)
   at LibraryImportGenerator.IntegrationTests.CollectionMarshallingFails.MultiDimensionalOutAttributedArray_EnsureAllCleaned()
Author: stephentoub
Assignees: -
Labels:

area-System.Runtime.InteropServices, blocking-clean-ci, Known Build Error

Milestone: -

@jkotas
Copy link
Member

jkotas commented Oct 7, 2023

@jtschuster Could you please take a look? This test was introduced by #88060.

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Oct 13, 2023
@ghost ghost removed in-pr There is an active PR which will close this issue when it is merged untriaged New issue has not been triaged by the area owner labels Nov 10, 2023
@akoeplinger akoeplinger removed 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 labels Nov 24, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Dec 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants