grpcui icon indicating copy to clipboard operation
grpcui copied to clipboard

grpcui crashes on Windows when Control Flow Guard is enabled

Open amit13k opened this issue 2 years ago • 0 comments

grpcui crashes just after clicking on invoke button on the grpcui web app. This happens if the control flow guard setting under the exploit protection settings is enabled on windows (which is enabled by default).

If I add grpcui as an exception for CFG, it works properly.

Not sure whether the bug is in grpcui, golang compiler, or the Windows "control flow guard" feature.

I have read about the control flow guard feature in windows making some games slower, but in this case, the program just crashes. Always asking the end-user to add a CFG exception manually to every go-generated binary doesn't seem like a good idea.

A closed issue on golang GitHub repo related to this, https://github.com/golang/go/issues/30319

amit13k avatar Jun 27 '22 07:06 amit13k