You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go test golang.org/x/net/route -run TestRouteMessage -count 1000000
The problem appears to be that macOS does not exactly compute the reply size correctly when reusing the request buffer. I will report that to Apple separately. A workaround for x/net is to pass in a request packet that is bigger than it really needs to be.
The text was updated successfully, but these errors were encountered:
The macOS kernel reliably crashes in a repeated TestRouteMessage.
Putting some extra padding into the request buffer avoids the crash.
This will do as workaround; the kernel bug will be reported to Apple separately.
Fixesgolang/go#22456.
Change-Id: I789d3d57fbc511016d9f4a3fa7662d6c7642f137
Reviewed-on: https://go-review.googlesource.com/73690
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This reliably crashes the macOS kernel:
The problem appears to be that macOS does not exactly compute the reply size correctly when reusing the request buffer. I will report that to Apple separately. A workaround for x/net is to pass in a request packet that is bigger than it really needs to be.
The text was updated successfully, but these errors were encountered: