grpc / grpc-ios

gRPC for iOS
Apache License 2.0
39 stars 22 forks source link

Cronet cpp ios test crash #39

Closed dennycd closed 2 years ago

dennycd commented 2 years ago

Observed a number of test breakage on cpp cronet test targets

Looks like all test cases crashed with the following error messages

Wed Oct 20 09:56:47 PDT 2021 - 2021-10-20 09:56:47.779436-0700 xctest[31851:63940] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///Users/kbuilder/Library/Developer/CoreSimulator/Devices/4F9376BD-4079-49A7-BB18-AED93CEEBE0B/data/Library/Cookies/com.apple.dt.xctest.tool.binarycookies
Wed Oct 20 09:56:47 PDT 2021 - xctest(31851,0x11151f5c0) malloc: *** error for object 0x2000000000000000: pointer being freed was not allocated
Wed Oct 20 09:56:47 PDT 2021 - xctest(31851,0x11151f5c0) malloc: *** set a breakpoint in malloc_error_break to debug
Wed Oct 20 09:58:30 PDT 2021 -
Wed Oct 20 09:58:30 PDT 2021 - Restarting after unexpected exit or crash in CppCronetEnd2EndTests/testBidiStream; summary will include totals from previous launches.

A few errors message related to cronet failure

ed Oct 20 09:56:47 PDT 2021 - [1020/095647.771493:ERROR:cronet_environment.mm(157)] Can not start NetLog to /Users/kbuilder/Library/Developer/CoreSimulator/Devices/4F9376BD-4079-49A7-BB18-AED93CEEBE0B/data/Documents/cronet_netlog.json: Undefined error: 0
dennycd commented 2 years ago

fixed from gRPC PR 27798