-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
cmd/go/internal/lockedfile: spurious EDEADLK failures on AIX and Solaris #32817
Comments
Yeah, I'm already aware of this bug. I know that it can happen sometimes on AIX 7.2 TL0. I've made a old workaround a few months back (cf CL 152718). It could be updated and merged if we need a quick workaround while we're trying to find a true fix (if any). |
Approximately the same thing on Illumos: https://build.golang.org/log/2b8036635d51414fe4f6f3421dee2e27bc2a6577 It returns /cc @jclulow |
Illumos, at least, seems to have an So probably the ideal solution on that platform is to implement |
Change https://golang.org/cl/222277 mentions this issue: |
Amusingly, the regression test I added closely parallels this nearly-19-year-old bug report! |
From https://build.golang.org/log/f268986231f8f43781dacb0f5fe56772143ca24b (on
aix-ppc64
):I suspect that this is actually an AIX kernel bug (namely, being overly pessimistic about the deadlock properties of file locks in a multi-threaded program), but perhaps we should consider some sort of workaround.
CC @Helflym @jayconrod
The text was updated successfully, but these errors were encountered: