Skip to content

json_test fails under ASAN #332

@ctiller

Description

@ctiller

Blocks #318

==2505==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x46d621 in malloc (/usr/local/google/home/ctiller/grpc-ct2/bins/asan/json_test+0x46d621)
#1 0x48ac28 in gpr_malloc /usr/local/google/home/ctiller/grpc-ct2/src/core/support/alloc.c:40
#2 0x48b45b in gpr_strdup /usr/local/google/home/ctiller/grpc-ct2/src/core/support/string.c:53
#3 0x486426 in test_atypical /usr/local/google/home/ctiller/grpc-ct2/test/core/json/json_test.c:159
#4 0x4863e2 in main /usr/local/google/home/ctiller/grpc-ct2/test/core/json/json_test.c:174
#5 0x7f4953df3ec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4)

SUMMARY: AddressSanitizer: 8 byte(s) leaked in 1 allocation(s).
FAILED: bins/asan/json_test [ret=23]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions