[llvm-bugs] [Bug 24530] New: LLDB can miss inferior SIGSTOP and SIGINT under some circumstances

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 21 03:36:55 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24530

            Bug ID: 24530
           Summary: LLDB can miss inferior SIGSTOP and SIGINT under some
                    circumstances
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: labath at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

This happens when the inferior gets a signal at the same time we are trying to
interrupt it. If the signal is SIGSTOP or SIGINT, the interrupt machinery in
GDBRemoteCommunicationClient::SendContinuePacketAndWaitForResponse can mistake
the real signal stop for the maintenance stop and resume the process
incorrectly. RaiseTestCase.restart_bug_test reproduces this behavior. The bug
affect all targets which use the remote stub.

-- 
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/20150821/7df05349/attachment.html>


More information about the llvm-bugs mailing list