-
Notifications
You must be signed in to change notification settings - Fork 18k
x/tools/gopls: crash in go/types.(*Checker).recordTypeAndValue #45002
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
Thanks for the report. @twocs Transferring to |
This panic is mysterious to me. Some kind of memory corruption? @twocs which version of Go are you using? |
I see a (possibly) related issue
Not really sure what happened. I was moving my mouse to hover over a series of different lines when the panic occurred. |
Thanks for investigating. That CL fixed a NPE in our code, but the panic above ("unexpected fault address 0xffffffffffffffff") points to some kind of runtime corruption. I don't think anything particularly implicates gopls or go/types, though I suppose perhaps this could be the result of some race that has gone undetected. Given that this is the first report of its kind that we've received, unless it is reproducible I'm inclined to think it might be a problem with your computer. However, my runtime knowledge is limited. CC @cherrymui, who is on interrupts and also happens to be a member of the runtime team :) |
It seems this is loading |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
gopls version: v0.6.6
gopls flags: -rpc.trace
extension version: 0.23.2
environment: Visual Studio Code win32
initialization error: undefined
manual restart count: 5
total start count: 6
ATTENTION: PLEASE PROVIDE THE DETAILS REQUESTED BELOW.
Describe what you observed.
gopls is trying to read all the files in the .history folder that some other extension has saved there.
Please attach the stack trace from the crash.
A window with the error message should have popped up in the lower half of your screen.
Please copy the stack trace and error messages from that window and paste it in this issue.
Failed to auto-collect gopls trace: unrecognized crash pattern.
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: