-
Notifications
You must be signed in to change notification settings - Fork 18k
gopls: automated issue report (crash) #63701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Change https://go.dev/cl/537118 mentions this issue: |
Change https://go.dev/cl/537255 mentions this issue: |
A nil *gcSizes pointer should be converted to a nil Sizes interface. Updates #63701 Change-Id: I62e00fecf303ce0ae529f1a75c14c7ef2576a58f Reviewed-on: https://go-review.googlesource.com/c/go/+/537255 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Robert Findley <[email protected]>
Hi, we just realized that you are probably using a GOPACKAGESDRIVER provided by Uber. Can you please confirm that this is the case? If so, we understand the breakage, and can fix it properly.
|
If that is indeed the cause, then it may also be a simple matter of updating your driver to avoid this issue. I assume you're using the Bazel driver, which was updated 2 months ago to set the necessary fields: bazel-contrib/rules_go@6e10f8c |
BTW, if folks at Uber are willing to share more about their custom environment, it might help us support it better (CC @kchristi111, who also encountered this issue while using extension version 0.39.1-upstream-0.1.9-uber). We'd be happy to connect. |
This should be fixed in v0.14.1-pre.1 (on v0.14.0 there is a workspace error message instead of a panic).
Could anyone here please try that out to confirm? With your confirmation, we will release v0.14.1 tomorrow. |
Hey @findleyr, I'd love to share more about our setup. In this case we did just manually add the old sizes fields back with some bash-fu in our external driver. At the time of the change from Sizes to Arch/Compiler we were still stuck on 0.11. Additionally, feel free to tag me in any of the issues emitted by the |
Thanks, @JamyDev. Am I understanding correctly that you are now off of v0.11? Are you on v0.14.2? |
@findleyr we're in the process of upgrading. |
@JamyDev I'd hope that you experience significantly decreased memory usage in recent versions. Please let us know if that's not the case, or any other issues you encounter. |
gopls version: v0.13.2 (go1.21.0)
gopls flags: -logfile /home/user/gopls.log -rpc.trace
update flags: off
extension version: 0.39.1-upstream-0.1.9-uber
go version: 1.21.3
environment: Visual Studio Code linux
initialization error: undefined
issue timestamp: Fri, 20 Oct 2023 19:58:27 GMT
restart history:
Fri, 20 Oct 2023 17:50:42 GMT: activation (enabled: true)
Fri, 20 Oct 2023 19:57:05 GMT: manual (enabled: true)
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
Error while running
bazel run :e2e
on eatscouriercppplcpluscardunauthorized integration test.OPTIONAL: If you would like to share more information, you can attach your complete gopls logs.
NOTE: THESE MAY CONTAIN SENSITIVE INFORMATION ABOUT YOUR CODEBASE.
DO NOT SHARE LOGS IF YOU ARE WORKING IN A PRIVATE REPOSITORY.
<OPTIONAL: ATTACH LOGS HERE>
The text was updated successfully, but these errors were encountered: