<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - concurrent_events tests: wrong breakpoint hit with multiple concurrent breakpoints"
href="https://bugs.llvm.org/show_bug.cgi?id=49433">49433</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>concurrent_events tests: wrong breakpoint hit with multiple concurrent breakpoints
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>mgorny@gentoo.org
</td>
</tr>
<tr>
<th>CC</th>
<td>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>