[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


            Bug ID: 34691
           Summary: Use of PrintStackTraceOnErrorSignal may cause hang on
           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"


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