[llvm-bugs] [Bug 34691] New: Use of PrintStackTraceOnErrorSignal may cause hang on Windows
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 21 06:16:00 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34691
Bug ID: 34691
Summary: Use of PrintStackTraceOnErrorSignal may cause hang on
Windows
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Support Libraries
Assignee: unassignedbugs at nondot.org
Reporter: gbreynoo at gmail.com
CC: llvm-bugs at lists.llvm.org
Use of PrintStackTraceOnErrorSignal (/Support/Signals.h) can cause hangs due to
the call of MiniDumpWriteDump when an exception is unhandled.
>From the MiniDumpWriteDump description:
"MiniDumpWriteDump should be called from a separate process if at all possible,
rather than from within the target process being dumped. This is especially
true when the target process is already not stable. For example, if it just
crashed. A loader deadlock is one of many potential side effects of calling
MiniDumpWriteDump from within the target process"
https://msdn.microsoft.com/en-us/library/windows/desktop/ms680360(v=vs.85).aspx
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170921/d5ec3373/attachment.html>
More information about the llvm-bugs
mailing list