Skip to content

Assert failure: !m_pMethodBeingCompiled->IsDynamicMethod() #99928

@BruceForstall

Description

@BruceForstall

runtime-coreclr libraries-jitstress-random

net9.0-windows-Release-arm64-jitstress_random_2-Windows.11.Arm64.Open

System.Text.Json.Tests Work Item

https://dev.azure.com/dnceng-public/public/_build/results?buildId=607035&view=ms.vss-test-web.build-test-results-tab

C:\h\w\B53F09DC\w\B377095E\e>set DOTNET 
DOTNET_JitStress=2c1
DOTNET_TieredCompilation=0

C:\h\w\B53F09DC\w\B377095E\e>call RunTests.cmd --runtime-path C:\h\w\B53F09DC\p 
========================= Begin custom configuration settings ==============================
set __IsXUnitLogCheckerSupported=1
========================== End custom configuration settings ===============================
----- start Mon 03/18/2024 17:34:21.52 ===============  To repro directly: =====================================================
pushd C:\h\w\B53F09DC\w\B377095E\e\
"C:\h\w\B53F09DC\p\dotnet.exe" exec --runtimeconfig System.Text.Json.Tests.runtimeconfig.json --depsfile System.Text.Json.Tests.deps.json xunit.console.dll System.Text.Json.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================

C:\h\w\B53F09DC\w\B377095E\e>"C:\h\w\B53F09DC\p\dotnet.exe" exec --runtimeconfig System.Text.Json.Tests.runtimeconfig.json --depsfile System.Text.Json.Tests.deps.json xunit.console.dll System.Text.Json.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: System.Text.Json.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Text.Json.Tests (found 7393 of 7461 test cases)
  Starting:    System.Text.Json.Tests (parallel test collections = on [2 threads], stop on fail = off)

Assert failure(PID 6564 [0x000019a4], Thread: 2940 [0x0b7c]): !m_pMethodBeingCompiled->IsDynamicMethod()

CORECLR! CEEInfo::getCallInfo + 0x81C (0x00007ffd`574c614c)
CLRJIT! Compiler::impImportBlockCode + 0x5CF4 (0x00007ffd`57048e8c)
CLRJIT! Compiler::impImportBlock + 0x180 (0x00007ffd`57041780)
CLRJIT! Compiler::impImport + 0x4F0 (0x00007ffd`57040bd0)
CLRJIT! Compiler::fgImport + 0x20 (0x00007ffd`56fedf80)
CLRJIT! CompilerPhaseWithStatus::DoPhase + 0x28 (0x00007ffd`56f74c38)
CLRJIT! Phase::Run + 0x8C (0x00007ffd`5713b00c)
CLRJIT! Compiler::compCompile + 0x254 (0x00007ffd`56f79354)
CLRJIT! Compiler::compCompileHelper + 0xB3C (0x00007ffd`56f7cd6c)
CLRJIT! Compiler::compCompile + 0x9E4 (0x00007ffd`56f7b994)
    File: D:\a\_work\1\s\src\coreclr\vm\jitinterface.cpp:5486
    Image: C:\h\w\B53F09DC\p\dotnet.exe

@dotnet/jit-contrib

Metadata

Metadata

Assignees

Labels

JitStressCLR JIT issues involving JIT internal stress modesarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runsos-windows

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions