Relative Content

Tag Archive for c++asynchronousgrpc

Async gRPC call gives seg fault

I’ve tried all 3 methods of async gRPC calls and they all give a seg fault. When trying the callback example here I get a seg fault when calling the RPC. When trying the AsyncX method here I get a seg fault at cq_.Next once call->response_reader->Finish has been called. If I use PrepareAsyncX, StartCall it’s the same thing. Is there something missing in these examples?

Async gRPC call gives seg fault

I’ve tried all 3 methods of async gRPC calls and they all give a seg fault. When trying the callback example here I get a seg fault when calling the RPC. When trying the AsyncX method here I get a seg fault at cq_.Next once call->response_reader->Finish has been called. If I use PrepareAsyncX, StartCall it’s the same thing. Is there something missing in these examples?