You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Assertion failed: '!emitComp->opts.compReloc || memBase->IsIconHandle() || memBase->IsIntegralConst(0)' in 'nullsdarr:f()' during 'Linear scan register alloc' #32466
Stack Trace: at JIT_Directed._coverage_importer_nullsdarr_nullsdarr_._coverage_importer_nullsdarr_nullsdarr_cmd() in F:\workspace\_work\1\s\artifacts\tests\coreclr\Windows_NT.x86.Checked\TestWrappers\JIT.Directed\JIT.Directed.XUnitWrapper.cs:line 13914
Error Message: \r\nAssert failure(PID 2032 [0x000007f0], Thread: 4532 [0x11b4]): Assertion failed '!emitComp->opts.compReloc || memBase->IsIconHandle() || memBase->IsIntegralConst(0)' in 'nullsdarr:f()' during 'Linear scan register alloc' (IL size 9)\r\n\r\n File: F:\workspace\_work\1\s\src\coreclr\src\jit\emitxarch.cpp Line: 2838\r\n Image: C:\h\w\A9590957\p\crossgen.exe\r\n\r\n\r\nReturn code: 1\r\nRaw output file: C:\h\w\A9590957\w\A8870974\e\JIT\Directed\Reports\JIT.Directed\coverage\importer\nullsdarr\nullsdarr.output.txt\r\nRaw output:\r\nBEGIN EXECUTION\r\n 1 file(s) copied.\r\n" "C:\h\w\A9590957\p\crossgen.exe" /Platform_Assemblies_Paths C:\h\w\A9590957\p;C:\h\w\A9590957\w\A8870974\e\JIT\Directed\coverage\importer\nullsdarr /in C:\h\w\A9590957\w\A8870974\e\JIT\Directed\coverage\importer\nullsdarr\nullsdarr.org /out C:\h\w\A9590957\w\A8870974\e\JIT\Directed\coverage\importer\nullsdarr\\nullsdarr.dll"\r\nMicrosoft (R) CoreCLR Native Image Generator - Version 4.5.30319.0\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\nCrossgen failed with exitcode - -1073740286\r\nTest Harness Exitcode is : 1\r\nTo run the test:\r\n> set CORE_ROOT=C:\h\w\A9590957\p\r\n> C:\h\w\A9590957\w\A8870974\e\JIT\Directed\coverage\importer\nullsdarr\nullsdarr.cmd\r\nExpected: True\r\nActual: False
// It is not the best place to do such simple arithmetic optimizations,
// but it allows us to avoid `LEA(addr, 0)` nodes and doing that in morph
// requires more changes. Delete that part if we get an expression optimizer.
if (op2->IsIntegralConst(0))
{
JITDUMP("Lower: optimize val + 0: ");
Activity
BruceForstall commentedon Feb 18, 2020
@dotnet/jit-contrib
BruceForstall commentedon Feb 20, 2020
@briansull Can you please look at this?
briansull commentedon Feb 20, 2020
I will take a look
v-haren commentedon Feb 24, 2020
failed again in job:
runtime-coreclr r2r
BruceForstall commentedon Feb 24, 2020
From @jaredpar originally in #32497
These assertions are causing the coreclr outerloop builds to fail at the moment. Looks to be 100% failure rate.
Failing tests are
JIT\\Directed\\coverage\\importer\\Desktop\\nullsdarr_il_d\\nullsdarr_il_d.cmdJIT\\Directed\\coverage\\importer\\nullsdarr\\nullsdarr.cmdBuilds
Configurations
Helix Logs
briansull commentedon Feb 25, 2020
Only occurs on x86 checked (or debug) with ReadyToRun codegen.
The assertion fires when readyToRun crossgen is used on the test case:
briansull commentedon Feb 25, 2020
Introduced with PR #32085
briansull commentedon Feb 25, 2020
Proposed fix for this issue:
169c24e
Fix issue dotnet#32466
VincentBu commentedon Feb 26, 2020
Failed again in runtime-coreclr outerloop 20200225.6
Related tests:
JIT\Directed\coverage\importer\Desktop\nullsdarr_il_d\nullsdarr_il_d.cmd
JIT\Directed\coverage\importer\nullsdarr\nullsdarr.cmd
Error message:
\r\nAssert failure(PID 2068 [0x00000814], Thread: 6880 [0x1ae0]): Assertion failed '!emitComp->opts.compReloc || memBase->IsIconHandle() || memBase->IsIntegralConst(0)' in 'nullsdarr:f()' during 'Linear scan register alloc' (IL size 9)\r\n\r\n File: F:\workspace\_work\1\s\src\coreclr\src\jit\emitxarch.cpp Line: 2838\r\n Image: C:\h\w\B71409D5\p\crossgen.exe\r\n\r\n\r\nReturn code: 1\r\nRaw output file: C:\h\w\B71409D5\w\9A66088B\e\JIT\Directed\Reports\JIT.Directed\coverage\importer\nullsdarr\nullsdarr.output.txt\r\nRaw output:\r\nBEGIN EXECUTION\r\n 1 file(s) copied.\r\n" "C:\h\w\B71409D5\p\crossgen.exe" /Platform_Assemblies_Paths C:\h\w\B71409D5\p;C:\h\w\B71409D5\w\9A66088B\e\JIT\Directed\coverage\importer\nullsdarr /in C:\h\w\B71409D5\w\9A66088B\e\JIT\Directed\coverage\importer\nullsdarr\nullsdarr.org /out C:\h\w\B71409D5\w\9A66088B\e\JIT\Directed\coverage\importer\nullsdarr\\nullsdarr.dll"\r\nMicrosoft (R) CoreCLR Native Image Generator - Version 4.5.30319.0\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\nCrossgen failed with exitcode - -1073740286\r\nTest Harness Exitcode is : 1\r\nTo run the test:\r\n> set CORE_ROOT=C:\h\w\B71409D5\p\r\n> C:\h\w\B71409D5\w\9A66088B\e\JIT\Directed\coverage\importer\nullsdarr\nullsdarr.cmd\r\nExpected: True\r\nActual: FalseFix issue #32466 (#32804)
briansull commentedon Feb 26, 2020
Fixed with #32804