-
Notifications
You must be signed in to change notification settings - Fork 738
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
gopls: crashes in analysis with missing stacktrace #2847
Comments
We believe these crashes have been fixed by gopls@v0.12.4.
However, I'll leave this issue open until we have confidence that the crash reports have resolved. |
Crash_Gopls.txt |
Thanks @sreerajsmenon01. That looks like an OOM:
Notably the runtime is reporting 1.5G in-use. While that is high, it is not entirely unreasonable during an analysis pass. Are you working in a significantly memory-constrained environment? |
Ok, closing this issue as we had no further crashes over the weekend. |
A recent change to gopls introduced a
log.Fatal
in the analysis driver when encountering an 'impossible state' (golang/go#60963). We've since discovered and fixed one such impossible state (golang/go#60952), but there may be others.We believe this is the cause of the numerous blank crash reports in this issue tracker.
We're going to cut a new gopls release today containing a fix for the known failure mode, and downgrading this call to
log.Fatal
. Pinning this issue for visibility in the meantime. Sorry for the breakage.If you encounter such a crash, we would greatly apprecate it if you could look in the gopls output panel and capture the fatal log message. This would help us determine if we have indeed fixed the root cause.
<!--
CC @hyangah @adonovan
The text was updated successfully, but these errors were encountered: