From: Bart Van Assche Date: Mon, 25 Feb 2008 17:29:13 +0000 (+0000) Subject: Added output for the case where the data race is detected in thread 3. X-Git-Tag: svn/VALGRIND_3_4_0~1038 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c154161128d3a24a536535182cbbcaa83fc275bc;p=thirdparty%2Fvalgrind.git Added output for the case where the data race is detected in thread 3. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7459 --- diff --git a/exp-drd/tests/pth_barrier.stderr.exp-thread3 b/exp-drd/tests/pth_barrier.stderr.exp-thread3 new file mode 100644 index 0000000000..92b698f64a --- /dev/null +++ b/exp-drd/tests/pth_barrier.stderr.exp-thread3 @@ -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)