question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Frequent Failure to start terraform-ls

See original GitHub issue

Issue Description

Frequent Failure to start terraform-ls I have a VSCode Workspace with 6 Projects (5 Terraform modules repos and 1 infra repo, that has several hundred Terraform workspaces using terragrunt and referencing those modules via git) Since maybe 2 weeks ago terraform-ls started crashing. Even without crashing it consumes the majority of CPU on the whole machine as it’s processing everything. The output log is full of messages like this

2022/09/07 08:31:48 provider_schema.go:256: PSS: getting provider schema (/home/moglum/cloud/infra/in***/***/***/***/***/***/manifests, registry.terraform.io/-/aws, )

and frequently (several times a day) it crashes with the log message below and all the content assist, autoformat and hover funcionality is gone.

Environment Information

Terraform Information

Version: 1.2.7 Platform: linux_amd64 Outdated: true

Visual Studio Code

Name Version
Operating System Linux x64 4.19.128-microsoft-standard
VSCode 1.71.0

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
armview bencoleman 0.4.6
atlascode atlassian 2.10.12
aws-toolkit-vscode amazonwebservices 1.49.0
azure-account ms-vscode 0.11.1
azure-dev ms-azuretools 0.2.0
azurecli ms-vscode 0.5.0
azurerm-vscode-tools msazurermtools 0.15.7
gc-excelviewer GrapeCity 4.2.55
git-graph mhutchie 1.30.0
gitignore codezombiech 0.9.0
gitlab-workflow GitLab 3.49.0
gitlens eamodio 12.2.1
go golang 0.35.2
import-sorter mike-co 3.3.1
indented-block-highlighting byi8220 1.0.7
jbockle-format-files jbockle 3.4.0
jsonnet heptio 0.1.0
jupyter ms-toolsai 2022.8.1002431955
jupyter-renderers ms-toolsai 1.0.9
markdown-mermaid bierner 1.15.2
npm-intellisense christian-kohler 1.4.2
opa tsandall 0.12.1
path-intellisense christian-kohler 2.8.1
presentationmode jspolancor 1.1.5
prettier-vscode esbenp 9.8.0
python ms-python 2022.14.0
rainbow-csv mechatroner 2.4.0
RunOnSave emeraldwalk 0.2.0
shell-format foxundermoon 7.2.2
shell-launcher Tyriar 0.4.1
terraform hashicorp 2.24.1
todo-tree Gruntfuggly 0.0.215
vscode-azureresourcegroups ms-azuretools 0.5.5
vscode-azurestaticwebapps ms-azuretools 0.11.2
vscode-azurestorage ms-azuretools 0.14.2
vscode-commons redhat 0.0.6
vscode-cosmosdb ms-azuretools 0.19.2
vscode-counter uctakeoff 3.0.5
vscode-css-formatter aeschli 1.0.2
vscode-docker ms-azuretools 1.22.1
vscode-dotnet-runtime ms-dotnettools 1.5.0
vscode-kubernetes-tools ms-kubernetes-tools 1.3.10
vscode-node-azure-pack ms-vscode 1.1.0
vscode-npm-script eg2 0.3.28
vscode-pylance ms-python 2022.8.50
vscode-sort-json richie5um2 1.20.0
vscode-tldr bmuskalla 1.0.0
vscode-versionlens pflannery 1.0.10
vscode-yaml redhat 1.10.1
xml DotJoshJohnson 2.5.1

Extension Logs

~106000 more log lines in a few minutes

2022/09/06 16:36:37 provider_schema.go:256: PSS: getting provider schema (/home/moglum/XYZ, terraform.io/builtin/terraform, )
fatal error: concurrent map writes
fatal error: concurrent map writes

goroutine 107 [running]:
runtime.throw({0xb136f8, 0x0})
	runtime/panic.go:1198 +0x71 fp=0xc03020d648 sp=0xc03020d618 pc=0x4348b1
runtime.mapdelete_faststr(0xa68e20, 0xc015ae7560, {0xb0a64e, 0x6})
	runtime/map_faststr.go:385 +0x135 fp=0xc03020d6a8 sp=0xc03020d648 pc=0x412fd5
github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0xc03020df08, 0xc03020df38)
	github.com/hashicorp/terraform-schema@v0.0.0-20220809100530-1ef9558a761c/schema/schema_merge.go:151 +0x200c fp=0xc03020def0 sp=0xc03020d6a8 pc=0x8057ec
github.com/hashicorp/terraform-ls/internal/decoder.schemaForModule(0xc02b538f00, {0x115dee0, 0xc0002ca2a0}, {0x7fcdad619dd8, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/module_schema.go:27 +0x1a5 fp=0xc03020dfb8 sp=0xc03020def0 pc=0x855dc5
github.com/hashicorp/terraform-ls/internal/decoder.modulePathContext(0xc02b538f00, {0x115dee0, 0xc0002ca2a0}, {0x1170718, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/decoder.go:19 +0x88 fp=0xc03020e200 sp=0xc03020dfb8 pc=0x854be8
github.com/hashicorp/terraform-ls/internal/decoder.(*PathReader).PathContext(0xc0002ca380, {{0xc01a423c87, 0x2}, {0xb0c301, 0x8}})
	github.com/hashicorp/terraform-ls/internal/decoder/path_reader.go:74 +0x12d fp=0xc03020e260 sp=0xc03020e200 pc=0x8564ed
github.com/hashicorp/terraform-ls/internal/codelens.ReferenceCount.func1({0x116ca60, 0xc02fde5f80}, {{0xc013268a07, 0x15a3ef0}, {0xc01baacf50, 0xc0002ca380}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/terraform-ls/internal/codelens/reference_count.go:59 +0x8be fp=0xc03020ea88 sp=0xc03020e260 pc=0x82543e
github.com/hashicorp/hcl-lang/decoder.(*Decoder).CodeLensesForFile(0xc0009809c0, {0x116ca60, 0xc02eeb7170}, {{0xc013268a07, 0xc028891691}, {0xc01baacf50, 0xc02a3fd5f0}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/decoder/code_lens.go:27 +0x20f fp=0xc03020eb70 sp=0xc03020ea88 pc=0x78ef6f
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens(0xc00086a100, {0x116ca60, 0xc02eeb7170}, {{{0xc00e454660, 0x56}}, {{0x0, 0x0}}, {{0x0, 0x0}}})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:25 +0x14a fp=0xc03020edd0 sp=0xc03020eb70 pc=0x9d1a4a
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens-fm({0x116ca60, 0xc02eeb7170}, {{{0xc00e454660, 0x56}}, {{0x0, 0x0}}, {{0x0, 0x0}}})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:11 +0x91 fp=0xc03020ee28 sp=0xc03020edd0 pc=0x9e6871
runtime.call64(0xc033af38f0, 0xc02eed41f0, 0x0, 0x0, 0x0, 0x40, 0xc03020f388)
	runtime/asm_amd64.s:627 +0x49 fp=0xc03020ee78 sp=0xc03020ee28 pc=0x4641a9
runtime.reflectcall(0xab49c0, 0xc02eeb71a0, 0x8, 0xb116bf, 0x0, 0x12, 0xab49c0)
	<autogenerated>:1 +0x3c fp=0xc03020eeb8 sp=0xc03020ee78 pc=0x46829c
reflect.Value.call({0xa63ae0, 0xc02eed41f0, 0xc03658d550}, {0xb096b2, 0x4}, {0xc02eeb7230, 0x2, 0x40d387})
	reflect/value.go:556 +0x845 fp=0xc03020f4a8 sp=0xc03020eeb8 pc=0x4cc665
reflect.Value.Call({0xa63ae0, 0xc02eed41f0, 0xc02eeb7170}, {0xc02eeb7230, 0x2, 0x2})
	reflect/value.go:339 +0xc5 fp=0xc03020f520 sp=0xc03020f4a8 pc=0x4cbbe5
reflect.Value.Call-fm({0xc02eeb7230, 0xc02eeb7170, 0xa63ae0})
	reflect/value.go:336 +0x45 fp=0xc03020f560 sp=0xc03020f520 pc=0x9cd705
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc02eeb7170}, 0x10)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed fp=0xc03020f5b0 sp=0xc03020f560 pc=0x9cb7ed
github.com/creachadair/jrpc2/handler.Func.Handle(...)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25
github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle({0x116ca60, 0xc02eeb7170}, 0xa6e560, {0xa63ae0, 0xc02eed41f0})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:585 +0x69 fp=0xc03020f630 sp=0xc03020f5b0 pc=0x9e4ba9
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func14({0x116ca60, 0xc02e00d650}, 0x2)
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:263 +0x108 fp=0xc03020f698 sp=0xc03020f630 pc=0x9e1048
runtime.call32(0xc00024c990, 0xc0000ae0c0, 0x0, 0x0, 0x0, 0x18, 0xc03020fbd8)
	runtime/asm_amd64.s:626 +0x49 fp=0xc03020f6c8 sp=0xc03020f698 pc=0x464109
runtime.reflectcall(0xaae300, 0xc035d0f0c0, 0x4, 0xb116bf, 0x0, 0x12, 0xaae300)
	<autogenerated>:1 +0x3c fp=0xc03020f708 sp=0xc03020f6c8 pc=0x46829c
reflect.Value.call({0xa84e60, 0xc0000ae0c0, 0x0}, {0xb096b2, 0x4}, {0xc02eeb7140, 0x2, 0xa438e0})
	reflect/value.go:556 +0x845 fp=0xc03020fcf8 sp=0xc03020f708 pc=0x4cc665
reflect.Value.Call({0xa84e60, 0xc0000ae0c0, 0xc02e00d650}, {0xc02eeb7140, 0x2, 0x2})
	reflect/value.go:339 +0xc5 fp=0xc03020fd70 sp=0xc03020fcf8 pc=0x4cbbe5
reflect.Value.Call-fm({0xc02eeb7140, 0xc02e00d650, 0xc02e85b1a0})
	reflect/value.go:336 +0x45 fp=0xc03020fdb0 sp=0xc03020fd70 pc=0x9cd705
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc02e00d650}, 0xc02e85b1b8)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed fp=0xc03020fe00 sp=0xc03020fdb0 pc=0x9cb7ed
github.com/creachadair/jrpc2/handler.Func.Handle(0xc0000b0000, {0x116ca60, 0xc02e00d650}, 0xc035d0f0c0)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 +0x2f fp=0xc03020fe28 sp=0xc03020fe00 pc=0x9cb0af
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116c9b8, 0xc035d0f100}, {0x115ea80, 0xc0000ae5e0}, 0xc035d0f0c0)
	github.com/creachadair/jrpc2@v0.41.1/server.go:355 +0x17e fp=0xc03020fef0 sp=0xc03020fe28 pc=0x9a36be
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1 fp=0xc03020ffb0 sp=0xc03020fef0 pc=0x9a23f1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a fp=0xc03020ffe0 sp=0xc03020ffb0 pc=0x9a195a
runtime.goexit()
	runtime/asm_amd64.s:1581 +0x1 fp=0xc03020ffe8 sp=0xc03020ffe0 pc=0x465c01
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 1 [chan receive, 2 minutes]:
github.com/hashicorp/terraform-ls/internal/langserver.(*langServer).StartAndWait(0xc00007eab0, {0x115e4c0, 0xc00000e010}, {0x1165888, 0xc00000e018})
	github.com/hashicorp/terraform-ls/internal/langserver/langserver.go:106 +0x1a9
github.com/hashicorp/terraform-ls/internal/cmd.(*ServeCommand).Run(0xc0001f6880, {0xc00001e050, 0x0, 0x0})
	github.com/hashicorp/terraform-ls/internal/cmd/serve_command.go:120 +0x874
github.com/mitchellh/cli.(*CLI).Run(0xc00013e000)
	github.com/mitchellh/cli@v1.1.4/cli.go:262 +0x5f8
main.main()
	github.com/hashicorp/terraform-ls/main.go:51 +0x453

goroutine 20 [syscall, 2 minutes]:
os/signal.signal_recv()
	runtime/sigqueue.go:169 +0x98
os/signal.loop()
	os/signal/signal_unix.go:24 +0x19
created by os/signal.Notify.func1.1
	os/signal/signal.go:151 +0x2c

goroutine 21 [select, 2 minutes]:
github.com/hashicorp/terraform-ls/internal/context.WithSignalCancel.func1()
	github.com/hashicorp/terraform-ls/internal/context/signal_cancel.go:18 +0xa7
created by github.com/hashicorp/terraform-ls/internal/context.WithSignalCancel
	github.com/hashicorp/terraform-ls/internal/context/signal_cancel.go:17 +0x11a

goroutine 22 [syscall]:
syscall.Syscall(0x0, 0x0, 0xc00028d000, 0x1000)
	syscall/asm_linux_amd64.s:20 +0x5
syscall.read(0xc0000360c0, {0xc00028d000, 0xc000104c30, 0x450f77})
	syscall/zsyscall_linux_amd64.go:687 +0x4d
syscall.Read(...)
	syscall/syscall_unix.go:189
internal/poll.ignoringEINTRIO(...)
	internal/poll/fd_unix.go:582
internal/poll.(*FD).Read(0xc0000360c0, {0xc00028d000, 0x1000, 0x1000})
	internal/poll/fd_unix.go:163 +0x285
os.(*File).read(...)
	os/file_posix.go:32
os.(*File).Read(0xc00000e010, {0xc00028d000, 0xc000104c10, 0x49b165})
	os/file.go:119 +0x5e
bufio.(*Reader).fill(0xc0000b6960)
	bufio/bufio.go:101 +0x103
bufio.(*Reader).ReadSlice(0xc0000b6960, 0x0)
	bufio/bufio.go:360 +0x2f
bufio.(*Reader).collectFragments(0x4c, 0x4c)
	bufio/bufio.go:435 +0x74
bufio.(*Reader).ReadString(0x0, 0x80)
	bufio/bufio.go:483 +0x2b
github.com/creachadair/jrpc2/channel.(*hdr).Recv(0xc0000b69c0)
	github.com/creachadair/jrpc2@v0.41.1/channel/hdr.go:100 +0x6e
github.com/creachadair/jrpc2/channel.opthdr.Recv({0xb2642e})
	github.com/creachadair/jrpc2@v0.41.1/channel/hdr.go:170 +0x19
github.com/creachadair/jrpc2.(*Server).read(0xc00019e0e0, {0x7fcdaf9200c8, 0xc0000b69c0})
	github.com/creachadair/jrpc2@v0.41.1/server.go:613 +0x70
github.com/creachadair/jrpc2.(*Server).Start.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:116 +0x7e
created by github.com/creachadair/jrpc2.(*Server).Start
	github.com/creachadair/jrpc2@v0.41.1/server.go:116 +0x2e5

goroutine 23 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0x0)
	runtime/sema.go:56 +0x25
sync.(*WaitGroup).Wait(0x0)
	sync/waitgroup.go:130 +0x71
github.com/creachadair/jrpc2.(*Server).waitForBarrier(0xc00093a008, 0xc01a3fa3a0)
	github.com/creachadair/jrpc2@v0.41.1/server.go:197 +0x90
github.com/creachadair/jrpc2.(*Server).dispatch(0xc00019e0e0, {0xc01a3fa3a0, 0x1, 0x1}, {0x7fcdaf82e518, 0xc0000b69c0})
	github.com/creachadair/jrpc2@v0.41.1/server.go:216 +0xc5
github.com/creachadair/jrpc2.(*Server).nextRequest(0xc00019e0e0)
	github.com/creachadair/jrpc2@v0.41.1/server.go:184 +0x335
github.com/creachadair/jrpc2.(*Server).serve(0xc00019e0e0)
	github.com/creachadair/jrpc2@v0.41.1/server.go:141 +0x33
github.com/creachadair/jrpc2.(*Server).Start.func2()
	github.com/creachadair/jrpc2@v0.41.1/server.go:119 +0x56
created by github.com/creachadair/jrpc2.(*Server).Start
	github.com/creachadair/jrpc2@v0.41.1/server.go:119 +0x327

goroutine 24 [semacquire, 2 minutes]:
sync.runtime_Semacquire(0x0)
	runtime/sema.go:56 +0x25
sync.(*WaitGroup).Wait(0x0)
	sync/waitgroup.go:130 +0x71
github.com/creachadair/jrpc2.(*Server).WaitStatus(0xc00019e0e0)
	github.com/creachadair/jrpc2@v0.41.1/server.go:532 +0x25
github.com/hashicorp/terraform-ls/internal/langserver.(*singleServer).Wait(0xc000070880)
	github.com/hashicorp/terraform-ls/internal/langserver/langserver.go:181 +0x25
github.com/hashicorp/terraform-ls/internal/langserver.(*langServer).StartAndWait.func1()
	github.com/hashicorp/terraform-ls/internal/langserver/langserver.go:101 +0x26
created by github.com/hashicorp/terraform-ls/internal/langserver.(*langServer).StartAndWait
	github.com/hashicorp/terraform-ls/internal/langserver/langserver.go:100 +0x192

goroutine 11 [chan receive, 2 minutes]:
github.com/hashicorp/terraform-ls/internal/langserver/diagnostics.(*Notifier).notify(0xc000230600)
	github.com/hashicorp/terraform-ls/internal/langserver/diagnostics/diagnostics.go:73 +0x7e
created by github.com/hashicorp/terraform-ls/internal/langserver/diagnostics.NewNotifier
	github.com/hashicorp/terraform-ls/internal/langserver/diagnostics/diagnostics.go:42 +0xfb

goroutine 12 [select, 2 minutes]:
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xc021f1e300)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:239 +0x659
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xc021f1e590)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x6c5
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xc021f1e820)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x6c5
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xc021f1eab0)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x6c5
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xc021f1ed40)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x6c5
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xc021f1efd0)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x6c5
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xc0384a1260)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x6c5
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xc0384a14f0)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x6c5
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xc0384a1780)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x6c5
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xc0384a1a10)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x6c5
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0x5d1e4f)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:245 +0x6c5
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).AwaitNextJob(0xc00027f680, {0x116ca60, 0xc0261fd3b0}, 0xffffffffffffffff)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:227 +0x205
github.com/hashicorp/terraform-ls/internal/scheduler.(*Scheduler).eval(0xc0002cc270, {0x116c9b8, 0xc00027f700})
	github.com/hashicorp/terraform-ls/internal/scheduler/scheduler.go:59 +0xa8
created by github.com/hashicorp/terraform-ls/internal/scheduler.(*Scheduler).Start
	github.com/hashicorp/terraform-ls/internal/scheduler/scheduler.go:48 +0x69

goroutine 13 [select, 2 minutes]:
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).awaitNextJob(0xc00027f680, {0x116ca60, 0xc026956540}, 0x5d1e4f)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:239 +0x659
github.com/hashicorp/terraform-ls/internal/state.(*JobStore).AwaitNextJob(0xc00027f680, {0x116ca60, 0xc026956540}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/jobs.go:227 +0x205
github.com/hashicorp/terraform-ls/internal/scheduler.(*Scheduler).eval(0xc0002cc2d0, {0x116c9b8, 0xc00027f740})
	github.com/hashicorp/terraform-ls/internal/scheduler/scheduler.go:59 +0xa8
created by github.com/hashicorp/terraform-ls/internal/scheduler.(*Scheduler).Start
	github.com/hashicorp/terraform-ls/internal/scheduler/scheduler.go:48 +0x69

goroutine 14 [select, 2 minutes]:
github.com/hashicorp/terraform-ls/internal/state.(*ModuleStore).AwaitNextChangeBatch(0xc00027f6c0, {0x116ca60, 0xc000230660})
	github.com/hashicorp/terraform-ls/internal/state/module_changes.go:202 +0x69e
github.com/hashicorp/terraform-ls/internal/langserver/notifier.(*Notifier).notify(0xc0002cc360, {0x116ca60, 0xc000230660})
	github.com/hashicorp/terraform-ls/internal/langserver/notifier/notifier.go:59 +0x82
github.com/hashicorp/terraform-ls/internal/langserver/notifier.(*Notifier).Start.func1()
	github.com/hashicorp/terraform-ls/internal/langserver/notifier/notifier.go:50 +0x67
created by github.com/hashicorp/terraform-ls/internal/langserver/notifier.(*Notifier).Start
	github.com/hashicorp/terraform-ls/internal/langserver/notifier/notifier.go:41 +0x8f

goroutine 49 [select, 2 minutes]:
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4040}, 0x0)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:214 +0x376
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).AwaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4040}, 0x0)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:152 +0x14d
github.com/hashicorp/terraform-ls/internal/state.(*PathAwaiter).AwaitNextDir(0xc01878ff80, {0x116c9b8, 0xc023fa4040})
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:50 +0x2d
github.com/hashicorp/terraform-ls/internal/walker.(*Walker).StartWalking.func1()
	github.com/hashicorp/terraform-ls/internal/walker/walker.go:105 +0x5b
created by github.com/hashicorp/terraform-ls/internal/walker.(*Walker).StartWalking
	github.com/hashicorp/terraform-ls/internal/walker/walker.go:103 +0xc8

goroutine 50 [select, 2 minutes]:
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:214 +0x376
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x3ab
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x3ab
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x3ab
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x3ab
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x3ab
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x3ab
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x3ab
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x3ab
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).awaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:220 +0x3ab
github.com/hashicorp/terraform-ls/internal/state.(*WalkerPathStore).AwaitNextDir(0xc0002cc240, {0x116c9b8, 0xc023fa4080}, 0x1)
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:152 +0x14d
github.com/hashicorp/terraform-ls/internal/state.(*PathAwaiter).AwaitNextDir(0x0, {0x116c9b8, 0xc023fa4080})
	github.com/hashicorp/terraform-ls/internal/state/walker_paths.go:50 +0x2d
github.com/hashicorp/terraform-ls/internal/walker.(*Walker).StartWalking.func1()
	github.com/hashicorp/terraform-ls/internal/walker/walker.go:105 +0x5b
created by github.com/hashicorp/terraform-ls/internal/walker.(*Walker).StartWalking
	github.com/hashicorp/terraform-ls/internal/walker/walker.go:103 +0xc8

goroutine 100 [runnable]:
golang.org/x/net/idna.(*idnaTrie).lookupString(0x15a3bc0, {0xb0c305, 0x5})
	golang.org/x/net@v0.0.0-20220722155237-a158d28d115b/idna/tables13.0.0.go:468 +0x285
golang.org/x/net/idna.validateAndMap(0xc01a495440, {0xb0c301, 0x9})
	golang.org/x/net@v0.0.0-20220722155237-a158d28d115b/idna/idna10.0.0.go:487 +0x116
golang.org/x/net/idna.(*Profile).process(0xc01a495440, {0xb0c301, 0xa32660}, 0x0)
	golang.org/x/net@v0.0.0-20220722155237-a158d28d115b/idna/idna10.0.0.go:341 +0x55
golang.org/x/net/idna.(*Profile).ToUnicode(0x155f7a0, {0xb0c301, 0x9})
	golang.org/x/net@v0.0.0-20220722155237-a158d28d115b/idna/idna10.0.0.go:240 +0x88
github.com/hashicorp/terraform-registry-address.ParseProviderPart({0xb0c301, 0x9})
	github.com/hashicorp/terraform-registry-address@v0.0.0-20220623143253-7d51757b572c/provider.go:427 +0x85
github.com/hashicorp/terraform-registry-address.MustParseProviderPart({0xb0c301, 0xc02ecab4d8})
	github.com/hashicorp/terraform-registry-address@v0.0.0-20220623143253-7d51757b572c/provider.go:438 +0x1e
github.com/hashicorp/terraform-schema/internal/addr.NewLegacyProvider(...)
	github.com/hashicorp/terraform-schema@v0.0.0-20220809100530-1ef9558a761c/internal/addr/addr.go:10
github.com/hashicorp/terraform-schema/schema.isRemoteStateDataSource({{0xc02b0fd216, 0x3}, {0xb09154, 0x1}, {0xb13ae8, 0x15}}, {0xc01291aff0, 0x2d})
	github.com/hashicorp/terraform-schema@v0.0.0-20220809100530-1ef9558a761c/schema/schema_merge_remote_state_ds.go:20 +0x445
github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0xc02ecabf08, 0xc02ecabf38)
	github.com/hashicorp/terraform-schema@v0.0.0-20220809100530-1ef9558a761c/schema/schema_merge.go:146 +0x1e9e
github.com/hashicorp/terraform-ls/internal/decoder.schemaForModule(0xc030584d20, {0x115dee0, 0xc0002ca2a0}, {0x7fcdad619dd8, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/module_schema.go:27 +0x1a5
github.com/hashicorp/terraform-ls/internal/decoder.modulePathContext(0xc030584d20, {0x115dee0, 0xc0002ca2a0}, {0x1170718, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/decoder.go:19 +0x88
github.com/hashicorp/terraform-ls/internal/decoder.(*PathReader).PathContext(0xc0002ca380, {{0xc027f45f87, 0x2}, {0xb0c301, 0x8}})
	github.com/hashicorp/terraform-ls/internal/decoder/path_reader.go:74 +0x12d
github.com/hashicorp/terraform-ls/internal/codelens.ReferenceCount.func1({0x116ca60, 0xc02e6e6e70}, {{0xc013268a07, 0x15a3ef0}, {0xc01baacf50, 0xc0002ca380}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/terraform-ls/internal/codelens/reference_count.go:59 +0x8be
github.com/hashicorp/hcl-lang/decoder.(*Decoder).CodeLensesForFile(0xc0009809c0, {0x116ca60, 0xc03658a030}, {{0xc013268a07, 0xc00dab5a91}, {0xc01baacf50, 0xc02a3fd5f0}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/decoder/code_lens.go:27 +0x20f
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens(0xc00086a100, {0x116ca60, 0xc03658a030}, {{{0xc00e446000, 0x56}}, {{0x0, 0x0}}, {{0x0, 0x0}}})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:25 +0x14a
reflect.Value.call({0xa63ae0, 0xc036594010, 0xc036591550}, {0xb096b2, 0x4}, {0xc03658a0f0, 0x2, 0x40d387})
	reflect/value.go:556 +0x845
reflect.Value.Call({0xa63ae0, 0xc036594010, 0xc03658a030}, {0xc03658a0f0, 0x2, 0x2})
	reflect/value.go:339 +0xc5
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc03658a030}, 0x10)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed
github.com/creachadair/jrpc2/handler.Func.Handle(...)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25
github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle({0x116ca60, 0xc03658a030}, 0xa6e560, {0xa63ae0, 0xc036594010})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:585 +0x69
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func14({0x116ca60, 0xc035d16240}, 0x2)
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:263 +0x108
reflect.Value.call({0xa84e60, 0xc0000ae0c0, 0x0}, {0xb096b2, 0x4}, {0xc03658a000, 0x2, 0xa438e0})
	reflect/value.go:556 +0x845
reflect.Value.Call({0xa84e60, 0xc0000ae0c0, 0xc035d16240}, {0xc03658a000, 0x2, 0x2})
	reflect/value.go:339 +0xc5
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc035d16240}, 0xc035d0a588)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed
github.com/creachadair/jrpc2/handler.Func.Handle(0xc0000b0000, {0x116ca60, 0xc035d16240}, 0xc035d0ee00)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 +0x2f
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116c9b8, 0xc035d0ee40}, {0x115ea80, 0xc0000ae5e0}, 0xc035d0ee00)
	github.com/creachadair/jrpc2@v0.41.1/server.go:355 +0x17e
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 113 [runnable]:
github.com/hashicorp/hcl-lang/schema.ExprConstraints.Copy({0xc03044ec50, 0x1, 0xc0369e8c00})
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/schema/expressions.go:22 +0xa9
github.com/hashicorp/hcl-lang/schema.(*AttributeSchema).Copy(0xc01c82ab80)
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/schema/attribute_schema.go:115 +0x4b
github.com/hashicorp/hcl-lang/schema.(*BodySchema).Copy(0xc005670dc0)
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/schema/body_schema.go:191 +0x40d
github.com/hashicorp/hcl-lang/schema.(*BlockSchema).Copy(0xc0039fc900)
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/schema/block_schema.go:190 +0x41c
github.com/hashicorp/hcl-lang/schema.(*BodySchema).Copy(0xc005671220)
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/schema/body_schema.go:198 +0x527
github.com/hashicorp/hcl-lang/schema.(*BlockSchema).Copy(0xc0039fcc00)
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/schema/block_schema.go:176 +0x85
github.com/hashicorp/hcl-lang/schema.(*BodySchema).Copy(0xc00565b540)
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/schema/body_schema.go:198 +0x527
github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0xc0369e9f08, 0xc0369e9f38)
	github.com/hashicorp/terraform-schema@v0.0.0-20220809100530-1ef9558a761c/schema/schema_merge.go:61 +0x56
github.com/hashicorp/terraform-ls/internal/decoder.schemaForModule(0xc02f312780, {0x115dee0, 0xc0002ca2a0}, {0x7fcdad619dd8, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/module_schema.go:27 +0x1a5
github.com/hashicorp/terraform-ls/internal/decoder.modulePathContext(0xc02f312780, {0x115dee0, 0xc0002ca2a0}, {0x1170718, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/decoder.go:19 +0x88
github.com/hashicorp/terraform-ls/internal/decoder.(*PathReader).PathContext(0xc0002ca380, {{0xc021dc2777, 0x4}, {0xb0c301, 0x4}})
	github.com/hashicorp/terraform-ls/internal/decoder/path_reader.go:74 +0x12d
github.com/hashicorp/terraform-ls/internal/codelens.ReferenceCount.func1({0x116ca60, 0xc00f071d40}, {{0xc013268a07, 0x15a3ef0}, {0xc01baacf50, 0xc0002ca380}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/terraform-ls/internal/codelens/reference_count.go:59 +0x8be
github.com/hashicorp/hcl-lang/decoder.(*Decoder).CodeLensesForFile(0xc0009809c0, {0x116ca60, 0xc00e19c090}, {{0xc013268a07, 0xc033318711}, {0xc01baacf50, 0xc02a3fd5f0}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/decoder/code_lens.go:27 +0x20f
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens(0xc00086a100, {0x116ca60, 0xc00e19c090}, {{{0xc03608a000, 0x56}}, {{0x0, 0x0}}, {{0x0, 0x0}}})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:25 +0x14a
reflect.Value.call({0xa63ae0, 0xc00c06e340, 0xc0008b5550}, {0xb096b2, 0x4}, {0xc00e19c210, 0x2, 0x40d387})
	reflect/value.go:556 +0x845
reflect.Value.Call({0xa63ae0, 0xc00c06e340, 0xc00e19c090}, {0xc00e19c210, 0x2, 0x2})
	reflect/value.go:339 +0xc5
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc00e19c090}, 0x10)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed
github.com/creachadair/jrpc2/handler.Func.Handle(...)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25
github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle({0x116ca60, 0xc00e19c090}, 0xa6e560, {0xa63ae0, 0xc00c06e340})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:585 +0x69
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func14({0x116ca60, 0xc01ae0ad80}, 0x2)
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:263 +0x108
reflect.Value.call({0xa84e60, 0xc0000ae0c0, 0x0}, {0xb096b2, 0x4}, {0xc00e19c030, 0x2, 0xa438e0})
	reflect/value.go:556 +0x845
reflect.Value.Call({0xa84e60, 0xc0000ae0c0, 0xc01ae0ad80}, {0xc00e19c030, 0x2, 0x2})
	reflect/value.go:339 +0xc5
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc01ae0ad80}, 0xc01d90c018)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed
github.com/creachadair/jrpc2/handler.Func.Handle(0xc0000b0000, {0x116ca60, 0xc01ae0ad80}, 0xc0085bc2c0)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 +0x2f
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116c9b8, 0xc0085bc300}, {0x115ea80, 0xc0000ae5e0}, 0xc0085bc2c0)
	github.com/creachadair/jrpc2@v0.41.1/server.go:355 +0x17e
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 104 [running]:
	goroutine running on other thread; stack unavailable
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 149 [runnable]:
github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0xc038421f08, 0xc038421f38)
	github.com/hashicorp/terraform-schema@v0.0.0-20220809100530-1ef9558a761c/schema/schema_merge.go:164 +0x21d8
github.com/hashicorp/terraform-ls/internal/decoder.schemaForModule(0xc024e83680, {0x115dee0, 0xc0002ca2a0}, {0x7fcdad619dd8, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/module_schema.go:27 +0x1a5
github.com/hashicorp/terraform-ls/internal/decoder.modulePathContext(0xc024e83680, {0x115dee0, 0xc0002ca2a0}, {0x1170718, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/decoder.go:19 +0x88
github.com/hashicorp/terraform-ls/internal/decoder.(*PathReader).PathContext(0xc0002ca380, {{0xc009c610e7, 0x2}, {0xb0c301, 0x8}})
	github.com/hashicorp/terraform-ls/internal/decoder/path_reader.go:74 +0x12d
github.com/hashicorp/terraform-ls/internal/codelens.ReferenceCount.func1({0x116ca60, 0xc03aabcf30}, {{0xc013268a07, 0x15a3ef0}, {0xc01baacf50, 0xc0002ca380}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/terraform-ls/internal/codelens/reference_count.go:59 +0x8be
github.com/hashicorp/hcl-lang/decoder.(*Decoder).CodeLensesForFile(0xc0009809c0, {0x116ca60, 0xc03a00e120}, {{0xc013268a07, 0xc03674a011}, {0xc01baacf50, 0xc02a3fd5f0}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/decoder/code_lens.go:27 +0x20f
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens(0xc00086a100, {0x116ca60, 0xc03a00e120}, {{{0xc00e4266c0, 0x56}}, {{0x0, 0x0}}, {{0x0, 0x0}}})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:25 +0x14a
reflect.Value.call({0xa63ae0, 0xc03a00c0f0, 0x465d67}, {0xb096b2, 0x4}, {0xc03a00e1e0, 0x2, 0x40d387})
	reflect/value.go:556 +0x845
reflect.Value.Call({0xa63ae0, 0xc03a00c0f0, 0xc03a00e120}, {0xc03a00e1e0, 0x2, 0x2})
	reflect/value.go:339 +0xc5
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc03a00e120}, 0x10)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed
github.com/creachadair/jrpc2/handler.Func.Handle(...)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25
github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle({0x116ca60, 0xc03a00e120}, 0xa6e560, {0xa63ae0, 0xc03a00c0f0})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:585 +0x69
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func14({0x116ca60, 0xc03a00e0c0}, 0x2)
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:263 +0x108
reflect.Value.call({0xa84e60, 0xc0000ae0c0, 0xc035d18340}, {0xb096b2, 0x4}, {0xc03a00e0f0, 0x2, 0x20300e})
	reflect/value.go:556 +0x845
reflect.Value.Call({0xa84e60, 0xc0000ae0c0, 0xc03a00e0c0}, {0xc03a00e0f0, 0x2, 0x2})
	reflect/value.go:339 +0xc5
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc03a00e0c0}, 0xc03a002120)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed
github.com/creachadair/jrpc2/handler.Func.Handle(0xc0000b0000, {0x116ca60, 0xc03a00e0c0}, 0xc01c3b5d80)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 +0x2f
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116c9b8, 0xc01c3b5dc0}, {0x115ea80, 0xc0000ae5e0}, 0xc01c3b5d80)
	github.com/creachadair/jrpc2@v0.41.1/server.go:355 +0x17e
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 169 [select, 2 minutes]:
golang.org/x/sync/semaphore.(*Weighted).Acquire(0xc00007a0f0, {0x116ca60, 0xc038205ce0}, 0x1)
	golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/semaphore/semaphore.go:60 +0x349
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116c9b8, 0xc028b09cc0}, {0x115ea80, 0xc0000ae2e0}, 0xc028b09c80)
	github.com/creachadair/jrpc2@v0.41.1/server.go:349 +0xd4
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 133 [runnable]:
sort.SliceStable({0xa32720, 0xc0057077d0}, 0xc03b25d5d8)
	sort/slice.go:29 +0xa5
github.com/hashicorp/hcl-lang/schema.DependencyKeys.MarshalJSON({{0xc0057077b8, 0x1, 0x1}, {0xc03ed9e820, 0x1, 0x1}})
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/schema/dependent_schema.go:28 +0xd5
github.com/hashicorp/hcl-lang/schema.NewSchemaKey({{0xc0057077b8, 0x1, 0x1}, {0xc03ed9e820, 0x1, 0x1}})
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/schema/dependent_schema.go:50 +0x54
github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0xc03b25df08, 0xc03b25df38)
	github.com/hashicorp/terraform-schema@v0.0.0-20220809100530-1ef9558a761c/schema/schema_merge.go:116 +0x1af2
github.com/hashicorp/terraform-ls/internal/decoder.schemaForModule(0xc02bcc5a40, {0x115dee0, 0xc0002ca2a0}, {0x7fcdad619dd8, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/module_schema.go:27 +0x1a5
github.com/hashicorp/terraform-ls/internal/decoder.modulePathContext(0xc02bcc5a40, {0x115dee0, 0xc0002ca2a0}, {0x1170718, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/decoder.go:19 +0x88
github.com/hashicorp/terraform-ls/internal/decoder.(*PathReader).PathContext(0xc0002ca380, {{0xc027bfd787, 0x2}, {0xb0c301, 0x8}})
	github.com/hashicorp/terraform-ls/internal/decoder/path_reader.go:74 +0x12d
github.com/hashicorp/terraform-ls/internal/codelens.ReferenceCount.func1({0x116ca60, 0xc03afc9020}, {{0xc013268a07, 0x15a3ef0}, {0xc01baacf50, 0xc0002ca380}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/terraform-ls/internal/codelens/reference_count.go:59 +0x8be
github.com/hashicorp/hcl-lang/decoder.(*Decoder).CodeLensesForFile(0xc0009809c0, {0x116ca60, 0xc0442641e0}, {{0xc013268a07, 0xc038212891}, {0xc01baacf50, 0xc02a3fd5f0}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/decoder/code_lens.go:27 +0x20f
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens(0xc00086a100, {0x116ca60, 0xc0442641e0}, {{{0xc018d10000, 0x56}}, {{0x0, 0x0}}, {{0x0, 0x0}}})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:25 +0x14a
reflect.Value.call({0xa63ae0, 0xc044262140, 0x465d67}, {0xb096b2, 0x4}, {0xc0442642a0, 0x2, 0x40d387})
	reflect/value.go:556 +0x845
reflect.Value.Call({0xa63ae0, 0xc044262140, 0xc0442641e0}, {0xc0442642a0, 0x2, 0x2})
	reflect/value.go:339 +0xc5
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc0442641e0}, 0x10)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed
github.com/creachadair/jrpc2/handler.Func.Handle(...)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25
github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle({0x116ca60, 0xc0442641e0}, 0xa6e560, {0xa63ae0, 0xc044262140})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:585 +0x69
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func14({0x116ca60, 0xc044264180}, 0x2)
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:263 +0x108
reflect.Value.call({0xa84e60, 0xc0000ae0c0, 0xc0273801a0}, {0xb096b2, 0x4}, {0xc0442641b0, 0x2, 0x203011})
	reflect/value.go:556 +0x845
reflect.Value.Call({0xa84e60, 0xc0000ae0c0, 0xc044264180}, {0xc0442641b0, 0x2, 0x2})
	reflect/value.go:339 +0xc5
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc044264180}, 0xc044266090)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed
github.com/creachadair/jrpc2/handler.Func.Handle(0xc0000b0000, {0x116ca60, 0xc044264180}, 0xc02ce42080)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 +0x2f
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116c9b8, 0xc02ce42100}, {0x115ea80, 0xc0000ae5e0}, 0xc02ce42080)
	github.com/creachadair/jrpc2@v0.41.1/server.go:355 +0x17e
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 170 [select, 2 minutes]:
golang.org/x/sync/semaphore.(*Weighted).Acquire(0xc00007a0f0, {0x116ca60, 0xc02d464030}, 0x1)
	golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/semaphore/semaphore.go:60 +0x349
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116ca60, 0xc02d464000}, {0x115ea80, 0xc0000ae360}, 0xc03318c000)
	github.com/creachadair/jrpc2@v0.41.1/server.go:349 +0xd4
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 152 [select, 2 minutes]:
golang.org/x/sync/semaphore.(*Weighted).Acquire(0xc00007a0f0, {0x116ca60, 0xc047750030}, 0x1)
	golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/semaphore/semaphore.go:60 +0x349
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116c9b8, 0xc017f1a040}, {0x115ea80, 0xc0000ae420}, 0xc017f1a000)
	github.com/creachadair/jrpc2@v0.41.1/server.go:349 +0xd4
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 153 [select, 2 minutes]:
golang.org/x/sync/semaphore.(*Weighted).Acquire(0xc00007a0f0, {0x116ca60, 0xc0477500c0}, 0x1)
	golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/semaphore/semaphore.go:60 +0x349
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116c9b8, 0xc017f1a0c0}, {0x115ea80, 0xc0000ae460}, 0xc017f1a080)
	github.com/creachadair/jrpc2@v0.41.1/server.go:349 +0xd4
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 154 [select, 2 minutes]:
golang.org/x/sync/semaphore.(*Weighted).Acquire(0xc00007a0f0, {0x116ca60, 0xc046720030}, 0x1)
	golang.org/x/sync@v0.0.0-20220722155255-886fb9371eb4/semaphore/semaphore.go:60 +0x349
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116c9b8, 0xc026ed4080}, {0x115ea80, 0xc0000ae520}, 0xc026ed4000)
	github.com/creachadair/jrpc2@v0.41.1/server.go:349 +0xd4
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29

goroutine 104 [running]:
runtime.throw({0xb136f8, 0x0})
	runtime/panic.go:1198 +0x71 fp=0xc02ed05648 sp=0xc02ed05618 pc=0x4348b1
runtime.mapdelete_faststr(0xa68e20, 0xc015ae7560, {0xb0a64e, 0x6})
	runtime/map_faststr.go:385 +0x135 fp=0xc02ed056a8 sp=0xc02ed05648 pc=0x412fd5
github.com/hashicorp/terraform-schema/schema.(*SchemaMerger).SchemaForModule(0xc02ed05f08, 0xc02ed05f38)
	github.com/hashicorp/terraform-schema@v0.0.0-20220809100530-1ef9558a761c/schema/schema_merge.go:151 +0x200c fp=0xc02ed05ef0 sp=0xc02ed056a8 pc=0x8057ec
github.com/hashicorp/terraform-ls/internal/decoder.schemaForModule(0xc0254714a0, {0x115dee0, 0xc0002ca2a0}, {0x7fcdad619dd8, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/module_schema.go:27 +0x1a5 fp=0xc02ed05fb8 sp=0xc02ed05ef0 pc=0x855dc5
github.com/hashicorp/terraform-ls/internal/decoder.modulePathContext(0xc0254714a0, {0x115dee0, 0xc0002ca2a0}, {0x1170718, 0xc00027f6c0})
	github.com/hashicorp/terraform-ls/internal/decoder/decoder.go:19 +0x88 fp=0xc02ed06200 sp=0xc02ed05fb8 pc=0x854be8
github.com/hashicorp/terraform-ls/internal/decoder.(*PathReader).PathContext(0xc0002ca380, {{0xc01b48f117, 0x2}, {0xb0c301, 0x8}})
	github.com/hashicorp/terraform-ls/internal/decoder/path_reader.go:74 +0x12d fp=0xc02ed06260 sp=0xc02ed06200 pc=0x8564ed
github.com/hashicorp/terraform-ls/internal/codelens.ReferenceCount.func1({0x116ca60, 0xc02e7246f0}, {{0xc013268a07, 0x15a3ef0}, {0xc01baacf50, 0xc0002ca380}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/terraform-ls/internal/codelens/reference_count.go:59 +0x8be fp=0xc02ed06a88 sp=0xc02ed06260 pc=0x82543e
github.com/hashicorp/hcl-lang/decoder.(*Decoder).CodeLensesForFile(0xc0009809c0, {0x116ca60, 0xc033af3740}, {{0xc013268a07, 0x0}, {0xc01baacf50, 0xc0245ea700}}, {0xc02097ef9f, 0x17})
	github.com/hashicorp/hcl-lang@v0.0.0-20220808135720-b66451713db4/decoder/code_lens.go:27 +0x20f fp=0xc02ed06b70 sp=0xc02ed06a88 pc=0x78ef6f
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens(0xc00086a100, {0x116ca60, 0xc033af3740}, {{{0xc004002d20, 0x56}}, {{0x0, 0x0}}, {{0x0, 0x0}}})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:25 +0x14a fp=0xc02ed06dd0 sp=0xc02ed06b70 pc=0x9d1a4a
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).TextDocumentCodeLens-fm({0x116ca60, 0xc033af3740}, {{{0xc004002d20, 0x56}}, {{0x0, 0x0}}, {{0x0, 0x0}}})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/code_lens.go:11 +0x91 fp=0xc02ed06e28 sp=0xc02ed06dd0 pc=0x9e6871
runtime.call64(0xc033af38f0, 0xc0302c2c80, 0x0, 0x0, 0x0, 0x40, 0xc02ed07388)
	runtime/asm_amd64.s:627 +0x49 fp=0xc02ed06e78 sp=0xc02ed06e28 pc=0x4641a9
runtime.reflectcall(0xab49c0, 0xc033af3770, 0x8, 0xb116bf, 0x0, 0x12, 0xab49c0)
	<autogenerated>:1 +0x3c fp=0xc02ed06eb8 sp=0xc02ed06e78 pc=0x46829c
reflect.Value.call({0xa63ae0, 0xc0302c2c80, 0xc02e0ad550}, {0xb096b2, 0x4}, {0xc033af38c0, 0x2, 0x40d387})
	reflect/value.go:556 +0x845 fp=0xc02ed074a8 sp=0xc02ed06eb8 pc=0x4cc665
reflect.Value.Call({0xa63ae0, 0xc0302c2c80, 0xc033af3740}, {0xc033af38c0, 0x2, 0x2})
	reflect/value.go:339 +0xc5 fp=0xc02ed07520 sp=0xc02ed074a8 pc=0x4cbbe5
reflect.Value.Call-fm({0xc033af38c0, 0xc033af3740, 0xa63ae0})
	reflect/value.go:336 +0x45 fp=0xc02ed07560 sp=0xc02ed07520 pc=0x9cd705
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc033af3740}, 0x10)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed fp=0xc02ed075b0 sp=0xc02ed07560 pc=0x9cb7ed
github.com/creachadair/jrpc2/handler.Func.Handle(...)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25
github.com/hashicorp/terraform-ls/internal/langserver/handlers.handle({0x116ca60, 0xc033af3740}, 0xa6e560, {0xa63ae0, 0xc0302c2c80})
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:585 +0x69 fp=0xc02ed07630 sp=0xc02ed075b0 pc=0x9e4ba9
github.com/hashicorp/terraform-ls/internal/langserver/handlers.(*service).Assigner.func14({0x116ca60, 0xc033af36e0}, 0x2)
	github.com/hashicorp/terraform-ls/internal/langserver/handlers/service.go:263 +0x108 fp=0xc02ed07698 sp=0xc02ed07630 pc=0x9e1048
runtime.call32(0xc00024c990, 0xc0000ae0c0, 0x0, 0x0, 0x0, 0x18, 0xc02ed07bd8)
	runtime/asm_amd64.s:626 +0x49 fp=0xc02ed076c8 sp=0xc02ed07698 pc=0x464109
runtime.reflectcall(0xaae300, 0xc035d0ef80, 0x4, 0xb116bf, 0x0, 0x12, 0xaae300)
	<autogenerated>:1 +0x3c fp=0xc02ed07708 sp=0xc02ed076c8 pc=0x46829c
reflect.Value.call({0xa84e60, 0xc0000ae0c0, 0x0}, {0xb096b2, 0x4}, {0xc033af3710, 0x2, 0xa438e0})
	reflect/value.go:556 +0x845 fp=0xc02ed07cf8 sp=0xc02ed07708 pc=0x4cc665
reflect.Value.Call({0xa84e60, 0xc0000ae0c0, 0xc033af36e0}, {0xc033af3710, 0x2, 0x2})
	reflect/value.go:339 +0xc5 fp=0xc02ed07d70 sp=0xc02ed07cf8 pc=0x4cbbe5
reflect.Value.Call-fm({0xc033af3710, 0xc033af36e0, 0xc0000a8450})
	reflect/value.go:336 +0x45 fp=0xc02ed07db0 sp=0xc02ed07d70 pc=0x9cd705
github.com/creachadair/jrpc2/handler.(*FuncInfo).Wrap.func8({0x116ca60, 0xc033af36e0}, 0xc0000a8468)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:236 +0xed fp=0xc02ed07e00 sp=0xc02ed07db0 pc=0x9cb7ed
github.com/creachadair/jrpc2/handler.Func.Handle(0xc0000b0000, {0x116ca60, 0xc033af36e0}, 0xc035d0ef80)
	github.com/creachadair/jrpc2@v0.41.1/handler/handler.go:25 +0x2f fp=0xc02ed07e28 sp=0xc02ed07e00 pc=0x9cb0af
github.com/creachadair/jrpc2.(*Server).invoke(0xc00019e0e0, {0x116c9b8, 0xc035d0efc0}, {0x115ea80, 0xc0000ae5e0}, 0xc035d0ef80)
	github.com/creachadair/jrpc2@v0.41.1/server.go:355 +0x17e fp=0xc02ed07ef0 sp=0xc02ed07e28 pc=0x9a36be
github.com/creachadair/jrpc2.(*Server).dispatch.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:227 +0x1b1 fp=0xc02ed07fb0 sp=0xc02ed07ef0 pc=0x9a23f1
github.com/creachadair/jrpc2.(*Server).serve.func1()
	github.com/creachadair/jrpc2@v0.41.1/server.go:149 +0x5a fp=0xc02ed07fe0 sp=0xc02ed07fb0 pc=0x9a195a
runtime.goexit()
	runtime/asm_amd64.s:1581 +0x1 fp=0xc02ed07fe8 sp=0xc02ed07fe0 pc=0x465c01
created by github.com/creachadair/jrpc2.(*Server).serve
	github.com/creachadair/jrpc2@v0.41.1/server.go:147 +0x29
Failure to start terraform-ls. Please check your configuration settings and reload this window
[Error - 4:36:37 PM] Connection to server got closed. Server will not be restarted.
[Error - 4:36:37 PM] Request textDocument/codeLens failed.
Error: Connection got disposed.
	at Object.dispose (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:42:4070)
	at Object.dispose (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:47:9584)
	at _l.handleConnectionClosed (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:49:9075)
	at _l.handleConnectionClosed (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:52:12102)
	at r (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:49:8757)
	at Za.invoke (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:15:9648)
	at ni.fire (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:15:10413)
	at pe (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:16:10887)
	at Za.invoke (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:15:9648)
	at ni.fire (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:15:10413)
	at Bo.fireClose (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:15:12689)
	at Socket.<anonymous> (/home/moglum/.vscode-server/extensions/hashicorp.terraform-2.24.1-linux-x64/out/extension.js:15:14241)
	at Socket.emit (node:events:538:35)
	at Socket.emit (node:domain:475:12)
	at Pipe.<anonymous> (node:net:687:12)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Moglumcommented, Sep 8, 2022

I disabled the referenceCount yesterday and got no crashes so far with version 2.24.1

Now I’ve updated to the latest extension version 2.24.2 and will re-enable referenceCount to see how it behaves. Thank you, will post an update later this week or next week.

0reactions
github-actions[bot]commented, Nov 20, 2022

I’m going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Couldn't start client Terraform LS" error despite installing ...
When I run the command Terraform: Enable Language Server , I get an error message "Couldn't start client Terraform LS".
Read more >
Couldn't start client Terraform LS - VSCode - Big Sur - macOS
Couldn't start client Terraform LS. Uninstalled everything (Plugin, VSCode, Terraform, Terraform-LS) Reinstalled everything (Homebrew).
Read more >
VSCode: Terraform Module Calls not working
From command line, all of my regular terraform commands work fine, so I know the modules are initialized and current,. After reading through...
Read more >
HashiCorp Terraform - Open VSX Registry
Get started writing Terraform configurations with VS Code in three steps: ... Read the Troubleshooting Guide for answers to common questions.
Read more >
VS Code Terraform Language Server crash. - Reddit
I deinstalled all the Terraform packages and the terraform-ls package, so I can start new. Because of curiosity I parallel installed vscodium, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found