I originally thought this was a VSCode issue but it seems to just happen most times I try and use a package since I can reproduce this inside of a terminal. If I startup Julia and try and use a package, 90% of the time I get something like
PS C:\Users\User> julia -e 'using Pkg; Pkg.activate(; temp = true); Pkg.add(\"LinearAlgebra\"); using LinearAlgebra'
Activating new project at `C:\Users\User\AppData\Local\Temp\jl_EiNINZ`
Installing known registries into `C:\Users\User\.julia`
Cloning registry from "https://github.com/JuliaRegistries/General.git"
Fetching: [========================================>] 99.9 %
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x7ff94e0225a3 -- typekeyvalue_hash at C:/workdir/src\jltypes.c:1637 [inlined]
lookup_typevalue at C:/workdir/src\jltypes.c:1059
in expression starting at none:1
typekeyvalue_hash at C:/workdir/src\jltypes.c:1637 [inlined]
lookup_typevalue at C:/workdir/src\jltypes.c:1059
jl_lookup_arg_tuple_type at C:/workdir/src\jltypes.c:2219
lookup_arg_type_tuple at C:/workdir/src\gf.c:2237 [inlined]
jl_lookup_generic_ at C:/workdir/src\gf.c:3011
ijl_apply_generic at C:/workdir/src\gf.c:3073
setproperty! at .\Base.jl:40
unknown function (ip: 000001a6895239b6)
transfer_progress at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\GitTools.jl:23
unknown function (ip: 000001a6895237f2)
jlcapi_cfunction_98833.1 at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
git_indexer_commit at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
git_smart__download_pack at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
git_remote__download at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
git_remote_fetch at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
git__clone at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
git_clone at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
macro expansion at C:\workdir\usr\share\julia\stdlib\v1.10\LibGit2\src\error.jl:110 [inlined]
clone at C:\workdir\usr\share\julia\stdlib\v1.10\LibGit2\src\repository.jl:459
#clone#119 at C:\workdir\usr\share\julia\stdlib\v1.10\LibGit2\src\LibGit2.jl:585
clone at C:\workdir\usr\share\julia\stdlib\v1.10\LibGit2\src\LibGit2.jl:558 [inlined]
#clone#3 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\GitTools.jl:121
clone at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\GitTools.jl:88
unknown function (ip: 000001a6895226d7)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
do_apply at C:/workdir/src\builtins.c:768
#96#97 at .\error.jl:296
#96 at .\error.jl:291 [inlined]
#50 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:238
#mktempdir#24 at .\file.jl:766
unknown function (ip: 000001a6895225e3)
mktempdir at .\file.jl:762
mktempdir at .\file.jl:762 [inlined]
#48 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:202
#mkpidlock#7 at C:\workdir\usr\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
mkpidlock at C:\workdir\usr\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:90 [inlined]
#mkpidlock#6 at C:\workdir\usr\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
mkpidlock at C:\workdir\usr\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
download_registries at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:168
#download_default_registries#39 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:111
download_default_registries at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:98 [inlined]
#add#27 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:149
add at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:148
#add#25 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined]
add at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined]
#add#24 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:146 [inlined]
add at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:146
jfptr_add_102560.1 at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:223
eval_stmt_value at C:/workdir/src\interpreter.c:174 [inlined]
eval_body at C:/workdir/src\interpreter.c:635
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:775
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:934
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
ijl_toplevel_eval at C:/workdir/src\toplevel.c:943 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:985
eval at .\boot.jl:385 [inlined]
exec_options at .\client.jl:291
_start at .\client.jl:552
jfptr__start_86591.1 at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
true_main at C:/workdir/src\jlapi.c:582
jl_repl_entrypoint at C:/workdir/src\jlapi.c:731
mainCRTStartup at C:/workdir/cli\loader_exe.c:58
BaseThreadInitThunk at C:\Windows\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
Allocations: 8089067 (Pool: 8088890; Big: 177); GC: 3
error in running finalizer: ErrorException("task switch not allowed from inside gc finalizer")
ijl_error at C:/workdir/src\rtutils.c:41
ijl_switch at C:/workdir/src\task.c:636
try_yieldto at .\task.jl:921
wait at .\task.jl:995
#wait#645 at .\condition.jl:130
wait at .\condition.jl:125 [inlined]
close at .\asyncevent.jl:180
close at C:\workdir\usr\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:323
jfptr_close_54225.1 at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
run_finalizer at C:/workdir/src\gc.c:318
jl_gc_run_finalizers_in_list at C:/workdir/src\gc.c:410
run_finalizers at C:/workdir/src\gc.c:454
run_finalizers at C:/workdir/src\gc.c:435 [inlined]
ijl_gc_collect at C:/workdir/src\gc.c:3552
gc at .\gcutils.jl:129 [inlined]
#temp_cleanup_purge#19 at .\file.jl:542
temp_cleanup_purge at .\file.jl:537 [inlined]
#951 at .\initdefs.jl:366
jfptr_YY.951_83086.1 at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
_atexit at .\initdefs.jl:428
jfptr__atexit_83102.1 at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
ijl_atexit_hook at C:/workdir/src\init.c:280
ijl_exit at C:/workdir/src\init.c:207
jl_exception_handler at C:/workdir/src\signals-win.c:337 [inlined]
jl_exception_handler at C:/workdir/src\signals-win.c:229
__julia_personality at C:/workdir/src\win32_ucontext.c:28
_chkstk at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
RtlFindCharInUnicodeString at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
KiUserExceptionDispatcher at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
jl_to_typeof at C:/workdir/src\julia.h:765 [inlined]
typekeyvalue_hash at C:/workdir/src\jltypes.c:1637 [inlined]
lookup_typevalue at C:/workdir/src\jltypes.c:1059
jl_lookup_arg_tuple_type at C:/workdir/src\jltypes.c:2219
lookup_arg_type_tuple at C:/workdir/src\gf.c:2237 [inlined]
jl_lookup_generic_ at C:/workdir/src\gf.c:3011
ijl_apply_generic at C:/workdir/src\gf.c:3073
setproperty! at .\Base.jl:40
unknown function (ip: 000001a6895239b6)
transfer_progress at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\GitTools.jl:23
unknown function (ip: 000001a6895237f2)
jlcapi_cfunction_98833.1 at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
git_indexer_commit at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
git_smart__download_pack at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
git_remote__download at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
git_remote_fetch at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
git__clone at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
git_clone at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libgit2.dll (unknown line)
macro expansion at C:\workdir\usr\share\julia\stdlib\v1.10\LibGit2\src\error.jl:110 [inlined]
clone at C:\workdir\usr\share\julia\stdlib\v1.10\LibGit2\src\repository.jl:459
#clone#119 at C:\workdir\usr\share\julia\stdlib\v1.10\LibGit2\src\LibGit2.jl:585
clone at C:\workdir\usr\share\julia\stdlib\v1.10\LibGit2\src\LibGit2.jl:558 [inlined]
#clone#3 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\GitTools.jl:121
clone at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\GitTools.jl:88
unknown function (ip: 000001a6895226d7)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
do_apply at C:/workdir/src\builtins.c:768
#96#97 at .\error.jl:296
#96 at .\error.jl:291 [inlined]
#50 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:238
#mktempdir#24 at .\file.jl:766
unknown function (ip: 000001a6895225e3)
mktempdir at .\file.jl:762
mktempdir at .\file.jl:762 [inlined]
#48 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:202
#mkpidlock#7 at C:\workdir\usr\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
mkpidlock at C:\workdir\usr\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:90 [inlined]
#mkpidlock#6 at C:\workdir\usr\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
mkpidlock at C:\workdir\usr\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
download_registries at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:168
#download_default_registries#39 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:111
download_default_registries at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:98 [inlined]
#add#27 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:149
add at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:148
#add#25 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined]
add at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined]
#add#24 at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:146 [inlined]
add at C:\workdir\usr\share\julia\stdlib\v1.10\Pkg\src\API.jl:146
jfptr_add_102560.1 at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:223
eval_stmt_value at C:/workdir/src\interpreter.c:174 [inlined]
eval_body at C:/workdir/src\interpreter.c:635
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:775
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:934
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
ijl_toplevel_eval at C:/workdir/src\toplevel.c:943 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:985
eval at .\boot.jl:385 [inlined]
exec_options at .\client.jl:291
_start at .\client.jl:552
jfptr__start_86591.1 at C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
true_main at C:/workdir/src\jlapi.c:582
jl_repl_entrypoint at C:/workdir/src\jlapi.c:731
mainCRTStartup at C:/workdir/cli\loader_exe.c:58
BaseThreadInitThunk at C:\Windows\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
which is an example after I completely deleted the registries folder. Before deleting, I frequently get
PS C:\Users\User> julia -e 'using Pkg; Pkg.activate(; temp = true); Pkg.add(\"LinearAlgebra\"); using LinearAlgebra'
Activating new project at `C:\Users\User\AppData\Local\Temp\jl_5rfm4q`
Installing known registries into `C:\Users\User\.julia`
ERROR: CRC Failed : jl_ZYp8NUhwvK~
β Warning: unable to decompress and read archive
β exception =
β failed process: Process(setenv(`'C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\libexec\julia\7z.exe' x 'C:\Users\User\AppData\Local\Temp\jl_ZYp8NUhwvK' -so`,["WINDIR=C:\\Windows", "PATH=C:\\Users\\User\\.julia\\juliaup\\julia-1.10.4+0.x64.w64.mingw32\\bin\\..\\lib\\julia;C:\\Users\\User\\.julia\\juliaup\\julia-1.10.4+0.x64.w64.mingw32\\bin\\..\\lib;C:\---[truncating PATH here]), ProcessExited(2)) [2]
β
β @ Pkg.PlatformEngines C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\PlatformEngines.jl:670
ERROR: unable to verify download from https://pkg.julialang.org/registry/23338594-aafe-5451-b93e-139f81909106/414552244eccd0422f70347b6344f8af9ba346fa
Stacktrace:
[1] pkgerror(msg::String)
@ Pkg.Types C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Types.jl:70
[2] (::Pkg.Registry.var"#48#52"{Base.TTY, Vector{Pkg.Registry.RegistrySpec}, String})()
@ Pkg.Registry C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:189
[3] mkpidlock(f::Pkg.Registry.var"#48#52"{Base.TTY, Vector{Pkg.Registry.RegistrySpec}, String}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
[4] mkpidlock
@ C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:90 [inlined]
[5] mkpidlock
@ C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
[6] download_registries(io::Base.TTY, regs::Vector{Pkg.Registry.RegistrySpec}, depot::String)
@ Pkg.Registry C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:168
[7] download_default_registries(io::Base.TTY; only_if_empty::Bool, depot::String)
@ Pkg.Registry C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:111
[8] download_default_registries
@ C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\Registry\Registry.jl:98 [inlined]
[9] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{})
@ Pkg.API C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:149
[10] add(pkgs::Vector{Pkg.Types.PackageSpec})
@ Pkg.API C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:148
[11] add
@ C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:147 [inlined]
[12] add(pkg::String)
@ Pkg.API C:\Users\User\.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\Pkg\src\API.jl:146
[13] top-level scope
@ none:1
instead. Some other errors Iβve gotten are below, I have no idea how to control what type of error Iβm getting. Sometimes itβs right on startup, sometimes itβs a minute after starting Julia. My memory usage according to task manager is stable, and Iβm on the release version of Julia. Iβve reinstalled VSCode and Julia completely and this still occurs.
Any ideas on how to fix this? Currently Julia is essentially unusable unless Iβm very lucky to not crash for 5-10 minutesβ¦
Launching VSCode after reinstalling
[ Info: Precompiling VSCodeServer [9f5989ce-84fe-42d4-91ec-6a7a8d53ed0f]
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x7ffa1d8f1520 β getType at C:/workdir/usr/include/llvm/IR\Value.h:255 [inlined]
getGEPReturnType at C:/workdir/usr/include/llvm/IR\Instructions.h:1089 [inlined]
GetElementPtrInst at C:/workdir/usr/include/llvm/IR\Instructions.h:1156 [inlined]
Create at C:/workdir/usr/include/llvm/IR\Instructions.h:964 [inlined]
CreateInBounds at C:/workdir/usr/include/llvm/IR\Instructions.h:986 [inlined]
CreateGEP at C:/workdir/usr/include/llvm/IR\IRBuilder.h:1730
in expression starting at c:\Users\User.vscode\extensions\julialang.language-julia-1.79.2\scripts\packages\VSCodeServer\src\repl_protocol.jl:1
getType at C:/workdir/usr/include/llvm/IR\Value.h:255 [inlined]
getGEPReturnType at C:/workdir/usr/include/llvm/IR\Instructions.h:1089 [inlined]
GetElementPtrInst at C:/workdir/usr/include/llvm/IR\Instructions.h:1156 [inlined]
Create at C:/workdir/usr/include/llvm/IR\Instructions.h:964 [inlined]
CreateInBounds at C:/workdir/usr/include/llvm/IR\Instructions.h:986 [inlined]
CreateGEP at C:/workdir/usr/include/llvm/IR\IRBuilder.h:1730
CreateInBoundsGEP at C:/workdir/usr/include/llvm/IR\IRBuilder.h:1737 [inlined]
CleanupIR at C:/workdir/src\llvm-late-gc-lowering.cpp:2463
runOnFunction at C:/workdir/src\llvm-late-gc-lowering.cpp:2763
runOnFunction at C:/workdir/src\llvm-late-gc-lowering.cpp:2755 [inlined]
run at C:/workdir/src\llvm-late-gc-lowering.cpp:2786
run at C:/workdir/usr/include/llvm/IR\PassManagerInternal.h:88
.text$_ZN4llvm27ModuleToFunctionPassAdaptor3runERNS_6ModuleERNS_15AnalysisManagerIS1_JEEE at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
run at C:/workdir/usr/include/llvm/IR\PassManagerInternal.h:88
run at C:/workdir/usr/include/llvm/IR\PassManager.h:522 [inlined]
run at C:/workdir/src\pipeline.cpp:746
operator() at C:/workdir/src\jitlayers.cpp:1249
withModuleDo<(anonymous namespace)::OptimizerT::operator()(llvm::orc::ThreadSafeModule, llvm::orc::MaterializationResponsibility&)::<lambda(llvm::Module&)> > at C:/workdir/usr/include/llvm/ExecutionEngine/Orc\ThreadSafeModule.h:136 [inlined]
operator() at C:/workdir/src\jitlayers.cpp:1214 [inlined]
CallImpl<(anonymous namespace)::OptimizerT> at C:/workdir/usr/include/llvm/ADT\FunctionExtras.h:222
.text$_ZN4llvm3orc16IRTransformLayer4emitESt10unique_ptrINS0_29MaterializationResponsibilityESt14default_deleteIS3_EENS0_16ThreadSafeModuleE at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
emit at C:/workdir/src\jitlayers.cpp:716
.text$_ZN4llvm3orc31BasicIRLayerMaterializationUnit11materializeESt10unique_ptrINS0_29MaterializationResponsibilityESt14default_deleteIS3_EE at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
.text$_ZN4llvm3orc19MaterializationTask3runEv at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
ZN4llvm6detail18UniqueFunctionBaseIvJSt10unique_ptrINS_3orc4TaskESt14default_deleteIS4_EEEE8CallImplIPFvS7_EEEvPvRS7 at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
.text$_ZN4llvm3orc16ExecutionSession22dispatchOutstandingMUsEv at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
.text$_ZN4llvm3orc16ExecutionSession17OL_completeLookupESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EESt10shared_ptrINS0_23AsynchronousSymbolQueryEESt8functionIFvRKNS_8DenseMapIPNS0_8JITDylibENS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISF_vEEEENSG_ISD_vEENS_6detail12DenseMapPairISD_SI_EEEEEE at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
_ZN4llvm3orc25InProgressFullLookupState8completeESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EE at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
.text$_ZN4llvm3orc16ExecutionSession19OL_applyQueryPhase1ESt10unique_ptrINS0_21InProgressLookupStateESt14default_deleteIS3_EENS_5ErrorE at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
.text$_ZN4llvm3orc16ExecutionSession6lookupENS0_10LookupKindERKSt6vectorISt4pairIPNS0_8JITDylibENS0_19JITDylibLookupFlagsEESaIS8_EENS0_15SymbolLookupSetENS0_11SymbolStateENS_15unique_functionIFvNS_8ExpectedINS_8DenseMapINS0_15SymbolStringPtrENS_18JITEvaluatedSymbolENS_12DenseMapInfoISI_vEENS_6detail12DenseMapPairISI_SJ_EEEEEEEEESt8functionIFvRKNSH_IS6_NS_8DenseSetISI_SL_EENSK_IS6_vEENSN_IS6_SV_EEEEEE at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
.text$_ZN4llvm3orc16ExecutionSession6lookupERKSt6vectorISt4pairIPNS0_8JITDylibENS0_19JITDylibLookupFlagsEESaIS7_EENS0_15SymbolLookupSetENS0_10LookupKindENS0_11SymbolStateESt8functionIFvRKNS_8DenseMapIS5_NS_8DenseSetINS0_15SymbolStringPtrENS_12DenseMapInfoISI_vEEEENSJ_IS5_vEENS_6detail12DenseMapPairIS5_SL_EEEEEE at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\bin\libLLVM-15jl.dll (unknown line)
addModule at C:/workdir/src\jitlayers.cpp:1596
jl_add_to_ee at C:/workdir/src\jitlayers.cpp:2007
_jl_compile_codeinst at C:/workdir/src\jitlayers.cpp:276
jl_generate_fptr_for_unspecialized_impl at C:/workdir/src\jitlayers.cpp:588
jl_compile_method_internal at C:/workdir/src\gf.c:2495
jl_compile_method_internal at C:/workdir/src\gf.c:2372 [inlined]
_jl_invoke at C:/workdir/src\gf.c:2887 [inlined]
ijl_invoke at C:/workdir/src\gf.c:2902
jl_invoke_julia_macro at C:/workdir/src\ast.c:1091
jl_expand_macros at C:/workdir/src\ast.c:1153
ijl_expand_with_loc_warn at C:/workdir/src\ast.c:1267
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:730
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
ijl_toplevel_eval at C:/workdir/src\toplevel.c:943 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:985
eval at .\boot.jl:385 [inlined]
include_string at .\loading.jl:2076
_include at .\loading.jl:2136
include at .\Base.jl:495
jfptr_include_49732.1 at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
jl_f__call_latest at C:/workdir/src\builtins.c:812
include at c:\Users\User.vscode\extensions\julialang.language-julia-1.79.2\scripts\packages\VSCodeServer\src\VSCodeServer.jl:1
unknown function (ip: 00000141981e07df)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:223
eval_stmt_value at C:/workdir/src\interpreter.c:174 [inlined]
eval_body at C:/workdir/src\interpreter.c:635
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:775
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:934
jl_eval_module_expr at C:/workdir/src\toplevel.c:215 [inlined]
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:736
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
ijl_toplevel_eval at C:/workdir/src\toplevel.c:943 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:985
eval at .\boot.jl:385 [inlined]
include_string at .\loading.jl:2076
_include at .\loading.jl:2136
include at .\Base.jl:495 [inlined]
include_package_for_output at .\loading.jl:2222
jfptr_include_package_for_output_84878.1 at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
do_call at C:/workdir/src\interpreter.c:126
eval_value at C:/workdir/src\interpreter.c:223
eval_stmt_value at C:/workdir/src\interpreter.c:174 [inlined]
eval_body at C:/workdir/src\interpreter.c:635
jl_interpret_toplevel_thunk at C:/workdir/src\interpreter.c:775
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:934
jl_toplevel_eval_flex at C:/workdir/src\toplevel.c:877
ijl_toplevel_eval at C:/workdir/src\toplevel.c:943 [inlined]
ijl_toplevel_eval_in at C:/workdir/src\toplevel.c:985
eval at .\boot.jl:385 [inlined]
include_string at .\loading.jl:2076
include_string at .\loading.jl:2086 [inlined]
exec_options at .\client.jl:316
_start at .\client.jl:552
jfptr__start_86591.1 at C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\lib\julia\sys.dll (unknown line)
jl_apply at C:/workdir/src\julia.h:1982 [inlined]
true_main at C:/workdir/src\jlapi.c:582
jl_repl_entrypoint at C:/workdir/src\jlapi.c:731
mainCRTStartup at C:/workdir/cli\loader_exe.c:58
BaseThreadInitThunk at C:\Windows\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\Windows\SYSTEM32\ntdll.dll (unknown line)
Allocations: 5852662 (Pool: 5844384; Big: 8278); GC: 11
ERROR: LoadError: Failed to precompile VSCodeServer [9f5989ce-84fe-42d4-91ec-6a7a8d53ed0f] to βC:\Users\User\.julia\compiled\v1.10\VSCodeServer\jl_9BAB.tmpβ.
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool)
@ Base .\loading.jl:2468
[3] compilecache
@ .\loading.jl:2340 [inlined]
[4] (::Base.var"#968#969"{Base.PkgId})()
@ Base .\loading.jl:1974
[5] mkpidlock(f::Base.var"#968#969"{Base.PkgId}, at::String, pid::Int32; kwopts::@Kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:93
[6] #mkpidlock#6
@ C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:88 [inlined]
[7] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@Kwargs{stale_age::Int64})
@ FileWatching.Pidfile C:\Users\User.julia\juliaup\julia-1.10.4+0.x64.w64.mingw32\share\julia\stdlib\v1.10\FileWatching\src\pidfile.jl:111
[8] #invokelatest#2
@ .\essentials.jl:894 [inlined]
[9] invokelatest
@ .\essentials.jl:889 [inlined]
[10] maybe_cachefile_lock(f::Base.var"#968#969"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:2983
[11] maybe_cachefile_lock
@ .\loading.jl:2980 [inlined]
[12] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:1970
[13] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1812
[14] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[15] invoke_in_world
@ .\essentials.jl:923 [inlined]
[16] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:1803
[17] macro expansion
@ .\loading.jl:1790 [inlined]
[18] macro expansion
@ .\lock.jl:267 [inlined]
[19] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:1753
[20] #invoke_in_world#3
@ .\essentials.jl:926 [inlined]
[21] invoke_in_world
@ .\essentials.jl:923 [inlined]
[22] require(into::Module, mod::Symbol)
@ Base .\loading.jl:1746
[23] top-level scope
@ c:\Users\User.vscode\extensions\julialang.language-julia-1.79.2\scripts\terminalserver\terminalserver.jl:13
in expression starting at c:\Users\User.vscode\extensions\julialang.language-julia-1.79.2\scripts\terminalserver\terminalserver.jl:2
julia>