thread_local absl::BitGen SharedBitGen::bit_gen_ hangs application during startup
Author: egorpuginCreated Feb 20, 2026Updated Sep 11, 2026
Labelskind/bugpriority/P1lang/coreuntriaged
What version of gRPC and what language are you using?
grpc 1.78.1 (also 1.76.0 and abseil 2025 and 2026).
What operating system (Linux, Windows,...) and version?
Win
What runtime / compiler are you using (e.g. python version or version of gcc)
VS2026 (18.3.1), static build.
What did you do?
My app is starting very frequently during short period of time. And some instances hang before main().
What did you expect to see?
no hangs
What did you see instead?
Starting program has two threads.
Place of the hang.
https://github.com/grpc/grpc/blob/master/src/core/util/shared_bit_gen.cc
Anything else we should know about your project / environment?
Source: grpc/grpc