-
Notifications
You must be signed in to change notification settings - Fork 18k
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: SIGSEGV at high GOMAXPROCS in init #38474
Comments
Yeah, don't start doing profiling allocations before the scheduler is initialized. The crash is because |
For completeness:
|
Interesting, it's true that before that change |
I'll send a CL. |
Change https://golang.org/cl/228420 mentions this issue: |
Change https://golang.org/cl/228786 mentions this issue: |
During schedinit, these may occur in: mProf_Malloc stkbucket newBucket persistentalloc persistentalloc1 mProf_Malloc setprofilebucket fixalloc.alloc persistentalloc persistentalloc1 These seem to be legitimate lock orderings. Additionally, mheap.speciallock had a defined rank, but it was never actually used. That is fixed now. Updates #38474 Change-Id: I0f6e981852eac66dafb72159f426476509620a65 Reviewed-on: https://go-review.googlesource.com/c/go/+/228786 Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dan Scales <danscales@google.com>
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
This does not reproduce on go 1.14.2.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Help output
What did you see instead?
Full backtrace:
The text was updated successfully, but these errors were encountered: