runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Assertion failed '!foundDiff' in 'Node[__Canon][System.__Canon]:Search(ref,ref):ref:this' in lsra.cpp line 2330

Open sejongoh opened this issue 10 years ago • 6 comments

Configuration: Debug CoreCLR runtime: coreclr.dll, corerun.exe and mscorlib.dll CoreFX assemblies and CoreFX tests: release

The following test fails: System.Collections.Immutable.Tests

Coregen repro steps: crossgen /App_Paths . /Platform_Assemblies_Paths . /MissingDependenciesOK ./Microsoft.CodeAnalysis.CSharp.dll

Also happens for System.Collection.Immutable.dll.

Stress modes or other flags make no difference for this assert. Running with JITMinOpts set runs clean with no assert.

Before closing this issue please verify both the repro steps.

sejongoh avatar Dec 15 '15 20:12 sejongoh

After investigating with @sivarv this looks like a new state introduced by the recursive tail call feature that lsra is not currently dealing with.

LLITCHEV avatar Jan 09 '16 00:01 LLITCHEV

This happens on Windows as well.

LLITCHEV avatar Jan 10 '16 23:01 LLITCHEV

Assigned to @sivarv since it is most likely a LSRA issue.

LLITCHEV avatar Jan 11 '16 17:01 LLITCHEV

This issue seems to stil repro for Issue dotnet/coreclr#2510. Reopening it.

LLITCHEV avatar Feb 16 '16 21:02 LLITCHEV

Still happens with the latest sources (as of 2/13/2016). Happens for System.Collections.Immutable.dll.

LLITCHEV avatar Feb 16 '16 21:02 LLITCHEV

Seems to pass. The failure I was observing was because the loader was picking up a crossgen from an old DNX installation instead the one from the current folder.

LLITCHEV avatar Feb 18 '16 22:02 LLITCHEV