Skip to content

Test failure: baseservices/callconvs/TestCallingConventions/TestCallingConventions.cmd (AV in NativeLibrary.LoadByName under gcstress0x3) #129541

Description

@JulieLeeMSFT

Summary:
baseservices/callconvs/TestCallingConventions crashes with a native access violation (0xC0000005) in NativeLibrary.g____PInvoke during Program.BlittableFunctionPointers(), under gcstress0x3.

Build Information:

Error Message:

Fatal error.

0xC0000005

   at System.Runtime.InteropServices.NativeLibrary.<LoadByName>g____PInvoke|1_0(UInt16*, System.Runtime.CompilerServices.QCallAssembly, Int32, UInt32, Int32)

   at Program.BlittableFunctionPointers()

Affected test legs:

runtime-coreclr gcstress0x3-gcstress0xc
- coreclr windows x64 Checked gcstress0x3 @ Windows.10.Amd64.Open
    - baseservices/callconvs/TestCallingConventions/TestCallingConventions.cmd
- coreclr windows x64 Checked gcstress0xc @ Windows.10.Amd64.Open
    - baseservices/callconvs/TestCallingConventions/TestCallingConventions.cmd

Console log: Console Log

Source: runtime-coreclr gcstress0x3-gcstress0xc / coreclr windows x64 Checked gcstress0x3 @ Windows.10.Amd64.Open / baseservices/callconvs/TestCallingConventions/TestCallingConventions.cmd

Analysis:
A native access violation (0xC0000005) occurs in the NativeLibrary. P/Invoke stub while running the blittable function-pointer calling-convention test under GC stress (gcstress0x3). The process faults in NativeLibrary.g____PInvoke|1_0 during Program.BlittableFunctionPointers().

Milestone: 11.0.0

Note

This issue was generated with assistance from GitHub Copilot (AI).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions