Skip to content

Assertion failed '!"Unexpected well known arg to method GDV candidate" #123653

Closed

Description

@AndyAyersMS

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1266373&view=ms.vss-test-web.build-test-results-tab&runId=35337768&resultId=209882&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

windows x64 fullpgo method profiling

set DOTNET_TieredCompilation=1
set DOTNET_ReadyToRun=0
set DOTNET_TC_QuickJitForLoops=1
set DOTNET_TieredPGO=1
set DOTNET_JitDelegateProfiling=1
set DOTNET_JitVTableProfiling=1

  Discovering: System.Text.Json.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Text.Json.Tests (found 10198 of 10271 test cases)
  Starting:    System.Text.Json.Tests (parallel test collections = on [4 threads], stop on fail = off)

Assert failure(PID 44644 [0x0000ae64], Thread: 22492 [0x57dc]): Assertion failed '!"Unexpected well known arg to method GDV candidate"' in 'JsonSerializerApiValidation:<SerializeNullException>b__9_1():this' during 'Importation' (IL size 25; hash 0xed53ad00; Tier1)

    File: D:\a\_work\1\s\src\coreclr\jit\importercalls.cpp:7446
    Image: C:\h\w\AB6F09F9\p\dotnet.exe

Activity

  1. added
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Jan 27, 2026
  2. dotnet-policy-service commented on Jan 27, 2026

    @dotnet-policy-service
    Contributor

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

  3. AndyAyersMS commented on Jan 27, 2026

    @AndyAyersMS
    MemberAuthor

    Also several failures in net11.0-windows-Release-x64-fullpgo_random_gdv_methodprofiling_only-Windows.10.Amd64.Open

    DOTNET_JitClassProfiling=0
    DOTNET_JitDelegateProfiling=1
    DOTNET_JitRandomGuardedDevirtualization=1
    DOTNET_JitRandomlyCollect64BitCounts=1
    DOTNET_JitVTableProfiling=1
    DOTNET_ReadyToRun=0
    DOTNET_TC_QuickJitForLoops=1
    DOTNET_TieredCompilation=1
    DOTNET_TieredPGO=1
    
      Discovering: System.IO.Compression.Brotli.Tests (method display = ClassAndMethod, method display options = None)
      Discovered:  System.IO.Compression.Brotli.Tests (found 109 of 120 test cases)
      Starting:    System.IO.Compression.Brotli.Tests (parallel test collections = on [4 threads], stop on fail = off)
    
    Assert failure(PID 16680 [0x00004128], Thread: 14112 [0x3720]): Assertion failed '!"Unexpected well known arg to method GDV candidate"' in 'System.IO.Compression.CompressionStreamUnitTestBase:RoundTripWithZLibCompressionOptions(System.String,System.IO.Compression.ZLibCompressionOptions):this' during 'Importation' (IL size 176; hash 0x03f009b8; Tier1-OSR)
    
        File: D:\a\_work\1\s\src\coreclr\jit\importercalls.cpp:7446
    

    Maybe related to #123434? -- fyi @hez2010

  4. hez2010 commented on Jan 27, 2026

    @hez2010
  5. hez2010 commented on Jan 27, 2026

    @hez2010
    Contributor

    I just took a deeper look. The well-known arg here is AsyncContinuation.
    We are trying to GDV an async call System.IO.Stream:DisposeAsync.

    I believe it's related to #123448 as it enabled runtime async for all library tests.

    cc @jakobbotsch

  6. removed
    untriagedNew issue has not been triaged by the area owner
    on Jan 27, 2026
  7. jakobbotsch commented on Jan 27, 2026

    @jakobbotsch
    Member

    Thanks for looking @hez2010! This is just missing a switch case I think.

  8. added a commit that references this issue on Jan 28, 2026
    61d3943
  9. locked and limited conversation to collaborators on Feb 28, 2026
  10. added a commit that references this issue on Mar 2, 2026
    686ff76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions