Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
enricosada opened this issue Oct 4, 2017 · 6 comments
Closed

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

enricosada opened this issue Oct 4, 2017 · 6 comments

Comments

@enricosada
Copy link
Contributor

enricosada commented Oct 4, 2017

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
@dsyme
Copy link
Contributor

dsyme commented Oct 4, 2017

I think this is a duplicate of #3303 ?

dotnet build /v:d shows Process is terminating due to StackOverflowException. Done executing task "Fsc" -- FAILED.

@KevinRansom
Copy link
Member

Fixed: #3658

@cartermp
Copy link
Contributor

cartermp commented Oct 5, 2017

@KevinRansom this is the fix which was merged into the CLI's 15.5 branch, correct?

@KevinRansom
Copy link
Member

No ... we should do a new merge though

@cartermp
Copy link
Contributor

cartermp commented Oct 5, 2017

Okay. Closing this then. Tracking bug for the CLI here: https://github.com/dotnet/cli/issues/7761

@cartermp cartermp closed this as completed Oct 5, 2017
@enricosada
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants