lldb-3.7.0 ProcessLaunchInfo::FinalizeFileActions at least one of stdin/stdout/stderr was not set, evaluating default handling lldb-3.7.0 ProcessLaunchInfo::FinalizeFileActions target stdin='', target stdout='', stderr='' lldb-3.7.0 ProcessLaunchInfo::FinalizeFileActions default_to_use_pty is set, and at least one stdin/stderr/stdout is unset, so generating a pty to use for it lldb-3.7.0 Process::SetPublicState (state = launching, restarted = 0) lldb-3.7.0 Process::SetPrivateState (launching) operation Process::SetPrivateState (stopped) operation Process::SetPrivateState (stopped) stop_id = 1 wait4(pid=87519 MonitorChildProcessThreadFunction (arg = 0x80a47cd20) thread starting... wait4(pid=87519 MonitorChildProcessThreadFunction ::waitpid (pid = -87519, &status, options = 0)... lldb-3.7.0 Process::WaitForStateChangedEventsPrivate (timeout = 0x7fffffffd088, event_sp)... lldb-3.7.0 Process::WaitForStateChangedEventsPrivate (timeout = 0x7fffffffd088, event_sp) => launching lldb-3.7.0 Process::ShouldBroadcastEvent (0x80a47cca0) => new state: launching, last broadcast state: launching - YES lldb-3.7.0 Process::HandlePrivateEvent (pid = 87519) broadcasting new state launching (old state launching) to public lldb-3.7.0 Process::HandlePrivateEvent updated m_iohandler_sync to 1 lldb-3.7.0 Process::WaitForStateChangedEventsPrivate (timeout = 0x7fffffffd088, event_sp)... lldb-3.7.0 Process::WaitForStateChangedEventsPrivate (timeout = 0x7fffffffd088, event_sp) => stopped event-handler Process::SetPublicState (state = launching, restarted = 0) lldb-3.7.0 Process::SetPublicState (state = stopped, restarted = 0) lldb-3.7.0 Process::SetPublicState (stopped) -- unlocking run lock lldb-3.7.0 Process::ControlPrivateStateThread (signal = 4) lldb-3.7.0 Sending control event of type: 4. intern-state Process::RunPrivateStateThread (arg = 0x807cb7000, pid = 87519) thread starting... intern-state Process::WaitForEventsPrivate (timeout = 0x0, event_sp)... intern-state Process::RunPrivateStateThread (arg = 0x807cb7000, pid = 87519) got a control event: 4 intern-state Process::WaitForEventsPrivate (timeout = 0x0, event_sp)... lldb-3.7.0 Process::WaitForProcessToStop (timeout = 0x0) lldb-3.7.0 Process::WaitForProcessToStop returning without waiting for events; process private and public states are already 'stopped'. lldb-3.7.0 Process::PrivateResume() m_stop_id = 1, public state: stopped private state: stopped lldb-3.7.0 Process::SetPrivateState (running) intern-state Process::ShouldBroadcastEvent (0x80a52f1e0) => new state: running, last broadcast state: running - YES lldb-3.7.0 Process thinks the process has resumed. intern-state Process::HandlePrivateEvent (pid = 87519) broadcasting new state running (old state stopped) to public lldb-3.7.0 Process::SyncIOHandler waited for m_iohandler_sync to change from 0, new value is 1 intern-state Process::PushProcessIOHandler pushing IO handler intern-state Process::HandlePrivateEvent updated m_iohandler_sync to 2 intern-state Process::WaitForEventsPrivate (timeout = 0x0, event_sp)... event-handler Process::SetPublicState (state = running, restarted = 0) wait4(pid=87519 MonitorChildProcessThreadFunction ::waitpid (pid = -87519, &status, options = 0) => pid = 87519, status = 0x0000057f (STOPPED), signal = 5, exit_state = 0 wait4(pid=87519 Process::SetPrivateState (stopped) wait4(pid=87519 Process::SetPrivateState (stopped) stop_id = 2 wait4(pid=87519 MonitorChildProcessThreadFunction ::waitpid (pid = -87519, &status, options = 0)... intern-state Process::ShouldBroadcastEvent: should_stop: 1 state: stopped was_restarted: 0 stop_vote: 1. intern-state Process::ShouldBroadcastEvent (0x80a47cd20) Restarting process from state: stopped intern-state Process::PrivateResume() m_stop_id = 2, public state: running private state: stopped intern-state Process::SetPrivateState (running) intern-state Process thinks the process has resumed. intern-state Process::ShouldBroadcastEvent (0x80a47cd20) => new state: stopped, last broadcast state: stopped - YES wait4(pid=87519 MonitorChildProcessThreadFunction ::waitpid (pid = -87519, &status, options = 0) => pid = 87519, status = 0x0000057f (STOPPED), signal = 5, exit_state = 0 intern-state Process::HandlePrivateEvent (pid = 87519) broadcasting new state stopped (old state running) to public intern-state Process::WaitForEventsPrivate (timeout = 0x0, event_sp)... wait4(pid=87519 Process::SetPrivateState (stopped) event-handler Process::SetPublicState (state = stopped, restarted = 1) intern-state Process::ShouldBroadcastEvent (0x80b40e040) => new state: running, last broadcast state: running - YES wait4(pid=87519 Process::SetPrivateState (stopped) stop_id = 3 intern-state Process::HandlePrivateEvent (pid = 87519) broadcasting new state running (old state stopped) to public wait4(pid=87519 MonitorChildProcessThreadFunction ::waitpid (pid = -87519, &status, options = 0)... intern-state Process::PushProcessIOHandler pushing IO handler intern-state Process::HandlePrivateEvent updated m_iohandler_sync to 3 intern-state Process::WaitForEventsPrivate (timeout = 0x0, event_sp)... event-handler Process::SetPublicState (state = running, restarted = 0) intern-state Process::ShouldBroadcastEvent (0x80b870480) => new state: stopped, last broadcast state: stopped - YES intern-state Process::HandlePrivateEvent (pid = 87519) broadcasting new state stopped (old state running) to public intern-state Process::WaitForEventsPrivate (timeout = 0x0, event_sp)... event-handler Process::SetPublicState (state = stopped, restarted = 0) event-handler Process::SetPublicState (stopped) -- unlocking run lock lldb-3.7.0 Process::SetPrivateState (exited) lldb-3.7.0 Process::SetPrivateState (exited) stop_id = 4 wait4(pid=87519 MonitorChildProcessThreadFunction ::waitpid (pid = -87519, &status, options = 0) => pid = 87519, status = 0x00000009 (SIGNALED), signal = 9, exit_state = -1 lldb-3.7.0 Process::ControlPrivateStateThread (signal = 1) wait4(pid=87519 Process::SetExitStatus (status=-1 (0xffffffff), description=NULL) intern-state Process::ShouldBroadcastEvent (0x80a52f2c0) => new state: exited, last broadcast state: exited - YES lldb-3.7.0 Sending control event of type: 1. wait4(pid=87519 Process::SetExitStatus () ignoring exit status because state was already set to eStateExited intern-state Process::HandlePrivateEvent (pid = 87519) broadcasting new state exited (old state stopped) to public wait4(pid=87519 MonitorChildProcessThreadFunction (arg = 0x80a47cd20) thread exiting because pid received exit signal... intern-state Process::RunPrivateStateThread (arg = 0x807cb7000, pid = 87519) about to exit with internal state exited... wait4(pid=87519 MonitorChildProcessThreadFunction (arg = 0x80a47cd20) thread exiting... intern-state Process::RunPrivateStateThread (arg = 0x807cb7000, pid = 87519) thread exiting... lldb-3.7.0 The control event killed the private state thread without having to cancel. lldb-3.7.0 Went to stop the private state thread, but it was already invalid.