grpc/grpc-ios

Investigate gRPC ObjC iOS test crash on kokoro master

dennycd opened this issue · 1 comments

Samples

iOS cronet test appears to have repeated crash with the following stack

2022-06-16 10:27:25.436557-0700 xctest[37328:76175] 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
*** SIGSEGV received at time=1655400445 ***
PC: @        0x1083ad42f  (unknown)  grpc_tcp_client_create_from_prepared_fd()
    @        0x1081a31d2  (unknown)  absl::lts_20211102::WriteFailureInfo()
    @        0x1081a3003  (unknown)  absl::lts_20211102::AbslFailureSignalHandler()
    @     0x7fff52457b5d  (unknown)  _sigtramp
    @        0x1055644f9  (unknown)  0x0
    @        0x1083ae046  (unknown)  tcp_connect()
    @        0x1083af8df  (unknown)  grpc_core::(anonymous namespace)::TCPConnectHandshaker::DoHandshake()
    @        0x1082b13b4  (unknown)  grpc_core::HandshakeManager::CallNextHandshakerLocked()
    @        0x1082b192a  (unknown)  grpc_core::HandshakeManager::DoHandshake()
    @        0x1082caaca  (unknown)  grpc_core::HttpRequest::DoHandshake()
    @        0x1082c9e78  (unknown)  grpc_core::HttpRequest::OnResolved()
    @        0x1082cb7f7  (unknown)  absl::lts_20211102::base_internal::MemFunAndPtr::Invoke<>()
    @        0x108335376  (unknown)  grpc_core::(anonymous namespace)::NativeDNSRequest::DoRequestThread()
    @        0x10827be2e  (unknown)  grpc_core::Executor::RunClosures()
    @        0x10827bfa8  (unknown)  grpc_core::Executor::ThreadMain()
    @        0x1083bafe0  (unknown)  grpc_core::(anonymous namespace)::ThreadInternalsPosix::ThreadInternalsPosix()::{lambda()#1}::__invoke()
    @     0x7fff524602eb  (unknown)  _pthread_body
    @     0x7fff52463249  (unknown)  _pthread_start
    @     0x7fff5245f40d  (unknown)  thread_start
Restarting after unexpected exit or crash in CoreCronetEnd2EndTests/testBinaryMetadata; summary will include totals from previous launches.

cc. @HannahShiSFB

First break appears after grpc/grpc#29976