Skip to content

Libraries test fails with "Method has zero rva" error #108641

@buyaa-n

Description

@buyaa-n

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=830089
Build error leg or test failing: System.Tests.EnvironmentTests.CurrentDirectory_SetToValidOtherDirectory
Pull request: #108032

Error Message

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

{
  "ErrorMessage": "System.BadImageFormatException : Method has zero rva",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

From Log:

System.Tests.EnvironmentTests.CurrentDirectory_SetToValidOtherDirectory [FAIL]
      System.BadImageFormatException : Method has zero rva
      Stack Trace:
        /_/src/libraries/Common/src/System/Runtime/Serialization/SerializationGuard.cs(20,0): at System.Runtime.Serialization.SerializationGuard.ThrowIfDeserializationInProgress(String switchSuffix, Int32& cachedValue)
        /_/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs(1282,0): at System.Diagnostics.Process.Start()
        /_/src/libraries/System.Diagnostics.Process/src/System/Diagnostics/Process.cs(1352,0): at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs(470,0): at Microsoft.DotNet.RemoteExecutor.RemoteExecutor.Invoke(MethodInfo method, String[] args, RemoteInvokeOptions options, Boolean pasteArguments)
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteExecutor.cs(118,0): at Microsoft.DotNet.RemoteExecutor.RemoteExecutor.Invoke(Action method, RemoteInvokeOptions options)
        /_/src/libraries/System.Runtime/tests/System.Runtime.Extensions.Tests/System/EnvironmentTests.cs(42,0): at System.Tests.EnvironmentTests.CurrentDirectory_SetToValidOtherDirectory()
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs(22,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=830089
Error message validated: [System.BadImageFormatException : Method has zero rva]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 10/8/2024 2:44:13 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

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions