Skip to content

F# Language Server crashed 5 times in the last 3 minutes #43

Open
@dustinmoris

Description

@dustinmoris

Hi,

I installed this extension to test it on one of my projects but after opening my project in VSCode the F# Language Server crashed almost immediately and keeps crashing when I restart VSCode.

The message is:

...
  LoadTime: 02/06/2019 19:13:21
  ExtraProjectInfo: <null>
  IsIncompleteTypeCheckEnvironment: false
  OriginalLoadReferences: []
  ExtraProjectInfo: <null>
  Stamp: <null>
  UnresolvedReferences: <null>
  UseScriptResolutionRules: false
Checked Core.fs in 6398ms
Found 0 unused declarations in 74ms
[Trace - 9:34:13 AM] Received notification 'textDocument/publishDiagnostics'.
Params: {
    "uri": "file:///Users/<redacted>/GitHub/<redacted>/src/<redacted>/Domain/Core.fs",
    "diagnostics": []
}


Process is terminating due to StackOverflowException.
[Error - 9:34:13 AM] Connection to server got closed. Server will not be restarted.

Looking through the logs, it seems that it picked up the Core.fs file of my project first, then was scanning for projects which reference this file and started to crack open the one .fsproj which has this file.

I notice many conflicts during dependency resolution which are like this:

Conflict between [("/Users/<redacted>/.nuget/packages/system.collections/4.3.0/ref/netstandard1.3/System.Collections.dll",
  "System.Collections", 4.0.10.0);
 ("/usr/local/share/dotnet/sdk/NuGetFallbackFolder/microsoft.netcore.app/2.2.0/ref/netcoreapp2.2/System.Collections.dll",
  "System.Collections", 4.1.1.0)], chose /usr/local/share/dotnet/sdk/NuGetFallbackFolder/microsoft.netcore.app/2.2.0/ref/netcoreapp2.2/System.Collections.dll

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