[llvm-bugs] [Bug 37496] New: Sometimes LLDB freeze after launching process

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 17 05:31:07 PDT 2018


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

            Bug ID: 37496
           Summary: Sometimes LLDB freeze after launching process
           Product: lldb
           Version: 6.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: kenji.koyanagi at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20313
  --> https://bugs.llvm.org/attachment.cgi?id=20313&action=edit
patch for 6.0.0

Sometimes(1 of 5-7 times) LLDB freeze at Process::WaitForProcessToStop after
launching process.
I am using lldb for Windows, but I think that it is not a OS-specific issue.

I inserted a log and tried to run LLDB.
Process::SetPublicState called with argument eStateLaunching -> eStateStopped
-> eStateLaunching.
I think there is a problem in the processing order of broadcast events.

It worked fine if consume the event before calling SetPublicState in
Process::Launch.
But this is not the best solution.

-- 
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/20180517/599ad6c8/attachment.html>


More information about the llvm-bugs mailing list