-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: TestSegv failures with unknown pc
on linux-mips-rtrk
#59029
Comments
Found new dashboard test flakes for:
2023-03-13 22:04 linux-mips-rtrk go@40a6e2da runtime.TestSegv (log)
|
unknown pc
on linux-mips-rtrk
(attn @golang/mips; CC @golang/runtime) See also #52963. |
This looks like a failure to unwind the stack? CC @aclements maybe? |
In triage @cherrymui is working on these tests anyway because of a ppc64 bug that might be related. (Signal lands in thread creation. This test is not cgo specific but is using a cgo binary.) |
Found new dashboard test flakes for:
2023-04-14 20:10 linux-mips64le-rtrk go@5da1f415 runtime.TestSegv (log)
|
Found new dashboard test flakes for:
2023-05-05 21:04 linux-mips64le-rtrk go@89138ce7 runtime.TestSegv (log)
|
Found new dashboard test flakes for:
2023-05-23 18:15 linux-mips64le-rtrk go@b0f15b4a runtime.TestSegv (log)
|
Change https://go.dev/cl/500535 mentions this issue: |
The non-cgo test points Segv and TgkillSegv are currently in testprogcgo. Although the test points don't explicitly use cgo, being a cgo program, there is still some C code that runs when the test point is invoked, such as thread creation code. For the cgo test points, sometimes we fail to unwind the stack if C code is involved. For the non-cgo ones, we want to always be able to unwind the stack, so we check for stack unwinding failures. But if a signal is landed in the small piece of C code mentioned above, we may still fail to unwind. Move the non-cgo test points to a pure-Go program to avoid this problem. May fix #52963. Updates #59029, #59443, #59492. Change-Id: I35d99a0dd4c7cdb627e2083d2414887a24a2822d Reviewed-on: https://go-review.googlesource.com/c/go/+/500535 Reviewed-by: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Cherry Mui <cherryyz@google.com>
The CL above might help. Tentatively closing for now. If it occurs again watchflakes will reopen. |
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: