Repository navigation
Closed
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 runs
Description
libraries-jitstress test failure
System.Text.RegularExpressions.Tests Work Item
seemingly every platform
----- start Wed 03/27/2024 7:21:47.72 =============== To repro directly: =====================================================
pushd C:\h\w\A5880934\w\9C2708EB\e\
"C:\h\w\A5880934\p\dotnet.exe" exec --runtimeconfig System.Text.RegularExpressions.Tests.runtimeconfig.json --depsfile System.Text.RegularExpressions.Tests.deps.json xunit.console.dll System.Text.RegularExpressions.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
popd
===========================================================================================================
C:\h\w\A5880934\w\9C2708EB\e>"C:\h\w\A5880934\p\dotnet.exe" exec --runtimeconfig System.Text.RegularExpressions.Tests.runtimeconfig.json --depsfile System.Text.RegularExpressions.Tests.deps.json xunit.console.dll System.Text.RegularExpressions.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing
Discovering: System.Text.RegularExpressions.Tests (method display = ClassAndMethod, method display options = None)
Discovered: System.Text.RegularExpressions.Tests (found 327 of 358 test cases)
Starting: System.Text.RegularExpressions.Tests (parallel test collections = on [4 threads], stop on fail = off)
System.Text.RegularExpressions.Tests.RegexCompileToAssemblyTests.CompileToAssembly_SimpleUseInDebug [SKIP]
Condition(s) not met: "IsDebugAndRemoteExecutorSupported"
Assert failure(PID 7060 [0x00001b94], Thread: 904 [0x0388]): Assertion failed 'change >= 0' in 'System.Text.RegularExpressions.CompiledRegexRunner:Regex5982_TryMatchAtCurrentPosition(System.Text.RegularExpressions.RegexRunner,System.ReadOnlySpan`1[ushort]):ubyte' during 'Profile incorporation' (IL size 77119; hash 0x346865ee; Tier0-MinOpts)
File: D:\a\_work\1\s\src\coreclr\jit\fgprofilesynthesis.cpp:1267
Image: C:\h\w\A5880934\p\dotnet.exe
----- end Wed 03/27/2024 7:29:52.87 ----- exit code -1073740286 ----------------------------------------------------------
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 runs
Activity
dotnet-policy-service commentedon Mar 27, 2024
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
AndyAyersMS commentedon Mar 28, 2024
The old regex IL could produce some pretty messy flow. I think this is exposing lack of a cyclic cap for the irreducible (improper) loop cases:
Seems like any realistic flow we'll see should have counts that top out at 10^12 or so, so perhaps I'll just stop if we see something that large.
AndyAyersMS commentedon Mar 28, 2024
Another option would be (assuming we were in repair mode) switch to blend, perhaps a hard blend, and then retry ... worth considering if we value consistency over accuracy.
AndyAyersMS commentedon Mar 28, 2024
FYI this was triggered by stress putting in random profile data, which was wildly inconsistent, and triggered a repair. Normally we would not see profile data like this in a Tier0 method.
JIT: fix count reconstruction problem
JIT: fix count reconstruction problem (#100385)
JIT: fix count reconstruction problem (dotnet#100385)
JIT: fix count reconstruction problem (dotnet#100385)