]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Bug 453055 shared_timed_mutex drd test fails with "Lock shared failed" message
authorPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 27 Apr 2022 19:13:45 +0000 (21:13 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 27 Apr 2022 19:13:45 +0000 (21:13 +0200)
Patch submited by Jesus Checa jcheca@redhat.com

NEWS
drd/tests/shared_timed_mutex.cpp

diff --git a/NEWS b/NEWS
index a42ec24f25add40e8ac1d912e1a2fc3c56584b53..05eb34d1f6fdaad90195ad336681dc87b8007e18 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -37,6 +37,7 @@ are not entered into bugzilla tend to get forgotten about or ignored.
 
 452274  memcheck crashes with Assertion 'sci->status.what == SsIdle' failed
 452779  Valgrind fails to build on FreeBSD 13.0 with llvm-devel (15.0.0)
+453055  shared_timed_mutex drd test fails with "Lock shared failed" message
 
 To see details of a given bug, visit
   https://bugs.kde.org/show_bug.cgi?id=XXXXXX
index 9741169672b5b93cab98641504e3adbc80dd99d0..dfd97a4b812fc7a2ff92d69083a9b6845f5f7911 100644 (file)
@@ -43,6 +43,7 @@ void g()
         if (test_mutex.try_lock_shared_until(then))
         {
             test_mutex.unlock_shared();
+            break;
         }
     }
     if (i == 3)