grpc++: Run-Time Check Failure #2 - Stack around the variable 'true_factory' was corrupted

75 views
Skip to first unread message

Gerd

unread,
Nov 20, 2023, 3:52:28 PM11/20/23
to grpc.io
Hi,

I built grpc and route_guide example with MS Visual Studio 2017 as follows:

1. cmake .. -G "Visual Studio 15 2017 Win64"
2.a. Rebuild solution in VS 2017 
2.b. or with cmake --build . --config Debug

When I execute the route_guide example I get the following error on server as well as on client side:

Run-Time Check Failure #2 - Stack around the variable 'true_factory' was corrupted

How can I solve this?

Gerd

unread,
Nov 27, 2023, 6:02:36 PM11/27/23
to grpc.io
Hi,

for me it looks abseil library of grpc 1.57.0 does not work together with VS 2017 (v141).
It compiles but I get a runtime error.

When I use grpc 1.35.0 instead it works.

So, for me the question is, which maximum grpc version can I use together with VS 2017 (v141)?

Reply all
Reply to author
Forward
0 new messages