Skip to content

C++ v1.19.0 and v1.28.0 Segfault at MetadataMap::destroy() when trying to unit test #22551

@rainerillichmann

Description

@rainerillichmann

What version of gRPC and what language are you using?

Currently using v1.19.0 but also tried in v1.28.0

What operating system (Linux, Windows,...) and version?

CentOS Linux release 7.7.1908

What runtime / compiler are you using (e.g. python version or version of gcc)

gcc 7.3.1

What did you do?

Trying to unit test grpc functions in gtest

TEST_F(ServerFunctionTest, ServerFunctionOK){
    Request req;
    Reply Rep;
    ServerContext ctx;
}

What did you expect to see?

no Segfault

What did you see instead?

ServerContext Destructor throws a SegFault at grpc::internal::MetadataMap::destroy()

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions