]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added output for the case where the data race is detected in thread 3.
authorBart Van Assche <bvanassche@acm.org>
Mon, 25 Feb 2008 17:29:13 +0000 (17:29 +0000)
committerBart Van Assche <bvanassche@acm.org>
Mon, 25 Feb 2008 17:29:13 +0000 (17:29 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7459

exp-drd/tests/pth_barrier.stderr.exp-thread3 [new file with mode: 0644]

diff --git a/exp-drd/tests/pth_barrier.stderr.exp-thread3 b/exp-drd/tests/pth_barrier.stderr.exp-thread3
new file mode 100644 (file)
index 0000000..92b698f
--- /dev/null
@@ -0,0 +1,25 @@
+
+Thread 3:
+Conflicting store by thread 3 at 0x........ size 4
+   at 0x........: threadfunc (pth_barrier.c:?)
+   by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+   by 0x........: start_thread (in libpthread-?.?.so)
+   by 0x........: clone (in /...libc...)
+Allocation context: heap, offset 0 in block at 0x........ of size 4
+   at 0x........: malloc (vg_replace_malloc.c:...)
+   by 0x........: barriers_and_races (pth_barrier.c:?)
+   by 0x........: main (pth_barrier.c:?)
+Other segment start (thread 2)
+   at 0x........: pthread_barrier_wait (drd_intercepts.c:?)
+   by 0x........: threadfunc (pth_barrier.c:?)
+   by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+   by 0x........: start_thread (in libpthread-?.?.so)
+   by 0x........: clone (in /...libc...)
+Other segment end (thread 2)
+   at 0x........: pthread_barrier_wait (in libpthread-?.?.so)
+   by 0x........: threadfunc (pth_barrier.c:?)
+   by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+   by 0x........: start_thread (in libpthread-?.?.so)
+   by 0x........: clone (in /...libc...)
+
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)