[Bug 23896] New: (Windows) LLDB hangs if debuggee raises an exception during startup

Bug ID 23896
Summary (Windows) LLDB hangs if debuggee raises an exception during startup
Product lldb
Version unspecified
Hardware PC
OS Windows NT
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter chega_@yahoo.com
Classification Unclassified

Start debugging executable that depends on some dll, but make sure that the dll
cannot be found.  This will cause SEH exception 0xc0000135 to be raised by the
image loader.  LLDB's debug loop thread receives the debug event, notifies the
main thread and waits...  Meanwhile the main thread is blocked (in
ProcessWindows::WaitForDebuggerConnection) waiting for debug launch to
complete. Whoops.

LLDB version: tip of the master as of 6/18/15
(d9ffb60cd3b567e38bd92a55d0c5c5cee8a1b914)