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
runtime: segfault during conservative scan of asynchronously preempted goroutine #39499
Comments
This does look like corruption of internal runtime data structures. |
You mentioned possible misuse of unsafe. Could you compile with Can you reproduce this with |
Thank you for the information. I've got a build running with the requested |
We've been able to reproduce this issue on 1.14.4 with the For the time being I've attached the complete stack traces for reproductions that we have so far. |
I've got a reproduction of the segfault with the requested I'll leave the existing environment setup and update the issue whenever we come across any more reproductions. It's also worth noting that we have since downgraded a branch to Go 1.13.12 (and continued running testing) and we haven't yet encountered this issue.
|
Just giving an update, we've just updated to Go 1.15 and will continue running our performance testing to see if we can reproduce the issue further (the performance cluster we were reproducing on recently had some issues/downtime). With that said, is there anything else we can provide to help debug the issue? |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes (but not consistently) - We have reproductions up to 1.14.3 (and have just
updated to 1.14.4 but no tests have been run as of yet).
What operating system and processor architecture are you using?
CentOS 7 amd64 - E5-2630 v2 (24 vCPU)
What issue are we seeing?
From a brief look at the stacktrace and runtime it looks like we are currently
seeing a segfault during the conservative scan of an asynchronously preempted
goroutine. While we have only seen this issue since updating to 1.14.1 (we
skipped 1.14) we do rely on a couple of libraries that make use of 'unsafe' so
we wouldn't be surprised if this was due to the misuse of 'unsafe' rather than
an issue with the runtime itself.
I've included the full stacktrace below along with a snippet from the same
backtrace displaying what I've described above. Any help debugging this issue
would be greatly appreciated whether that be tips on which GODEBUG settings to
use so that we can get more information about why this is happening or some
steps we could take to debug this issue/to provide you with extra information.
stack_trace.txt
The text was updated successfully, but these errors were encountered: