Repository navigation
Closed
Labels
Milestone
Description
Assert failure(PID 2664 [0x00000a68], Thread: 3612 [0x0e1c]): pMethodDesc->GetCallCounter()->IsCallCountingEnabled(pMethodDesc)
CORECLR! TieredCompilationManager::OnMethodCodeVersionCalledSubsequently + 0x65 (0x00007ffd`84ed5a09)
CORECLR! CallCounter::OnMethodCodeVersionCalledSubsequently + 0x16A (0x00007ffd`84ed3e52)
CORECLR! CodeVersionManager::PublishVersionableCodeIfNecessary + 0x42F (0x00007ffd`84c3ebcb)
CORECLR! MethodDesc::DoPrestub + 0x8A9 (0x00007ffd`84ad390d)
CORECLR! PreStubWorker + 0x592 (0x00007ffd`84adc9d2)
CORECLR! ThePreStub + 0x55 (0x00007ffd`84d6d0e5)
<no module>! <no symbol> + 0x0 (0x00007ffd`255c9a01)
<no module>! <no symbol> + 0x0 (0x0000021c`00019ca8)
File: F:\workspace.4\_work\1\s\src\coreclr\src\vm\tieredcompilation.cpp Line: 187
Image: C:\dotnetbuild\work\79307fb0-a531-4878-872c-89038d00d99e\Payload\CoreRun.exe
Return code: 1
Raw output file: C:\dotnetbuild\work\79307fb0-a531-4878-872c-89038d00d99e\Work\6095937b-f538-49d4-8993-920994f02aa4\Exec\baseservices\threading\Reports\baseservices.threading\interlocked\compareexchange\compareexchangedouble\compareexchangedouble.output.txt
Raw output:
BEGIN EXECUTION
"C:\dotnetbuild\work\79307fb0-a531-4878-872c-89038d00d99e\Payload\corerun.exe" compareexchangedouble.dll /loops:100 /addVal:1.79769313486232E+304
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\dotnetbuild\work\79307fb0-a531-4878-872c-89038d00d99e\Payload
> C:\dotnetbuild\work\79307fb0-a531-4878-872c-89038d00d99e\Work\6095937b-f538-49d4-8993-920994f02aa4\Exec\baseservices\threading\interlocked\compareexchange\compareexchangedouble\compareexchangedouble.cmd
Note this looks like it started this week, unless it is non-deterministic.
Activity
jashook commentedon Nov 19, 2019
Will open a pr to disable the test to get outerloop green.
jashook commentedon Nov 19, 2019
/cc @kouvel
Disable test based on #129 (#130)
ViktorHofer commentedon Nov 20, 2019
@jashook added the "disabled-test" label.
jkotas commentedon Jan 15, 2020
This looks like non-deterministic failure. It was hit by JIT.Methodical test (unclear which one) in #1727
kouvel commentedon Jan 28, 2020
Fixed by #1457. When the JIT switches to optimized code for a method that contains a loop, the method's tier is updated after the native code slot is updated. There was a race where a parallel thread calling the same method would read the native code slot but not see the tier change, and thinks it needs to be counted.
kouvel commentedon Jan 28, 2020
Need to enable the test, reopening
Revert "Disable test based on #129 (#130)" (#2310)
Revert "Improve call counting mechanism (#1457)" (#30105)