-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Logging
-
Labels:None
-
Dev Tools 2020-03-23
Currently if a error handling callback occurs during logging, and the callback tries to log, the process will deadlock. I know this can happen in the crtDebugCallback callback, and I worry that it's possible that it would occur in stack tracing or similar.
We should investigate the use recursive locks in our logv2 locking front ends or back ends.
Alternatively we could think about an how to create and utilize an alternative lockless logging API for use in such callbacks.
- is depended on by
-
SERVER-42823 Output between print() function and ProgramOutputMultiplexer::appendLine() can be interleaved, leading to a deadlock on Windows DEBUG
- Closed