From: Mark W. <ma...@bu...> - 2015-03-27 02:30:05
|
valgrind revision: 15041 VEX revision: 3107 C compiler: gcc (Debian 4.7.2-5) 4.7.2 GDB: GNU gdb (GDB) 7.4.1-debian Assembler: GNU assembler (GNU Binutils for Debian) 2.22 C library: GNU C Library (Debian EGLIBC 2.13-38+deb7u8) stable release version 2.13 uname -mrs: Linux 3.2.0-4-686-pae i686 Vendor version: Debian GNU/Linux 7 (wheezy) Nightly build on wildebeest32 ( Debian 7.8 wheezy i686 ) Started at 2015-03-27 02:07:02 CET Ended at 2015-03-27 03:27:54 CET Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 633 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == helgrind/tests/pth_destroy_cond (stderr) ================================================= ./valgrind-new/helgrind/tests/pth_destroy_cond.stderr.diff ================================================= --- pth_destroy_cond.stderr.exp 2015-03-27 02:49:13.868873997 +0100 +++ pth_destroy_cond.stderr.out 2015-03-27 03:16:37.712874003 +0100 @@ -5,6 +5,34 @@ by 0x........: pthread_create@* (hg_intercepts.c:...) by 0x........: main (pth_destroy_cond.c:29) +---Thread-Announcement------------------------------------------ + +Thread #x is the program's root thread + +---------------------------------------------------------------- + + Lock at 0x........ was first observed + at 0x........: pthread_mutex_init (hg_intercepts.c:...) + by 0x........: main (pth_destroy_cond.c:25) + Address 0x........ is 0 bytes inside data symbol "mutex" + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: 1, at address 0x........ + at 0x........: my_memcmp (hg_intercepts.c:...) + by 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...) + by 0x........: ThreadFunction (pth_destroy_cond.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_wait@* (hg_intercepts.c:...) + by 0x........: main (pth_destroy_cond.c:31) + Address 0x........ is 4 bytes inside data symbol "cond" + ---------------------------------------------------------------- Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon ================================================= ./valgrind-old/helgrind/tests/pth_destroy_cond.stderr.diff ================================================= --- pth_destroy_cond.stderr.exp 2015-03-27 02:07:13.156874003 +0100 +++ pth_destroy_cond.stderr.out 2015-03-27 02:31:17.200874003 +0100 @@ -5,6 +5,34 @@ by 0x........: pthread_create@* (hg_intercepts.c:...) by 0x........: main (pth_destroy_cond.c:29) +---Thread-Announcement------------------------------------------ + +Thread #x is the program's root thread + +---------------------------------------------------------------- + + Lock at 0x........ was first observed + at 0x........: pthread_mutex_init (hg_intercepts.c:...) + by 0x........: main (pth_destroy_cond.c:25) + Address 0x........ is 0 bytes inside data symbol "mutex" + +Possible data race during read of size 1 at 0x........ by thread #x +Locks held: 1, at address 0x........ + at 0x........: my_memcmp (hg_intercepts.c:...) + by 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...) + by 0x........: ThreadFunction (pth_destroy_cond.c:18) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + +This conflicts with a previous write of size 4 by thread #x +Locks held: none + ... + by 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...) + by 0x........: pthread_cond_wait@* (hg_intercepts.c:...) + by 0x........: main (pth_destroy_cond.c:31) + Address 0x........ is 4 bytes inside data symbol "cond" + ---------------------------------------------------------------- Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon |