crash on absl::lts_20210324::Mutex::Lock
What version of gRPC and what language are you using?
"I don’t know the exact version; it looks like an old version from about three years ago for the our Git commit."
What operating system (Linux, Windows,...) and version?
WinDbg: FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_kdfssvc.exe!absl::lts_20210324::Mutex::Lock
OS_VERSION: 10.0.19041.1
BUILDLAB_STR: vb_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
FAILURE_ID_HASH: {e2040205-a9a3-53fe-0250-ac258cad8a64}
Followup: MachineOwner
What runtime / compiler are you using (e.g. python version or version of gcc)
cmake
What did you do?
Please provide either 1) A unit test for reproducing the bug or 2) Specific steps for us to follow to reproduce the bug. If there’s not enough information to debug the problem, gRPC team may close the issue at their discretion. You’re welcome to re-open the issue once you have a reproduction. Using the gRPC client to connect to the server for communication, on certain Windows laptops, after running for a while, it encounters this crash. It's not reproducible every time, but quite frequently.
What did you expect to see?
By not updating to the new version of gRPC, it is possible to avoid this crash through certain methods
What did you see instead?
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
000000b8000ff380 00007ff63e91fafb : 0000000000000000 000000b8000ff3b0 000000007ffe0358 00007fff193d00f3 : kdfssvc!absl::lts_20210324::Mutex::Lock+0xe
000000b8000ff3b0 00007ff63e8d8a83 : 000001c594d5d778 00007ff63e91ee9a 0000000000000000 0000000000054bdb : kdfssvc!grpc_timer_list_shutdown+0xa3b
000000b8000ff590 00007ff63e8d88cc : 000000b8000ff610 00007ff63e8a58f1 000001c594d5d778 0000000005e1cb98 : kdfssvc!grpc_core::ExecCtx::TestOnlyGlobalInit+0x23
000000b8000ff5c0 00007ff63e922216 : 000001c594da6f60 0000000000000058 0000000000000000 000001c594d5d730 : kdfssvc!grpc_core::ExecCtx::Flush+0x4c
000000b8000ff600 00007ff63e8ee9b8 : 0000000000000000 0000000000000008 000001c594da6ea0 000001c594da6f40 : kdfssvc!grpc_timer_init_unset+0x936
000000b8000ff6d0 00007ff63e8effa3 : 000000b8000ff900 00007ff63e8b8564 000000b8000ff8d0 00007ff63e8b9dd7 : kdfssvc!grpc_completion_queue_factory_lookup+0xfa8
000000b8000ff840 00007ff63e8ce8af : 000001c594da6ea0 0000000000000000 0000000000000000 000001c594d292f8 : kdfssvc!grpc_completion_queue_next+0x23
000000b8000ff890 00007ff63ed8510d : 000001c594db75f8 0000000000000000 000001c594db75f8 0000000000000000 : kdfssvc!grpc::CompletionQueue::CompletionQueueTLSCache::~CompletionQueueTLSCache+0x17f
000000b8000ff950 00007fff18de7374 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : kdfssvc!grpc_core::internal::ThreadInternalsInterface::vector deleting destructor'+0x1fd 000000b8000ff9b0 00007fff193dcc91 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : kernel32!BaseThreadInitThunk+0x14 000000b8000ff9e0 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?
Source: grpc/grpc