]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
drd: Clear conflict set after fork (#338115)
authorBart Van Assche <bvanassche@acm.org>
Fri, 8 Aug 2014 16:27:30 +0000 (16:27 +0000)
committerBart Van Assche <bvanassche@acm.org>
Fri, 8 Aug 2014 16:27:30 +0000 (16:27 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14244

NEWS
drd/drd_thread.c

diff --git a/NEWS b/NEWS
index dd814525be2f64405c300c8d8b0909adf1b1b0eb..a6f4b6aaa51b5d057c0014b519cc22399dea8a9a 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -203,6 +203,7 @@ where XXXXXX is the bug number as listed below.
 337285  fcntl commands F_OFD_SETLK, F_OFD_SETLKW, and F_OFD_GETLK not supported
 337528  leak check heuristic for block prefixed by length as 64bit number
 338024  inlined functions are not shown if DW_AT_ranges is used
+338115  DRD: computed conflict set differs from actual after fork
 n-i-bz  Fix KVM_CREATE_IRQCHIP ioctl handling
 n-i-bz  s390x: Fix memory corruption for multithreaded applications
 n-i-bz  vex arm->IR: allow PC as basereg in some LDRD cases
index d9cb0a9d2bca4e492b4a6055c3edb65db859b538..037659ceffd73e1b9e878d5da5b74cf3e6a78e4b 100644 (file)
@@ -557,6 +557,9 @@ void DRD_(drd_thread_atfork_child)(const DrdThreadId tid)
         DRD_(thread_delete)(i, True);
       tl_assert(!DRD_(IsValidDrdThreadId(i)));
    }
+
+   DRD_(bm_cleanup)(DRD_(g_conflict_set));
+   DRD_(bm_init)(DRD_(g_conflict_set));
 }
 
 /** Called just before pthread_cancel(). */