Skip to content

AccessViolationException on LibraryImportGenerator unit test on release coreclr osx x64 Debug #104415

Closed
@buyaa-n

Description

@buyaa-n

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=729955
Build error leg or test failing: LibraryImportGenerator.Unit.Tests.WorkItemExecution
Pull request: #104332
CI leg: release coreclr osx x64 Debug

Error Message

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

{
  "ErrorMessage": ["LibraryImportGenerator", "Attempted to read or write protected memory. This is often an indication that other memory is corrupt"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Log: https://helix.dot.net/api/2019-06-17/jobs/158bfab4-82ef-4007-b2bd-861d43c4cfda/workitems/LibraryImportGenerator.Unit.Tests/console

Starting:    LibraryImportGenerator.Unit.Tests (parallel test collections = on [12 threads], stop on fail = off)
Fatal error. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Microsoft.CodeAnalysis.CommonReferenceManager`2[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ReuseAssemblySymbolsWithNoPiaLocalTypes(BoundInputAssembly<System.__Canon,System.__Canon>[], System.__Canon[], System.Collections.Immutable.ImmutableArray`1<AssemblyData<System.__Canon,System.__Canon>>, Int32)
   at Microsoft.CodeAnalysis.CommonReferenceManager`2[[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].Bind(System.Collections.Immutable.ImmutableArray`1<AssemblyData<System.__Canon,System.__Canon>>, System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.PEModule>, System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.MetadataReference>, System.Collections.Immutable.ImmutableArray`1<ResolvedReference<System.__Canon,System.__Canon>>, Microsoft.CodeAnalysis.MetadataReferenceResolver, Microsoft.CodeAnalysis.MetadataImportOptions, Boolean, System.Collections.Generic.Dictionary`2<System.String,System.Collections.Generic.List`1<ReferencedAssemblyIdentity<System.__Canon,System.__Canon>>>, System.Collections.Immutable.ImmutableArray`1<AssemblyData<System.__Canon,System.__Canon>> ByRef, System.Collections.Immutable.ImmutableArray`1<Microsoft.CodeAnalysis.MetadataReference> ByRef, System.Collections.Immutable.ImmutableArray`1<ResolvedReference<System.__Canon,System.__Canon>> ByRef, System.Collections.Immutable.ImmutableDictionary`2<Microsoft.CodeAnalysis.AssemblyIdentity,Microsoft.CodeAnalysis.PortableExecutableReference> ByRef, Microsoft.CodeAnalysis.DiagnosticBag, Boolean ByRef, Int32 ByRef)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=729955
Error message validated: [LibraryImportGenerator Attempted to read or write protected memory. This is often an indication that other memory is corrupt]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/4/2024 4:59:19 AM UTC

Report

Build Definition Step Name Console log Pull Request
749371 dotnet/runtime Build product Log #105198
748999 dotnet/runtime Build product Log #105162
749000 dotnet/runtime Build Log #105162
748914 dotnet/runtime Build product Log #105162
748705 dotnet/runtime Build product Log #105162
748706 dotnet/runtime Build Log #105162
748651 dotnet/runtime Build Log #105162
748217 dotnet/runtime Build product Log #105162
748218 dotnet/runtime Build Log #105162
731047 dotnet/runtime Build product Log #104454
Build Definition Test Pull Request
729955 dotnet/runtime LibraryImportGenerator.Unit.Tests.WorkItemExecution #104332

Summary

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-VM-coreclrblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions