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

via lldb-dev lldb-dev 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 the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20150821/509ebebb/attachment.html>


More information about the lldb-dev mailing list