Skip to content

[wasm][coreclr] ASSERT FAILED Expression: slotNumber >= GetNumVirtuals() || pMDRet == m_pDeclMT->GetMethodDescForSlot_NoThrow(slotNumber) #124222

Closed

Description

@radekdoulik
13:49:12.084 Running test: global::Test_moduleHandleCache_cs.Repro.TestEntryPoint()
A really long string to get us past the limits of Lib1.dll's string blob
ASSERT FAILED
	Expression: slotNumber >= GetNumVirtuals() || pMDRet == m_pDeclMT->GetMethodDescForSlot_NoThrow(slotNumber)
	Location:   /Users/rodo/git/runtime-rt/src/coreclr/vm/methodtable.cpp:6957
	Function:   GetImplMethodDesc
	Process:    42
Frame (InterpreterFrame): 0x4fd08c
   0) System.Reflection.Internal.ObjectPool`1[__Canon]::Allocate, IR_009b
   1) System.Reflection.Internal.PooledStringBuilder::GetInstance, IR_0013
   2) System.Reflection.Metadata.Ecma335.BlobHeap::GetDocumentName, IR_0042
   3) System.Reflection.Metadata.MetadataReader::GetString, IR_0013
   4) System.Diagnostics.StackTraceSymbols::GetSourceLineInfo, IR_01be
   5) System.Diagnostics.StackFrameHelper::GetSourceLineInfo, IR_0037
   6) System.Diagnostics.StackFrameHelper::InitializeSourceInfo, IR_0177
   7) System.Diagnostics.StackTrace::CaptureStackTrace, IR_0026
   8) System.Diagnostics.StackTrace::InitializeForException, IR_0017
   9) System.Diagnostics.StackTrace::.ctor, IR_0028
  10) System.Exception::GetStackTrace, IR_0012
  11) System.Exception::get_StackTrace, IR_0062
  12) System.Exception::ToString, IR_0050
  13) System.IO.TextWriter::WriteLine, IR_005c
  14) System.Console::WriteLine, IR_000f
  15) Test_moduleHandleCache_cs.Repro::TestEntryPoint, IR_001f
Frame (InterpreterFrame): 0x4feaec
  16) Test_moduleHandleCache_cs.Repro::Caller, IR_0029
  17) Test_moduleHandleCache_cs.Repro::TestEntryPoint, IR_000e
  18) Program::<<Main>$>g__TestExecutor9|2_10, IR_0062
  19) Program::<Main>$, IR_016a

Activity

  1. added this to the Future milestone on Feb 10, 2026
  2. dotnet-policy-service commented on Feb 10, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara
    See info in area-owners.md if you want to be subscribed.

  3. dotnet-policy-service commented on Feb 10, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @agocke
    See info in area-owners.md if you want to be subscribed.

  4. added 2 commits that reference this issue on Mar 5, 2026
    7edc611
    f763ac6
  5. added a commit that references this issue on Mar 11, 2026
    f827a66
  6. added a commit that references this issue on Mar 13, 2026
    e652b3c
  7. locked and limited conversation to collaborators on Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-wasmarea-VM-coreclr

    Type

    No type

    Projects

    • Status
      No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions