-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Description
I have a project which fails to compile with this output in VS:
error MSB6006: "fsc.exe" exited with code -1073741571.
When I compile from command line:
"C:\Program Files (x86)\Microsoft SDKs\F#\4.0\Framework\v4.0\fsc.exe" -o:obj\Debug\myassembly.dll -g --debug:full --noframework --define:DEBUG --define:TRACE --doc:..\..\..\..\bin\Debug\myassembly.XML --optimize- --tailcalls- -r:C:\work\gitsvnclone\packages\FSharp.Core\lib\net40\FSharp.Core.dll -r:C:\work\gitsvnclone\packages\FSharp.Data.SqlClient\lib\net40\FSharp.Data.SqlClient.dll -r:C:\work\gitsvnclone\UPLAN\Lib\lcg.Shared\lcg.Common.FrameworkExtensions.dll -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\mscorlib.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Core.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Data.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Numerics.dll" -r:"C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Xml.dll" --target:library --warn:3 --warnaserror:76 --vserrors --LCID:1033 --utf8output --fullpaths --flaterrors --highentropyva- --sqmsessionguid:be8a0043-8b0f-4af0-ab48-a438b86f0a63 --keyfile:"../../../../Tools/Signing/uplan_signing.snk" "C:\Users\gauthier.segay\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.fs" all the .fs files
I get this:
Microsoft (R) F# Compiler version 14.0.23413.0
Copyright (c) Microsoft Corporation. All Rights Reserved.
Process is terminated due to StackOverflowException.
There is a big file (8k lines) with a lots of static declarations in the project.
Is there anyway I can investigate the stack trace before it fails?
Metadata
Metadata
Assignees
Labels
No labels