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
(25) |
2
(25) |
3
(5) |
4
(13) |
|
5
(4) |
6
(8) |
7
(6) |
8
|
9
(10) |
10
(15) |
11
(9) |
|
12
(14) |
13
(10) |
14
(24) |
15
(41) |
16
(13) |
17
(9) |
18
(3) |
|
19
(10) |
20
(11) |
21
(28) |
22
(36) |
23
(52) |
24
(36) |
25
(12) |
|
26
(31) |
27
(27) |
28
(20) |
29
(15) |
30
(22) |
31
(17) |
|
|
From: Nicholas N. <n.n...@gm...> - 2009-07-22 22:51:39
|
On Thu, Jul 23, 2009 at 5:17 AM, <sv...@va...> wrote: > Author: bart > Date: 2009-07-22 20:17:05 +0100 (Wed, 22 Jul 2009) > New Revision: 10534 > > Log: > More tweaking for Darwin. Bart, it's great to see you're working on Darwin support. What's the status -- how many of the tests are passing? Can you roughly estimate how much more work it'll be for DRD to be reliable on Darwin? Thanks. Nick |
|
From: <sv...@va...> - 2009-07-22 22:41:46
|
Author: njn
Date: 2009-07-22 23:41:38 +0100 (Wed, 22 Jul 2009)
New Revision: 10536
Log:
Include valgrind_libdir and VG_(libdir) in the debugLog output. This was
useful for me debugging a broken installation yesterday.
Modified:
trunk/coregrind/launcher-darwin.c
trunk/coregrind/m_main.c
Modified: trunk/coregrind/launcher-darwin.c
===================================================================
--- trunk/coregrind/launcher-darwin.c 2009-07-22 19:33:26 UTC (rev 10535)
+++ trunk/coregrind/launcher-darwin.c 2009-07-22 22:41:38 UTC (rev 10536)
@@ -277,6 +277,7 @@
{ const char *cp;
cp = getenv(VALGRIND_LIB);
valgrind_lib = ( cp == NULL ? VG_LIBDIR : cp );
+ VG_(debugLog)(1, "launcher", "valgrind_lib = %s\n", valgrind_lib);
}
/* Find installed architectures. Use vgpreload_core-<platform>.so as the
Modified: trunk/coregrind/m_main.c
===================================================================
--- trunk/coregrind/m_main.c 2009-07-22 19:33:26 UTC (rev 10535)
+++ trunk/coregrind/m_main.c 2009-07-22 22:41:38 UTC (rev 10536)
@@ -1571,6 +1571,7 @@
{ HChar *cp = VG_(getenv)(VALGRIND_LIB);
if (cp != NULL)
VG_(libdir) = cp;
+ VG_(debugLog)(1, "main", "VG_(libdir) = %s\n", VG_(libdir));
}
//--------------------------------------------------------------
|
|
From: Nicholas N. <n.n...@gm...> - 2009-07-22 22:33:15
|
On Wed, Jul 22, 2009 at 8:35 PM, Bart Van Assche<bar...@gm...> wrote: > > Fixed. Thanks! > By the way, I assume that the --read-var-info flag will be > documented in docs/xml/manual-core.xml before 3.5.0 is released ? Good catch... it should have been documented in 3.4.0. I've filed bug 201169 (a 3.5.0 blocker) for it. Nick |
|
From: <sv...@va...> - 2009-07-22 19:52:18
|
Author: bart
Date: 2009-07-22 20:14:31 +0100 (Wed, 22 Jul 2009)
New Revision: 10533
Log:
Bug fix: leave empty output files empty instead of transforming these into an empty line.
Modified:
trunk/drd/tests/filter_stderr
Modified: trunk/drd/tests/filter_stderr
===================================================================
--- trunk/drd/tests/filter_stderr 2009-07-22 19:06:22 UTC (rev 10532)
+++ trunk/drd/tests/filter_stderr 2009-07-22 19:14:31 UTC (rev 10533)
@@ -30,7 +30,7 @@
# Remove the message that more than hundred errors have been detected
# (consists of two lines) and also the empty line above it.
-awk 'BEGIN{begin=1} {if ($0 == "More than 100 errors detected. Subsequent errors") { getline; getline; } else { if (begin) begin = 0; else print last_line; }; last_line = $0; } END { print last_line; }' |
+awk 'BEGIN{begin=1} {if ($0 == "More than 100 errors detected. Subsequent errors") { getline; getline; } else { if (begin) begin = 0; else print last_line; }; last_line = $0; } END { if (! begin) print last_line; }' |
# Anonymise addresses
$dir/../../tests/filter_addresses
|
|
From: <sv...@va...> - 2009-07-22 19:52:17
|
Author: bart
Date: 2009-07-22 20:33:26 +0100 (Wed, 22 Jul 2009)
New Revision: 10535
Log:
Make the regression tests pass again on Linux.
Modified:
trunk/drd/drd_pthread_intercepts.c
trunk/drd/tests/pth_cond_race.stderr.exp
trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp1
trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp2
trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux
Modified: trunk/drd/drd_pthread_intercepts.c
===================================================================
--- trunk/drd/drd_pthread_intercepts.c 2009-07-22 19:17:05 UTC (rev 10534)
+++ trunk/drd/drd_pthread_intercepts.c 2009-07-22 19:33:26 UTC (rev 10535)
@@ -633,7 +633,7 @@
return ret;
}
-PTH_FUNC(int, pthreadZucondZusignalZu_2Za, // pthread_cond_signal_2*
+PTH_FUNC(int, pthreadZucondZusignalZAZa, // pthread_cond_signal@*
pthread_cond_t* cond)
{
int ret;
Modified: trunk/drd/tests/pth_cond_race.stderr.exp
===================================================================
--- trunk/drd/tests/pth_cond_race.stderr.exp 2009-07-22 19:17:05 UTC (rev 10534)
+++ trunk/drd/tests/pth_cond_race.stderr.exp 2009-07-22 19:33:26 UTC (rev 10535)
@@ -1,7 +1,7 @@
Thread 2:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal@* (drd_pthread_intercepts.c:?)
by 0x........: thread_func (pth_cond_race.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
Modified: trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp1
===================================================================
--- trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp1 2009-07-22 19:17:05 UTC (rev 10534)
+++ trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp1 2009-07-22 19:33:26 UTC (rev 10535)
@@ -16,7 +16,7 @@
Thread 1:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal@* (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
cond 0x........ was first observed at:
at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?)
@@ -26,7 +26,7 @@
by 0x........: main (pth_inconsistent_cond_wait.c:?)
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal@* (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
cond 0x........ was first observed at:
at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?)
Modified: trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp2
===================================================================
--- trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp2 2009-07-22 19:17:05 UTC (rev 10534)
+++ trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp2 2009-07-22 19:33:26 UTC (rev 10535)
@@ -16,7 +16,7 @@
Thread 1:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal@* (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
cond 0x........ was first observed at:
at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?)
@@ -26,7 +26,7 @@
by 0x........: main (pth_inconsistent_cond_wait.c:?)
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal@* (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
cond 0x........ was first observed at:
at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?)
Modified: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux
===================================================================
--- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux 2009-07-22 19:17:05 UTC (rev 10534)
+++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux 2009-07-22 19:33:26 UTC (rev 10535)
@@ -9,7 +9,7 @@
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal@* (drd_pthread_intercepts.c:?)
by 0x........: rescue_me (tc23_bogus_condwait.c:26)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
@@ -26,7 +26,7 @@
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal@* (drd_pthread_intercepts.c:?)
by 0x........: rescue_me (tc23_bogus_condwait.c:30)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
@@ -53,7 +53,7 @@
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal@* (drd_pthread_intercepts.c:?)
by 0x........: rescue_me (tc23_bogus_condwait.c:34)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
@@ -73,7 +73,7 @@
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal@* (drd_pthread_intercepts.c:?)
by 0x........: rescue_me (tc23_bogus_condwait.c:38)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
|
|
From: <sv...@va...> - 2009-07-22 19:22:14
|
Author: bart Date: 2009-07-22 20:03:46 +0100 (Wed, 22 Jul 2009) New Revision: 10529 Log: Reverted r10513: removed --auto-run-dsymutil=yes again. Modified: trunk/drd/tests/annotate_ignore_read.vgtest trunk/drd/tests/annotate_order_1.vgtest trunk/drd/tests/annotate_order_2.vgtest trunk/drd/tests/annotate_order_3.vgtest trunk/drd/tests/annotate_rwlock.vgtest trunk/drd/tests/annotate_spinlock.vgtest trunk/drd/tests/annotate_trace_memory.vgtest trunk/drd/tests/atomic_var.vgtest trunk/drd/tests/boost_thread.vgtest trunk/drd/tests/custom_alloc.vgtest trunk/drd/tests/fp_race.vgtest trunk/drd/tests/hg03_inherit.vgtest trunk/drd/tests/hg04_race.vgtest trunk/drd/tests/hg05_race2.vgtest trunk/drd/tests/linuxthreads_det.vgtest trunk/drd/tests/omp_matinv.vgtest trunk/drd/tests/omp_matinv_racy.vgtest trunk/drd/tests/omp_prime_racy.vgtest trunk/drd/tests/omp_printf.vgtest trunk/drd/tests/pth_cancel_locked.vgtest trunk/drd/tests/pth_cleanup_handler.vgtest trunk/drd/tests/pth_create_glibc_2_0.vgtest trunk/drd/tests/pth_detached2.vgtest trunk/drd/tests/pth_mutex_reinit.vgtest trunk/drd/tests/pth_process_shared_mutex.vgtest trunk/drd/tests/pth_spinlock.vgtest trunk/drd/tests/recursive_mutex.vgtest trunk/drd/tests/rwlock_race.vgtest trunk/drd/tests/sem_as_mutex.vgtest trunk/drd/tests/sem_as_mutex2.vgtest trunk/drd/tests/sem_as_mutex3.vgtest trunk/drd/tests/tc01_simple_race.vgtest trunk/drd/tests/tc16_byterace.vgtest trunk/drd/tests/tc19_shadowmem.vgtest trunk/drd/tests/tc20_verifywrap.vgtest trunk/drd/tests/tc20_verifywrap2.vgtest trunk/drd/tests/tc22_exit_w_lock.vgtest trunk/drd/tests/tc24_nonzero_sem.vgtest trunk/drd/tests/thread_name.vgtest Modified: trunk/drd/tests/annotate_ignore_read.vgtest =================================================================== --- trunk/drd/tests/annotate_ignore_read.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/annotate_ignore_read.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,5 +1,5 @@ prereq: test -e tsan_unittest && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes --show-confl-seg=no +vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no prog: tsan_unittest args: 69 stderr_filter: filter_stderr_and_thread_no Modified: trunk/drd/tests/annotate_order_1.vgtest =================================================================== --- trunk/drd/tests/annotate_order_1.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/annotate_order_1.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,5 +1,5 @@ prereq: test -e tsan_unittest && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes --show-confl-seg=no +vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no prog: tsan_unittest args: 3 stderr_filter: filter_stderr_and_thread_no Modified: trunk/drd/tests/annotate_order_2.vgtest =================================================================== --- trunk/drd/tests/annotate_order_2.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/annotate_order_2.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,5 +1,5 @@ prereq: test -e tsan_unittest && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes --show-confl-seg=no +vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no prog: tsan_unittest args: 30 stderr_filter: filter_stderr_and_thread_no Modified: trunk/drd/tests/annotate_order_3.vgtest =================================================================== --- trunk/drd/tests/annotate_order_3.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/annotate_order_3.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,5 +1,5 @@ prereq: test -e tsan_unittest && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes --show-confl-seg=no +vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no prog: tsan_unittest args: 31 stderr_filter: filter_stderr_and_thread_no Modified: trunk/drd/tests/annotate_rwlock.vgtest =================================================================== --- trunk/drd/tests/annotate_rwlock.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/annotate_rwlock.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,4 +1,4 @@ prereq: test -e annotate_rwlock && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes --show-confl-seg=no +vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no prog: annotate_rwlock stderr_filter: filter_stderr_and_thread_no Modified: trunk/drd/tests/annotate_spinlock.vgtest =================================================================== --- trunk/drd/tests/annotate_spinlock.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/annotate_spinlock.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,5 +1,5 @@ prereq: test -e tsan_unittest && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes --show-confl-seg=no +vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no prog: tsan_unittest args: 27 stderr_filter: filter_stderr_and_thread_no Modified: trunk/drd/tests/annotate_trace_memory.vgtest =================================================================== --- trunk/drd/tests/annotate_trace_memory.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/annotate_trace_memory.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,5 +1,5 @@ prereq: test -e tsan_unittest && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes --show-confl-seg=no --num-callers=2 +vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no --num-callers=2 prog: tsan_unittest args: 1 stderr_filter: filter_stderr_and_thread_no Modified: trunk/drd/tests/atomic_var.vgtest =================================================================== --- trunk/drd/tests/atomic_var.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/atomic_var.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,4 +1,4 @@ prereq: test -e atomic_var && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes --show-confl-seg=no --num-callers=2 +vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no --num-callers=2 prog: atomic_var stderr_filter: filter_stderr_and_thread_no Modified: trunk/drd/tests/boost_thread.vgtest =================================================================== --- trunk/drd/tests/boost_thread.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/boost_thread.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: test -e boost_thread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --read-var-info=yes prog: boost_thread Modified: trunk/drd/tests/custom_alloc.vgtest =================================================================== --- trunk/drd/tests/custom_alloc.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/custom_alloc.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,2 +1 @@ prog: custom_alloc -vgopts: --auto-run-dsymutil=yes Modified: trunk/drd/tests/fp_race.vgtest =================================================================== --- trunk/drd/tests/fp_race.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/fp_race.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --read-var-info=yes prog: fp_race Modified: trunk/drd/tests/hg03_inherit.vgtest =================================================================== --- trunk/drd/tests/hg03_inherit.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/hg03_inherit.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --show-confl-seg=no --read-var-info=yes --auto-run-dsymutil=yes --num-callers=2 +vgopts: --show-confl-seg=no --read-var-info=yes --num-callers=2 prog: ../../helgrind/tests/hg03_inherit Modified: trunk/drd/tests/hg04_race.vgtest =================================================================== --- trunk/drd/tests/hg04_race.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/hg04_race.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --num-callers=2 +vgopts: --read-var-info=yes --num-callers=2 prog: ../../helgrind/tests/hg04_race Modified: trunk/drd/tests/hg05_race2.vgtest =================================================================== --- trunk/drd/tests/hg05_race2.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/hg05_race2.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes --num-callers=2 +vgopts: --read-var-info=yes --check-stack-var=yes --num-callers=2 prog: ../../helgrind/tests/hg05_race2 Modified: trunk/drd/tests/linuxthreads_det.vgtest =================================================================== --- trunk/drd/tests/linuxthreads_det.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/linuxthreads_det.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,2 +1,2 @@ prog: linuxthreads_det -vgopts: --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --read-var-info=yes Modified: trunk/drd/tests/omp_matinv.vgtest =================================================================== --- trunk/drd/tests/omp_matinv.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/omp_matinv.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,4 +1,4 @@ prereq: ./run_openmp_test ./omp_matinv prog: omp_matinv -vgopts: --check-stack-var=yes --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --check-stack-var=yes --read-var-info=yes args: 30 -t 15 -q Modified: trunk/drd/tests/omp_matinv_racy.vgtest =================================================================== --- trunk/drd/tests/omp_matinv_racy.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/omp_matinv_racy.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,5 +1,5 @@ prereq: ./run_openmp_test ./omp_matinv prog: omp_matinv -vgopts: --check-stack-var=yes --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --check-stack-var=yes --read-var-info=yes args: 3 -t 2 -q -r stderr_filter: filter_error_summary Modified: trunk/drd/tests/omp_prime_racy.vgtest =================================================================== --- trunk/drd/tests/omp_prime_racy.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/omp_prime_racy.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,5 +1,5 @@ prereq: ./run_openmp_test ./omp_prime prog: omp_prime -vgopts: --check-stack-var=yes --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --check-stack-var=yes --read-var-info=yes args: 4 -q stderr_filter: filter_error_summary Modified: trunk/drd/tests/omp_printf.vgtest =================================================================== --- trunk/drd/tests/omp_printf.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/omp_printf.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,5 +1,5 @@ prereq: ./run_openmp_test ./omp_printf prog: omp_printf -vgopts: --check-stack-var=yes --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --check-stack-var=yes --read-var-info=yes args: -q stderr_filter: filter_error_summary Modified: trunk/drd/tests/pth_cancel_locked.vgtest =================================================================== --- trunk/drd/tests/pth_cancel_locked.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/pth_cancel_locked.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes +vgopts: --read-var-info=yes --check-stack-var=yes prog: pth_cancel_locked Modified: trunk/drd/tests/pth_cleanup_handler.vgtest =================================================================== --- trunk/drd/tests/pth_cleanup_handler.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/pth_cleanup_handler.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: test -e pth_cleanup_handler && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes +vgopts: --read-var-info=yes --check-stack-var=yes prog: pth_cleanup_handler Modified: trunk/drd/tests/pth_create_glibc_2_0.vgtest =================================================================== --- trunk/drd/tests/pth_create_glibc_2_0.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/pth_create_glibc_2_0.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: test -e pth_create_glibc_2_0 && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes +vgopts: --read-var-info=yes --check-stack-var=yes prog: pth_create_glibc_2_0 Modified: trunk/drd/tests/pth_detached2.vgtest =================================================================== --- trunk/drd/tests/pth_detached2.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/pth_detached2.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,4 +1,4 @@ prereq: ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --read-var-info=yes prog: pth_detached args: 10 10 Modified: trunk/drd/tests/pth_mutex_reinit.vgtest =================================================================== --- trunk/drd/tests/pth_mutex_reinit.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/pth_mutex_reinit.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: test -e pth_mutex_reinit && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes +vgopts: --read-var-info=yes --check-stack-var=yes prog: pth_mutex_reinit Modified: trunk/drd/tests/pth_process_shared_mutex.vgtest =================================================================== --- trunk/drd/tests/pth_process_shared_mutex.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/pth_process_shared_mutex.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread prog: pth_process_shared_mutex -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes +vgopts: --read-var-info=yes --check-stack-var=yes Modified: trunk/drd/tests/pth_spinlock.vgtest =================================================================== --- trunk/drd/tests/pth_spinlock.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/pth_spinlock.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: test -e pth_spinlock && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes +vgopts: --read-var-info=yes --check-stack-var=yes prog: pth_spinlock Modified: trunk/drd/tests/recursive_mutex.vgtest =================================================================== --- trunk/drd/tests/recursive_mutex.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/recursive_mutex.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,4 +1,4 @@ prereq: ./supported_libpthread -vgopts: --check-stack-var=yes --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --check-stack-var=yes --read-var-info=yes prog: recursive_mutex stderr_filter: filter_stderr_and_thread_no Modified: trunk/drd/tests/rwlock_race.vgtest =================================================================== --- trunk/drd/tests/rwlock_race.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/rwlock_race.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --show-confl-seg=no --read-var-info=yes --auto-run-dsymutil=yes --num-callers=2 +vgopts: --show-confl-seg=no --read-var-info=yes --num-callers=2 prog: rwlock_race Modified: trunk/drd/tests/sem_as_mutex.vgtest =================================================================== --- trunk/drd/tests/sem_as_mutex.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/sem_as_mutex.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --check-stack-var=yes --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --check-stack-var=yes --read-var-info=yes prog: sem_as_mutex Modified: trunk/drd/tests/sem_as_mutex2.vgtest =================================================================== --- trunk/drd/tests/sem_as_mutex2.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/sem_as_mutex2.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,4 +1,4 @@ prereq: ./supported_libpthread -vgopts: --check-stack-var=yes --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --check-stack-var=yes --read-var-info=yes prog: sem_as_mutex args: -m Modified: trunk/drd/tests/sem_as_mutex3.vgtest =================================================================== --- trunk/drd/tests/sem_as_mutex3.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/sem_as_mutex3.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --check-stack-var=yes --first-race-only=yes --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --check-stack-var=yes --first-race-only=yes --read-var-info=yes prog: sem_as_mutex Modified: trunk/drd/tests/tc01_simple_race.vgtest =================================================================== --- trunk/drd/tests/tc01_simple_race.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/tc01_simple_race.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --read-var-info=yes prog: ../../helgrind/tests/tc01_simple_race Modified: trunk/drd/tests/tc16_byterace.vgtest =================================================================== --- trunk/drd/tests/tc16_byterace.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/tc16_byterace.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --read-var-info=yes prog: ../../helgrind/tests/tc16_byterace Modified: trunk/drd/tests/tc19_shadowmem.vgtest =================================================================== --- trunk/drd/tests/tc19_shadowmem.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/tc19_shadowmem.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,4 +1,4 @@ prereq: ./supported_libpthread prog: ../../helgrind/tests/tc19_shadowmem -vgopts: --error-limit=no --read-var-info=yes --auto-run-dsymutil=yes --show-confl-seg=no --num-callers=3 +vgopts: --error-limit=no --read-var-info=yes --show-confl-seg=no --num-callers=3 stderr_filter: filter_stderr_and_thread_no Modified: trunk/drd/tests/tc20_verifywrap.vgtest =================================================================== --- trunk/drd/tests/tc20_verifywrap.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/tc20_verifywrap.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: test -e ../../helgrind/tests/tc20_verifywrap && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes +vgopts: --read-var-info=yes --check-stack-var=yes prog: ../../helgrind/tests/tc20_verifywrap Modified: trunk/drd/tests/tc20_verifywrap2.vgtest =================================================================== --- trunk/drd/tests/tc20_verifywrap2.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/tc20_verifywrap2.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread -vgopts: --trace-mutex=yes --trace-cond=yes --trace-semaphore=yes --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes +vgopts: --trace-mutex=yes --trace-cond=yes --trace-semaphore=yes --read-var-info=yes --check-stack-var=yes prog: ../../helgrind/tests/tc20_verifywrap Modified: trunk/drd/tests/tc22_exit_w_lock.vgtest =================================================================== --- trunk/drd/tests/tc22_exit_w_lock.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/tc22_exit_w_lock.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ -prereq: ./supported_libpthread +prereq: ./supported_libpthread && [ -e ../../helgrind/tests/tc22_exit_w_lock ] vgopts: --num-callers=3 prog: ../../helgrind/tests/tc22_exit_w_lock Modified: trunk/drd/tests/tc24_nonzero_sem.vgtest =================================================================== --- trunk/drd/tests/tc24_nonzero_sem.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/tc24_nonzero_sem.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: ./supported_libpthread prog: ../../helgrind/tests/tc24_nonzero_sem -vgopts: --read-var-info=yes --auto-run-dsymutil=yes +vgopts: --read-var-info=yes Modified: trunk/drd/tests/thread_name.vgtest =================================================================== --- trunk/drd/tests/thread_name.vgtest 2009-07-22 18:53:46 UTC (rev 10528) +++ trunk/drd/tests/thread_name.vgtest 2009-07-22 19:03:46 UTC (rev 10529) @@ -1,3 +1,3 @@ prereq: test -e thread_name && ./supported_libpthread -vgopts: --read-var-info=yes --auto-run-dsymutil=yes --check-stack-var=yes --num-callers=3 +vgopts: --read-var-info=yes --check-stack-var=yes --num-callers=3 prog: thread_name |
|
From: <sv...@va...> - 2009-07-22 19:17:12
|
Author: bart
Date: 2009-07-22 20:17:05 +0100 (Wed, 22 Jul 2009)
New Revision: 10534
Log:
More tweaking for Darwin.
Modified:
trunk/drd/drd_pthread_intercepts.c
Modified: trunk/drd/drd_pthread_intercepts.c
===================================================================
--- trunk/drd/drd_pthread_intercepts.c 2009-07-22 19:14:31 UTC (rev 10533)
+++ trunk/drd/drd_pthread_intercepts.c 2009-07-22 19:17:05 UTC (rev 10534)
@@ -611,8 +611,14 @@
return ret;
}
+// NOTE: be careful to intercept only pthread_cond_signal() and not Darwin's
+// pthread_cond_signal_thread_np(). The former accepts one argument; the latter
+// two. Intercepting all pthread_cond_signal* functions will cause only one
+// argument to be passed to pthread_cond_signal_np() and hence will cause this
+// last function to crash.
+
// pthread_cond_signal
-PTH_FUNC(int, pthreadZucondZusignalZa, // pthread_cond_signal*
+PTH_FUNC(int, pthreadZucondZusignal, // pthread_cond_signal
pthread_cond_t* cond)
{
int ret;
@@ -627,6 +633,21 @@
return ret;
}
+PTH_FUNC(int, pthreadZucondZusignalZu_2Za, // pthread_cond_signal_2*
+ pthread_cond_t* cond)
+{
+ int ret;
+ int res;
+ OrigFn fn;
+ VALGRIND_GET_ORIG_FN(fn);
+ VALGRIND_DO_CLIENT_REQUEST(res, -1, VG_USERREQ__PRE_COND_SIGNAL,
+ cond, 0, 0, 0, 0);
+ CALL_FN_W_W(ret, fn, cond);
+ VALGRIND_DO_CLIENT_REQUEST(res, -1, VG_USERREQ__POST_COND_SIGNAL,
+ cond, 0, 0, 0, 0);
+ return ret;
+}
+
// pthread_cond_broadcast
PTH_FUNC(int, pthreadZucondZubroadcastZa, // pthread_cond_broadcast*
pthread_cond_t* cond)
|
|
From: <sv...@va...> - 2009-07-22 19:12:16
|
Author: bart
Date: 2009-07-22 20:04:58 +0100 (Wed, 22 Jul 2009)
New Revision: 10531
Log:
Made the annotate_rwlock test compile on Darwin.
Modified:
trunk/drd/tests/annotate_rwlock.c
Modified: trunk/drd/tests/annotate_rwlock.c
===================================================================
--- trunk/drd/tests/annotate_rwlock.c 2009-07-22 19:04:23 UTC (rev 10530)
+++ trunk/drd/tests/annotate_rwlock.c 2009-07-22 19:04:58 UTC (rev 10531)
@@ -13,6 +13,7 @@
#include <assert.h>
#include <pthread.h>
#include <stdio.h>
+#include <unistd.h> /* usleep() */
#include "../../config.h"
#include "../../drd/drd.h"
@@ -59,7 +60,12 @@
;
if (p->writer_count == 0)
break;
+#ifdef __APPLE__
+ /* Darwin doesn't have an implementation of pthread_yield(). */
+ usleep(100 * 1000);
+#else
pthread_yield();
+#endif
__sync_fetch_and_sub(&p->locked, 1);
}
p->reader_count++;
@@ -78,7 +84,12 @@
;
if (p->reader_count == 0)
break;
+#ifdef __APPLE__
+ /* Darwin doesn't have an implementation of pthread_yield(). */
+ usleep(100 * 1000);
+#else
pthread_yield();
+#endif
__sync_fetch_and_sub(&p->locked, 1);
}
p->writer_count++;
|
|
From: <sv...@va...> - 2009-07-22 19:06:30
|
Author: bart Date: 2009-07-22 20:06:22 +0100 (Wed, 22 Jul 2009) New Revision: 10532 Log: Added another Darwin regression tests output variant. Added: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux Removed: trunk/drd/tests/tc23_bogus_condwait.stderr.exp Modified: trunk/drd/tests/Makefile.am Modified: trunk/drd/tests/Makefile.am =================================================================== --- trunk/drd/tests/Makefile.am 2009-07-22 19:04:58 UTC (rev 10531) +++ trunk/drd/tests/Makefile.am 2009-07-22 19:06:22 UTC (rev 10532) @@ -207,8 +207,8 @@ tc22_exit_w_lock.stderr.exp-32bit \ tc22_exit_w_lock.stderr.exp-64bit \ tc22_exit_w_lock.vgtest \ - tc23_bogus_condwait.stderr.exp \ - tc23_bogus_condwait.stderr.exp2 \ + tc23_bogus_condwait.stderr.exp-linux \ + tc23_bogus_condwait.stderr.exp-darwin \ tc23_bogus_condwait.vgtest \ tc24_nonzero_sem.stderr.exp \ tc24_nonzero_sem.vgtest \ Deleted: trunk/drd/tests/tc23_bogus_condwait.stderr.exp =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp 2009-07-22 19:04:58 UTC (rev 10531) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp 2009-07-22 19:06:22 UTC (rev 10532) @@ -1,96 +0,0 @@ - -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:75) - -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:75) - -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:26) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:62) - -Thread 1: -Mutex not locked: mutex 0x........, recursion count 0, owner 0. - at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:78) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:57) - -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:30) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:62) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:57) - -Thread 1: -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:81) -rwlock 0x........ was first observed at: - at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:63) - -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:81) -rwlock 0x........ was first observed at: - at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:63) - -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:34) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:62) -rwlock 0x........ was first observed at: - at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:63) - -Thread 1: -Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. - at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:84) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:59) - -Thread 3: -Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. - at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:38) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -cond 0x........ was first observed at: - at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:62) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:59) -The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) ! - -Thread 2: -Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: grab_the_lock (tc23_bogus_condwait.c:48) - by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:59) - -ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0) Added: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin (rev 0) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-darwin 2009-07-22 19:06:22 UTC (rev 10532) @@ -0,0 +1,38 @@ + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:75) + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:75) + +Mutex not locked: mutex 0x........, recursion count 0, owner 0. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:78) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:57) + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:81) +rwlock 0x........ was first observed at: + at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:63) + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:81) +rwlock 0x........ was first observed at: + at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:63) + +Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 2. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:84) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:59) + +ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0) Copied: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux (from rev 10527, trunk/drd/tests/tc23_bogus_condwait.stderr.exp) =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux (rev 0) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux 2009-07-22 19:06:22 UTC (rev 10532) @@ -0,0 +1,96 @@ + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:75) + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:75) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:26) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:62) + +Thread 1: +Mutex not locked: mutex 0x........, recursion count 0, owner 0. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:78) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:57) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:30) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:62) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:57) + +Thread 1: +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:81) +rwlock 0x........ was first observed at: + at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:63) + +The object at address 0x........ is not a mutex. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:81) +rwlock 0x........ was first observed at: + at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:63) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:34) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:62) +rwlock 0x........ was first observed at: + at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:63) + +Thread 1: +Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. + at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:84) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:59) + +Thread 3: +Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. + at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:38) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +cond 0x........ was first observed at: + at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:62) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:59) +The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) ! + +Thread 2: +Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: grab_the_lock (tc23_bogus_condwait.c:48) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:59) + +ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0) |
|
From: <sv...@va...> - 2009-07-22 19:04:31
|
Author: bart Date: 2009-07-22 20:04:23 +0100 (Wed, 22 Jul 2009) New Revision: 10530 Log: Added an output variant. Added: trunk/drd/tests/recursive_mutex.stderr.exp-darwin trunk/drd/tests/recursive_mutex.stderr.exp-linux Removed: trunk/drd/tests/recursive_mutex.stderr.exp Modified: trunk/drd/tests/Makefile.am Modified: trunk/drd/tests/Makefile.am =================================================================== --- trunk/drd/tests/Makefile.am 2009-07-22 19:03:46 UTC (rev 10529) +++ trunk/drd/tests/Makefile.am 2009-07-22 19:04:23 UTC (rev 10530) @@ -134,7 +134,8 @@ qt4_rwlock.vgtest \ qt4_semaphore.stderr.exp \ qt4_semaphore.vgtest \ - recursive_mutex.stderr.exp \ + recursive_mutex.stderr.exp-linux \ + recursive_mutex.stderr.exp-darwin \ recursive_mutex.vgtest \ rwlock_race.stderr.exp \ rwlock_race.stderr.exp2 \ Deleted: trunk/drd/tests/recursive_mutex.stderr.exp =================================================================== --- trunk/drd/tests/recursive_mutex.stderr.exp 2009-07-22 19:03:46 UTC (rev 10529) +++ trunk/drd/tests/recursive_mutex.stderr.exp 2009-07-22 19:04:23 UTC (rev 10530) @@ -1,31 +0,0 @@ - -Recursive mutex (statically initialized). - -Recursive mutex (initialized via mutex attributes). - -Error checking mutex. -second lock call failed ! -Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: lock_twice (recursive_mutex.c:?) - by 0x........: main (recursive_mutex.c:?) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (recursive_mutex.c:?) -second unlock call failed ! - -Non-recursive mutex. -second lock call failed ! - -Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: lock_twice (recursive_mutex.c:?) - by 0x........: main (recursive_mutex.c:?) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) - by 0x........: lock_twice (recursive_mutex.c:?) - by 0x........: main (recursive_mutex.c:?) - -Done. - -ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Added: trunk/drd/tests/recursive_mutex.stderr.exp-darwin =================================================================== --- trunk/drd/tests/recursive_mutex.stderr.exp-darwin (rev 0) +++ trunk/drd/tests/recursive_mutex.stderr.exp-darwin 2009-07-22 19:04:23 UTC (rev 10530) @@ -0,0 +1,16 @@ + + +Non-recursive mutex. +second lock call failed ! +Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: lock_twice (recursive_mutex.c:?) + by 0x........: main (recursive_mutex.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) + by 0x........: lock_twice (recursive_mutex.c:?) + by 0x........: main (recursive_mutex.c:?) + +Done. + +ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) Copied: trunk/drd/tests/recursive_mutex.stderr.exp-linux (from rev 10527, trunk/drd/tests/recursive_mutex.stderr.exp) =================================================================== --- trunk/drd/tests/recursive_mutex.stderr.exp-linux (rev 0) +++ trunk/drd/tests/recursive_mutex.stderr.exp-linux 2009-07-22 19:04:23 UTC (rev 10530) @@ -0,0 +1,31 @@ + +Recursive mutex (statically initialized). + +Recursive mutex (initialized via mutex attributes). + +Error checking mutex. +second lock call failed ! +Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: lock_twice (recursive_mutex.c:?) + by 0x........: main (recursive_mutex.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (recursive_mutex.c:?) +second unlock call failed ! + +Non-recursive mutex. +second lock call failed ! + +Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: lock_twice (recursive_mutex.c:?) + by 0x........: main (recursive_mutex.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) + by 0x........: lock_twice (recursive_mutex.c:?) + by 0x........: main (recursive_mutex.c:?) + +Done. + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) |
|
From: <sv...@va...> - 2009-07-22 18:53:54
|
Author: bart
Date: 2009-07-22 19:53:46 +0100 (Wed, 22 Jul 2009)
New Revision: 10528
Log:
More filter tuning: remove the empty line above instead of below the ... 100 errors ... message.
Modified:
trunk/drd/tests/filter_stderr
Modified: trunk/drd/tests/filter_stderr
===================================================================
--- trunk/drd/tests/filter_stderr 2009-07-22 18:40:00 UTC (rev 10527)
+++ trunk/drd/tests/filter_stderr 2009-07-22 18:53:46 UTC (rev 10528)
@@ -29,8 +29,8 @@
-e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" |
# Remove the message that more than hundred errors have been detected
-# (consists of two lines) and also the empty line below it.
-awk '{if ($0 == "More than 100 errors detected. Subsequent errors") {getline;getline} else print}' |
+# (consists of two lines) and also the empty line above it.
+awk 'BEGIN{begin=1} {if ($0 == "More than 100 errors detected. Subsequent errors") { getline; getline; } else { if (begin) begin = 0; else print last_line; }; last_line = $0; } END { print last_line; }' |
# Anonymise addresses
$dir/../../tests/filter_addresses
|
|
From: <sv...@va...> - 2009-07-22 18:47:11
|
Author: bart
Date: 2009-07-22 19:40:00 +0100 (Wed, 22 Jul 2009)
New Revision: 10527
Log:
Filtered out the "More than 100 errors detected." message.
Modified:
trunk/drd/tests/filter_stderr
trunk/drd/tests/tc19_shadowmem.stderr.exp-32bit
trunk/drd/tests/tc19_shadowmem.stderr.exp-64bit
Modified: trunk/drd/tests/filter_stderr
===================================================================
--- trunk/drd/tests/filter_stderr 2009-07-22 18:16:37 UTC (rev 10526)
+++ trunk/drd/tests/filter_stderr 2009-07-22 18:40:00 UTC (rev 10527)
@@ -28,6 +28,10 @@
-e "s/ (\([a-zA-Z_]*\.h\):[0-9]*)/ (\1:?)/" \
-e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" |
+# Remove the message that more than hundred errors have been detected
+# (consists of two lines) and also the empty line below it.
+awk '{if ($0 == "More than 100 errors detected. Subsequent errors") {getline;getline} else print}' |
+
# Anonymise addresses
$dir/../../tests/filter_addresses
Modified: trunk/drd/tests/tc19_shadowmem.stderr.exp-32bit
===================================================================
--- trunk/drd/tests/tc19_shadowmem.stderr.exp-32bit 2009-07-22 18:16:37 UTC (rev 10526)
+++ trunk/drd/tests/tc19_shadowmem.stderr.exp-32bit 2009-07-22 18:40:00 UTC (rev 10527)
@@ -910,9 +910,6 @@
by 0x........: main (tc19_shadowmem.c:144)
---------- short gran, 1 .. 98, skip 1 ----------
-More than 100 errors detected. Subsequent errors
-will still be recorded, but in less detail than before.
-
Conflicting store by thread x at 0x........ size 2
at 0x........: child16 (tc19_shadowmem.c:57)
by 0x........: steer (tc19_shadowmem.c:290)
Modified: trunk/drd/tests/tc19_shadowmem.stderr.exp-64bit
===================================================================
--- trunk/drd/tests/tc19_shadowmem.stderr.exp-64bit 2009-07-22 18:16:37 UTC (rev 10526)
+++ trunk/drd/tests/tc19_shadowmem.stderr.exp-64bit 2009-07-22 18:40:00 UTC (rev 10527)
@@ -910,9 +910,6 @@
by 0x........: main (tc19_shadowmem.c:144)
---------- short gran, 1 .. 98, skip 1 ----------
-More than 100 errors detected. Subsequent errors
-will still be recorded, but in less detail than before.
-
Conflicting store by thread x at 0x........ size 2
at 0x........: child16 (tc19_shadowmem.c:57)
by 0x........: steer (tc19_shadowmem.c:290)
|
|
From: <sv...@va...> - 2009-07-22 18:16:44
|
Author: bart Date: 2009-07-22 19:16:37 +0100 (Wed, 22 Jul 2009) New Revision: 10526 Log: Removed from repository. Removed: trunk/drd/tests/tc23_bogus_condwait.stderr.exp2 Deleted: trunk/drd/tests/tc23_bogus_condwait.stderr.exp2 =================================================================== --- trunk/drd/tests/tc23_bogus_condwait.stderr.exp2 2009-07-22 18:13:21 UTC (rev 10525) +++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp2 2009-07-22 18:16:37 UTC (rev 10526) @@ -1,16 +0,0 @@ - -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:69) - -The object at address 0x........ is not a mutex. - at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:69) - -Process terminating with default action of signal 7 (SIGBUS) - Invalid address alignment at address 0x........ - at 0x........: (within libpthread-?.?.so) - by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so) - by 0x........: main (tc23_bogus_condwait.c:69) - -ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) |
|
From: <sv...@va...> - 2009-07-22 18:13:27
|
Author: bart
Date: 2009-07-22 19:13:21 +0100 (Wed, 22 Jul 2009)
New Revision: 10525
Log:
More documentation updates.
Modified:
trunk/drd/Testing.txt
trunk/drd/docs/drd-manual.xml
Modified: trunk/drd/Testing.txt
===================================================================
--- trunk/drd/Testing.txt 2009-07-22 18:12:56 UTC (rev 10524)
+++ trunk/drd/Testing.txt 2009-07-22 18:13:21 UTC (rev 10525)
@@ -41,16 +41,16 @@
9. Test whether DRD works with standard KDE applications and whether it does
not print any false positives. Test this both with KDE3 and KDE4.
- ./vg-in-place --tool=drd --var-info=yes kate
- ./vg-in-place --tool=drd --var-info=yes --check-stack-var=yes kate
- ./vg-in-place --tool=drd --var-info=yes --trace-children=yes knode
- ./vg-in-place --tool=drd --var-info=yes --check-stack-var=yes --trace-children=yes knode
- ./vg-in-place --tool=drd --var-info=yes --check-stack-var=yes /usr/bin/designer
+ ./vg-in-place --tool=drd --read-var-info=yes kate
+ ./vg-in-place --tool=drd --read-var-info=yes --check-stack-var=yes kate
+ ./vg-in-place --tool=drd --read-var-info=yes --trace-children=yes knode
+ ./vg-in-place --tool=drd --read-var-info=yes --check-stack-var=yes --trace-children=yes knode
+ ./vg-in-place --tool=drd --read-var-info=yes --check-stack-var=yes /usr/bin/designer
10. Test whether DRD works with standard GNOME applications. Expect
race reports triggered by ORBit_RootObject_duplicate() and after
having closed the GNOME terminal window:
- ./vg-in-place --tool=drd --var-info=yes --trace-children=yes gnome-terminal
+ ./vg-in-place --tool=drd --read-var-info=yes --trace-children=yes gnome-terminal
11. Rerun the GraphicsMagick test suite:
1. Recompile gcc via drd/scripts/download-and-build-gcc.
@@ -68,7 +68,7 @@
cd GraphicsMagick
./configure
export OMP_NUM_THREADS=4
- make -j2 -s MEMCHECK="$HOME/software/valgrind/vg-in-place --tool=drd --check-stack-var=yes --var-info=yes --quiet" check
+ make -j2 -s MEMCHECK="$HOME/software/valgrind/vg-in-place --tool=drd --check-stack-var=yes --read-var-info=yes --quiet" check
5. Expected result: 776 tests / 23 expected failures / 147m24s user time
on a E8400 CPU @ 3 GHz.
Modified: trunk/drd/docs/drd-manual.xml
===================================================================
--- trunk/drd/docs/drd-manual.xml 2009-07-22 18:12:56 UTC (rev 10524)
+++ trunk/drd/docs/drd-manual.xml 2009-07-22 18:13:21 UTC (rev 10525)
@@ -584,7 +584,7 @@
detects a data race:
</para>
<programlisting><![CDATA[
-$ valgrind --tool=drd --var-info=yes drd/tests/rwlock_race
+$ valgrind --tool=drd --read-var-info=yes drd/tests/rwlock_race
...
==9466== Thread 3:
==9466== Conflicting load by thread 3 at 0x006020b8 size 4
@@ -652,7 +652,7 @@
displayed. For dynamically allocated data the allocation call
stack is shown. For static variables and stack variables the
allocation context is only shown when the option
- <computeroutput>--var-info=yes</computeroutput> has been
+ <computeroutput>--read-var-info=yes</computeroutput> has been
specified. Otherwise DRD will print <computeroutput>Allocation
context: unknown</computeroutput>.
</para>
@@ -1231,7 +1231,7 @@
for the above code:
</para>
<programlisting><![CDATA[
-$ valgrind --tool=drd --check-stack-var=yes --var-info=yes drd/tests/omp_matinv 3 -t 2 -r
+$ valgrind --tool=drd --check-stack-var=yes --read-var-info=yes drd/tests/omp_matinv 3 -t 2 -r
...
Conflicting store by thread 1/1 at 0x7fefffbc4 size 4
at 0x4014A0: gj.omp_fn.0 (omp_matinv.c:203)
@@ -1353,7 +1353,7 @@
between 1.1 and 3.6 times more memory will be needed compared to
a native run of the client program. More memory will be needed
if loading debug information has been enabled
- (<literal>--var-info=yes</literal>).
+ (<literal>--read-var-info=yes</literal>).
</para>
</listitem>
<listitem>
|
|
From: <sv...@va...> - 2009-07-22 18:13:02
|
Author: bart
Date: 2009-07-22 19:12:56 +0100 (Wed, 22 Jul 2009)
New Revision: 10524
Log:
Updated line numbers in expected output -- these line numbers changed because of r10523.
Modified:
trunk/drd/tests/tc12_rwl_trivial.stderr.exp
trunk/drd/tests/tc23_bogus_condwait.stderr.exp
Modified: trunk/drd/tests/tc12_rwl_trivial.stderr.exp
===================================================================
--- trunk/drd/tests/tc12_rwl_trivial.stderr.exp 2009-07-22 18:02:03 UTC (rev 10523)
+++ trunk/drd/tests/tc12_rwl_trivial.stderr.exp 2009-07-22 18:12:56 UTC (rev 10524)
@@ -1,9 +1,9 @@
Reader-writer lock not locked by calling thread: rwlock 0x.........
at 0x........: pthread_rwlock_unlock* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc12_rwl_trivial.c:29)
+ by 0x........: main (tc12_rwl_trivial.c:35)
rwlock 0x........ was first observed at:
at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc12_rwl_trivial.c:18)
+ by 0x........: main (tc12_rwl_trivial.c:24)
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Modified: trunk/drd/tests/tc23_bogus_condwait.stderr.exp
===================================================================
--- trunk/drd/tests/tc23_bogus_condwait.stderr.exp 2009-07-22 18:02:03 UTC (rev 10523)
+++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp 2009-07-22 18:12:56 UTC (rev 10524)
@@ -1,96 +1,96 @@
The object at address 0x........ is not a mutex.
at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:69)
+ by 0x........: main (tc23_bogus_condwait.c:75)
The object at address 0x........ is not a mutex.
at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:69)
+ by 0x........: main (tc23_bogus_condwait.c:75)
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:26)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
+ by 0x........: main (tc23_bogus_condwait.c:62)
Thread 1:
Mutex not locked: mutex 0x........, recursion count 0, owner 0.
at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
+ by 0x........: main (tc23_bogus_condwait.c:78)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
+ by 0x........: main (tc23_bogus_condwait.c:57)
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:30)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
+ by 0x........: main (tc23_bogus_condwait.c:62)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
+ by 0x........: main (tc23_bogus_condwait.c:57)
Thread 1:
The object at address 0x........ is not a mutex.
at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
+ by 0x........: main (tc23_bogus_condwait.c:81)
rwlock 0x........ was first observed at:
at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
+ by 0x........: main (tc23_bogus_condwait.c:63)
The object at address 0x........ is not a mutex.
at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
+ by 0x........: main (tc23_bogus_condwait.c:81)
rwlock 0x........ was first observed at:
at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
+ by 0x........: main (tc23_bogus_condwait.c:63)
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:28)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:34)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
+ by 0x........: main (tc23_bogus_condwait.c:62)
rwlock 0x........ was first observed at:
at 0x........: pthread_rwlock_init* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
+ by 0x........: main (tc23_bogus_condwait.c:63)
Thread 1:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
at 0x........: pthread_cond_wait* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
+ by 0x........: main (tc23_bogus_condwait.c:84)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+ by 0x........: main (tc23_bogus_condwait.c:59)
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
at 0x........: pthread_cond_signal* (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:32)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:38)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
at 0x........: pthread_cond_init* (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
+ by 0x........: main (tc23_bogus_condwait.c:62)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+ by 0x........: main (tc23_bogus_condwait.c:59)
The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
Thread 2:
Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
+ by 0x........: grab_the_lock (tc23_bogus_condwait.c:48)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+ by 0x........: main (tc23_bogus_condwait.c:59)
ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
|
|
From: <sv...@va...> - 2009-07-22 18:02:10
|
Author: bart
Date: 2009-07-22 19:02:03 +0100 (Wed, 22 Jul 2009)
New Revision: 10523
Log:
Made these tests run successfully on Darwin.
Modified:
trunk/helgrind/tests/tc12_rwl_trivial.c
trunk/helgrind/tests/tc23_bogus_condwait.c
trunk/helgrind/tests/tc24_nonzero_sem.c
Modified: trunk/helgrind/tests/tc12_rwl_trivial.c
===================================================================
--- trunk/helgrind/tests/tc12_rwl_trivial.c 2009-07-22 17:38:36 UTC (rev 10522)
+++ trunk/helgrind/tests/tc12_rwl_trivial.c 2009-07-22 18:02:03 UTC (rev 10523)
@@ -8,6 +8,12 @@
#include <pthread.h>
#include <assert.h>
+#ifdef __APPLE__
+#define OS_IS_DARWIN 1
+#else
+#define OS_IS_DARWIN 0
+#endif
+
/* Do trivial stuff with a reader-writer lock. */
int main ( void )
@@ -26,7 +32,7 @@
r = pthread_rwlock_unlock( &rwl ); assert(r == 0);
/* this should fail - lock is unowned now */
- r = pthread_rwlock_unlock( &rwl ); assert(r == 0);
+ r = pthread_rwlock_unlock( &rwl ); assert(OS_IS_DARWIN || r == 0);
r = pthread_rwlock_destroy( &rwl ); assert(r == 0);
Modified: trunk/helgrind/tests/tc23_bogus_condwait.c
===================================================================
--- trunk/helgrind/tests/tc23_bogus_condwait.c 2009-07-22 17:38:36 UTC (rev 10522)
+++ trunk/helgrind/tests/tc23_bogus_condwait.c 2009-07-22 18:02:03 UTC (rev 10523)
@@ -7,6 +7,12 @@
#include <unistd.h>
#include <semaphore.h>
+#ifdef __APPLE__
+#define OS_IS_DARWIN 1
+#else
+#define OS_IS_DARWIN 0
+#endif
+
pthread_mutex_t mx[4];
pthread_cond_t cv;
pthread_rwlock_t rwl;
@@ -56,7 +62,7 @@
r= pthread_cond_init(&cv, NULL); assert(!r);
r= pthread_rwlock_init(&rwl, NULL); assert(!r);
- r= sem_init( &quit_now, 0,0 ); assert(!r);
+ r= sem_init( &quit_now, 0,0 ); assert(OS_IS_DARWIN || !r);
r= pthread_create( &grabber, NULL, grab_the_lock, NULL ); assert(!r);
sleep(1); /* let the grabber get there first */
@@ -77,8 +83,8 @@
/* mx is held by someone else. */
r= pthread_cond_wait(&cv, &mx[2] );
- r= sem_post( &quit_now ); assert(!r);
- r= sem_post( &quit_now ); assert(!r);
+ r= sem_post( &quit_now ); assert(OS_IS_DARWIN || !r);
+ r= sem_post( &quit_now ); assert(OS_IS_DARWIN || !r);
r= pthread_join( my_rescuer, NULL ); assert(!r);
r= pthread_join( grabber, NULL ); assert(!r);
Modified: trunk/helgrind/tests/tc24_nonzero_sem.c
===================================================================
--- trunk/helgrind/tests/tc24_nonzero_sem.c 2009-07-22 17:38:36 UTC (rev 10522)
+++ trunk/helgrind/tests/tc24_nonzero_sem.c 2009-07-22 18:02:03 UTC (rev 10523)
@@ -8,13 +8,19 @@
#include <semaphore.h>
#include <assert.h>
+#ifdef __APPLE__
+#define OS_IS_DARWIN 1
+#else
+#define OS_IS_DARWIN 0
+#endif
+
#define N_THREADS 3
void* child_fn ( void* semV )
{
int r;
sem_t* sem = (sem_t*)semV;
- r= sem_wait(sem); assert(!r);
+ r= sem_wait(sem); assert(OS_IS_DARWIN || !r);
return NULL;
}
@@ -24,7 +30,7 @@
sem_t sem;
pthread_t child[N_THREADS];
- r= sem_init(&sem, 0, N_THREADS); assert(!r);
+ r= sem_init(&sem, 0, N_THREADS); assert(OS_IS_DARWIN || !r);
for (i = 0; i < N_THREADS; i++) {
r= pthread_create( &child[i], NULL, child_fn, (void*)&sem );
|
|
From: <sv...@va...> - 2009-07-22 17:38:48
|
Author: bart
Date: 2009-07-22 18:38:36 +0100 (Wed, 22 Jul 2009)
New Revision: 10522
Log:
Updated expected output.
Modified:
trunk/none/tests/cmdline1.stdout.exp
trunk/none/tests/cmdline2.stdout.exp
Modified: trunk/none/tests/cmdline1.stdout.exp
===================================================================
--- trunk/none/tests/cmdline1.stdout.exp 2009-07-22 10:34:55 UTC (rev 10521)
+++ trunk/none/tests/cmdline1.stdout.exp 2009-07-22 17:38:36 UTC (rev 10522)
@@ -26,7 +26,8 @@
handle non-standard kernel variants
--read-var-info=yes|no read debug info on stack and global variables
and use it to print better error messages in
- tools that make use of it (Memcheck, Helgrind)
+ tools that make use of it (Memcheck, Helgrind,
+ DRD)
user options for Valgrind tools that report errors:
--xml=yes emit error output in XML (some tools only)
Modified: trunk/none/tests/cmdline2.stdout.exp
===================================================================
--- trunk/none/tests/cmdline2.stdout.exp 2009-07-22 10:34:55 UTC (rev 10521)
+++ trunk/none/tests/cmdline2.stdout.exp 2009-07-22 17:38:36 UTC (rev 10522)
@@ -26,7 +26,8 @@
handle non-standard kernel variants
--read-var-info=yes|no read debug info on stack and global variables
and use it to print better error messages in
- tools that make use of it (Memcheck, Helgrind)
+ tools that make use of it (Memcheck, Helgrind,
+ DRD)
user options for Valgrind tools that report errors:
--xml=yes emit error output in XML (some tools only)
|
|
From: Nicholas N. <n.n...@gm...> - 2009-07-22 17:28:42
|
Nightly build on ocean32 ( Ubuntu 9.04, x86_64 (32-bit only) )
Started at 2009-07-23 03:00:01 EST
Ended at 2009-07-23 03:28:47 EST
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
== 472 tests, 11 stderr failures, 4 stdout failures, 0 post failures ==
memcheck/tests/origin1-yes (stderr)
memcheck/tests/origin5-bz2 (stderr)
none/tests/cmdline1 (stdout)
none/tests/cmdline2 (stdout)
none/tests/empty-exe (stderr)
none/tests/linux/mremap2 (stdout)
none/tests/shell (stdout)
none/tests/shell (stderr)
none/tests/shell_valid1 (stderr)
none/tests/shell_valid2 (stderr)
none/tests/shell_valid3 (stderr)
none/tests/shell_zerolength (stderr)
helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
exp-ptrcheck/tests/supp (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
== 472 tests, 11 stderr failures, 2 stdout failures, 0 post failures ==
memcheck/tests/origin1-yes (stderr)
memcheck/tests/origin5-bz2 (stderr)
none/tests/empty-exe (stderr)
none/tests/linux/mremap2 (stdout)
none/tests/shell (stdout)
none/tests/shell (stderr)
none/tests/shell_valid1 (stderr)
none/tests/shell_valid2 (stderr)
none/tests/shell_valid3 (stderr)
none/tests/shell_zerolength (stderr)
helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
exp-ptrcheck/tests/supp (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Thu Jul 23 03:14:24 2009
--- new.short Thu Jul 23 03:28:47 2009
***************
*** 8,12 ****
! == 472 tests, 11 stderr failures, 2 stdout failures, 0 post failures ==
memcheck/tests/origin1-yes (stderr)
memcheck/tests/origin5-bz2 (stderr)
none/tests/empty-exe (stderr)
--- 8,14 ----
! == 472 tests, 11 stderr failures, 4 stdout failures, 0 post failures ==
memcheck/tests/origin1-yes (stderr)
memcheck/tests/origin5-bz2 (stderr)
+ none/tests/cmdline1 (stdout)
+ none/tests/cmdline2 (stdout)
none/tests/empty-exe (stderr)
=================================================
./valgrind-new/exp-ptrcheck/tests/supp.stderr.diff
=================================================
--- supp.stderr.exp 2009-07-23 03:15:12.000000000 +1000
+++ supp.stderr.out 2009-07-23 03:28:44.000000000 +1000
@@ -1,7 +1,7 @@
Syscall param write(buf) is non-contiguous
- at 0x........: write (in /...libc...)
- by 0x........: main (supp.c:16)
+ at 0x........: ??? (in /lib32/ld-2.9.so)
+ by 0x........: (below main)
First byte (0x........) is 3 bytes inside a 6-byte block alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (supp.c:12)
=================================================
./valgrind-new/helgrind/tests/rwlock_test.stderr.diff
=================================================
--- rwlock_test.stderr.exp 2009-07-23 03:15:01.000000000 +1000
+++ rwlock_test.stderr.out 2009-07-23 03:26:34.000000000 +1000
@@ -1,4 +1,5 @@
+s_counter - thread_count * iterations = 0
Finished.
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2009-07-23 03:15:01.000000000 +1000
+++ tc06_two_races_xml.stderr.out 2009-07-23 03:26:38.000000000 +1000
@@ -43,12 +43,10 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>do_clone</fn>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_create@@GLIBC_2.2.5</fn>
+ <fn>pthread_create_WRK</fn>
+ <dir>...</dir>
+ <file>hg_intercepts.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
=================================================
./valgrind-new/memcheck/tests/origin1-yes.stderr.diff
=================================================
--- origin1-yes.stderr.exp 2009-07-23 03:16:21.000000000 +1000
+++ origin1-yes.stderr.out 2009-07-23 03:24:19.000000000 +1000
@@ -47,7 +47,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin1-yes.c:101)
Uninitialised value was created
- at 0x........: brk (in /...libc...)
+ at 0x........: ??? (in /lib32/ld-2.9.so)
by 0x........: sbrk (in /...libc...)
by 0x........: main (origin1-yes.c:98)
=================================================
./valgrind-new/memcheck/tests/origin1-yes.stderr.diff-darwin
=================================================
--- origin1-yes.stderr.exp-darwin 2009-07-23 03:16:21.000000000 +1000
+++ origin1-yes.stderr.out 2009-07-23 03:24:19.000000000 +1000
@@ -44,7 +44,12 @@
Undef 7 of 8 (brk)
-(no complaint; sbrk initialises memory on Darwin)
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: main (origin1-yes.c:101)
+ Uninitialised value was created
+ at 0x........: ??? (in /lib32/ld-2.9.so)
+ by 0x........: sbrk (in /...libc...)
+ by 0x........: main (origin1-yes.c:98)
Undef 8 of 8 (MAKE_MEM_UNDEFINED)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2009-07-23 03:16:21.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-23 03:24:23.000000000 +1000
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -49,7 +49,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -60,7 +60,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -93,7 +93,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -104,7 +104,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2009-07-23 03:16:21.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-23 03:24:23.000000000 +1000
@@ -28,7 +28,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -38,7 +39,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -48,7 +50,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2855)
+ at 0x........: mainSort (origin5-bz2.c:2854)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -58,7 +61,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2859)
+ at 0x........: mainSort (origin5-bz2.c:2858)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -68,7 +72,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -78,7 +83,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2964)
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2009-07-23 03:16:21.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-23 03:24:23.000000000 +1000
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,85 +9,91 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2854)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2854)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2858)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2858)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
<truncated beyond 100 lines>
=================================================
./valgrind-new/none/tests/cmdline1.stdout.diff
=================================================
--- cmdline1.stdout.exp 2009-07-23 03:17:44.000000000 +1000
+++ cmdline1.stdout.out 2009-07-23 03:25:36.000000000 +1000
@@ -26,7 +26,8 @@
handle non-standard kernel variants
--read-var-info=yes|no read debug info on stack and global variables
and use it to print better error messages in
- tools that make use of it (Memcheck, Helgrind)
+ tools that make use of it (Memcheck, Helgrind,
+ DRD)
user options for Valgrind tools that report errors:
--xml=yes emit error output in XML (some tools only)
=================================================
./valgrind-new/none/tests/cmdline2.stdout.diff
=================================================
--- cmdline2.stdout.exp 2009-07-23 03:17:44.000000000 +1000
+++ cmdline2.stdout.out 2009-07-23 03:25:36.000000000 +1000
@@ -26,7 +26,8 @@
handle non-standard kernel variants
--read-var-info=yes|no read debug info on stack and global variables
and use it to print better error messages in
- tools that make use of it (Memcheck, Helgrind)
+ tools that make use of it (Memcheck, Helgrind,
+ DRD)
user options for Valgrind tools that report errors:
--xml=yes emit error output in XML (some tools only)
=================================================
./valgrind-new/none/tests/empty-exe.stderr.diff
=================================================
--- empty-exe.stderr.exp 2009-07-23 03:17:44.000000000 +1000
+++ empty-exe.stderr.out 2009-07-23 03:25:37.000000000 +1000
@@ -1,2 +1,2 @@
-
-
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: ./empty-exe: bad interpreter (/bin/sh): VG_(strerror): unknown error
=================================================
./valgrind-new/none/tests/linux/mremap2.stdout.diff
=================================================
--- mremap2.stdout.exp 2009-07-23 03:17:33.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 03:25:42.000000000 +1000
@@ -27,38 +27,38 @@
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
@@ -173,40 +173,40 @@
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
<truncated beyond 100 lines>
=================================================
./valgrind-new/none/tests/linux/mremap2.stdout.diff-glibc28-amd64
=================================================
--- mremap2.stdout.exp-glibc28-amd64 2009-07-23 03:17:33.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 03:25:42.000000000 +1000
@@ -188,37 +188,37 @@
maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
maymv 1 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
maymv 1 fixed 0 newsz 31 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
..................................................
maymv 1 fixed 0 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
..................................................
=================================================
./valgrind-new/none/tests/linux/mremap2.stdout.diff2
=================================================
--- mremap2.stdout.exp2 2009-07-23 03:17:33.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 03:25:42.000000000 +1000
@@ -27,38 +27,38 @@
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
@@ -173,52 +173,52 @@
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
<truncated beyond 100 lines>
=================================================
./valgrind-new/none/tests/shell.stderr.diff
=================================================
--- shell.stderr.exp 2009-07-23 03:17:44.000000000 +1000
+++ shell.stderr.out 2009-07-23 03:25:56.000000000 +1000
@@ -1,8 +1,3 @@
-./shell: ./x86/: is a directory
-./shell: ./shell.vgtest: Permission denied
-execve(0x........(./shell_badinterp), 0x........, 0x........) failed, errno 2
-EXEC FAILED: I can't recover from execve() failing, so I'm dying.
-Add more stringent tests in PRE(sys_execve), or work out how to recover.
-./shell: ./shell_binaryfile: cannot execute binary file
-./shell: ./shell_nosuchfile: No such file or directory
-./shell: shell_nosuchfile: command not found
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: ./shell: bad interpreter (/bin/sh): VG_(strerror): unknown error
=================================================
./valgrind-new/none/tests/shell.stderr.diff-dash
=================================================
--- shell.stderr.exp-dash 2009-07-23 03:17:43.000000000 +1000
+++ shell.stderr.out 2009-07-23 03:25:56.000000000 +1000
@@ -1,8 +1,3 @@
-./shell: 10: ./x86/: Permission denied
-./shell: 13: ./shell.vgtest: Permission denied
-execve(0x........(./shell_badinterp), 0x........, 0x........) failed, errno 2
-EXEC FAILED: I can't recover from execve() failing, so I'm dying.
-Add more stringent tests in PRE(sys_execve), or work out how to recover.
-./shell_binaryfile: 4: Syntax error: ")" unexpected
-./shell: 22: ./shell_nosuchfile: not found
-./shell: 25: shell_nosuchfile: not found
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: ./shell: bad interpreter (/bin/sh): VG_(strerror): unknown error
=================================================
./valgrind-new/none/tests/shell.stdout.diff
=================================================
--- shell.stdout.exp 2009-07-23 03:17:44.000000000 +1000
+++ shell.stdout.out 2009-07-23 03:25:56.000000000 +1000
@@ -1,10 +0,0 @@
-Execute a directory
-Execute a non-executable file
-Execute a script with a bad interpreter name
-Execute a binary file
-Execute a non-existent file
-Execute a non-existent file (2)
-Execute a valid script with a #! line
-Execute a valid script without a #! line
-Execute a valid script with #! but no interpname
-Execute a zero-length file
=================================================
./valgrind-new/none/tests/shell_valid1.stderr.diff
=================================================
--- shell_valid1.stderr.exp 2009-07-23 03:17:44.000000000 +1000
+++ shell_valid1.stderr.out 2009-07-23 03:25:56.000000000 +1000
@@ -0,0 +1,3 @@
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: ./shell_valid1: bad interpreter (/bin/sh): VG_(strerror): unknown error
=================================================
./valgrind-new/none/tests/shell_valid2.stderr.diff
=================================================
--- shell_valid2.stderr.exp 2009-07-23 03:17:43.000000000 +1000
+++ shell_valid2.stderr.out 2009-07-23 03:25:56.000000000 +1000
@@ -0,0 +1,2 @@
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: ./shell_valid2: bad interpreter (/bin/sh): VG_(strerror): unknown error
=================================================
./valgrind-new/none/tests/shell_valid3.stderr.diff
=================================================
--- shell_valid3.stderr.exp 2009-07-23 03:17:44.000000000 +1000
+++ shell_valid3.stderr.out 2009-07-23 03:25:56.000000000 +1000
@@ -0,0 +1,2 @@
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: ./shell_valid3: bad interpreter (/bin/sh): VG_(strerror): unknown error
=================================================
./valgrind-new/none/tests/shell_zerolength.stderr.diff
=================================================
--- shell_zerolength.stderr.exp 2009-07-23 03:17:44.000000000 +1000
+++ shell_zerolength.stderr.out 2009-07-23 03:25:56.000000000 +1000
@@ -0,0 +1,2 @@
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: ./shell_zerolength: bad interpreter (/bin/sh): VG_(strerror): unknown error
=================================================
./valgrind-new/none/tests/shell_zerolength.stderr.diff-dash
=================================================
--- shell_zerolength.stderr.exp-dash 2009-07-23 03:17:44.000000000 +1000
+++ shell_zerolength.stderr.out 2009-07-23 03:25:56.000000000 +1000
@@ -1 +1,2 @@
-Bus error
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: ./shell_zerolength: bad interpreter (/bin/sh): VG_(strerror): unknown error
=================================================
./valgrind-old/exp-ptrcheck/tests/supp.stderr.diff
=================================================
--- supp.stderr.exp 2009-07-23 03:00:58.000000000 +1000
+++ supp.stderr.out 2009-07-23 03:14:21.000000000 +1000
@@ -1,7 +1,7 @@
Syscall param write(buf) is non-contiguous
- at 0x........: write (in /...libc...)
- by 0x........: main (supp.c:16)
+ at 0x........: ??? (in /lib32/ld-2.9.so)
+ by 0x........: (below main)
First byte (0x........) is 3 bytes inside a 6-byte block alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (supp.c:12)
=================================================
./valgrind-old/helgrind/tests/rwlock_test.stderr.diff
=================================================
--- rwlock_test.stderr.exp 2009-07-23 03:00:48.000000000 +1000
+++ rwlock_test.stderr.out 2009-07-23 03:12:11.000000000 +1000
@@ -1,4 +1,5 @@
+s_counter - thread_count * iterations = 0
Finished.
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2009-07-23 03:00:48.000000000 +1000
+++ tc06_two_races_xml.stderr.out 2009-07-23 03:12:15.000000000 +1000
@@ -43,12 +43,10 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>do_clone</fn>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_create@@GLIBC_2.2.5</fn>
+ <fn>pthread_create_WRK</fn>
+ <dir>...</dir>
+ <file>hg_intercepts.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
=================================================
./valgrind-old/memcheck/tests/origin1-yes.stderr.diff
=================================================
--- origin1-yes.stderr.exp 2009-07-23 03:02:01.000000000 +1000
+++ origin1-yes.stderr.out 2009-07-23 03:09:56.000000000 +1000
@@ -47,7 +47,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin1-yes.c:101)
Uninitialised value was created
- at 0x........: brk (in /...libc...)
+ at 0x........: ??? (in /lib32/ld-2.9.so)
by 0x........: sbrk (in /...libc...)
by 0x........: main (origin1-yes.c:98)
=================================================
./valgrind-old/memcheck/tests/origin1-yes.stderr.diff-darwin
=================================================
--- origin1-yes.stderr.exp-darwin 2009-07-23 03:02:01.000000000 +1000
+++ origin1-yes.stderr.out 2009-07-23 03:09:56.000000000 +1000
@@ -44,7 +44,12 @@
Undef 7 of 8 (brk)
-(no complaint; sbrk initialises memory on Darwin)
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: main (origin1-yes.c:101)
+ Uninitialised value was created
+ at 0x........: ??? (in /lib32/ld-2.9.so)
+ by 0x........: sbrk (in /...libc...)
+ by 0x........: main (origin1-yes.c:98)
Undef 8 of 8 (MAKE_MEM_UNDEFINED)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2009-07-23 03:02:01.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-23 03:10:00.000000000 +1000
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -49,7 +49,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -60,7 +60,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -93,7 +93,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -104,7 +104,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2009-07-23 03:02:01.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-23 03:10:00.000000000 +1000
@@ -28,7 +28,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -38,7 +39,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -48,7 +50,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2855)
+ at 0x........: mainSort (origin5-bz2.c:2854)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -58,7 +61,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2859)
+ at 0x........: mainSort (origin5-bz2.c:2858)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -68,7 +72,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -78,7 +83,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2964)
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2009-07-23 03:02:01.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-23 03:10:00.000000000 +1000
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,85 +9,91 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2854)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2854)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2858)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2858)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+Use of uninitialised value of size 4
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
<truncated beyond 100 lines>
=================================================
./valgrind-old/none/tests/empty-exe.stderr.diff
=================================================
--- empty-exe.stderr.exp 2009-07-23 03:03:35.000000000 +1000
+++ empty-exe.stderr.out 2009-07-23 03:11:14.000000000 +1000
@@ -1,2 +1,2 @@
-
-
+valgrind: wrong ELF executable class (eg. 32-bit instead of 64-bit)
+valgrind: ./empty-exe: bad interpreter (/bin/sh): VG_(strerror): unknown error
=================================================
./valgrind-old/none/tests/linux/mremap2.stdout.diff
=================================================
--- mremap2.stdout.exp 2009-07-23 03:03:25.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 03:11:19.000000000 +1000
@@ -27,38 +27,38 @@
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
@@ -173,40 +173,40 @@
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
<truncated beyond 100 lines>
=================================================
./valgrind-old/none/tests/linux/mremap2.stdout.diff-glibc28-amd64
=================================================
--- mremap2.stdout.exp-glibc28-amd64 2009-07-23 03:03:25.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 03:11:19.000000000 +1000
@@ -188,37 +188,37 @@
maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
maymv 1 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
maymv 1 fixed 0 newsz 31 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
..................................................
maymv 1 fixed 0 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
..................................................
=================================================
./valgrind-old/none/tests/linux/mremap2.stdout.diff2
=================================================
--- mremap2.stdout.exp2 2009-07-23 03:03:25.000000000 +1000
+++ mremap2.stdout...
[truncated message content] |
|
From: Nicholas N. <n.n...@gm...> - 2009-07-22 16:32:50
|
Nightly build on ocean ( Ubuntu 9.04, x86_64 )
Started at 2009-07-23 02:00:01 EST
Ended at 2009-07-23 02:32:47 EST
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
== 516 tests, 2 stderr failures, 3 stdout failures, 0 post failures ==
none/tests/cmdline1 (stdout)
none/tests/cmdline2 (stdout)
none/tests/linux/mremap2 (stdout)
helgrind/tests/rwlock_test (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
== 516 tests, 1 stderr failure, 1 stdout failure, 0 post failures ==
none/tests/linux/mremap2 (stdout)
helgrind/tests/tc06_two_races_xml (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Thu Jul 23 02:14:06 2009
--- new.short Thu Jul 23 02:32:47 2009
***************
*** 8,11 ****
! == 516 tests, 1 stderr failure, 1 stdout failure, 0 post failures ==
none/tests/linux/mremap2 (stdout)
helgrind/tests/tc06_two_races_xml (stderr)
--- 8,14 ----
! == 516 tests, 2 stderr failures, 3 stdout failures, 0 post failures ==
! none/tests/cmdline1 (stdout)
! none/tests/cmdline2 (stdout)
none/tests/linux/mremap2 (stdout)
+ helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
=================================================
./valgrind-new/helgrind/tests/rwlock_test.stderr.diff
=================================================
--- rwlock_test.stderr.exp 2009-07-23 02:14:46.000000000 +1000
+++ rwlock_test.stderr.out 2009-07-23 02:30:47.000000000 +1000
@@ -1,4 +1,5 @@
+s_counter - thread_count * iterations = 0
Finished.
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2009-07-23 02:14:46.000000000 +1000
+++ tc06_two_races_xml.stderr.out 2009-07-23 02:30:51.000000000 +1000
@@ -43,12 +43,15 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>do_clone</fn>
+ <fn>pthread_create@@GLIBC_2.2.5</fn>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_create@@GLIBC_2.2.5</fn>
+ <fn>pthread_create_WRK</fn>
+ <dir>...</dir>
+ <file>hg_intercepts.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
=================================================
./valgrind-new/none/tests/cmdline1.stdout.diff
=================================================
--- cmdline1.stdout.exp 2009-07-23 02:18:55.000000000 +1000
+++ cmdline1.stdout.out 2009-07-23 02:29:50.000000000 +1000
@@ -26,7 +26,8 @@
handle non-standard kernel variants
--read-var-info=yes|no read debug info on stack and global variables
and use it to print better error messages in
- tools that make use of it (Memcheck, Helgrind)
+ tools that make use of it (Memcheck, Helgrind,
+ DRD)
user options for Valgrind tools that report errors:
--xml=yes emit error output in XML (some tools only)
=================================================
./valgrind-new/none/tests/cmdline2.stdout.diff
=================================================
--- cmdline2.stdout.exp 2009-07-23 02:18:55.000000000 +1000
+++ cmdline2.stdout.out 2009-07-23 02:29:50.000000000 +1000
@@ -26,7 +26,8 @@
handle non-standard kernel variants
--read-var-info=yes|no read debug info on stack and global variables
and use it to print better error messages in
- tools that make use of it (Memcheck, Helgrind)
+ tools that make use of it (Memcheck, Helgrind,
+ DRD)
user options for Valgrind tools that report errors:
--xml=yes emit error output in XML (some tools only)
=================================================
./valgrind-new/none/tests/linux/mremap2.stdout.diff
=================================================
--- mremap2.stdout.exp 2009-07-23 02:18:35.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 02:29:56.000000000 +1000
@@ -27,38 +27,38 @@
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
@@ -173,40 +173,40 @@
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
<truncated beyond 100 lines>
=================================================
./valgrind-new/none/tests/linux/mremap2.stdout.diff-glibc28-amd64
=================================================
--- mremap2.stdout.exp-glibc28-amd64 2009-07-23 02:18:35.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 02:29:56.000000000 +1000
@@ -188,37 +188,37 @@
maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
maymv 1 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
maymv 1 fixed 0 newsz 31 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
..................................................
maymv 1 fixed 0 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
..................................................
=================================================
./valgrind-new/none/tests/linux/mremap2.stdout.diff2
=================================================
--- mremap2.stdout.exp2 2009-07-23 02:18:35.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 02:29:56.000000000 +1000
@@ -27,38 +27,38 @@
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
@@ -173,52 +173,52 @@
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2009-07-23 02:00:34.000000000 +1000
+++ tc06_two_races_xml.stderr.out 2009-07-23 02:12:09.000000000 +1000
@@ -43,12 +43,15 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>do_clone</fn>
+ <fn>pthread_create@@GLIBC_2.2.5</fn>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_create@@GLIBC_2.2.5</fn>
+ <fn>pthread_create_WRK</fn>
+ <dir>...</dir>
+ <file>hg_intercepts.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
=================================================
./valgrind-old/none/tests/linux/mremap2.stdout.diff
=================================================
--- mremap2.stdout.exp 2009-07-23 02:01:35.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 02:11:14.000000000 +1000
@@ -27,38 +27,38 @@
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
@@ -173,40 +173,40 @@
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
<truncated beyond 100 lines>
=================================================
./valgrind-old/none/tests/linux/mremap2.stdout.diff-glibc28-amd64
=================================================
--- mremap2.stdout.exp-glibc28-amd64 2009-07-23 02:01:35.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 02:11:14.000000000 +1000
@@ -188,37 +188,37 @@
maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
maymv 1 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
maymv 1 fixed 0 newsz 31 dstpo 0 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
..................................................
maymv 1 fixed 0 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== other)
XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
..................................................
=================================================
./valgrind-old/none/tests/linux/mremap2.stdout.diff2
=================================================
--- mremap2.stdout.exp2 2009-07-23 02:01:35.000000000 +1000
+++ mremap2.stdout.out 2009-07-23 02:11:14.000000000 +1000
@@ -27,38 +27,38 @@
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> error 12
+XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
@@ -173,52 +173,52 @@
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
..................................................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
..................................................
-maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
+XXXXXXXXX...............................XXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
+XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
..................................................
<truncated beyond 100 lines>
|
|
From: Bart V. A. <bar...@gm...> - 2009-07-22 16:26:16
|
On Wed, Jul 22, 2009 at 10:10 AM, Nicholas Nethercote<n.n...@gm...> wrote: > On Wed, Jul 22, 2009 at 5:32 PM, Bart Van > Assche<bar...@gm...> wrote: >> >> There are two reasons why I added --auto-run-dsymutil=yes: >> * At least on the system I ran my tests on, the .dSYM directory was >> not built by default. >> * The message that suggests to add --auto-run-dsymutil=yes is hard to >> filter away from the regression test output because it consists of two >> lines of output. > > I'd prefer to work out why the dSYMs aren't being built for your > system. My mistake -- dSYMs were built for all executables generated by "make check" but not for one executable built through an explicit make command and that was disabled in drd/tests/Makefile.am through if-statements. Sorry for the confusion. Bart. |
|
From: <sv...@va...> - 2009-07-22 11:06:23
|
Author: sewardj
Date: 2009-07-22 12:06:17 +0100 (Wed, 22 Jul 2009)
New Revision: 1912
Log:
Tell the register allocator on x86 that xmm0..7 are trashed across
function calls. This forces it to handle them as caller-saved, which
is (to the extent that it's possible to tell) what the ELF ABI
requires. Lack of this has been observed to corrupt floating point
computations in tools that use the xmm registers in the helper
functions called from generated code. This change brings the x86
backend into line with the amd64 backend, the latter of which has
always treated the xmm regs as caller-saved.
The x87 registers are still incorrectly handled as callee-saved.
Modified:
trunk/priv/host_x86_defs.c
Modified: trunk/priv/host_x86_defs.c
===================================================================
--- trunk/priv/host_x86_defs.c 2009-07-22 09:29:13 UTC (rev 1911)
+++ trunk/priv/host_x86_defs.c 2009-07-22 11:06:17 UTC (rev 1912)
@@ -1230,10 +1230,19 @@
/* This is a bit subtle. */
/* First off, claim it trashes all the caller-saved regs
which fall within the register allocator's jurisdiction.
- These I believe to be %eax,%ecx,%edx. */
+ These I believe to be %eax %ecx %edx and all the xmm
+ registers. */
addHRegUse(u, HRmWrite, hregX86_EAX());
addHRegUse(u, HRmWrite, hregX86_ECX());
addHRegUse(u, HRmWrite, hregX86_EDX());
+ addHRegUse(u, HRmWrite, hregX86_XMM0());
+ addHRegUse(u, HRmWrite, hregX86_XMM1());
+ addHRegUse(u, HRmWrite, hregX86_XMM2());
+ addHRegUse(u, HRmWrite, hregX86_XMM3());
+ addHRegUse(u, HRmWrite, hregX86_XMM4());
+ addHRegUse(u, HRmWrite, hregX86_XMM5());
+ addHRegUse(u, HRmWrite, hregX86_XMM6());
+ addHRegUse(u, HRmWrite, hregX86_XMM7());
/* Now we have to state any parameter-carrying registers
which might be read. This depends on the regparmness. */
switch (i->Xin.Call.regparms) {
|
|
From: Bart V. A. <bar...@gm...> - 2009-07-22 10:35:17
|
On Wed, Jul 22, 2009 at 10:14 AM, Julian Seward<js...@ac...> wrote: > >> > Also, how is DRD's --var-info=yes different to the core's >> > --read-var-info=yes? It seems like DRD should just use >> > --read-var-info=yes the way Memcheck and Helgrind do. >> >> If I remember correctly, --var-info was added to DRD before >> --read-var-info was added to Memcheck or Helgrind. I have renamed the >> DRD option --var-info to --read-var-info and left --var-info as an >> undocumented option in DRD. > > --read-var-info is a flag handled by the core, and applies to all > tools. It tells the debuginfo reader what to do. It's not handled > separately by all tools. The question of whether the tools can > actually make use of that extra info is a different question. > > So I think DRD shouldn't handle this flag at all. Fixed. By the way, I assume that the --read-var-info flag will be documented in docs/xml/manual-core.xml before 3.5.0 is released ? Bart. |
|
From: <sv...@va...> - 2009-07-22 10:35:03
|
Author: bart
Date: 2009-07-22 11:34:55 +0100 (Wed, 22 Jul 2009)
New Revision: 10521
Log:
Updated documentation related to the --read-var-info flag.
Modified:
trunk/coregrind/m_main.c
trunk/drd/docs/drd-manual.xml
Modified: trunk/coregrind/m_main.c
===================================================================
--- trunk/coregrind/m_main.c 2009-07-22 09:26:21 UTC (rev 10520)
+++ trunk/coregrind/m_main.c 2009-07-22 10:34:55 UTC (rev 10521)
@@ -137,7 +137,8 @@
" handle non-standard kernel variants\n"
" --read-var-info=yes|no read debug info on stack and global variables\n"
" and use it to print better error messages in\n"
-" tools that make use of it (Memcheck, Helgrind)\n"
+" tools that make use of it (Memcheck, Helgrind,\n"
+" DRD)\n"
"\n"
" user options for Valgrind tools that report errors:\n"
" --xml=yes emit error output in XML (some tools only)\n"
Modified: trunk/drd/docs/drd-manual.xml
===================================================================
--- trunk/drd/docs/drd-manual.xml 2009-07-22 09:26:21 UTC (rev 10520)
+++ trunk/drd/docs/drd-manual.xml 2009-07-22 10:34:55 UTC (rev 10521)
@@ -456,20 +456,6 @@
</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term>
- <option><![CDATA[--read-var-info=<yes|no> [default: no]]]></option>
- </term>
- <listitem>
- <para>
- Display the names of global, static and stack variables when a
- data race is reported. While this information can be very
- helpful, it is not loaded into memory by default. This is
- because for big programs reading in all debug information at
- once may cause an out of memory error.
- </para>
- </listitem>
- </varlistentry>
</variablelist>
<!-- end of xi:include in the manpage -->
|
|
From: <sv...@va...> - 2009-07-22 09:29:22
|
Author: sewardj
Date: 2009-07-22 10:29:13 +0100 (Wed, 22 Jul 2009)
New Revision: 1911
Log:
Support LODS on amd64. Fixes #189737.
Modified:
trunk/priv/guest_amd64_toIR.c
Modified: trunk/priv/guest_amd64_toIR.c
===================================================================
--- trunk/priv/guest_amd64_toIR.c 2009-07-17 16:34:30 UTC (rev 1910)
+++ trunk/priv/guest_amd64_toIR.c 2009-07-22 09:29:13 UTC (rev 1911)
@@ -4107,20 +4107,19 @@
putIReg64( R_RSI, binop(Iop_Add64, mkexpr(ts), mkexpr(t_inc)) );
}
-//.. //-- static
-//.. //-- void dis_LODS ( UCodeBlock* cb, Int sz, Int t_inc )
-//.. //-- {
-//.. //-- Int ta = newTemp(cb); /* EAX */
-//.. //-- Int ts = newTemp(cb); /* ESI */
-//.. //--
-//.. //-- uInstr2(cb, GET, 4, ArchReg, R_ESI, TempReg, ts);
-//.. //-- uInstr2(cb, LOAD, sz, TempReg, ts, TempReg, ta);
-//.. //-- uInstr2(cb, PUT, sz, TempReg, ta, ArchReg, R_EAX);
-//.. //--
-//.. //-- uInstr2(cb, ADD, 4, TempReg, t_inc, TempReg, ts);
-//.. //-- uInstr2(cb, PUT, 4, TempReg, ts, ArchReg, R_ESI);
-//.. //-- }
+static
+void dis_LODS ( Int sz, IRTemp t_inc )
+{
+ IRType ty = szToITy(sz);
+ IRTemp ts = newTemp(Ity_I64); /* RSI */
+ assign( ts, getIReg64(R_RSI) );
+
+ putIRegRAX ( sz, loadLE(ty, mkexpr(ts)) );
+
+ putIReg64( R_RSI, binop(Iop_Add64, mkexpr(ts), mkexpr(t_inc)) );
+}
+
static
void dis_STOS ( Int sz, IRTemp t_inc )
{
@@ -14795,10 +14794,10 @@
//.. break;
//.. //--
//.. //--
-//.. //-- case 0xAC: /* LODS, no REP prefix */
-//.. //-- case 0xAD:
-//.. //-- dis_string_op( cb, dis_LODS, ( opc == 0xAC ? 1 : sz ), "lods", sorb );
-//.. //-- break;
+ case 0xAC: /* LODS, no REP prefix */
+ case 0xAD:
+ dis_string_op( dis_LODS, ( opc == 0xAC ? 1 : sz ), "lods", pfx );
+ break;
//..
//.. case 0xAE: /* SCAS, no REP prefix */
//.. case 0xAF:
|
|
From: <sv...@va...> - 2009-07-22 09:26:28
|
Author: bart
Date: 2009-07-22 10:26:21 +0100 (Wed, 22 Jul 2009)
New Revision: 10520
Log:
Removed code for handling --read-var-info from DRD since the Valgrind core already interprets this flag.
Modified:
trunk/drd/drd_main.c
Modified: trunk/drd/drd_main.c
===================================================================
--- trunk/drd/drd_main.c 2009-07-22 07:30:37 UTC (rev 10519)
+++ trunk/drd/drd_main.c 2009-07-22 09:26:21 UTC (rev 10520)
@@ -110,7 +110,6 @@
else if VG_BOOL_CLO(arg, "--trace-segment", trace_segment) {}
else if VG_BOOL_CLO(arg, "--trace-semaphore", trace_semaphore) {}
else if VG_BOOL_CLO(arg, "--trace-suppr", trace_suppression) {}
- else if VG_BOOL_CLO(arg, "--read-var-info", DRD_(s_var_info)) {}
else if VG_BOOL_CLO(arg, "--var-info", DRD_(s_var_info)) {}
else if VG_INT_CLO (arg, "--exclusive-threshold", exclusive_threshold_ms) {}
else if VG_INT_CLO (arg, "--shared-threshold", shared_threshold_ms) {}
@@ -200,11 +199,6 @@
" is held longer than the specified time (in milliseconds).\n"
" --show-confl-seg=yes|no Show conflicting segments in race reports [yes].\n"
" --show-stack-usage=yes|no Print stack usage at thread exit time [no].\n"
-" --read-var-info=yes|no Display the names of global, static and\n"
-" stack variables when a race is reported on such a variable. This\n"
-" information is by default not displayed since for big programs\n"
-" reading in all debug information at once may cause an out of\n"
-" memory error [no].\n"
"\n"
" drd options for monitoring process behavior:\n"
" --trace-addr=<address> Trace all load and store activity for the.\n"
|