Skip to content

Crash when nimsuggest is missing #351

@arnetheduck

Description

@arnetheduck

Using via vscode.

v1.12.0

DBG NimSuggest needed to be restarted due to an error 
DBG Fail count                                 count=1
WRN Server stopped.                            projectFile=/home/arnetheduck/src/nlvm/Nim/lib/system/strs_v2.nim
DBG ShowMessage                                message="Server failed with Unable to start nimsuggest. `` is not present on the PATH."
DBG Creating new nimsuggest project            projectFile=/home/arnetheduck/src/nlvm/Nim/lib/system/strs_v2.nim
INF Starting nimsuggest                        root=/home/arnetheduck/src/nlvm/Nim/lib/system/strs_v2.nim timeout=120000 path= workingDir=/home/arnetheduck/src/nlvm
ERR Unable to start nimsuggest. Unable to find binary on the $PATH nimsuggestPath=
DBG NimSuggest needed to be restarted due to an error 
DBG Fail count                                 count=2
WRN Server stopped.                            projectFile=/home/arnetheduck/src/nlvm/Nim/lib/system/strs_v2.nim
DBG ShowMessage                                message="Server failed with Unable to start nimsuggest. `` is not present on the PATH."
DBG Stopping nimsuggest for                    root=/home/arnetheduck/src/nlvm/Nim/lib/system/strs_v2.nim
SIGSEGV: Illegal storage access. (Attempt to read from nil?)
[Error - 16:21:50] Server process exited with signal SIGSEGV.
[Error - 16:21:50] The Nim Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.

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