[lldb-dev] [Bug 25002] New: test runner timeout does not work properly when inferior itself spawns children and shares file handles
lldb-dev at lists.llvm.org
Wed Sep 30 12:47:09 PDT 2015
Bug ID: 25002
Summary: test runner timeout does not work properly when
inferior itself spawns children and shares file
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: todd.fiala at gmail.com
CC: llvm-bugs at lists.llvm.org
I'll need to not trust the inferior's stdout/stderr pipe liveness to mean that
the child process is still alive. It could be dead, with its own children
keeping the pipes open. I've got a positive test case of this not working
* spawn child (P1)
* have child spawn another child (C1), sharing stdout/stderr/stdin.
* C1 never returns (loops forever)
* P1 immediately exits
At this point, the test runner should recognize that the process it launched
(P1) has completed. Currently it does not. Worse yet, in my test, it never
exits the run_with_timeout() call (i.e. the timeout isn't occurring.)
Fixing this now.
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev