You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running the server, if there's more than 10 minutes (source) between requests, the next request crashes with a EXC_BAD_ACCESS.
#1 0x0000000100b11b3f in ::gpr_mu_lock(gpr_mu *) at <repo>/Pods/gRPC-Core/src/core/lib/gpr/sync_posix.cc:85
#2 0x0000000100a44da9 in pollset_add_fd(grpc_pollset*, grpc_fd*) at <repo>/Pods/gRPC-Core/src/core/lib/iomgr/ev_poll_posix.cc:915
#3 0x0000000100a490e8 in grpc_pollset_add_fd(grpc_pollset*, grpc_fd*) at <repo>/Pods/gRPC-Core/src/core/lib/iomgr/ev_posix.cc:336
#4 0x0000000100b16399 in tcp_add_to_pollset(grpc_endpoint*, grpc_pollset*) at <repo>/Pods/gRPC-Core/src/core/lib/iomgr/tcp_posix.cc:1030
#5 0x0000000100a3f7a0 in grpc_endpoint_add_to_pollset(grpc_endpoint*, grpc_pollset*) at <repo>/Pods/gRPC-Core/src/core/lib/iomgr/endpoint.cc:36
#6 0x0000000100a1c87d in set_pollset(grpc_transport*, grpc_stream*, grpc_pollset*) at <repo>/Pods/gRPC-Core/src/core/ext/transport/chttp2/transport/chttp2_transport.cc:2804
#7 0x0000000100b24364 in grpc_transport_set_pops(grpc_transport*, grpc_stream*, grpc_polling_entity*) at <repo>/Pods/gRPC-Core/src/core/lib/transport/transport.cc:185
#8 0x0000000100a39ed3 in set_pollset_or_pollset_set(grpc_call_element*, grpc_polling_entity*) at <repo>/Pods/gRPC-Core/src/core/lib/channel/connected_channel.cc:164
#9 0x0000000100a03f59 in grpc_call_stack_set_pollset_or_pollset_set(grpc_call_stack*, grpc_polling_entity*) at <repo>/Pods/gRPC-Core/src/core/lib/channel/channel_stack.cc:201
#10 0x00000001009f5e28 in grpc_call_set_completion_queue(grpc_call*, grpc_completion_queue*) at <repo>/Pods/gRPC-Core/src/core/lib/surface/call.cc:484
#11 0x0000000100ae803f in publish_call(grpc_server*, (anonymous namespace)::call_data*, unsigned long, (anonymous namespace)::requested_call*) at <repo>/Pods/gRPC-Core/src/core/lib/surface/server.cc:487
#12 0x0000000100ae7e0d in publish_new_rpc(void*, grpc_error*) at <repo>/Pods/gRPC-Core/src/core/lib/surface/server.cc:544
#13 0x0000000100ae7b91 in finish_start_new_rpc(grpc_server*, grpc_call_element*, (anonymous namespace)::request_matcher*, grpc_server_register_method_payload_handling) at <repo>/Pods/gRPC-Core/src/core/lib/surface/server.cc:600
#14 0x0000000100ae79ba in start_new_rpc(grpc_call_element*) at <repo>/Pods/gRPC-Core/src/core/lib/surface/server.cc:662
#15 0x0000000100ae7218 in got_initial_metadata(void*, grpc_error*) at <repo>/Pods/gRPC-Core/src/core/lib/surface/server.cc:839
#16 0x0000000100a4a2be in exec_ctx_run(grpc_closure*, grpc_error*) at <repo>/Pods/gRPC-Core/src/core/lib/iomgr/exec_ctx.cc:40
#17 0x0000000100a4a14a in grpc_core::ExecCtx::Flush() at <repo>/Pods/gRPC-Core/src/core/lib/iomgr/exec_ctx.cc:148
#18 0x0000000100a44afc in pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) at <repo>/Pods/gRPC-Core/src/core/lib/iomgr/ev_poll_posix.cc:1133
#19 0x0000000100a492c0 in pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) at <repo>/Pods/gRPC-Core/src/core/lib/iomgr/ev_posix.cc:321
#20 0x0000000100ac24a8 in grpc_pollset_work(grpc_pollset*, grpc_pollset_worker**, long long) at <repo>/Pods/gRPC-Core/src/core/lib/iomgr/pollset.cc:48
#21 0x0000000100a32d5e in cq_next(grpc_completion_queue*, gpr_timespec, void*) at <repo>/Pods/gRPC-Core/src/core/lib/surface/completion_queue.cc:1035
#22 0x0000000100a32083 in ::grpc_completion_queue_next(grpc_completion_queue *, gpr_timespec, void *) at <repo>/Pods/gRPC-Core/src/core/lib/surface/completion_queue.cc:1111
#23 0x00000001004fe40c in cgrpc_completion_queue_get_next_event at <repo>/Pods/SwiftGRPC/Sources/CgRPC/shim/completion_queue_shim.c:30
#24 0x00000001005202c1 in CompletionQueue.wait(timeout:) at <repo>/Pods/SwiftGRPC/Sources/SwiftGRPC/Core/CompletionQueue.swift:97
#25 0x00000001005319de in closure #1 in Server.run(handlerFunction:) at <repo>/Pods/SwiftGRPC/Sources/SwiftGRPC/Core/Server.swift:79
Complete output when running grpc-swift, including the stack trace and command used
New Issue Checklist
Issue Description
When running the server, if there's more than 10 minutes (source) between requests, the next request crashes with a
EXC_BAD_ACCESS
.Complete output when running grpc-swift, including the stack trace and command used
Environment
The text was updated successfully, but these errors were encountered: