You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
|
|
2
|
3
(4) |
4
(5) |
5
(2) |
6
|
7
(2) |
8
(4) |
|
9
(1) |
10
(7) |
11
(4) |
12
(4) |
13
(8) |
14
(6) |
15
(3) |
|
16
(4) |
17
|
18
|
19
|
20
(6) |
21
|
22
|
|
23
|
24
(1) |
25
(8) |
26
(12) |
27
(1) |
28
(9) |
29
(9) |
|
30
(3) |
31
(4) |
|
|
|
|
|
|
From: <sv...@va...> - 2010-05-29 18:43:51
|
Author: bart Date: 2010-05-29 19:43:43 +0100 (Sat, 29 May 2010) New Revision: 11140 Log: Updated Subversion ignore lists. Modified: trunk/none/tests/ trunk/none/tests/amd64/ trunk/none/tests/x86/ Property changes on: trunk/none/tests ___________________________________________________________________ Name: svn:ignore - *.dSYM *.so *.stderr.diff* *.stderr.out *.stdout.diff* *.stdout.out .deps ansi args async-sigs as_mmap as_shm bitfield1 blockfault bug129866 closeall coolo_sigaction coolo_strlen discard exec-sigmask execve faultstatus fcntl_setown fdleak_cmsg fdleak_creat fdleak_dup fdleak_dup2 fdleak_fcntl fdleak_ipv4 fdleak_open fdleak_pipe fdleak_socketpair floored fork fucomip gxx304 insn_basic insn_basic.c insn_cmov insn_cmov.c insn_fpu insn_fpu.c insn_mmx insn_mmx.c insn_mmxext insn_mmxext.c insn_sse insn_sse.c insn_sse2 insn_sse2.c Makefile Makefile.in manythreads map_unaligned map_unmap mq mremap mremap2 munmap_exe nestedfns pending pluto procfs-cmdline-exe pth_atfork1 pth_blockedsig pth_cancel1 pth_cancel2 pth_cvsimple pth_detached pth_empty pth_exit pth_exit2 pth_mutexspeed pth_once pth_rwlock pth_semaphore1 pth_simple_mutex pth_simple_threads pth_specific pth_stackalign pth_yield rcrl readline1 resolv res_search rlimit_nofile selfrun sem semlimit sha1_test shortpush shorts sigstackgrowth smc1 stackgrowth susphello syscall-restart1 syscall-restart2 syslog system thread-exits threaded-fork threadederrno timestamp tls valgrind_cpp_test vgcore.* vgprintf yield + *.dSYM *.so *.stderr.diff* *.stderr.out *.stdout.diff* *.stdout.out .deps ansi args async-sigs as_mmap as_shm bitfield1 blockfault bug129866 closeall coolo_sigaction coolo_strlen discard exec-sigmask execve faultstatus fcntl_setown fdleak_cmsg fdleak_creat fdleak_dup fdleak_dup2 fdleak_fcntl fdleak_ipv4 fdleak_open fdleak_pipe fdleak_socketpair floored fork fucomip gxx304 insn_basic insn_basic.c insn_cmov insn_cmov.c insn_fpu insn_fpu.c insn_mmx insn_mmx.c insn_mmxext insn_mmxext.c insn_sse insn_sse.c insn_sse2 insn_sse2.c Makefile Makefile.in manythreads map_unaligned map_unmap mq mremap mremap2 munmap_exe nestedfns pending pluto procfs-cmdline-exe pth_atfork1 pth_blockedsig pth_cancel1 pth_cancel2 pth_cvsimple pth_detached pth_empty pth_exit pth_exit2 pth_mutexspeed pth_once pth_rwlock pth_semaphore1 pth_simple_mutex pth_simple_threads pth_specific pth_stackalign pth_yield rcrl readline1 resolv res_search require-text-symbol rlimit_nofile selfrun sem semlimit sha1_test shortpush shorts sigstackgrowth smc1 stackgrowth susphello syscall-restart1 syscall-restart2 syslog system thread-exits threaded-fork threadederrno timestamp tls valgrind_cpp_test vgcore.* vgprintf yield Property changes on: trunk/none/tests/amd64 ___________________________________________________________________ Name: svn:ignore - *.stderr.diff *.stderr.out *.stdout.diff *.stdout.out .deps amd64locked bug127521-64 bug132813-amd64 bug132918 bug137714-amd64 bug156404-amd64 clc faultstatus fcmovnu fxtract insn_basic insn_basic.c insn_fpu insn_fpu.c insn_mmx insn_mmx.c insn_sse insn_sse.c insn_sse2 insn_sse2.c insn_sse3 insn_sse3.c insn_ssse3 insn_ssse3.c jrcxz looper Makefile Makefile.in nibz_bennee_mmap rcl-amd64 redundantRexW shrld slahf-amd64 smc1 ssse3_misaligned + *.stderr.diff *.stderr.out *.stdout.diff *.stdout.out .deps amd64locked bug127521-64 bug132813-amd64 bug132918 bug137714-amd64 bug156404-amd64 clc faultstatus fcmovnu fxtract insn_basic insn_basic.c insn_fpu insn_fpu.c insn_mmx insn_mmx.c insn_sse insn_sse.c insn_sse2 insn_sse2.c insn_sse3 insn_sse3.c insn_ssse3 insn_ssse3.c jrcxz looper Makefile Makefile.in nibz_bennee_mmap rcl-amd64 redundantRexW shrld slahf-amd64 smc1 ssse3_misaligned xadd Property changes on: trunk/none/tests/x86 ___________________________________________________________________ Name: svn:ignore - *.dSYM *.stderr.diff *.stderr.out *.stdout.diff *.stdout.out .deps badseg bt_everything bt_literal bug125959-x86 bug126147-x86 bug132813-x86 bug135421-x86 bug137714-x86 bug152818-x86 cmpxchg8b cpuid cse_fail dastest faultstatus fcmovnu fpu_lazy_eflags fxtract getseg incdec_alt insn_basic insn_basic.c insn_cmov insn_cmov.c insn_fpu insn_fpu.c insn_mmx insn_mmx.c insn_mmxext insn_mmxext.c insn_sse insn_sse.c insn_sse2 insn_sse2.c insn_sse3 insn_sse3.c insn_ssse3 insn_ssse3.c int jcxz lahf looper Makefile Makefile.in movx pushpopseg rcl_assert sbbmisc seg_override sigcontext smc1 ssse3_misaligned x86locked yield + *.dSYM *.stderr.diff *.stderr.out *.stdout.diff *.stdout.out .deps badseg bt_everything bt_literal bug125959-x86 bug126147-x86 bug132813-x86 bug135421-x86 bug137714-x86 bug152818-x86 cmpxchg8b cpuid cse_fail dastest faultstatus fcmovnu fpu_lazy_eflags fxtract getseg incdec_alt insn_basic insn_basic.c insn_cmov insn_cmov.c insn_fpu insn_fpu.c insn_mmx insn_mmx.c insn_mmxext insn_mmxext.c insn_sse insn_sse.c insn_sse2 insn_sse2.c insn_sse3 insn_sse3.c insn_ssse3 insn_ssse3.c int jcxz lahf looper Makefile Makefile.in movx pushpopseg rcl_assert sbbmisc seg_override sigcontext smc1 ssse3_misaligned x86locked xadd yield |
|
From: <sv...@va...> - 2010-05-29 18:43:29
|
Author: bart
Date: 2010-05-29 19:43:21 +0100 (Sat, 29 May 2010)
New Revision: 11139
Log:
Handle statically initialized condition variables properly.
Modified:
trunk/drd/drd_clientreq.c
trunk/drd/drd_clientreq.h
trunk/drd/drd_cond.c
trunk/drd/drd_cond.h
trunk/drd/drd_pthread_intercepts.c
Modified: trunk/drd/drd_clientreq.c
===================================================================
--- trunk/drd/drd_clientreq.c 2010-05-29 18:42:14 UTC (rev 11138)
+++ trunk/drd/drd_clientreq.c 2010-05-29 18:43:21 UTC (rev 11139)
@@ -174,6 +174,11 @@
DRD_(rwlock_pre_unlock)(arg[1], user_rwlock);
break;
+ case VG_USERREQ__SET_PTHREAD_COND_INITIALIZER:
+ DRD_(pthread_cond_initializer) = (Addr)arg[1];
+ DRD_(pthread_cond_initializer_size) = arg[2];
+ break;
+
case VG_USERREQ__DRD_START_NEW_SEGMENT:
DRD_(thread_new_segment)(DRD_(PtThreadIdToDrdThreadId)(arg[1]));
break;
Modified: trunk/drd/drd_clientreq.h
===================================================================
--- trunk/drd/drd_clientreq.h 2010-05-29 18:42:14 UTC (rev 11138)
+++ trunk/drd/drd_clientreq.h 2010-05-29 18:43:21 UTC (rev 11139)
@@ -45,8 +45,14 @@
* source files.
*/
enum {
+ /* Declare the address and size of a variable with value
+ * PTHREAD_COND_INITIALIZER.
+ */
+ VG_USERREQ__SET_PTHREAD_COND_INITIALIZER = VG_USERREQ_TOOL_BASE('D', 'r'),
+ /* args: address, size. */
+
/* To ask the drd tool to start a new segment in the specified thread. */
- VG_USERREQ__DRD_START_NEW_SEGMENT = VG_USERREQ_TOOL_BASE('D', 'r'),
+ VG_USERREQ__DRD_START_NEW_SEGMENT,
/* args: POSIX thread ID. */
/* Tell drd the pthread_t of the running thread. */
Modified: trunk/drd/drd_cond.c
===================================================================
--- trunk/drd/drd_cond.c 2010-05-29 18:42:14 UTC (rev 11138)
+++ trunk/drd/drd_cond.c 2010-05-29 18:43:21 UTC (rev 11139)
@@ -29,6 +29,7 @@
#include "drd_mutex.h"
#include "pub_tool_errormgr.h" /* VG_(maybe_record_error)() */
#include "pub_tool_libcassert.h" /* tl_assert() */
+#include "pub_tool_libcbase.h" /* VG_(memcmp)() */
#include "pub_tool_libcprint.h" /* VG_(printf)() */
#include "pub_tool_machine.h" /* VG_(get_IP)() */
#include "pub_tool_threadstate.h" /* VG_(get_running_tid)() */
@@ -45,6 +46,12 @@
static Bool DRD_(s_trace_cond);
+/* Global variables. */
+
+Addr DRD_(pthread_cond_initializer);
+int DRD_(pthread_cond_initializer_size);
+
+
/* Function definitions. */
void DRD_(cond_set_report_signal_unlocked)(const Bool r)
@@ -382,12 +389,17 @@
cond);
}
- if (!p)
+ tl_assert(DRD_(pthread_cond_initializer));
+ if (!p && VG_(memcmp)((void*)cond, (void*)DRD_(pthread_cond_initializer),
+ DRD_(pthread_cond_initializer_size)) != 0)
{
not_initialized(cond);
return;
}
+ if (!p)
+ p = cond_get_or_allocate(cond);
+
cond_signal(DRD_(thread_get_running_tid)(), p);
}
@@ -405,11 +417,16 @@
}
p = DRD_(cond_get)(cond);
- if (!p)
+ tl_assert(DRD_(pthread_cond_initializer));
+ if (!p && VG_(memcmp)((void*)cond, (void*)DRD_(pthread_cond_initializer),
+ DRD_(pthread_cond_initializer_size)) != 0)
{
not_initialized(cond);
return;
}
+ if (!p)
+ p = cond_get_or_allocate(cond);
+
cond_signal(DRD_(thread_get_running_tid)(), p);
}
Modified: trunk/drd/drd_cond.h
===================================================================
--- trunk/drd/drd_cond.h 2010-05-29 18:42:14 UTC (rev 11138)
+++ trunk/drd/drd_cond.h 2010-05-29 18:43:21 UTC (rev 11139)
@@ -36,6 +36,12 @@
struct cond_info;
+/* Variable declarations. */
+
+extern Addr DRD_(pthread_cond_initializer);
+extern int DRD_(pthread_cond_initializer_size);
+
+
/* Function declarations. */
void DRD_(cond_set_report_signal_unlocked)(const Bool r);
Modified: trunk/drd/drd_pthread_intercepts.c
===================================================================
--- trunk/drd/drd_pthread_intercepts.c 2010-05-29 18:42:14 UTC (rev 11138)
+++ trunk/drd/drd_pthread_intercepts.c 2010-05-29 18:43:21 UTC (rev 11139)
@@ -134,6 +134,7 @@
static void DRD_(init)(void) __attribute__((constructor));
static void DRD_(check_threading_library)(void);
static void DRD_(set_main_thread_state)(void);
+static void DRD_(set_pthread_cond_initializer)(void);
/* Function definitions. */
@@ -152,6 +153,7 @@
{
DRD_(check_threading_library)();
DRD_(set_main_thread_state)();
+ DRD_(set_pthread_cond_initializer)();
}
/**
@@ -339,7 +341,20 @@
// Make sure that DRD knows about the main thread's POSIX thread ID.
VALGRIND_DO_CLIENT_REQUEST(res, -1, VG_USERREQ__SET_PTHREADID,
pthread_self(), 0, 0, 0, 0);
+}
+/** Tell DRD which value PTHREAD_COND_INITIALIZER has. */
+static void DRD_(set_pthread_cond_initializer)(void)
+{
+ int res;
+
+ static pthread_cond_t pthread_cond_initializer = PTHREAD_COND_INITIALIZER;
+
+ // Make sure that DRD knows about the main thread's POSIX thread ID.
+ VALGRIND_DO_CLIENT_REQUEST(res, -1, VG_USERREQ__SET_PTHREAD_COND_INITIALIZER,
+ &pthread_cond_initializer,
+ sizeof(pthread_cond_initializer),
+ 0, 0, 0);
}
|
|
From: <sv...@va...> - 2010-05-29 18:42:23
|
Author: bart
Date: 2010-05-29 19:42:14 +0100 (Sat, 29 May 2010)
New Revision: 11138
Log:
Added a regression test.
Added:
trunk/drd/tests/pth_uninitialized_cond.c
trunk/drd/tests/pth_uninitialized_cond.stderr.exp
trunk/drd/tests/pth_uninitialized_cond.vgtest
Modified:
trunk/drd/tests/
trunk/drd/tests/Makefile.am
Property changes on: trunk/drd/tests
___________________________________________________________________
Name: svn:ignore
- *.dSYM
*.stderr.diff*
*.stderr.out
*.stdout.diff*
*.stdout.out
.deps
annotate_barrier
annotate_hb_err
annotate_hb_race
annotate_ignore_rw
annotate_ignore_write
annotate_publish_hg
annotate_rwlock
annotate_smart_pointer
annotate_static
atomic_var
bar_bad
bar_trivial
boost_thread
bug-235681
circular_buffer
custom_alloc
drd_bitmap_test
fp_race
hg01_all_ok
hg02_deadlock
hg03_inherit
hg04_race
hg05_race2
hg06_readshared
hold_lock
linuxthreads_det
Makefile
Makefile.in
matinv
memory_allocation
monitor_example
new_delete
omp_matinv
omp_prime
omp_printf
pth_barrier
pth_barrier_race
pth_barrier_reinit
pth_broadcast
pth_cancel_locked
pth_cleanup_handler
pth_cond_race
pth_create_chain
pth_create_glibc_2_0
pth_detached
pth_detached_sem
pth_inconsistent_cond_wait
pth_mutex_reinit
pth_process_shared_mutex
pth_spinlock
qt4_atomic
qt4_mutex
qt4_rwlock
qt4_semaphore
recursive_mutex
rwlock_race
rwlock_test
rwlock_type_checking
sem_as_mutex
sem_open
sigalrm
tc01_simple_race
tc02_simple_tls
tc03_re_excl
tc04_free_lock
tc05_simple_race
tc06_two_races
tc07_hbl1
tc08_hbl2
tc09_bad_unlock
tc10_rec_lock
tc11_XCHG
tc12_rwl_trivial
tc13_laog1
tc15_laog_lockdel
tc16_byterace
tc17_sembar
tc18_semabuse
tc19_shadowmem
tc20_verifywrap
tc21_pthonce
tc22_exit_w_lock
tc23_bogus_condwait
tc24_nonzero_sem
thread_name
trylock
tsan_unittest
unit_bitmap
unit_vc
vg_regtest.tmp*
+ *.dSYM
*.stderr.diff*
*.stderr.out
*.stdout.diff*
*.stdout.out
.deps
annotate_barrier
annotate_hb_err
annotate_hb_race
annotate_ignore_rw
annotate_ignore_write
annotate_publish_hg
annotate_rwlock
annotate_smart_pointer
annotate_static
atomic_var
bar_bad
bar_trivial
boost_thread
bug-235681
circular_buffer
custom_alloc
drd_bitmap_test
fp_race
hg01_all_ok
hg02_deadlock
hg03_inherit
hg04_race
hg05_race2
hg06_readshared
hold_lock
linuxthreads_det
Makefile
Makefile.in
matinv
memory_allocation
monitor_example
new_delete
omp_matinv
omp_prime
omp_printf
pth_barrier
pth_barrier_race
pth_barrier_reinit
pth_broadcast
pth_cancel_locked
pth_cleanup_handler
pth_cond_race
pth_create_chain
pth_create_glibc_2_0
pth_detached
pth_detached_sem
pth_inconsistent_cond_wait
pth_mutex_reinit
pth_process_shared_mutex
pth_spinlock
pth_uninitialized_cond
qt4_atomic
qt4_mutex
qt4_rwlock
qt4_semaphore
recursive_mutex
rwlock_race
rwlock_test
rwlock_type_checking
sem_as_mutex
sem_open
sigalrm
tc01_simple_race
tc02_simple_tls
tc03_re_excl
tc04_free_lock
tc05_simple_race
tc06_two_races
tc07_hbl1
tc08_hbl2
tc09_bad_unlock
tc10_rec_lock
tc11_XCHG
tc12_rwl_trivial
tc13_laog1
tc15_laog_lockdel
tc16_byterace
tc17_sembar
tc18_semabuse
tc19_shadowmem
tc20_verifywrap
tc21_pthonce
tc22_exit_w_lock
tc23_bogus_condwait
tc24_nonzero_sem
thread_name
trylock
tsan_unittest
unit_bitmap
unit_vc
vg_regtest.tmp*
Modified: trunk/drd/tests/Makefile.am
===================================================================
--- trunk/drd/tests/Makefile.am 2010-05-29 06:44:28 UTC (rev 11137)
+++ trunk/drd/tests/Makefile.am 2010-05-29 18:42:14 UTC (rev 11138)
@@ -159,6 +159,8 @@
pth_process_shared_mutex.vgtest \
pth_spinlock.stderr.exp \
pth_spinlock.vgtest \
+ pth_uninitialized_cond.stderr.exp \
+ pth_uninitialized_cond.vgtest \
qt4_atomic.stderr.exp \
qt4_atomic.vgtest \
qt4_mutex.stderr.exp \
@@ -280,6 +282,7 @@
pth_inconsistent_cond_wait \
pth_mutex_reinit \
pth_process_shared_mutex \
+ pth_uninitialized_cond \
recursive_mutex \
rwlock_race \
rwlock_test \
Added: trunk/drd/tests/pth_uninitialized_cond.c
===================================================================
--- trunk/drd/tests/pth_uninitialized_cond.c (rev 0)
+++ trunk/drd/tests/pth_uninitialized_cond.c 2010-05-29 18:42:14 UTC (rev 11138)
@@ -0,0 +1,28 @@
+/* Test program to verify whether DRD only complains about uninitialized
+ * condition variables for dynamically allocated memory.
+ */
+
+
+#include <pthread.h>
+#include <stdio.h>
+
+
+static pthread_cond_t s_cond1 = PTHREAD_COND_INITIALIZER;
+static pthread_cond_t s_cond2 = PTHREAD_COND_INITIALIZER;
+
+
+int main(int argc, char** argv)
+{
+ fprintf(stderr, "Statically initialized condition variable.\n");
+
+ pthread_cond_signal(&s_cond1);
+
+ fprintf(stderr, "Uninitialized condition variable.\n");
+
+ *((char*)&s_cond2 + sizeof(s_cond2) - 1) ^= 1;
+ pthread_cond_signal(&s_cond2);
+
+ fprintf(stderr, "Done.\n");
+
+ return 0;
+}
Added: trunk/drd/tests/pth_uninitialized_cond.stderr.exp
===================================================================
--- trunk/drd/tests/pth_uninitialized_cond.stderr.exp (rev 0)
+++ trunk/drd/tests/pth_uninitialized_cond.stderr.exp 2010-05-29 18:42:14 UTC (rev 11138)
@@ -0,0 +1,10 @@
+
+Statically initialized condition variable.
+Uninitialized condition variable.
+condition variable has not been initialized: cond 0x........
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_uninitialized_cond.c:?)
+
+Done.
+
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Added: trunk/drd/tests/pth_uninitialized_cond.vgtest
===================================================================
--- trunk/drd/tests/pth_uninitialized_cond.vgtest (rev 0)
+++ trunk/drd/tests/pth_uninitialized_cond.vgtest 2010-05-29 18:42:14 UTC (rev 11138)
@@ -0,0 +1,3 @@
+prereq: test -e pth_uninitialized_cond && ./supported_libpthread
+vgopts: --read-var-info=yes --check-stack-var=yes
+prog: pth_uninitialized_cond
|
|
From: Alexander P. <gl...@go...> - 2010-05-29 11:28:37
|
Nightly build on mcgrind ( Darwin 9.8.0 i386 ) Started at 2010-05-29 09:06:00 MSD Ended at 2010-05-29 09:25:43 MSD Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 442 tests, 16 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/null_socket (stdout) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) none/tests/async-sigs (stderr) none/tests/faultstatus (stderr) none/tests/pth_blockedsig (stderr) none/tests/require-text-symbol-2 (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/rwlock_race (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/pth_detached (stdout) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 442 tests, 16 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/null_socket (stdout) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) none/tests/async-sigs (stderr) none/tests/faultstatus (stderr) none/tests/pth_blockedsig (stderr) none/tests/require-text-symbol-2 (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/rwlock_race (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc23_bogus_condwait (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sat May 29 09:16:08 2010 --- new.short Sat May 29 09:25:43 2010 *************** *** 8,10 **** ! == 442 tests, 16 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/null_socket (stdout) --- 8,10 ---- ! == 442 tests, 16 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/null_socket (stdout) *************** *** 26,27 **** --- 26,28 ---- helgrind/tests/tc23_bogus_condwait (stderr) + drd/tests/pth_detached (stdout) -- Alexander Potapenko Software Engineer Google Moscow |
|
From: Bart V. A. <bva...@ac...> - 2010-05-29 06:45:56
|
On Fri, May 28, 2010 at 11:27 PM, Dave Goodell <go...@mc...> wrote: > > On May 28, 2010 , at 4:09 PM CDT, Julian Seward wrote: > > > checking for ranlib... ranlib > > ./configure: line 3849: AC_PROG_SED: command not found > > checking for ar... /usr/bin/ar > > > > Bart, is there a fix/workaround for this? > > You could try something like this: > > ------8<------ > # provide a very basic def for AC_PROG_SED if we don't have one (as in ac 2.59) > m4_ifndef([AC_PROG_SED],[AC_DEFUN([AC_PROG_SED], > [AC_ARG_VAR([SED]) > AC_CHECK_PROGS([SED],[gsed sed])])]) > AC_PROG_SED > ------8<------ > > That's a pretty weak check because it doesn't do anything to make sure that the > given sed isn't buggy. But it probably makes for a pretty good fallback, and most > systems where Valgrind actually builds/runs should have a workable sed. Thanks. Applied a slightly modified version as r11137. Bart. |
|
From: <sv...@va...> - 2010-05-29 06:44:38
|
Author: bart
Date: 2010-05-29 07:44:28 +0100 (Sat, 29 May 2010)
New Revision: 11137
Log:
Can be processed again with autoconf 2.59 and before, which does not have AC_PROG_SED.
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2010-05-28 20:09:59 UTC (rev 11136)
+++ trunk/configure.in 2010-05-29 06:44:28 UTC (rev 11137)
@@ -39,12 +39,18 @@
# AC_SUBST([OBJCFLAGS])
# ])
AC_PROG_RANLIB
+# provide a very basic definition for AC_PROG_SED if it's not provided by
+# autoconf (as e.g. in autoconf 2.59).
+m4_ifndef([AC_PROG_SED],
+ [AC_DEFUN([AC_PROG_SED],
+ [AC_ARG_VAR([SED])
+ AC_CHECK_PROGS([SED],[gsed sed])])])
AC_PROG_SED
# If no AR variable was specified, look up the name of the archiver. Otherwise
# do not touch the AR variable.
if test "x$AR" = "x"; then
- AC_PATH_PROGS([AR], [`echo $LD | sed 's/ld$/ar/'` "ar"], [ar])
+ AC_PATH_PROGS([AR], [`echo $LD | $SED 's/ld$/ar/'` "ar"], [ar])
fi
AC_ARG_VAR([AR],[Archiver command])
@@ -93,7 +99,7 @@
# We don't want gcc < 3.0
AC_MSG_CHECKING([for a supported version of gcc])
-[gcc_version=`${CC} --version | head -n 1 | sed 's/^[^0-9]*\([0-9.]*\).*$/\1/'`]
+[gcc_version=`${CC} --version | head -n 1 | $SED 's/^[^0-9]*\([0-9.]*\).*$/\1/'`]
case "${gcc_version}" in
2.*)
|
|
From: Bart V. A. <bva...@ac...> - 2010-05-29 06:35:43
|
Nightly build on cellbuzz-native ( cellbuzz, ppc64, Fedora 7, native ) Started at 2010-05-29 02:34:03 EDT Ended at 2010-05-29 02:35:29 EDT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Last 20 lines of verbose log follow echo Checking out valgrind source tree ... svn co svn://svn.valgrind.org/valgrind/trunk -r {2010-05-29T02:34:03} valgrind-new Job ID = 3274.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory Configuring valgrind ... cd valgrind-new && ./autogen.sh && ./configure --prefix=/home/bart/software/valgrind/nightly/valgrind-new/Inst Job ID = 3275.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory Building valgrind ... cd valgrind-new && make -j 2 && make -j 2 check && make install Job ID = 3276.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory Running regression tests ... cd valgrind-new && make regtest Job ID = 3277.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Last 20 lines of verbose log follow echo Checking out valgrind source tree ... svn co svn://svn.valgrind.org/valgrind/trunk -r {2010-05-28T02:34:03} valgrind-old Job ID = 3270.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory Configuring valgrind ... cd valgrind-old && ./autogen.sh && ./configure --prefix=/home/bart/software/valgrind/nightly/valgrind-old/Inst Job ID = 3271.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory Building valgrind ... cd valgrind-old && make -j 2 && make -j 2 check && make install Job ID = 3272.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory Running regression tests ... cd valgrind-old && make regtest Job ID = 3273.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sat May 29 02:34:48 2010 --- new.short Sat May 29 02:35:29 2010 *************** *** 8,20 **** ! Checking out valgrind source tree ... svn co svn://svn.valgrind.org/valgrind/trunk -r {2010-05-28T02:34:03} valgrind-old ! Job ID = 3270.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory ! Configuring valgrind ... cd valgrind-old && ./autogen.sh && ./configure --prefix=/home/bart/software/valgrind/nightly/valgrind-old/Inst ! Job ID = 3271.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory ! Building valgrind ... cd valgrind-old && make -j 2 && make -j 2 check && make install ! Job ID = 3272.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory ! Running regression tests ... cd valgrind-old && make regtest ! Job ID = 3273.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory --- 8,20 ---- ! Checking out valgrind source tree ... svn co svn://svn.valgrind.org/valgrind/trunk -r {2010-05-29T02:34:03} valgrind-new ! Job ID = 3274.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory ! Configuring valgrind ... cd valgrind-new && ./autogen.sh && ./configure --prefix=/home/bart/software/valgrind/nightly/valgrind-new/Inst ! Job ID = 3275.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory ! Building valgrind ... cd valgrind-new && make -j 2 && make -j 2 check && make install ! Job ID = 3276.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory ! Running regression tests ... cd valgrind-new && make regtest ! Job ID = 3277.cell-user.cell.buzz cat: cmd-output.txt: No such file or directory |
|
From: Tom H. <th...@cy...> - 2010-05-29 02:50:00
|
Nightly build on lloyd ( x86_64, Fedora 7 ) Started at 2010-05-29 03:05:08 BST Ended at 2010-05-29 03:49:47 BST 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 == 541 tests, 1 stderr failure, 0 stdout failures, 0 post failures == helgrind/tests/tc06_two_races_xml (stderr) |
|
From: Tom H. <th...@cy...> - 2010-05-29 02:36:36
|
Nightly build on mg ( x86_64, Fedora 9 ) Started at 2010-05-29 03:10:07 BST Ended at 2010-05-29 03:36:18 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 548 tests, 2 stderr failures, 0 stdout failures, 0 post failures == helgrind/tests/pth_spinlock (stderr) helgrind/tests/tc06_two_races_xml (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 548 tests, 1 stderr failure, 0 stdout failures, 0 post failures == helgrind/tests/tc06_two_races_xml (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Sat May 29 03:23:12 2010 --- new.short Sat May 29 03:36:18 2010 *************** *** 8,10 **** ! == 548 tests, 1 stderr failure, 0 stdout failures, 0 post failures == helgrind/tests/tc06_two_races_xml (stderr) --- 8,11 ---- ! == 548 tests, 2 stderr failures, 0 stdout failures, 0 post failures == ! helgrind/tests/pth_spinlock (stderr) helgrind/tests/tc06_two_races_xml (stderr) |