Skip to content

System.CodeAnalysis.dll crashes building with Crossgen2 #33884

@trylek

Description

@trylek

Command-line:

"D:\git\runtime2\artifacts\tests\coreclr\Windows_NT.x64.Checked\Tests\Core_Root\corerun" "D:\git\runtime2\artifacts\tests\coreclr\Windows_NT.x64.Checked\Tests\Core_Root\crossgen2\crossgen2.dll" -r:"D:\git\runtime2\artifacts\tests\coreclr\Windows_NT.x64.Checked\Tests\Core_Root\System.*.dll" -r:"D:\git\runtime2\artifacts\tests\coreclr\Windows_NT.x64.Checked\Tests\Core_Root\Microsoft.*.dll" -r:"D:\git\runtime2\artifacts\tests\coreclr\Windows_NT.x64.Checked\Tests\Core_Root\mscorlib.dll" -r:"D:\git\runtime2\artifacts\tests\coreclr\Windows_NT.x64.Checked\Tests\Core_Root\netstandard.dll" -O --inputbubble --out:"D:\git\runtime2\artifacts\tests\coreclr\Windows_NT.x64.Checked\Tests\Core_Root\temp.ni._dll" "D:\git\runtime2\artifacts\tests\coreclr\Windows_NT.x64.Checked\Tests\Core_Root\Microsoft.CodeAnalysis.dll"

Error message:

D:\git\runtime2\src\coreclr\src\jit\optcse.cpp:2768
Assertion failed 'IsCompatibleType(cseLclVarTyp, expTyp)' in 'Microsoft.CodeAnalysis.CommonReferenceManager`2:PropagateRecursiveAliases([Microsoft.CodeAnalysis]Microsoft.CodeAnalysis.CommonReferenceManager`2+BoundInputAssembly[],[System.Collections.Immutable]System.Collections.Immutable.ImmutableArray`1>,[Microsoft.CodeAnalysis]Microsoft.CodeAnalysis.ArrayBuilder`1>)' during 'Optimize Valnum CSEs' (IL size 311)

category:correctness
theme:ngen
skill-level:expert
cost:medium

Metadata

Metadata

Assignees

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions