[Bug 24558] New: Inferior not getting reaped in certain situations

Bug ID 24558
Summary Inferior not getting reaped in certain situations
Product lldb
Version unspecified
Hardware PC
OS Windows NT
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter zturner@google.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

Various tests on Windows fail because during cleanup, python tries to delete
the executable and this fails because LLDB is still holding onto a handle to
the process.  This affects, at a minimum, the following tests, which are all
XFAILED as a result of this.

TestLLDBIterator.LLDBIteratorTestCase.test_lldb_iter_module
TestTargetAPI.TargetAPITestCase.test_get_code_byte_size_with_dwarf
TestTargetAPI.TargetAPITestCase.test_get_data_byte_size_with_dwarf
TestTargetAPI.TargetAPITestCase.test_find_functions_with_dwarf
TestThreadStepOut.ThreadStepOutTestCase.test_step_all_threads_with_dwarf
TestThreadStepOut.ThreadStepOutTestCase.test_step_single_thread_with_dwarf