Skip to content

Assertion when coregen-ing Microsoft.Build.Tasks.CodeAnalysis.dll on Linux #4884

@LLITCHEV

Description

@LLITCHEV

A failure in the VM code. Happens with no stress modes or special flags - just debug build of the CoreCLR. Assertion failure in pefile.cpp, line 4612.
Command to get it:
crossgen /App_Paths . /Platform_Assemblies_Paths . /MissingDependenciesOK ./Microsoft.Build.Tasks.CodeAnalysis.dll
Also happens for csc.exe and CodeAnalysis' Microsoft.CodeAnalysis.Workspaces.Desktop.dll.
Stress modes or other flags (including minopts) make no difference for this assert.

Exact assertion failure:
Warning: .

Assert failure(PID 49611 [0x0000c1cb], Thread: 49611 [0xc1cb]): i[0] == W('') || i[0] == W('/')
File: /home/lubo/SVS/src/vm/pefile.cpp Line: 4612
Image: /home/lubo/coreclr-tests/Windows_NT.x64.Debug/Tests/coreoverlay/crossgen

Aborted (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions