-
Notifications
You must be signed in to change notification settings - Fork 645
extension startup false & typing lag for "[warning] UNRESPONSIVE extension host, 'ms-vscode.Go'" #3178
Comments
Thanks for the report and the profile. @zenchan From both profiles show go-outline (invoked to find benchmark functions for codelens) as the expensive operation. @ramya-rao-a can you please take a look? About |
@ramya-rao-a @hyangah Is there any plan to fix this? I had to disabled the extension for the typing lag. Thanks |
I am also getting this error now:
This appears to spawn a significant number of processes, which causes chrome tabs to fail to load, VSCode to freeze and new terminal sessions to fail with:
At first I thought this might be to do with 0.14.1, but I can repro with 0.14.0 so maybe not |
@zenchan Does the program go away if codelens is disabled? ( And if possible, try to run @mbamber are you using Can you find the list of processes the extension spawned? (If |
@hyangah I am not using I can confirm that loading a go file with 0.14.x causes a large number of |
Thanks @mbamber - that's helpful. In the above @quoctruong @ramya-rao-a @zmb3 can you please take a look? I believe |
Sorry @hyangah - which command are we talking about, I think I might be missing something |
@mbamber the |
Oh 🤦♂️ I see now. Yes the |
Wondering if this could be related to 16cbd97. I would continue to use |
@hyangah |
The catch though is to know which processes spawns child processes and which don't. |
@zenchan, @mbamber, I have reverted the change 16cbd97 for just the go-outline tool in the latest beta version of the extension. Can you try this version, remove the |
@butuzov, @abhishekkrm Can you try the new latest beta version with your original setting |
I can't confirm that beta fixed the issue. It's still there.
I am back to 0.13.0 wich looks not affected by this issue. feel free to ping me to test any new beta. |
@hyangah I only reverted the change to use tree-kill for the Does |
correct. |
@ramya-rao-a I think maybe we should revert the use of tree-kill not only for |
I have difficulty in reproducing the problem. If you have detailed instruction (settings.json, os, open files) and public repositories we can use to reproduce the bug, please share with us. @butuzov what is the version of |
https://www.youtube.com/watch?v=nR8gWDuSKVw I am using ping @hyangah |
Let's continue the discussion on this in the upstream issue: golang/vscode-go#90. |
go version
go1.13.5 windows/amd64
vscode version
Version: 1.44.1 (system setup)
Commit: a9f8623ec050e5f0b44cc8ce8204a1455884749f
Date: 2020-04-11T01:48:12.622Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 6.1.7601
extension version
vscode-go 0.13.1
go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Administrator\AppData\Local\go-build
set GOENV=C:\Users\Administrator\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=D:\goworkspace
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=c:\go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\ADMINI~1\AppData\Local\Temp\go-build353559690=/tmp/go-build -gno-record-gcc-switches
go extension setting
"go.goroot": "C:\Go",
"go.gopath": "D:\goworkspace",
"go.vetFlags": ["-all", "-shadowstrict"],
"go.formatTool": "goimports",
"go.gotoSymbol.includeGoroot": true,
"go.gotoSymbol.includeImports": true,
"go.useCodeSnippetsOnFunctionSuggest": true,
"go.useLanguageServer": true,
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
},
"editor.snippetSuggestions": "none",
},
"gopls": {
"usePlaceholders": true,
"staticcheck": false,
}
Describe the bug
extension startup false, and it lags when typing
Steps to reproduce the behavior:
Screenshots or recordings
exthost-cpuprofile.zip
The text was updated successfully, but these errors were encountered: