[Bug 24660] New: Thread states not properly maintained on Windows

Bug ID 24660
Summary Thread states not properly maintained on Windows
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
Blocks 21766
Classification Unclassified

The following tests are failing:

TestThreadStates.ThreadStateTestCase.test_state_after_continue_with_dwarf
TestThreadStates.ThreadStateTestCase.test_state_after_expression_with_dwarf

with the following stack trace:

FAIL

<bound method SBProcess.Kill of <lldb.SBProcess; proxy of <Swig Object of type
'lldb::SBProcess *' at 0x02B74D18> >>: success

Traceback (most recent call last):
  File "D:\src\llvm\tools\lldb\test\lldbtest.py", line 551, in wrapper
    return func(self, *args, **kwargs)
  File "D:\src\llvm\tools\lldb\test\lldbtest.py", line 615, in wrapper
    func(*args, **kwargs)
  File
"D:\src\llvm\tools\lldb\test\functionalities\thread\state\TestThreadStates.py",
line 45, in test_state_after_continue_with_dwarf
    self.thread_state_after_continue_test()
  File
"D:\src\llvm\tools\lldb\test\functionalities\thread\state\TestThreadStates.py",
line 181, in thread_state_after_continue_test
    self.assertFalse(thread.IsStopped(), "Thread state is \'stopped\' when it
should be running.")
AssertionError: True is not False : Thread state is 'stopped' when it should be
running.