Skip to content

LS crashes after updating to Julia 1.12.0 #1366

@piechologist

Description

@piechologist

I have updated from Julia 1.11.6 to 1.12.0 on macOS 26 Tahoe. Every time I open a project in my editor (Zed), the LS crashes after downloading the cache files.

I can repro on the command line:

> julia --project=@zed-julia -e 'using LanguageServer; runserver()' ~/MyProject.jl/
[ Info: Downloading cache files...
# ...
[ Info: Downloading cache files...
[ Info: All cache files downloaded (took 2.3s).
[ Info: Will cache package Downloads (f43a241f-c20a-4ad4-852c-f6b1247861c6)
# ...
[ Info: Will cache package Printf (de0858da-6303-5e67-8744-51eddeeeb8d7)
[ Info: Processing Downloads...
ERROR: LoadError: UndefVarError: `Downloads` not defined in `Main.SymbolServer.LoadingBay`
The binding may be too new: running in world age 39127, while current world is 39128.
Hint: Downloads is loaded but not imported in the active module Main.
Stacktrace:
 [1] load_package(c::Pkg.Types.Context, uuid::Base.UUID, conn::Base.PipeEndpoint, loadingbay::Module, percentage::Int64)
   @ Main.SymbolServer ~/.julia/packages/SymbolServer/cHzGB/src/utils.jl:631
 [2] top-level scope
   @ ~/.julia/packages/SymbolServer/cHzGB/src/server.jl:100
 [3] include(mod::Module, _path::String)
   @ Base ./Base.jl:306
 [4] exec_options(opts::Base.JLOptions)
   @ Base ./client.jl:317
 [5] _start()
   @ Base ./client.jl:550
in expression starting at /Users/pp/.julia/packages/SymbolServer/cHzGB/src/server.jl:1
Content-Length: 141

{"method":"telemetry/event","params":{"name":"LSSymbolServerFailure","stacktrace":"","message":"","command":"symserv_crash"},"jsonrpc":"2.0"}

I tried both the stable release LanguageServer.jl v4.5.1 and main (commit 75849fc from October 14). I removed ~/.julia and started from scratch. The issue persists. Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions