[lldb-dev] Saving and restoring STDIN in the ScriptInterpreter

2020-04-06 Thread Davide Italiano via lldb-dev
Hi Pavel, Jonas, I was trying to reduce a bug through c-reduce, so I decided to write a SBAPI script to make it easier. I did find out, that after the first iteration, the reduction gets stuck forever. I sampled the process and I saw the following (trimmed for readability). Call graph: […]

Re: [lldb-dev] Saving and restoring STDIN in the ScriptInterpreter

2020-04-07 Thread Pavel Labath via lldb-dev
Hi Davide, I believe your guess about background processes is correct. I think that the lldb process is stopped (or is continually getting stopped and restarted) by SIGTTOU. Macro: int SIGTTOU This is similar to SIGTTIN, but is generated when a process in a background job attempts to wr