-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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,sync: SIGSEGV in runtime.checkptrBase via (*Pool).pin #45977
Comments
Weekly check-in: this needs to be investigated before beta 1. |
There's actually two spanOf panics in the stack trace. Originally This makes me think this is a runtime issue, that the spans table has been corrupted somehow. But I'm sure @mknyszek has a better idea what might be going wrong here. |
These Side-note: technically, the L2 is not actually guaranteed to be non-nil by any part of the initialization. Theoretically checkptr could fail in this way if there are no arenas created whatsoever. However, I will note that any stack allocation forces an arena to be created, and we always allocate at least one goroutine stack during initialization (not to mention the heap allocations we do before the GC is turned on), so in practice it is effectively guaranteed. Perhaps we should make that a more explicit part of the initialization procedure. |
i can't reproduce under |
@ayang64 The failures are varied and rare, but all appear to be some form of memory corruption (at least to my eyes). I suspect that reproducing this error specifically is going to be difficult or impossible. I think if we want to try to nail this we just need to stress running |
@mknyszek, if we believe that the underlying problem is “undiagnosed memory corruption” I'm fine with deduping all of the issues we suspect share that cause to a single issue. (We can always open new issues if there are still crashes after the suspected root cause is diagnosed and fixed.) |
Closing as a duplicate of #46272. |
2021-05-04T20:50:35-d19e549/freebsd-amd64-race
The text was updated successfully, but these errors were encountered: