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-...@lists.llvm.org
          Reporter: kenji.koyan...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to