Repository navigation
Assertion failed 'refPosition->RegOptional()' #84747
Copy link
Copy link
Closed
Labels
JitStressCLR JIT issues involving JIT internal stress modesCLR JIT issues involving JIT internal stress modesarch-arm64area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runs
Milestone
Description
arm64 JitStress=2 JitStressRegs=8
export DOTNET_TieredCompilation=0
export DOTNET_JitStress=2
export DOTNET_JitStressRegs=8
08:31:13.646 Running test: _AdvSimd_ro::JIT.HardwareIntrinsics.Arm._AdvSimd.Program.VectorLookupExtension_4_Byte()
Beginning scenario: RunBasicScenario_UnsafeRead
Beginning scenario: RunReflectionScenario_UnsafeRead
Beginning scenario: RunClsVarScenario
Assert failure(PID 23 [0x00000017], Thread: 23 [0x0017]): Assertion failed 'refPosition->RegOptional()' in 'JIT.HardwareIntrinsics.Arm._AdvSimd.VectorLookupExtension_4Test__VectorTableLookupExtensionByte:RunLclVarScenario_UnsafeRead():this' during 'LSRA build intervals' (IL size 183; hash 0xb48fe709; FullOpts)
File: /__w/1/s/src/coreclr/jit/lsra.cpp Line: 12369
Image: /root/helix/work/correlation/corerun
[createdump] Gathering state for process 23 corerun
[createdump] Crashing thread 0017 signal 6 (0006)
apply_reg_state: ip and cfa unchanged; stopping here (ip=0xffeacda45230)
apply_reg_state: ip and cfa unchanged; stopping here (ip=0xffeacda45230)
apply_reg_state: ip and cfa unchanged; stopping here (ip=0xffeacda3a414)
[createdump] Writing crash report to file /home/helixbot/dotnetbuild/dumps/coredump.23.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.23.dmp
[createdump] Written 279306240 bytes (68190 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 594ms
[createdump] waitpid() returned successfully (wstatus 00000000)
App Exit Code: 22
Expected: 100
Actual: 22
END EXECUTION - FAILED
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
JitStressCLR JIT issues involving JIT internal stress modesCLR JIT issues involving JIT internal stress modesarch-arm64area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIblocking-clean-ci-optionalBlocking optional rolling runsBlocking optional rolling runs
Activity
kunalspathak commentedon Apr 13, 2023
This is an instance where we are not left with any candidates to assign to the definition of
tbxbecause all the registers (10 of them) are busy at the previous location and are marked asdelayFree.I think I will just extend my handling in #84588 to include the
RefTypeDefas well.Introduce isLiveAtConsecutiveRegistersLoc and fix dotnet#84747
Various fixes for consecutive registers found with jitstressregs (#84824