-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Server Programmability
-
ALL
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
MiniDumpWriteDump() allocates its memory from the heap, so will deadlock if any other thread in the process is currently holding heap allocation locks (see, e.g., https://lenholgate.com/blog/2024/02/minidumpwritedump-now-mostly-useless-.html).
Filing this because we sometimes call this API in a windows death test. A deadlock can hang the test. This has resulted in a BF in one case.
Likely not particularly high priority, as this only affects windows.
This is only called in the handler passed to SetUnhandledExceptionFilter(), so an alternative would be to minimize and simplify the handler code to not generate a minidump.
- duplicates
-
SERVER-58097 preload psapi.dll to avoid lockup when writing minidump file
-
- Backlog
-