Skip to content

fsc netcore crash (stackoverflow), .net full works #3696

@enricosada

Description

@enricosada

Trying to build with .net core sdk 2.0 fsc, crash with stackoverflow
as a note, using .net full build correctly

Repro steps

dotnet new console -lang F#
dotnet add package FSharp.Data 

now

dotnet build

Expected behavior

Build (hopefully), but for sure not a SO crash

Actual behavior

SO crash

         Process is terminating due to StackOverflowException.
     1>C:\Program Files\dotnet\sdk\2.0.0\FSharp\Microsoft.FSharp.Targets(224,9): error MSB6006: "RunFsc.cmd" exited with code -1073741571. [e:\temp\reproso\reproso.fsproj]

Known workarounds

instead, doing

msbuild /t:Build

works.

Related information

> dotnet --info

.NET Command Line Tools (2.0.0)

Product Information:
 Version:            2.0.0
 Commit SHA-1 hash:  cdcd1928c9

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.15063
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.0.0\


Microsoft .NET Core Shared Framework Host



  Version  : 2.0.0

  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
> msbuild /version

Microsoft (R) Build Engine version 15.3.409.57025 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

15.3.409.57025

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions