I hope this is the right place to post this, but recently vscode has become almost unusable because of how often the language server crashes and has to restart. I’ve already uninstalled julia and vscode, and deleted ~/.julia, ~/.config/Code, and ~/.vscode, reinstalled latest versions, and still the problem persists. Here is section of the language server output. It’s basically this over and over again:
[ Info: Received new data from Julia Symbol Server.
┌ Error: Some Julia code in the VS Code extension crashed
└ @ Main ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/error_handler.jl:15
ERROR: StackOverflowError:
Stacktrace:
[1] getproperty(x::StaticLint.Meta, f::Symbol)
@ Base ./Base.jl:33
[2] refof(x::CSTParser.EXPR)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/bindings.jl:30
[3] infer_eltype(x::CSTParser.EXPR)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/type_inf.jl:256
[4] infer_eltype(x::CSTParser.EXPR) (repeats 52294 times)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/type_inf.jl:259
[5] infer_type_assignment_rhs(binding::StaticLint.Binding, state::StaticLint.Delayed, scope::StaticLint.Scope)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/type_inf.jl:38
[6] infer_type(binding::StaticLint.Binding, scope::StaticLint.Scope, state::StaticLint.Delayed)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/type_inf.jl:24
[7] add_binding(x::CSTParser.EXPR, state::StaticLint.Delayed, scope::StaticLint.Scope)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/bindings.jl:364
[8] add_binding
@ ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/bindings.jl:274 [inlined]
[9] (::StaticLint.Delayed)(x::CSTParser.EXPR)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:103
[10] traverse(x::CSTParser.EXPR, state::StaticLint.Delayed)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:185
[11] (::StaticLint.Delayed)(x::CSTParser.EXPR)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:109
[12] traverse(x::CSTParser.EXPR, state::StaticLint.Delayed)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:204
[13] (::StaticLint.Delayed)(x::CSTParser.EXPR)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:109
[14] traverse(x::CSTParser.EXPR, state::StaticLint.Delayed)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:204
[15] (::StaticLint.Delayed)(x::CSTParser.EXPR)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:109
[16] traverse(x::CSTParser.EXPR, state::StaticLint.Delayed)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:204
[17] (::StaticLint.Delayed)(x::CSTParser.EXPR)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:109
[18] traverse(x::CSTParser.EXPR, state::StaticLint.Delayed)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:204
[19] semantic_pass(file::LanguageServer.Document, modified_expr::Nothing)
@ StaticLint ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:156
[20] semantic_pass
@ ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/StaticLint/src/StaticLint.jl:149 [inlined]
[21] parse_all(doc::LanguageServer.Document, server::LanguageServerInstance)
@ LanguageServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/LanguageServer/src/requests/textdocument.jl:145
[22] textDocument_didSave_notification(params::LanguageServer.DidSaveTextDocumentParams, server::LanguageServerInstance, conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint})
@ LanguageServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/LanguageServer/src/requests/textdocument.jl:57
[23] (::LanguageServer.var"#96#97"{typeof(LanguageServer.textDocument_didSave_notification), LanguageServerInstance})(conn::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, params::LanguageServer.DidSaveTextDocumentParams)
@ LanguageServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/LanguageServer/src/languageserverinstance.jl:252
[24] dispatch_msg(x::JSONRPC.JSONRPCEndpoint{Base.PipeEndpoint, Base.PipeEndpoint}, dispatcher::JSONRPC.MsgDispatcher, msg::Dict{String, Any})
@ JSONRPC ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/JSONRPC/src/typed.jl:67
[25] run(server::LanguageServerInstance)
@ LanguageServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/LanguageServer/src/languageserverinstance.jl:361
[26] top-level scope
@ ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/languageserver/main.jl:85
[Info - 3:15:25 PM] Connection to server got closed. Server will restart.
[Error - 3:15:25 PM] Request textDocument/codeAction failed.
Error: Connection got disposed.
at Object.dispose (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:802415)
at Object.dispose (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:882587)
at _.handleConnectionClosed (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:882800)
at _.handleConnectionClosed (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:943188)
at t (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:880889)
at invoke (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:804028)
at o.fire (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:804789)
at Y (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:791673)
at invoke (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:804028)
at o.fire (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:804789)
at g.fireClose (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:816242)
at Socket.<anonymous> (/home/jeffrey/.vscode/extensions/julialang.language-julia-1.3.32/dist/extension.js:2:817027)
at Socket.emit (events.js:315:20)
at Pipe.<anonymous> (net.js:673:12)
[ Info: Starting the Julia Language Server
[ Info: Symbol server store is at '/home/jeffrey/.config/Code/User/globalStorage/julialang.language-julia/symbolstorev5'.
[ Info: Cloud was unable to cache Libgcrypt_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Expat_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Zstd_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache LZO_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache XSLT_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache LibVPX_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Qt5Base_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Gettext_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Libffi_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache PCRE_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Libgpg_error_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache JpegTurbo_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache GLFW_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Libiconv_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache libpng_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache XML2_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Pixman_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Libtiff_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Libmount_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Wayland_jll in the past, we won't try to retrieve it again.
[ Info: Cloud was unable to cache Libuuid_jll in the past, we won't try to retrieve it again.
[ Info: Couldn't retrieve cache file for MbedTLS_jll.
[ Info: Couldn't retrieve cache file for LibSSH2_jll.
┌ Warning: LibSSH2_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: MbedTLS_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: Libuuid_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: Expat_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: Pixman_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: LibVPX_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: JpegTurbo_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: Qt5Base_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: XSLT_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: Gettext_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: PCRE_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: Libmount_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: Libiconv_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: Libffi_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: libpng_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: LZO_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: Libtiff_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
┌ Warning: GLFW_jll not stored on disc
└ @ SymbolServer ~/.vscode/extensions/julialang.language-julia-1.3.32/scripts/packages/SymbolServer/src/SymbolServer.jl:188
[ Info: Received new data from Julia Symbol Server.