Description
Bugzilla Link | 49433 |
Version | unspecified |
OS | Linux |
Reporter | LLVM Bugzilla Contributor |
CC | @JDevlieghere,@labath |
Extended Description
All of the tests involving multiple breakpoints suffer from randomly establishing the wrong breakpoint hit count, e.g.:
FAIL: LLDB (/home/mgorny/llvm-project/build.arm64/bin/clang-aarch64) :: test (TestConcurrentTwoBreakpointThreads.ConcurrentTwoBreakpointThreads)
FAIL: test (TestConcurrentTwoBreakpointThreads.ConcurrentTwoBreakpointThreads)
Test two threads that trigger a breakpoint.
Traceback (most recent call last):
File "/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 149, in wrapper
return func(*args, **kwargs)
File "/home/mgorny/llvm-project/lldb/test/API/functionalities/thread/concurrent_events/TestConcurrentTwoBreakpointThreads.py", line 19, in test
self.do_thread_actions(num_breakpoint_threads=2)
File "/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/concurrent_base.py", line 266, in do_thread_actions
breakpoint_hit_count))
AssertionError: 2 != 3 : Expected 2 breakpoint hits, but got 3
Config=aarch64-/home/mgorny/llvm-project/build.arm64/bin/clang
It seems to be a problem in lldb/lldb-server logic somewhere that needs further debugging.