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
internal/poll: TestSplicePipePool failures on linux-386 with one leaked descriptor #48968
Comments
As far as I can recall, this happened after this commit and only the first fd was in that list of |
It seems the root cause is more like finalizer not executing than fd being reused. |
Finalizers aren't reliable on values smaller than So I think the test is pointing out an actual bug: in some unusual circumstances the pipe descriptor may not be released. |
Change https://golang.org/cl/358114 mentions this issue: |
Change https://golang.org/cl/358734 mentions this issue: |
Updates #48968 and CL 358114 Change-Id: Ic68b4c5420c1c32f78b56874b53d717fa9af1f74 Reviewed-on: https://go-review.googlesource.com/c/go/+/358734 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Tobias Klauser <tobias.klauser@gmail.com>
Change https://golang.org/cl/378034 mentions this issue: |
greplogs --dashboard -md -l -e 'FAIL: TestSplicePipePool' --since=2021-09-18
2021-10-14T13:09:28-24e798e/linux-386-jessie
2021-10-14T07:19:29-2feb2cc/linux-386-buster
2021-10-12T21:30:45-3283d1a/linux-386-sid
2021-09-28T15:20:55-02d56a1/linux-386-buster
These failures all feature a single leaked descriptor — and it always the first one in the list.
@panjf2000, @ianlancetaylor: any ideas?
The text was updated successfully, but these errors were encountered: