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
(32) |
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-24 18:42:26
|
On Sat, Jul 25, 2009 at 2:26 AM, Nicholas Nethercote<n.n...@gm...> wrote: > > ================================================= > ./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff > ================================================= > --- tc06_two_races_xml.stderr.exp 2009-07-25 02:12:03.000000000 +1000 > +++ tc06_two_races_xml.stderr.out 2009-07-25 02:24:21.000000000 +1000 > @@ -43,11 +43,6 @@ > <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> > </frame> > <frame> > ================================================= > ./valgrind-old/helgrind/tests/tc06_two_races_xml.stderr.diff > ================================================= > --- tc06_two_races_xml.stderr.exp 2009-07-25 02:00:35.000000000 +1000 > +++ tc06_two_races_xml.stderr.out 2009-07-25 02:09:40.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> It's a little closer than it was, but still doesn't pass... Nick |
|
From: Nicholas N. <n.n...@gm...> - 2009-07-24 17:24:11
|
Nightly build on ocean32 ( Ubuntu 9.04, x86_64 (32-bit only) )
Started at 2009-07-25 03:00:01 EST
Ended at 2009-07-25 03:24:12 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
== 478 tests, 11 stderr failures, 1 stdout failure, 0 post failures ==
memcheck/tests/origin1-yes (stderr)
memcheck/tests/origin5-bz2 (stderr)
none/tests/empty-exe (stderr)
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/hg03_inherit (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
== 475 tests, 10 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/tc06_two_races_xml (stderr)
exp-ptrcheck/tests/supp (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Sat Jul 25 03:12:44 2009
--- new.short Sat Jul 25 03:24:12 2009
***************
*** 8,10 ****
! == 475 tests, 10 stderr failures, 2 stdout failures, 0 post failures ==
memcheck/tests/origin1-yes (stderr)
--- 8,10 ----
! == 478 tests, 11 stderr failures, 1 stdout failure, 0 post failures ==
memcheck/tests/origin1-yes (stderr)
***************
*** 12,14 ****
none/tests/empty-exe (stderr)
- none/tests/linux/mremap2 (stdout)
none/tests/shell (stdout)
--- 12,13 ----
***************
*** 19,20 ****
--- 18,20 ----
none/tests/shell_zerolength (stderr)
+ helgrind/tests/hg03_inherit (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
=================================================
./valgrind-new/exp-ptrcheck/tests/supp.stderr.diff
=================================================
--- supp.stderr.exp 2009-07-25 03:13:09.000000000 +1000
+++ supp.stderr.out 2009-07-25 03:24:09.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/hg03_inherit.stderr.diff
=================================================
--- hg03_inherit.stderr.exp 2009-07-25 03:13:05.000000000 +1000
+++ hg03_inherit.stderr.out 2009-07-25 03:21:39.000000000 +1000
@@ -15,13 +15,4 @@
Location 0x........ is 0 bytes inside shared[1],
declared at hg03_inherit.c:11, in frame #x of thread x
-Possible data race during write of size 4 at 0x........ by thread #x
- at 0x........: t2 (hg03_inherit.c:29)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- This conflicts with a previous read of size 4 by thread #x
- at 0x........: main (hg03_inherit.c:60)
- Location 0x........ is 0 bytes inside shared[1],
- declared at hg03_inherit.c:11, in frame #x of thread x
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2009-07-25 03:13:05.000000000 +1000
+++ tc06_two_races_xml.stderr.out 2009-07-25 03:21:50.000000000 +1000
@@ -43,16 +43,6 @@
<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>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<fn>pthread_create_WRK</fn>
<dir>...</dir>
<file>hg_intercepts.c</file>
=================================================
./valgrind-new/memcheck/tests/origin1-yes.stderr.diff
=================================================
--- origin1-yes.stderr.exp 2009-07-25 03:13:38.000000000 +1000
+++ origin1-yes.stderr.out 2009-07-25 03:19:30.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-25 03:13:38.000000000 +1000
+++ origin1-yes.stderr.out 2009-07-25 03:19:30.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-25 03:13:38.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-25 03:19:34.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-25 03:13:38.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-25 03:19:34.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-25 03:13:38.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-25 03:19:34.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/empty-exe.stderr.diff
=================================================
--- empty-exe.stderr.exp 2009-07-25 03:14:39.000000000 +1000
+++ empty-exe.stderr.out 2009-07-25 03:20:47.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/shell.stderr.diff
=================================================
--- shell.stderr.exp 2009-07-25 03:14:39.000000000 +1000
+++ shell.stderr.out 2009-07-25 03:21:07.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-25 03:14:39.000000000 +1000
+++ shell.stderr.out 2009-07-25 03:21:07.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-25 03:14:39.000000000 +1000
+++ shell.stdout.out 2009-07-25 03:21:07.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-25 03:14:39.000000000 +1000
+++ shell_valid1.stderr.out 2009-07-25 03:21:07.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-25 03:14:39.000000000 +1000
+++ shell_valid2.stderr.out 2009-07-25 03:21:07.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-25 03:14:39.000000000 +1000
+++ shell_valid3.stderr.out 2009-07-25 03:21:07.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-25 03:14:39.000000000 +1000
+++ shell_zerolength.stderr.out 2009-07-25 03:21:07.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-25 03:14:39.000000000 +1000
+++ shell_zerolength.stderr.out 2009-07-25 03:21:07.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-25 03:00:47.000000000 +1000
+++ supp.stderr.out 2009-07-25 03:12:42.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/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2009-07-25 03:00:39.000000000 +1000
+++ tc06_two_races_xml.stderr.out 2009-07-25 03:10:31.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-25 03:01:36.000000000 +1000
+++ origin1-yes.stderr.out 2009-07-25 03:08:13.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-25 03:01:36.000000000 +1000
+++ origin1-yes.stderr.out 2009-07-25 03:08:13.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-25 03:01:36.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-25 03:08:17.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-25 03:01:36.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-25 03:08:17.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-25 03:01:36.000000000 +1000
+++ origin5-bz2.stderr.out 2009-07-25 03:08:17.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-25 03:02:43.000000000 +1000
+++ empty-exe.stderr.out 2009-07-25 03:09:30.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-25 03:02:38.000000000 +1000
+++ mremap2.stdout.out 2009-07-25 03:09:35.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-25 03:02:38.000000000 +1000
+++ mremap2.stdout.out 2009-07-25 03:09:35.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-25 03:02:38.000000000 +1000
+++ mremap2.stdout.out 2009-07-25 03:09:35.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/none/tests/shell.stderr.diff
=================================================
--- shell.stderr.exp 2009-07-25 03:02:43.000000000 +1000
+++ shell.stderr.out 2009-07-25 03:09:49.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-old/none/tests/shell.stderr.diff-dash
=================================================
--- shell.stderr.exp-dash 2009-07-25 03:02:43.000000000 +1000
+++ shell.stderr.out 2009-07-25 03:09:49.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-old/none/tests/shell.stdout.diff
=================================================
--- shell.stdout.exp 2009-07-25 03:02:43.000000000 +1000
+++ shell.stdout.out 2009-07-25 03:09:49.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-old/none/tests/shell_valid1.stderr.diff
=================================================
--- shell_valid1.stderr.exp 2009-07-25 03:02:43.000000000 +1000
+++ shell_valid1.stderr.out 2009-07-25 03:09:49.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-old/none/tests/shell_valid2.stderr.diff
=================================================
--- shell_valid2.stderr.exp 2009-07-25 03:02:43.000000000 +1000
+++ shell_valid2.stderr.out 2009-07-25 03:09:49.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-old/none/tests/shell_valid3.stderr.diff
=================================================
--- shell_valid3.stderr.exp 2009-07-25 03:02:43.000000000 +1000
+++ shell_valid3.stderr.out 2009-07-25 03:09:49.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-old/none/tests/shell_zerolength.stderr.diff
=================================================
--- shell_zerolength.stderr.exp 2009-07-25 03:02:43.000000000 +1000
+++ shell_zerolength.stderr.out 2009-07-25 03:09:49.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-old/none/tests/shell_zerolength.stderr.diff-dash
=================================================
--- shell_zerolength.stderr.exp-dash 2009-07-25 03:02:43.000000000 +1000
+++ shell_zerolength.stderr.out 2009-07-25 03:09:49.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
|
|
From: Nicholas N. <n.n...@gm...> - 2009-07-24 16:26:24
|
Nightly build on ocean ( Ubuntu 9.04, x86_64 )
Started at 2009-07-25 02:00:01 EST
Ended at 2009-07-25 02:26:29 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
== 522 tests, 2 stderr failures, 0 stdout failures, 0 post failures ==
helgrind/tests/hg03_inherit (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 Sat Jul 25 02:11:37 2009
--- new.short Sat Jul 25 02:26:29 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,11 ----
! == 522 tests, 2 stderr failures, 0 stdout failures, 0 post failures ==
! helgrind/tests/hg03_inherit (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
=================================================
./valgrind-new/helgrind/tests/hg03_inherit.stderr.diff
=================================================
--- hg03_inherit.stderr.exp 2009-07-25 02:12:03.000000000 +1000
+++ hg03_inherit.stderr.out 2009-07-25 02:24:11.000000000 +1000
@@ -15,13 +15,4 @@
Location 0x........ is 0 bytes inside shared[1],
declared at hg03_inherit.c:11, in frame #x of thread x
-Possible data race during write of size 4 at 0x........ by thread #x
- at 0x........: t2 (hg03_inherit.c:29)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- This conflicts with a previous read of size 4 by thread #x
- at 0x........: main (hg03_inherit.c:60)
- Location 0x........ is 0 bytes inside shared[1],
- declared at hg03_inherit.c:11, in frame #x of thread x
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2009-07-25 02:12:03.000000000 +1000
+++ tc06_two_races_xml.stderr.out 2009-07-25 02:24:21.000000000 +1000
@@ -43,11 +43,6 @@
<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>
</frame>
<frame>
=================================================
./valgrind-old/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2009-07-25 02:00:35.000000000 +1000
+++ tc06_two_races_xml.stderr.out 2009-07-25 02:09:40.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-25 02:01:20.000000000 +1000
+++ mremap2.stdout.out 2009-07-25 02:08:45.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-25 02:01:20.000000000 +1000
+++ mremap2.stdout.out 2009-07-25 02:08:45.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-25 02:01:20.000000000 +1000
+++ mremap2.stdout.out 2009-07-25 02:08:45.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-24 11:28:42
|
On Thu, Jul 23, 2009 at 10:31 PM, Greg Parker <gp...@ap...> wrote: > > On Jul 23, 2009, at 12:28 PM, Bart Van Assche wrote: >> >> Thanks for the help. After having replaced sem_init() by sem_open() in >> the pth_inconsistent_cond_wait test program, I still see the same >> puzzling error message: >> $ drd/tests/pth_inconsistent_cond_wait >> pth_inconsistent_cond_wait.c:77 pthread_cond_timedwait(&s_cond, mutex, >> &deadline) returned error code 22 (Invalid argument) > > The test is using a single cond with two different mutexes at the same time. POSIX says that's > undefined; Darwin detects it and returns EINVAL. Thanks for the clarification. I have modified the drd/tests/pth_inconsistent_cond_wait.c test program such that it does no longer print any error messages when run as a regression test. DRD does now produce exactly the same output for this test program on Linux and on Darwin, which is good. When running DRD's regression tests on Darwin, 63 out of 64 regression tests always pass and one regression test, rwlock_test, fails sometimes. If that test fails it is because DRD reported one or more conflicting memory loads triggered by line 35, the statement that reads s_counter protected by a reader lock. I have not yet seen such behavior on Linux, so I should examine rwlock support in DRD on Darwin more closely. It would help if I could have a look at the implementation of POSIX reader-writer locks in Darwin. Is this source code available online and under a license that is compatible with the development of source code under the GPL ? Bart. |
|
From: <sv...@va...> - 2009-07-24 11:23:56
|
Author: bart Date: 2009-07-24 12:23:45 +0100 (Fri, 24 Jul 2009) New Revision: 10594 Log: Updated expected output after r10592. Modified: trunk/helgrind/tests/rwlock_test.stderr.exp Modified: trunk/helgrind/tests/rwlock_test.stderr.exp =================================================================== --- trunk/helgrind/tests/rwlock_test.stderr.exp 2009-07-24 11:11:30 UTC (rev 10593) +++ trunk/helgrind/tests/rwlock_test.stderr.exp 2009-07-24 11:23:45 UTC (rev 10594) @@ -1,5 +1,6 @@ -s_counter - thread_count * iterations = 0 +s_counter - expected_counter = 0 +s_grand_sum - expected_grand_sum = 0 Finished. ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) |
|
From: <sv...@va...> - 2009-07-24 11:11:42
|
Author: bart
Date: 2009-07-24 12:11:30 +0100 (Fri, 24 Jul 2009)
New Revision: 10593
Log:
Print an easy-to-understand message in case the client program tries to create more threads than what is currently supported by DRD.
Modified:
trunk/drd/drd_thread.c
Modified: trunk/drd/drd_thread.c
===================================================================
--- trunk/drd/drd_thread.c 2009-07-24 11:10:05 UTC (rev 10592)
+++ trunk/drd/drd_thread.c 2009-07-24 11:11:30 UTC (rev 10593)
@@ -195,6 +195,10 @@
}
}
+ VG_(printf)(
+"\nSorry, but the maximum number of threads supported by DRD has been exceeded."
+"Aborting.\n");
+
tl_assert(False);
return DRD_INVALID_THREADID;
|
|
From: <sv...@va...> - 2009-07-24 11:10:20
|
Author: bart
Date: 2009-07-24 12:10:05 +0100 (Fri, 24 Jul 2009)
New Revision: 10592
Log:
rwlock_test: added more internal error checking.
Modified:
trunk/drd/tests/rwlock_test.c
trunk/drd/tests/rwlock_test.stderr.exp
trunk/drd/tests/rwlock_test.vgtest
Modified: trunk/drd/tests/rwlock_test.c
===================================================================
--- trunk/drd/tests/rwlock_test.c 2009-07-24 10:51:11 UTC (rev 10591)
+++ trunk/drd/tests/rwlock_test.c 2009-07-24 11:10:05 UTC (rev 10592)
@@ -16,26 +16,36 @@
#include <string.h> /* strerror() */
#include <unistd.h> /* getopt() */
-static pthread_rwlock_t s_rwlock;
-static int s_counter;
static int s_num_threads = 10;
static int s_num_iterations = 1000;
+static pthread_mutex_t s_mutex;
+static long long s_grand_sum; /* protected by s_mutex. */
+static pthread_rwlock_t s_rwlock;
+static int s_counter; /* protected by s_rwlock. */
static void* thread_func(void* arg)
{
- int i;
- int sum = 0;
+ int i, r;
+ int sum1 = 0, sum2 = 0;
for (i = s_num_iterations; i > 0; i--)
{
- pthread_rwlock_rdlock(&s_rwlock);
- sum += s_counter;
- pthread_rwlock_unlock(&s_rwlock);
- pthread_rwlock_wrlock(&s_rwlock);
- s_counter++;
- pthread_rwlock_unlock(&s_rwlock);
+ r = pthread_rwlock_rdlock(&s_rwlock);
+ assert(! r);
+ sum1 += s_counter;
+ r = pthread_rwlock_unlock(&s_rwlock);
+ assert(! r);
+ r = pthread_rwlock_wrlock(&s_rwlock);
+ assert(! r);
+ sum2 += s_counter++;
+ r = pthread_rwlock_unlock(&s_rwlock);
+ assert(! r);
}
+ pthread_mutex_lock(&s_mutex);
+ s_grand_sum += sum2;
+ pthread_mutex_unlock(&s_mutex);
+
return 0;
}
@@ -47,6 +57,8 @@
int optchar;
int err;
int i;
+ int expected_counter;
+ long long expected_grand_sum;
while ((optchar = getopt(argc, argv, "i:t:")) != EOF)
{
@@ -64,6 +76,7 @@
}
}
+ pthread_mutex_init(&s_mutex, NULL);
pthread_rwlock_init(&s_rwlock, NULL);
pthread_attr_init(&attr);
@@ -90,8 +103,12 @@
}
free(tid);
- fprintf(stderr, "s_counter - thread_count * iterations = %d\n",
- s_counter - threads_created * s_num_iterations);
+ expected_counter = threads_created * s_num_iterations;
+ fprintf(stderr, "s_counter - expected_counter = %d\n",
+ s_counter - expected_counter);
+ expected_grand_sum = 1ULL * expected_counter * (expected_counter - 1) / 2;
+ fprintf(stderr, "s_grand_sum - expected_grand_sum = %lld\n",
+ s_grand_sum - expected_grand_sum);
fprintf(stderr, "Finished.\n");
return 0;
Modified: trunk/drd/tests/rwlock_test.stderr.exp
===================================================================
--- trunk/drd/tests/rwlock_test.stderr.exp 2009-07-24 10:51:11 UTC (rev 10591)
+++ trunk/drd/tests/rwlock_test.stderr.exp 2009-07-24 11:10:05 UTC (rev 10592)
@@ -1,5 +1,6 @@
-s_counter - thread_count * iterations = 0
+s_counter - expected_counter = 0
+s_grand_sum - expected_grand_sum = 0
Finished.
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Modified: trunk/drd/tests/rwlock_test.vgtest
===================================================================
--- trunk/drd/tests/rwlock_test.vgtest 2009-07-24 10:51:11 UTC (rev 10591)
+++ trunk/drd/tests/rwlock_test.vgtest 2009-07-24 11:10:05 UTC (rev 10592)
@@ -1 +1,2 @@
+vgopts: --check-stack-var=yes --read-var-info=yes --show-confl-seg=no
prog: rwlock_test
|
|
From: <sv...@va...> - 2009-07-24 10:51:19
|
Author: bart
Date: 2009-07-24 11:51:11 +0100 (Fri, 24 Jul 2009)
New Revision: 10591
Log:
Removed those suppression patterns that became superfluous because of r10584.
Modified:
trunk/darwin9-drd.supp
Modified: trunk/darwin9-drd.supp
===================================================================
--- trunk/darwin9-drd.supp 2009-07-24 09:34:37 UTC (rev 10590)
+++ trunk/darwin9-drd.supp 2009-07-24 10:51:11 UTC (rev 10591)
@@ -78,22 +78,11 @@
fun:cerror
}
{
- drd-darwin-libc-nanosleep
- drd:ConflictingAccess
- ...
- fun:nanosleep$UNIX2003
-}
-{
drd-darwin-libc-rand
drd:ConflictingAccess
fun:do_rand
}
{
- drd-darwin-libc-flockfile
- drd:ConflictingAccess
- fun:flockfile
-}
-{
drd-darwin-libc-vfprintf-1
drd:ConflictingAccess
fun:vfprintf_l
@@ -109,11 +98,6 @@
fun:localeconv_l
}
{
- drd-darwin-libc-fflush
- drd:ConflictingAccess
- fun:fflush
-}
-{
drd-darwin-libc-fwrite
drd:ConflictingAccess
...
@@ -164,12 +148,6 @@
fun:pthread_join$UNIX2003
}
{
- drd-darwin-pthread-join-2
- drd:ConflictingAccess
- obj:*
- fun:pthread_join*
-}
-{
drd-darwin-pthread-exit
drd:ConflictingAccess
...
|
|
From: <sv...@va...> - 2009-07-24 09:34:51
|
Author: bart
Date: 2009-07-24 10:34:37 +0100 (Fri, 24 Jul 2009)
New Revision: 10590
Log:
Made number of threads and number of iterations configurable. Decreased stack size allocated per thread.
Modified:
trunk/drd/tests/rwlock_test.c
Modified: trunk/drd/tests/rwlock_test.c
===================================================================
--- trunk/drd/tests/rwlock_test.c 2009-07-24 08:45:08 UTC (rev 10589)
+++ trunk/drd/tests/rwlock_test.c 2009-07-24 09:34:37 UTC (rev 10590)
@@ -8,20 +8,25 @@
#define _GNU_SOURCE 1
+#include <assert.h>
+#include <limits.h> /* PTHREAD_STACK_MIN */
#include <pthread.h>
#include <stdio.h>
+#include <stdlib.h> /* malloc() */
+#include <string.h> /* strerror() */
+#include <unistd.h> /* getopt() */
-#define NUM_ITERATIONS 1000
-
static pthread_rwlock_t s_rwlock;
static int s_counter;
+static int s_num_threads = 10;
+static int s_num_iterations = 1000;
static void* thread_func(void* arg)
{
int i;
int sum = 0;
- for (i = 0; i < NUM_ITERATIONS; i++)
+ for (i = s_num_iterations; i > 0; i--)
{
pthread_rwlock_rdlock(&s_rwlock);
sum += s_counter;
@@ -36,23 +41,57 @@
int main(int argc, char** argv)
{
- const int thread_count = 10;
- pthread_t tid[thread_count];
+ pthread_attr_t attr;
+ pthread_t* tid;
+ int threads_created;
+ int optchar;
+ int err;
int i;
+ while ((optchar = getopt(argc, argv, "i:t:")) != EOF)
+ {
+ switch (optchar)
+ {
+ case 'i':
+ s_num_iterations = atoi(optarg);
+ break;
+ case 't':
+ s_num_threads = atoi(optarg);
+ break;
+ default:
+ fprintf(stderr, "Error: unknown option '%c'.\n", optchar);
+ return 1;
+ }
+ }
+
pthread_rwlock_init(&s_rwlock, NULL);
- for (i = 0; i < thread_count; i++)
+
+ pthread_attr_init(&attr);
+ err = pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN + 4096);
+ assert(err == 0);
+
+ tid = calloc(s_num_threads, sizeof(*tid));
+ threads_created = 0;
+ for (i = 0; i < s_num_threads; i++)
{
- pthread_create(&tid[i], 0, thread_func, 0);
+ err = pthread_create(&tid[i], &attr, thread_func, 0);
+ if (err)
+ printf("failed to create thread %d: %s\n", i, strerror(err));
+ else
+ threads_created++;
}
- for (i = 0; i < thread_count; i++)
+ pthread_attr_destroy(&attr);
+
+ for (i = 0; i < s_num_threads; i++)
{
- pthread_join(tid[i], 0);
+ if (tid[i])
+ pthread_join(tid[i], 0);
}
+ free(tid);
fprintf(stderr, "s_counter - thread_count * iterations = %d\n",
- s_counter - thread_count * NUM_ITERATIONS);
+ s_counter - threads_created * s_num_iterations);
fprintf(stderr, "Finished.\n");
return 0;
|
|
From: <sv...@va...> - 2009-07-24 08:45:19
|
Author: sewardj
Date: 2009-07-24 09:45:08 +0100 (Fri, 24 Jul 2009)
New Revision: 10589
Log:
Various improvements:
* rename many functions to do with shadow memory handling, to
more clearly differentiate reads and writes directly of the
shadow state from client reads and writes, each of which
generate both a read and a write of the client state. It was
getting confusing (== hard to verify) in there.
* use idempotency of memory state machine transition rules to
speed up long sequential sections, speedups in range 0% to 28%
* remove 4-way Pord (EQ, LT, GT, UN) and associated machinery,
and replace it with something that merely computes LEQ in the
partial ordering, since that's all that is necessary, and
this simplifies some fast-case paths.
* add optional approx history mechanism a la DRD (start/end stack
of conflicting segment), much faster if you don't need exact
conflicting-access details
* libhb_so_recv: tick the VTS in the receiving thread; don't just
join with the VC in the SO. It's probably correct without this
modification, but that correctness is fragile and depends on
complex properties of how SOs are used/created. Much better to
be completely safe. (Needs cache-isation).
* get rid of unnecessary shadow memory state "SVal_NOACCESS"
and simplify associated fast-case paths in msmc{read,write}
Modified:
trunk/helgrind/hg_basics.c
trunk/helgrind/hg_basics.h
trunk/helgrind/hg_errors.c
trunk/helgrind/hg_errors.h
trunk/helgrind/hg_main.c
trunk/helgrind/libhb.h
trunk/helgrind/libhb_core.c
[... diff too large to include ...]
|
|
From: <sv...@va...> - 2009-07-24 08:42:53
|
Author: bart Date: 2009-07-24 09:42:38 +0100 (Fri, 24 Jul 2009) New Revision: 10588 Log: Updated Subversion ignore lists. Modified: trunk/memcheck/tests/ trunk/none/tests/ Property changes on: trunk/memcheck/tests ___________________________________________________________________ Name: svn:ignore - *.dSYM *.stderr.diff* *.stderr.out *.stdout.diff* *.stdout.out .deps addressable atomic_incs badaddrvalue badfree badjump badjump2 badloop badpoll badrw brk brk2 buflen_check clientperm clientstackperm custom_alloc deep_templates describe-block dir doublefree erringfds error_counts errs1 execve execve2 exitprog file_locking filter_leak_check_size filter_stderr fprw fwrite hello inits inline leak-0 leak-cases leak-cycle leak-pool leak-regroot leak-tree leakotron linux-capget linux-syscalls-2007 linux-syslog-syscall linux-timerfd-syscall long_namespace_xml lsframe1 lsframe2 Makefile Makefile.in mallinfo malloc1 malloc2 malloc3 malloc_free_fill malloc_usable manuel1 manuel2 manuel3 match-overrun memalign2 memalign_test memcmptest mempool metadata mismatches mmaptest nanoleak nanoleak2 nanoleak_supp new_nothrow new_override noisy_child null_socket origin1-yes origin2-not-quite origin3-no origin4-many origin5-bz2 origin6-fp oset_test overlap partiallydefinedeq partial_load pdb-realloc pdb-realloc2 pipe pointer-trace post-syscall realloc1 realloc2 realloc3 scalar scalar_exit_group scalar_fork scalar_supp scalar_vfork sh-mem sh-mem-random sigaltstack sigkill signal2 sigprocmask stack_changes stack_switch strchr str_tester supp1 supp2 suppfree supp_unknown threadederrno trivialleak unit_libcbase unit_oset varinfo1 varinfo2 varinfo3 varinfo4 varinfo5 varinfo5so.so varinfo6 vcpu_bz2 vcpu_fbench vcpu_fnfns vgtest_ume weirdioctl with space wrap1 wrap2 wrap3 wrap4 wrap5 wrap6 wrap7 wrap7so.so wrap8 writev xml1 zeropage + *.dSYM *.stderr.diff* *.stderr.out *.stdout.diff* *.stdout.out .deps addressable atomic_incs badaddrvalue badfree badjump badjump2 badloop badpoll badrw brk brk2 buflen_check calloc-overflow clientperm clientstackperm custom_alloc deep_templates describe-block dir doublefree erringfds error_counts errs1 execve execve2 exitprog file_locking filter_leak_check_size filter_stderr fprw fwrite hello inits inline leak-0 leak-cases leak-cycle leak-pool leak-regroot leak-tree leakotron linux-capget linux-syscalls-2007 linux-syslog-syscall linux-timerfd-syscall long-supps long_namespace_xml lsframe1 lsframe2 Makefile Makefile.in mallinfo malloc1 malloc2 malloc3 malloc_free_fill malloc_usable manuel1 manuel2 manuel3 match-overrun memalign2 memalign_test memcmptest mempool metadata mismatches mmaptest nanoleak nanoleak2 nanoleak_supp new_nothrow new_override noisy_child null_socket origin1-yes origin2-not-quite origin3-no origin4-many origin5-bz2 origin6-fp oset_test overlap partiallydefinedeq partial_load pdb-realloc pdb-realloc2 pipe pointer-trace post-syscall realloc1 realloc2 realloc3 scalar scalar_exit_group scalar_fork scalar_supp scalar_vfork sh-mem sh-mem-random sigaltstack sigkill signal2 sigprocmask stack_changes stack_switch strchr str_tester supp1 supp2 suppfree supp_unknown threadederrno trivialleak unit_libcbase unit_oset varinfo1 varinfo2 varinfo3 varinfo4 varinfo5 varinfo5so.so varinfo6 vcpu_bz2 vcpu_fbench vcpu_fnfns vgtest_ume weirdioctl with space wrap1 wrap2 wrap3 wrap4 wrap5 wrap6 wrap7 wrap7so.so wrap8 writev xml1 zeropage Property changes on: trunk/none/tests ___________________________________________________________________ Name: svn:ignore - *.dSYM *.so *.stderr.diff* *.stderr.out *.stdout.diff* *.stdout.out .deps ansi args async-sigs as_mmap as_shm bitfield1 blockfault bug129866 closeall coolo_sigaction coolo_strlen discard exec-sigmask execve faultstatus fcntl_setown fdleak_cmsg fdleak_creat fdleak_dup fdleak_dup2 fdleak_fcntl fdleak_ipv4 fdleak_open fdleak_pipe fdleak_socketpair floored fork fucomip gxx304 insn_basic insn_basic.c insn_cmov insn_cmov.c insn_fpu insn_fpu.c insn_mmx insn_mmx.c insn_mmxext insn_mmxext.c insn_sse insn_sse.c insn_sse2 insn_sse2.c Makefile Makefile.in manythreads map_unaligned map_unmap mq mremap mremap2 munmap_exe nestedfns pending pluto pth_atfork1 pth_blockedsig pth_cancel1 pth_cancel2 pth_cvsimple pth_detached pth_empty pth_exit pth_exit2 pth_mutexspeed pth_once pth_rwlock pth_semaphore1 pth_simple_mutex pth_simple_threads pth_specific pth_stackalign pth_yield rcrl readline1 resolv res_search rlimit_nofile selfrun sem semlimit sha1_test shortpush shorts sigstackgrowth smc1 stackgrowth susphello syscall-restart1 syscall-restart2 syslog system thread-exits threaded-fork threadederrno tls vgcore.* vgprintf yield + *.dSYM *.so *.stderr.diff* *.stderr.out *.stdout.diff* *.stdout.out .deps ansi args async-sigs as_mmap as_shm bitfield1 blockfault bug129866 closeall coolo_sigaction coolo_strlen discard exec-sigmask execve faultstatus fcntl_setown fdleak_cmsg fdleak_creat fdleak_dup fdleak_dup2 fdleak_fcntl fdleak_ipv4 fdleak_open fdleak_pipe fdleak_socketpair floored fork fucomip gxx304 insn_basic insn_basic.c insn_cmov insn_cmov.c insn_fpu insn_fpu.c insn_mmx insn_mmx.c insn_mmxext insn_mmxext.c insn_sse insn_sse.c insn_sse2 insn_sse2.c Makefile Makefile.in manythreads map_unaligned map_unmap mq mremap mremap2 munmap_exe nestedfns pending pluto pth_atfork1 pth_blockedsig pth_cancel1 pth_cancel2 pth_cvsimple pth_detached pth_empty pth_exit pth_exit2 pth_mutexspeed pth_once pth_rwlock pth_semaphore1 pth_simple_mutex pth_simple_threads pth_specific pth_stackalign pth_yield rcrl readline1 resolv res_search rlimit_nofile selfrun sem semlimit sha1_test shortpush shorts sigstackgrowth smc1 stackgrowth susphello syscall-restart1 syscall-restart2 syslog system thread-exits threaded-fork threadederrno timestamp tls vgcore.* vgprintf yield |
|
From: <sv...@va...> - 2009-07-24 08:42:23
|
Author: sewardj
Date: 2009-07-24 09:42:07 +0100 (Fri, 24 Jul 2009)
New Revision: 10587
Log:
Oops, this should have been included in r10583 ("New methods in WordXA:")
Modified:
trunk/include/pub_tool_xarray.h
Modified: trunk/include/pub_tool_xarray.h
===================================================================
--- trunk/include/pub_tool_xarray.h 2009-07-24 08:36:18 UTC (rev 10586)
+++ trunk/include/pub_tool_xarray.h 2009-07-24 08:42:07 UTC (rev 10587)
@@ -84,6 +84,18 @@
extern Bool VG_(lookupXA) ( XArray*, void* key,
/*OUT*/Word* first, /*OUT*/Word* last );
+/* A version of VG_(lookupXA) in which you can specify your own
+ comparison function. This is unsafe in the sense that if the array
+ is not totally ordered as defined by your comparison function, then
+ this function may loop indefinitely, so it is up to you to ensure
+ that the array is suitably ordered. This is in comparison to
+ VG_(lookupXA), which refuses to do anything (asserts) unless the
+ array has first been sorted using the same comparison function as
+ is being used for the lookup. */
+extern Bool VG_(lookupXA_UNSAFE) ( XArray* xao, void* key,
+ /*OUT*/Word* first, /*OUT*/Word* last,
+ Int(*cmpFn)(void*,void*) );
+
/* How elements are there in this XArray now? */
extern Word VG_(sizeXA) ( XArray* );
@@ -97,9 +109,14 @@
extern void* VG_(indexXA) ( XArray*, Word );
/* Drop the last n elements of an XArray. Bombs if there are less
- than n elements in the array. */
+ than n elements in the array. This is an O(1) operation. */
extern void VG_(dropTailXA) ( XArray*, Word );
+/* Drop the first n elements of an XArray. Bombs if there are less
+ than n elements in the array. This is an O(N) operation, where N
+ is the number of elements remaining in the XArray. */
+extern void VG_(dropHeadXA) ( XArray*, Word );
+
/* Make a new, completely independent copy of the given XArray, using
the existing allocation function to allocate the new space.
Returns NULL if the allocation function didn't manage to allocate
|
|
From: <sv...@va...> - 2009-07-24 08:36:33
|
Author: bart
Date: 2009-07-24 09:36:18 +0100 (Fri, 24 Jul 2009)
New Revision: 10586
Log:
Made test output operating system independent by suppressing information about conflicting segments.
Modified:
trunk/drd/tests/tc01_simple_race.stderr.exp
trunk/drd/tests/tc01_simple_race.vgtest
trunk/drd/tests/tc16_byterace.stderr.exp
trunk/drd/tests/tc16_byterace.vgtest
Modified: trunk/drd/tests/tc01_simple_race.stderr.exp
===================================================================
--- trunk/drd/tests/tc01_simple_race.stderr.exp 2009-07-24 08:22:35 UTC (rev 10585)
+++ trunk/drd/tests/tc01_simple_race.stderr.exp 2009-07-24 08:36:18 UTC (rev 10586)
@@ -3,18 +3,10 @@
at 0x........: main (tc01_simple_race.c:28)
Location 0x........ is 0 bytes inside global var "x"
declared at tc01_simple_race.c:9
-Other segment start (thread 2)
- (thread finished, call stack no longer available)
-Other segment end (thread 2)
- (thread finished, call stack no longer available)
Conflicting store by thread 1 at 0x........ size 4
at 0x........: main (tc01_simple_race.c:28)
Location 0x........ is 0 bytes inside global var "x"
declared at tc01_simple_race.c:9
-Other segment start (thread 2)
- (thread finished, call stack no longer available)
-Other segment end (thread 2)
- (thread finished, call stack no longer available)
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Modified: trunk/drd/tests/tc01_simple_race.vgtest
===================================================================
--- trunk/drd/tests/tc01_simple_race.vgtest 2009-07-24 08:22:35 UTC (rev 10585)
+++ trunk/drd/tests/tc01_simple_race.vgtest 2009-07-24 08:36:18 UTC (rev 10586)
@@ -1,3 +1,3 @@
prereq: ./supported_libpthread
-vgopts: --read-var-info=yes
+vgopts: --check-stack-var=yes --read-var-info=yes --show-confl-seg=no
prog: ../../helgrind/tests/tc01_simple_race
Modified: trunk/drd/tests/tc16_byterace.stderr.exp
===================================================================
--- trunk/drd/tests/tc16_byterace.stderr.exp 2009-07-24 08:22:35 UTC (rev 10585)
+++ trunk/drd/tests/tc16_byterace.stderr.exp 2009-07-24 08:36:18 UTC (rev 10586)
@@ -3,18 +3,10 @@
at 0x........: main (tc16_byterace.c:34)
Location 0x........ is 0 bytes inside bytes[4],
a global variable declared at tc16_byterace.c:7
-Other segment start (thread 2)
- (thread finished, call stack no longer available)
-Other segment end (thread 2)
- (thread finished, call stack no longer available)
Conflicting store by thread 1 at 0x........ size 1
at 0x........: main (tc16_byterace.c:34)
Location 0x........ is 0 bytes inside bytes[4],
a global variable declared at tc16_byterace.c:7
-Other segment start (thread 2)
- (thread finished, call stack no longer available)
-Other segment end (thread 2)
- (thread finished, call stack no longer available)
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Modified: trunk/drd/tests/tc16_byterace.vgtest
===================================================================
--- trunk/drd/tests/tc16_byterace.vgtest 2009-07-24 08:22:35 UTC (rev 10585)
+++ trunk/drd/tests/tc16_byterace.vgtest 2009-07-24 08:36:18 UTC (rev 10586)
@@ -1,3 +1,3 @@
prereq: ./supported_libpthread
-vgopts: --read-var-info=yes
+vgopts: --check-stack-var=yes --read-var-info=yes --show-confl-seg=no
prog: ../../helgrind/tests/tc16_byterace
|
|
From: <sv...@va...> - 2009-07-24 08:22:53
|
Author: sewardj
Date: 2009-07-24 09:22:35 +0100 (Fri, 24 Jul 2009)
New Revision: 10585
Log:
Update.
Modified:
trunk/docs/internals/howto_oprofile.txt
Modified: trunk/docs/internals/howto_oprofile.txt
===================================================================
--- trunk/docs/internals/howto_oprofile.txt 2009-07-24 08:20:10 UTC (rev 10584)
+++ trunk/docs/internals/howto_oprofile.txt 2009-07-24 08:22:35 UTC (rev 10585)
@@ -10,13 +10,18 @@
# stop the profiler and dump results to .. um .. some file somewhere
opcontrol --stop ; opcontrol --dump
+# get total cost
+opreport --merge=tgid -x \
+ /home/sewardj/VgTRUNK/atomk/Inst/lib/valgrind/helgrind-amd64-linux \
+ | less
+
# produce a flat profile
opreport --merge=tgid --symbols -x \
/home/sewardj/VgTRUNK/atomk/Inst/lib/valgrind/helgrind-amd64-linux \
| less
# produce a profile w/ callgraph
-opreport --merge=tgid --callgraph \
+opreport --merge=tgid --callgraph -x \
/home/sewardj/VgTRUNK/atomk/Inst/lib/valgrind/helgrind-amd64-linux \
| less
|
|
From: <sv...@va...> - 2009-07-24 08:20:19
|
Author: bart
Date: 2009-07-24 09:20:10 +0100 (Fri, 24 Jul 2009)
New Revision: 10584
Log:
Replaced code for suppressing the stack memory in use at the time a
thread is being created by code for suppressing the memory allocated
from inside the pthread_create() call. The new implementation should be
a more portable solution for suppressing data races triggered by the
thread-local-storage implementation of a Pthreads library.
Modified:
trunk/drd/drd_clientreq.c
trunk/drd/drd_clientreq.h
trunk/drd/drd_main.c
trunk/drd/drd_pthread_intercepts.c
trunk/drd/drd_thread.c
trunk/drd/drd_thread.h
Modified: trunk/drd/drd_clientreq.c
===================================================================
--- trunk/drd/drd_clientreq.c 2009-07-24 08:11:39 UTC (rev 10583)
+++ trunk/drd/drd_clientreq.c 2009-07-24 08:20:10 UTC (rev 10584)
@@ -47,7 +47,9 @@
/* Local function declarations. */
static Bool handle_client_request(ThreadId vg_tid, UWord* arg, UWord* ret);
+#if 0
static Addr highest_used_stack_address(const ThreadId vg_tid);
+#endif
/* Function definitions. */
@@ -175,6 +177,7 @@
case VG_USERREQ__DRD_SUPPRESS_CURRENT_STACK:
{
+#if 0
const Addr topmost_sp = highest_used_stack_address(vg_tid);
#if 0
UInt nframes;
@@ -201,6 +204,7 @@
DRD_(thread_set_stack_startup)(drd_tid, VG_(get_SP)(vg_tid));
DRD_(start_suppression)(topmost_sp, VG_(thread_get_stack_max)(vg_tid),
"stack top");
+#endif
break;
}
@@ -235,6 +239,14 @@
(Bool)arg[2]);
break;
+ case VG_USERREQ__ENTERING_PTHREAD_CREATE:
+ DRD_(thread_entering_pthread_create)(drd_tid);
+ break;
+
+ case VG_USERREQ__LEFT_PTHREAD_CREATE:
+ DRD_(thread_left_pthread_create)(drd_tid);
+ break;
+
case VG_USERREQ__POST_THREAD_JOIN:
tl_assert(arg[1]);
DRD_(thread_post_join)(drd_tid, DRD_(PtThreadIdToDrdThreadId)(arg[1]));
@@ -492,6 +504,7 @@
return True;
}
+#if 0
/**
* Walk the stack up to the highest stack frame, and return the stack pointer
* of the highest stack frame. It is assumed that there are no more than
@@ -535,3 +548,4 @@
return husa;
}
+#endif
Modified: trunk/drd/drd_clientreq.h
===================================================================
--- trunk/drd/drd_clientreq.h 2009-07-24 08:11:39 UTC (rev 10583)
+++ trunk/drd/drd_clientreq.h 2009-07-24 08:20:10 UTC (rev 10584)
@@ -62,6 +62,13 @@
VG_USERREQ__SET_JOINABLE,
/* args: pthread_t, Bool */
+ /* Tell DRD that the calling thread is about to enter pthread_create(). */
+ VG_USERREQ__ENTERING_PTHREAD_CREATE,
+ /* args: (none) */
+ /* Tell DRD that the calling thread has left pthread_create(). */
+ VG_USERREQ__LEFT_PTHREAD_CREATE,
+ /* args: (none) */
+
/* To notify drd that a thread finished because */
/* pthread_thread_join() was called on it. */
VG_USERREQ__POST_THREAD_JOIN,
Modified: trunk/drd/drd_main.c
===================================================================
--- trunk/drd/drd_main.c 2009-07-24 08:11:39 UTC (rev 10583)
+++ trunk/drd/drd_main.c 2009-07-24 08:20:10 UTC (rev 10584)
@@ -291,6 +291,11 @@
{
DRD_(trace_mem_access)(a1, len, eStart);
}
+
+ if (UNLIKELY(DRD_(running_thread_inside_pthread_create)()))
+ {
+ DRD_(start_suppression)(a1, a1 + len, "pthread_create()");
+ }
}
static void drd_start_using_mem_w_ecu(const Addr a1,
Modified: trunk/drd/drd_pthread_intercepts.c
===================================================================
--- trunk/drd/drd_pthread_intercepts.c 2009-07-24 08:11:39 UTC (rev 10583)
+++ trunk/drd/drd_pthread_intercepts.c 2009-07-24 08:20:10 UTC (rev 10584)
@@ -191,8 +191,25 @@
tid, joinable, 0, 0, 0);
}
+/** Tell DRD that the calling thread is about to enter pthread_create(). */
+static __inline__ void DRD_(entering_pthread_create)(void)
+{
+ int res;
+ VALGRIND_DO_CLIENT_REQUEST(res, 0, VG_USERREQ__ENTERING_PTHREAD_CREATE,
+ 0, 0, 0, 0, 0);
+}
+
+/** Tell DRD that the calling thread has left pthread_create(). */
+static __inline__ void DRD_(left_pthread_create)(void)
+{
+ int res;
+ VALGRIND_DO_CLIENT_REQUEST(res, 0, VG_USERREQ__LEFT_PTHREAD_CREATE,
+ 0, 0, 0, 0, 0);
+}
+
/**
- * The function called from the thread created by pthread_create().
+ * Entry point for newly created threads. This function is called from the
+ * thread created by pthread_create().
*/
static void* DRD_(thread_wrapper)(void* arg)
{
@@ -300,7 +317,8 @@
/*
- * Note: as of today there exist three different versions of pthread_create:
+ * Note: as of today there exist three different versions of pthread_create
+ * in Linux:
* - pthread_create@GLIBC_2.0
* - pthread_create@@GLIBC_2.1
* - pthread_create@@GLIBC_2.2.5
@@ -360,7 +378,10 @@
assert(thread_args_p->detachstate == PTHREAD_CREATE_JOINABLE
|| thread_args_p->detachstate == PTHREAD_CREATE_DETACHED);
+
+ DRD_(entering_pthread_create)();
CALL_FN_W_WWWW(ret, fn, thread, attr, DRD_(thread_wrapper), thread_args_p);
+ DRD_(left_pthread_create)();
#if defined(WAIT_UNTIL_CREATED_THREAD_STARTED)
if (ret == 0)
Modified: trunk/drd/drd_thread.c
===================================================================
--- trunk/drd/drd_thread.c 2009-07-24 08:11:39 UTC (rev 10583)
+++ trunk/drd/drd_thread.c 2009-07-24 08:20:10 UTC (rev 10584)
@@ -184,6 +184,7 @@
DRD_(thread_set_name)(i, "");
DRD_(g_threadinfo)[i].is_recording_loads = True;
DRD_(g_threadinfo)[i].is_recording_stores = True;
+ DRD_(g_threadinfo)[i].pthread_create_nesting_level = 0;
DRD_(g_threadinfo)[i].synchr_nesting = 0;
tl_assert(DRD_(g_threadinfo)[i].first == 0);
tl_assert(DRD_(g_threadinfo)[i].last == 0);
@@ -520,6 +521,28 @@
DRD_(g_threadinfo)[tid].detached_posix_thread = ! joinable;
}
+/** Tells DRD that the calling thread is about to enter pthread_create(). */
+void DRD_(thread_entering_pthread_create)(const DrdThreadId tid)
+{
+ tl_assert(0 <= (int)tid && tid < DRD_N_THREADS
+ && tid != DRD_INVALID_THREADID);
+ tl_assert(DRD_(g_threadinfo)[tid].pt_threadid != INVALID_POSIX_THREADID);
+ tl_assert(DRD_(g_threadinfo)[tid].pthread_create_nesting_level >= 0);
+
+ DRD_(g_threadinfo)[tid].pthread_create_nesting_level++;
+}
+
+/** Tells DRD that the calling thread has left pthread_create(). */
+void DRD_(thread_left_pthread_create)(const DrdThreadId tid)
+{
+ tl_assert(0 <= (int)tid && tid < DRD_N_THREADS
+ && tid != DRD_INVALID_THREADID);
+ tl_assert(DRD_(g_threadinfo)[tid].pt_threadid != INVALID_POSIX_THREADID);
+ tl_assert(DRD_(g_threadinfo)[tid].pthread_create_nesting_level > 0);
+
+ DRD_(g_threadinfo)[tid].pthread_create_nesting_level--;
+}
+
/** Obtain the thread number and the user-assigned thread name. */
const char* DRD_(thread_get_name)(const DrdThreadId tid)
{
Modified: trunk/drd/drd_thread.h
===================================================================
--- trunk/drd/drd_thread.h 2009-07-24 08:11:39 UTC (rev 10583)
+++ trunk/drd/drd_thread.h 2009-07-24 08:20:10 UTC (rev 10584)
@@ -90,6 +90,8 @@
Bool is_recording_loads;
/** Wether recording of memory load accesses is currently enabled. */
Bool is_recording_stores;
+ /** pthread_create() nesting level. */
+ Int pthread_create_nesting_level;
/** Nesting level of synchronization functions called by the client. */
Int synchr_nesting;
} ThreadInfo;
@@ -143,6 +145,8 @@
void DRD_(thread_set_pthreadid)(const DrdThreadId tid, const PThreadId ptid);
Bool DRD_(thread_get_joinable)(const DrdThreadId tid);
void DRD_(thread_set_joinable)(const DrdThreadId tid, const Bool joinable);
+void DRD_(thread_entering_pthread_create)(const DrdThreadId tid);
+void DRD_(thread_left_pthread_create)(const DrdThreadId tid);
const char* DRD_(thread_get_name)(const DrdThreadId tid);
void DRD_(thread_set_name)(const DrdThreadId tid, const char* const name);
void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid);
@@ -209,7 +213,9 @@
static __inline__
DrdThreadId DRD_(thread_get_running_tid)(void)
{
+#ifdef ENABLE_DRD_CONSISTENCY_CHECKS
tl_assert(DRD_(g_drd_running_tid) != DRD_INVALID_THREADID);
+#endif
return DRD_(g_drd_running_tid);
}
@@ -221,10 +227,21 @@
}
/**
- * Reports whether or not memory access recording is enabled for the
- * currently running thread.
+ * Reports whether or not the currently running client thread is executing code
+ * inside the pthread_create() function.
*/
static __inline__
+Bool DRD_(running_thread_inside_pthread_create)(void)
+{
+ return (DRD_(g_threadinfo)[DRD_(g_drd_running_tid)]
+ .pthread_create_nesting_level > 0);
+}
+
+/**
+ * Reports whether or not recording of memory loads is enabled for the
+ * currently running client thread.
+ */
+static __inline__
Bool DRD_(running_thread_is_recording_loads)(void)
{
#ifdef ENABLE_DRD_CONSISTENCY_CHECKS
@@ -236,6 +253,10 @@
&& DRD_(g_threadinfo)[DRD_(g_drd_running_tid)].is_recording_loads);
}
+/**
+ * Reports whether or not recording memory stores is enabled for the
+ * currently running client thread.
+ */
static __inline__
Bool DRD_(running_thread_is_recording_stores)(void)
{
|
|
From: <sv...@va...> - 2009-07-24 08:11:51
|
Author: sewardj
Date: 2009-07-24 09:11:39 +0100 (Fri, 24 Jul 2009)
New Revision: 10583
Log:
New methods in WordXA:
* lookupXA_UNSAFE -- binary search in array without being forced
to sortXA it first -- dangerous because if the array isn't in order
then the lookup can loop forever
* dropHeadXA -- drop the first N elements (kinda like dropTailXA, but
unfortunately O(N) not O(1)), so that xarrays can be used to
implement FIFOs, after a fashion.
Modified:
trunk/coregrind/m_xarray.c
Modified: trunk/coregrind/m_xarray.c
===================================================================
--- trunk/coregrind/m_xarray.c 2009-07-24 07:54:51 UTC (rev 10582)
+++ trunk/coregrind/m_xarray.c 2009-07-24 08:11:39 UTC (rev 10583)
@@ -225,14 +225,14 @@
xa->sorted = True;
}
-Bool VG_(lookupXA) ( XArray* xao, void* key, Word* first, Word* last )
+Bool VG_(lookupXA_UNSAFE) ( XArray* xao, void* key,
+ /*OUT*/Word* first, /*OUT*/Word* last,
+ Int(*cmpFn)(void*,void*) )
{
Word lo, mid, hi, cres;
void* midv;
struct _XArray* xa = (struct _XArray*)xao;
vg_assert(xa);
- vg_assert(xa->cmpFn);
- vg_assert(xa->sorted);
vg_assert(first);
vg_assert(last);
lo = 0;
@@ -242,23 +242,33 @@
if (lo > hi) return False; /* not found */
mid = (lo + hi) / 2;
midv = VG_(indexXA)( xa, mid );
- cres = xa->cmpFn( key, midv );
+ cres = cmpFn( key, midv );
if (cres < 0) { hi = mid-1; continue; }
if (cres > 0) { lo = mid+1; continue; }
/* Found it, at mid. See how far we can expand this. */
- vg_assert(xa->cmpFn( key, VG_(indexXA)(xa, lo) ) >= 0);
- vg_assert(xa->cmpFn( key, VG_(indexXA)(xa, hi) ) <= 0);
+ vg_assert(cmpFn( key, VG_(indexXA)(xa, lo) ) >= 0);
+ vg_assert(cmpFn( key, VG_(indexXA)(xa, hi) ) <= 0);
*first = *last = mid;
while (*first > 0
- && 0 == xa->cmpFn( key, VG_(indexXA)(xa, (*first)-1)))
+ && 0 == cmpFn( key, VG_(indexXA)(xa, (*first)-1)))
(*first)--;
while (*last < xa->usedsizeE-1
- && 0 == xa->cmpFn( key, VG_(indexXA)(xa, (*last)+1)))
+ && 0 == cmpFn( key, VG_(indexXA)(xa, (*last)+1)))
(*last)++;
return True;
}
}
+Bool VG_(lookupXA) ( XArray* xao, void* key,
+ /*OUT*/Word* first, /*OUT*/Word* last )
+{
+ struct _XArray* xa = (struct _XArray*)xao;
+ vg_assert(xa);
+ vg_assert(xa->cmpFn);
+ vg_assert(xa->sorted);
+ return VG_(lookupXA_UNSAFE)(xao, key, first, last, xa->cmpFn);
+}
+
Word VG_(sizeXA) ( XArray* xao )
{
struct _XArray* xa = (struct _XArray*)xao;
@@ -275,7 +285,28 @@
xa->usedsizeE -= n;
}
+void VG_(dropHeadXA) ( XArray* xao, Word n )
+{
+ struct _XArray* xa = (struct _XArray*)xao;
+ vg_assert(xa);
+ vg_assert(n >= 0);
+ vg_assert(n <= xa->usedsizeE);
+ if (n == 0) {
+ return;
+ }
+ if (n == xa->usedsizeE) {
+ xa->usedsizeE = 0;
+ return;
+ }
+ vg_assert(n > 0);
+ vg_assert(xa->usedsizeE - n > 0);
+ VG_(memcpy)( (char*)xa->arr,
+ ((char*)xa->arr) + n * xa->elemSzB,
+ (xa->usedsizeE - n) * xa->elemSzB );
+ xa->usedsizeE -= n;
+}
+
/*--------------------------------------------------------------------*/
/*--- end m_xarray.c ---*/
/*--------------------------------------------------------------------*/
|
|
From: Bart V. A. <bar...@gm...> - 2009-07-24 07:55:47
|
Nightly build on georgia-tech-cellbuzz-native ( cellbuzz, ppc64, Fedora 7, native ) Started at 2009-07-24 02:15:52 EDT Ended at 2009-07-24 03:55:28 EDT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 431 tests, 43 stderr failures, 9 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cases-full (stderr) memcheck/tests/leak-cases-summary (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stderr) none/tests/empty-exe (stderr) none/tests/linux/mremap (stderr) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (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/hg05_race2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc23_bogus_condwait (stderr) exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/hsg (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 427 tests, 44 stderr failures, 10 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) memcheck/tests/leak-cases-full (stderr) memcheck/tests/leak-cases-summary (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stderr) none/tests/empty-exe (stderr) none/tests/linux/mremap (stderr) none/tests/linux/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/jm-vmx (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (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/hg05_race2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/tc23_bogus_condwait (stderr) exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/hsg (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Fri Jul 24 03:06:31 2009 --- new.short Fri Jul 24 03:55:28 2009 *************** *** 8,10 **** ! == 427 tests, 44 stderr failures, 10 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) --- 8,10 ---- ! == 431 tests, 43 stderr failures, 9 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) *************** *** 23,25 **** none/tests/linux/mremap (stderr) - none/tests/linux/mremap2 (stdout) none/tests/ppc32/jm-fp (stdout) --- 23,24 ---- *************** *** 40,42 **** helgrind/tests/tc23_bogus_condwait (stderr) - drd/tests/tc23_bogus_condwait (stderr) exp-ptrcheck/tests/bad_percentify (stderr) --- 39,40 ---- |
|
From: <sv...@va...> - 2009-07-24 07:55:08
|
Author: njn
Date: 2009-07-24 08:54:51 +0100 (Fri, 24 Jul 2009)
New Revision: 10582
Log:
Fix a compile warning.
Modified:
trunk/drd/drd_error.c
Modified: trunk/drd/drd_error.c
===================================================================
--- trunk/drd/drd_error.c 2009-07-24 07:38:29 UTC (rev 10581)
+++ trunk/drd/drd_error.c 2009-07-24 07:54:51 UTC (rev 10582)
@@ -424,7 +424,7 @@
}
static
-Bool drd_tool_error_read_extra(Int fd, Char* buf, Int nBuf, Supp* supp)
+Bool drd_tool_error_read_extra(Int fd, Char** bufpp, SizeT* nBufp, Supp* supp)
{
return True;
}
|
|
From: <sv...@va...> - 2009-07-24 07:38:43
|
Author: njn
Date: 2009-07-24 08:38:29 +0100 (Fri, 24 Jul 2009)
New Revision: 10581
Log:
A fix for bug 186796: suppression symbol names were being truncated if they
were longer than 200 chars. Now dynamic memory is used and so they can be
arbitrarily long in theory, although in practice it bombs out at 100,000 for
sanity purposes. This required adjusting the core/tool interface for
read_extra_suppression_info().
Added:
trunk/memcheck/tests/long-supps.c
trunk/memcheck/tests/long-supps.stderr.exp
trunk/memcheck/tests/long-supps.supp
trunk/memcheck/tests/long-supps.vgtest
Modified:
trunk/coregrind/m_errormgr.c
trunk/coregrind/m_tooliface.c
trunk/coregrind/pub_core_tooliface.h
trunk/exp-ptrcheck/pc_common.c
trunk/exp-ptrcheck/pc_common.h
trunk/helgrind/hg_errors.c
trunk/helgrind/hg_errors.h
trunk/include/pub_tool_errormgr.h
trunk/include/pub_tool_tooliface.h
trunk/memcheck/mc_errors.c
trunk/memcheck/mc_include.h
trunk/memcheck/tests/Makefile.am
Modified: trunk/coregrind/m_errormgr.c
===================================================================
--- trunk/coregrind/m_errormgr.c 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/coregrind/m_errormgr.c 2009-07-24 07:38:29 UTC (rev 10581)
@@ -964,14 +964,12 @@
return 1;
}
-
-/* Get a non-blank, non-comment line of at most nBuf chars from fd.
- Skips leading spaces on the line. Return True if EOF was hit instead.
-*/
-Bool VG_(get_line) ( Int fd, Char* buf, Int nBuf )
+Bool VG_(get_line) ( Int fd, Char** bufpp, SizeT* nBufp )
{
- Char ch;
- Int n, i;
+ Char* buf = *bufpp;
+ SizeT nBuf = *nBufp;
+ Char ch;
+ Int n, i;
while (True) {
/* First, read until a non-blank char appears. */
while (True) {
@@ -987,7 +985,14 @@
n = get_char(fd, &ch);
if (n <= 0) return False; /* the next call will return True */
if (ch == '\n') break;
- if (i > 0 && i == nBuf-1) i--;
+ if (i > 0 && i == nBuf-1) {
+ *nBufp = nBuf = nBuf * 2;
+ #define RIDICULOUS 100000
+ vg_assert2(nBuf < RIDICULOUS, // Just a sanity check, really.
+ "VG_(get_line): line longer than %d chars, aborting\n",
+ RIDICULOUS);
+ *bufpp = buf = VG_(realloc)("errormgr.get_line.1", buf, nBuf);
+ }
buf[i++] = ch; buf[i] = 0;
}
while (i > 1 && VG_(isspace)(buf[i-1])) {
@@ -1053,11 +1058,11 @@
*/
static void load_one_suppressions_file ( Char* filename )
{
-# define N_BUF 200
SysRes sres;
Int fd, i, j, lineno = 0;
Bool eof;
- Char buf[N_BUF+1];
+ SizeT nBuf = 200;
+ Char* buf = VG_(malloc)("errormgr.losf.1", nBuf);
Char* tool_names;
Char* supp_name;
Char* err_str = NULL;
@@ -1098,20 +1103,20 @@
supp->string = supp->extra = NULL;
- eof = VG_(get_line) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, &buf, &nBuf );
lineno++;
if (eof) break;
if (!VG_STREQ(buf, "{")) BOMB("expected '{' or end-of-file");
- eof = VG_(get_line) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, &buf, &nBuf );
lineno++;
if (eof || VG_STREQ(buf, "}")) BOMB("unexpected '}'");
supp->sname = VG_(arena_strdup)(VG_AR_CORE, "errormgr.losf.2", buf);
- eof = VG_(get_line) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, &buf, &nBuf );
lineno++;
if (eof) BOMB("unexpected end-of-file");
@@ -1150,7 +1155,7 @@
else {
// Ignore rest of suppression
while (True) {
- eof = VG_(get_line) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, &buf, &nBuf );
lineno++;
if (eof) BOMB("unexpected end-of-file");
if (VG_STREQ(buf, "}"))
@@ -1161,7 +1166,7 @@
if (VG_(needs).tool_errors &&
!VG_TDICT_CALL(tool_read_extra_suppression_info,
- fd, buf, N_BUF, supp))
+ fd, &buf, &nBuf, supp))
{
BOMB("bad or missing extra suppression info");
}
@@ -1169,7 +1174,7 @@
/* the main frame-descriptor reading loop */
i = 0;
while (True) {
- eof = VG_(get_line) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, &buf, &nBuf );
lineno++;
if (eof)
BOMB("unexpected end-of-file");
@@ -1196,7 +1201,7 @@
// lines and grab the '}'.
if (!VG_STREQ(buf, "}")) {
do {
- eof = VG_(get_line) ( fd, buf, N_BUF );
+ eof = VG_(get_line) ( fd, &buf, &nBuf );
lineno++;
} while (!eof && !VG_STREQ(buf, "}"));
}
@@ -1227,6 +1232,7 @@
supp->next = suppressions;
suppressions = supp;
}
+ VG_(free)(buf);
VG_(close)(fd);
return;
@@ -1242,7 +1248,6 @@
VG_(exit)(1);
# undef BOMB
-# undef N_BUF
}
Modified: trunk/coregrind/m_tooliface.c
===================================================================
--- trunk/coregrind/m_tooliface.c 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/coregrind/m_tooliface.c 2009-07-24 07:38:29 UTC (rev 10581)
@@ -230,7 +230,7 @@
Bool show_TIDs,
UInt (*update) (Error*),
Bool (*recog) (Char*, Supp*),
- Bool (*read_extra) (Int, Char*, Int, Supp*),
+ Bool (*read_extra) (Int, Char**, SizeT*, Supp*),
Bool (*matches) (Error*, Supp*),
Char* (*name) (Error*),
void (*print_extra)(Error*)
Modified: trunk/coregrind/pub_core_tooliface.h
===================================================================
--- trunk/coregrind/pub_core_tooliface.h 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/coregrind/pub_core_tooliface.h 2009-07-24 07:38:29 UTC (rev 10581)
@@ -122,7 +122,7 @@
Bool tool_show_ThreadIDs_for_errors;
UInt (*tool_update_extra) (Error*);
Bool (*tool_recognised_suppression) (Char*, Supp*);
- Bool (*tool_read_extra_suppression_info) (Int, Char*, Int, Supp*);
+ Bool (*tool_read_extra_suppression_info) (Int, Char**, SizeT*, Supp*);
Bool (*tool_error_matches_suppression) (Error*, Supp*);
Char* (*tool_get_error_name) (Error*);
void (*tool_print_extra_suppression_info)(Error*);
Modified: trunk/exp-ptrcheck/pc_common.c
===================================================================
--- trunk/exp-ptrcheck/pc_common.c 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/exp-ptrcheck/pc_common.c 2009-07-24 07:38:29 UTC (rev 10581)
@@ -736,14 +736,14 @@
return True;
}
-Bool pc_read_extra_suppression_info ( Int fd, Char* buf,
- Int nBuf, Supp* su )
+Bool pc_read_extra_suppression_info ( Int fd, Char** bufpp,
+ SizeT* nBufp, Supp* su )
{
Bool eof;
if (VG_(get_supp_kind)(su) == XS_SysParam) {
- eof = VG_(get_line) ( fd, buf, nBuf );
+ eof = VG_(get_line) ( fd, bufpp, nBufp );
if (eof) return False;
- VG_(set_supp_string)(su, VG_(strdup)("pc.common.presi.1", buf));
+ VG_(set_supp_string)(su, VG_(strdup)("pc.common.presi.1", *bufpp));
}
return True;
}
Modified: trunk/exp-ptrcheck/pc_common.h
===================================================================
--- trunk/exp-ptrcheck/pc_common.h 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/exp-ptrcheck/pc_common.h 2009-07-24 07:38:29 UTC (rev 10581)
@@ -52,8 +52,8 @@
void pc_pp_Error ( Error* err );
UInt pc_update_Error_extra ( Error* err );
Bool pc_is_recognised_suppression ( Char* name, Supp *su );
-Bool pc_read_extra_suppression_info ( Int fd, Char* buf,
- Int nBuf, Supp* su );
+Bool pc_read_extra_suppression_info ( Int fd, Char** bufpp,
+ SizeT* nBufp, Supp* su );
Bool pc_error_matches_suppression (Error* err, Supp* su);
Char* pc_get_error_name ( Error* err );
void pc_print_extra_suppression_info ( Error* err );
Modified: trunk/helgrind/hg_errors.c
===================================================================
--- trunk/helgrind/hg_errors.c 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/helgrind/hg_errors.c 2009-07-24 07:38:29 UTC (rev 10581)
@@ -1006,7 +1006,7 @@
# undef TRY
}
-Bool HG_(read_extra_suppression_info) ( Int fd, Char* buf, Int nBuf,
+Bool HG_(read_extra_suppression_info) ( Int fd, Char** bufpp, SizeT* nBufp,
Supp* su )
{
/* do nothing -- no extra suppression info present. Return True to
Modified: trunk/helgrind/hg_errors.h
===================================================================
--- trunk/helgrind/hg_errors.h 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/helgrind/hg_errors.h 2009-07-24 07:38:29 UTC (rev 10581)
@@ -40,7 +40,7 @@
void HG_(pp_Error) ( Error* err );
UInt HG_(update_extra) ( Error* err );
Bool HG_(recognised_suppression) ( Char* name, Supp *su );
-Bool HG_(read_extra_suppression_info) ( Int fd, Char* buf, Int nBuf,
+Bool HG_(read_extra_suppression_info) ( Int fd, Char** bufpp, SizeT* nBufp,
Supp* su );
Bool HG_(error_matches_suppression) ( Error* err, Supp* su );
Char* HG_(get_error_name) ( Error* err );
Modified: trunk/include/pub_tool_errormgr.h
===================================================================
--- trunk/include/pub_tool_errormgr.h 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/include/pub_tool_errormgr.h 2009-07-24 07:38:29 UTC (rev 10581)
@@ -87,10 +87,13 @@
ExeContext* where, Bool print_error,
Bool allow_GDB_attach, Bool count_error );
-/* Gets a non-blank, non-comment line of at most nBuf chars from fd.
- Skips leading spaces on the line. Returns True if EOF was hit instead.
- Useful for reading in extra tool-specific suppression lines. */
-extern Bool VG_(get_line) ( Int fd, Char* buf, Int nBuf );
+/* Gets a non-blank, non-comment line from fd. bufpp is a pointer to a
+ pointer to a buffer that must be allocated with VG_(malloc); nBufp is a
+ pointer to size_t holding its size; if the buffer is too small for the
+ line, it will be realloc'd until big enough (updating *bufpp and *nBufp in
+ the process). (It will bomb out if the size gets ridiculous). Skips
+ leading spaces on the line. Returns True if EOF was hit instead. */
+extern Bool VG_(get_line) ( Int fd, Char** bufpp, SizeT* nBufp );
/* ------------------------------------------------------------------ */
Modified: trunk/include/pub_tool_tooliface.h
===================================================================
--- trunk/include/pub_tool_tooliface.h 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/include/pub_tool_tooliface.h 2009-07-24 07:38:29 UTC (rev 10581)
@@ -316,8 +316,10 @@
// Read any extra info for this suppression kind. Most likely for filling
// in the `extra' and `string' parts (with VG_(set_supp_{extra, string})())
// of a suppression if necessary. Should return False if a syntax error
- // occurred, True otherwise.
- Bool (*read_extra_suppression_info)(Int fd, Char* buf, Int nBuf, Supp* su),
+ // occurred, True otherwise. bufpp and nBufp are the same as for
+ // VG_(get_line).
+ Bool (*read_extra_suppression_info)(Int fd, Char** bufpp, SizeT* nBufp,
+ Supp* su),
// This should just check the kinds match and maybe some stuff in the
// `string' and `extra' field if appropriate (using VG_(get_supp_*)() to
Modified: trunk/memcheck/mc_errors.c
===================================================================
--- trunk/memcheck/mc_errors.c 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/memcheck/mc_errors.c 2009-07-24 07:38:29 UTC (rev 10581)
@@ -1384,15 +1384,15 @@
return True;
}
-Bool MC_(read_extra_suppression_info) ( Int fd, Char* buf,
- Int nBuf, Supp *su )
+Bool MC_(read_extra_suppression_info) ( Int fd, Char** bufpp,
+ SizeT* nBufp, Supp *su )
{
Bool eof;
if (VG_(get_supp_kind)(su) == ParamSupp) {
- eof = VG_(get_line) ( fd, buf, nBuf );
+ eof = VG_(get_line) ( fd, bufpp, nBufp );
if (eof) return False;
- VG_(set_supp_string)(su, VG_(strdup)("mc.resi.1", buf));
+ VG_(set_supp_string)(su, VG_(strdup)("mc.resi.1", *bufpp));
}
return True;
}
Modified: trunk/memcheck/mc_include.h
===================================================================
--- trunk/memcheck/mc_include.h 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/memcheck/mc_include.h 2009-07-24 07:38:29 UTC (rev 10581)
@@ -312,8 +312,8 @@
Bool MC_(is_recognised_suppression) ( Char* name, Supp* su );
-Bool MC_(read_extra_suppression_info) ( Int fd, Char* buf,
- Int nBuf, Supp *su );
+Bool MC_(read_extra_suppression_info) ( Int fd, Char** buf,
+ SizeT* nBuf, Supp *su );
Bool MC_(error_matches_suppression) ( Error* err, Supp* su );
Modified: trunk/memcheck/tests/Makefile.am
===================================================================
--- trunk/memcheck/tests/Makefile.am 2009-07-24 07:24:19 UTC (rev 10580)
+++ trunk/memcheck/tests/Makefile.am 2009-07-24 07:38:29 UTC (rev 10581)
@@ -83,6 +83,7 @@
linux-syscalls-2007 linux-syscalls-2007.stderr.exp \
long_namespace_xml.vgtest long_namespace_xml.stdout.exp \
long_namespace_xml.stderr.exp \
+ long-supps.vgtest long-supps.stderr.exp long-supps.supp \
lsframe1.vgtest lsframe1.stdout.exp lsframe1.stderr.exp \
lsframe2.vgtest lsframe2.stdout.exp lsframe2.stderr.exp \
mallinfo.stderr.exp mallinfo.vgtest \
@@ -202,11 +203,15 @@
fprw fwrite inits inline \
leak-0 \
leak-cases \
- leak-cycle leak-pool leak-tree \
+ leak-cycle \
+ leak-pool \
+ leak-tree \
linux-syslog-syscall \
linux-syscalls-2007 \
long_namespace_xml \
- lsframe1 lsframe2 \
+ long-supps \
+ lsframe1 \
+ lsframe2 \
mallinfo \
malloc_free_fill \
malloc_usable malloc1 malloc2 malloc3 manuel1 manuel2 manuel3 \
Added: trunk/memcheck/tests/long-supps.c
===================================================================
--- trunk/memcheck/tests/long-supps.c (rev 0)
+++ trunk/memcheck/tests/long-supps.c 2009-07-24 07:38:29 UTC (rev 10581)
@@ -0,0 +1,20 @@
+// Bug 186796: function names of over 200 chars in suppressions were being
+// truncated and so not matching. This 200 char limit is easily overcome with
+// C++ templates. It now is assigned dynamically.
+
+#include <stdlib.h>
+
+#define F1000 \
+f1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+
+void F1000(void)
+{
+ int* x = malloc(sizeof(int));
+ x[1] = 1;
+}
+
+int main(void)
+{
+ F1000();
+ return 0;
+}
Added: trunk/memcheck/tests/long-supps.stderr.exp
===================================================================
Added: trunk/memcheck/tests/long-supps.supp
===================================================================
--- trunk/memcheck/tests/long-supps.supp (rev 0)
+++ trunk/memcheck/tests/long-supps.supp 2009-07-24 07:38:29 UTC (rev 10581)
@@ -0,0 +1,7 @@
+{
+ <insert a suppression name here>
+ Memcheck:Addr4
+ fun:f1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
+ fun:main
+}
+
Added: trunk/memcheck/tests/long-supps.vgtest
===================================================================
--- trunk/memcheck/tests/long-supps.vgtest (rev 0)
+++ trunk/memcheck/tests/long-supps.vgtest 2009-07-24 07:38:29 UTC (rev 10581)
@@ -0,0 +1,2 @@
+prog: long-supps
+vgopts: --suppressions=long-supps.supp -q
|
|
From: <sv...@va...> - 2009-07-24 07:24:28
|
Author: sewardj
Date: 2009-07-24 08:24:19 +0100 (Fri, 24 Jul 2009)
New Revision: 10580
Log:
Update expected output, so at least Helgrind runs clean on openSUSE
11.0 x86_64.
Modified:
trunk/helgrind/tests/tc06_two_races_xml.stderr.exp
Modified: trunk/helgrind/tests/tc06_two_races_xml.stderr.exp
===================================================================
--- trunk/helgrind/tests/tc06_two_races_xml.stderr.exp 2009-07-24 06:41:08 UTC (rev 10579)
+++ trunk/helgrind/tests/tc06_two_races_xml.stderr.exp 2009-07-24 07:24:19 UTC (rev 10580)
@@ -53,6 +53,14 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
+ <fn>pthread_create_WRK</fn>
+ <dir>...</dir>
+ <file>hg_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
<fn>pthread_create@*</fn>
<dir>...</dir>
<file>hg_intercepts.c</file>
|
|
From: <sv...@va...> - 2009-07-24 06:41:20
|
Author: bart
Date: 2009-07-24 07:41:08 +0100 (Fri, 24 Jul 2009)
New Revision: 10579
Log:
Reverted r10511.
Modified:
trunk/drd/tests/rwlock_test.c
Modified: trunk/drd/tests/rwlock_test.c
===================================================================
--- trunk/drd/tests/rwlock_test.c 2009-07-24 06:41:02 UTC (rev 10578)
+++ trunk/drd/tests/rwlock_test.c 2009-07-24 06:41:08 UTC (rev 10579)
@@ -10,45 +10,25 @@
#include <pthread.h>
#include <stdio.h>
-#include <string.h> // strerror()
-
#define NUM_ITERATIONS 1000
-#define PTH_CALL(expr) \
- do \
- { \
- int err = (expr); \
- if ((err) != 0) \
- { \
- fprintf(stderr, \
- "%s:%d %s returned error code %d (%s)\n", \
- __FILE__, \
- __LINE__, \
- #expr, \
- err, \
- strerror(err)); \
- } \
- } while (0)
-
-
static pthread_rwlock_t s_rwlock;
static int s_counter;
-
static void* thread_func(void* arg)
{
int i;
int sum = 0;
- for (i = 0; i < 1000; i++)
+ for (i = 0; i < NUM_ITERATIONS; i++)
{
- PTH_CALL(pthread_rwlock_rdlock(&s_rwlock));
+ pthread_rwlock_rdlock(&s_rwlock);
sum += s_counter;
- PTH_CALL(pthread_rwlock_unlock(&s_rwlock));
- PTH_CALL(pthread_rwlock_wrlock(&s_rwlock));
+ pthread_rwlock_unlock(&s_rwlock);
+ pthread_rwlock_wrlock(&s_rwlock);
s_counter++;
- PTH_CALL(pthread_rwlock_unlock(&s_rwlock));
+ pthread_rwlock_unlock(&s_rwlock);
}
return 0;
@@ -60,15 +40,15 @@
pthread_t tid[thread_count];
int i;
- PTH_CALL(pthread_rwlock_init(&s_rwlock, NULL));
+ pthread_rwlock_init(&s_rwlock, NULL);
for (i = 0; i < thread_count; i++)
{
- PTH_CALL(pthread_create(&tid[i], 0, thread_func, 0));
+ pthread_create(&tid[i], 0, thread_func, 0);
}
for (i = 0; i < thread_count; i++)
{
- PTH_CALL(pthread_join(tid[i], 0));
+ pthread_join(tid[i], 0);
}
fprintf(stderr, "s_counter - thread_count * iterations = %d\n",
|
|
From: <sv...@va...> - 2009-07-24 06:41:13
|
Author: njn
Date: 2009-07-24 07:41:02 +0100 (Fri, 24 Jul 2009)
New Revision: 10578
Log:
Fixed bug 149878 (calloc overflow). This disables some of the calloc silly
arg checking, but that's no great loss.
Added:
trunk/memcheck/tests/calloc-overflow.c
trunk/memcheck/tests/calloc-overflow.stderr.exp
trunk/memcheck/tests/calloc-overflow.vgtest
Modified:
trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
trunk/memcheck/tests/Makefile.am
trunk/memcheck/tests/malloc3.c
trunk/memcheck/tests/malloc3.stderr.exp
Modified: trunk/coregrind/m_replacemalloc/vg_replace_malloc.c
===================================================================
--- trunk/coregrind/m_replacemalloc/vg_replace_malloc.c 2009-07-24 06:30:17 UTC (rev 10577)
+++ trunk/coregrind/m_replacemalloc/vg_replace_malloc.c 2009-07-24 06:41:02 UTC (rev 10578)
@@ -407,6 +407,8 @@
if (!init_done) init(); \
MALLOC_TRACE("calloc(%llu,%llu)", (ULong)nmemb, (ULong)size ); \
\
+ /* Protect against overflow. See bug 24078. */ \
+ if (size && nmemb > (SizeT)-1 / size) return NULL; \
v = (void*)VALGRIND_NON_SIMD_CALL2( info.tl_calloc, nmemb, size ); \
MALLOC_TRACE(" = %p", v ); \
return v; \
Modified: trunk/memcheck/tests/Makefile.am
===================================================================
--- trunk/memcheck/tests/Makefile.am 2009-07-24 06:30:17 UTC (rev 10577)
+++ trunk/memcheck/tests/Makefile.am 2009-07-24 06:41:02 UTC (rev 10578)
@@ -49,6 +49,7 @@
badrw.stderr.exp badrw.vgtest \
brk2.stderr.exp brk2.vgtest \
buflen_check.stderr.exp buflen_check.vgtest \
+ calloc-overflow.stderr.exp calloc-overflow.vgtest\
clientperm.stderr.exp \
clientperm.stdout.exp clientperm.vgtest \
custom_alloc.stderr.exp custom_alloc.vgtest \
@@ -186,8 +187,14 @@
addressable \
atomic_incs \
badaddrvalue badfree badjump badjump2 \
- badloop badpoll badrw brk2 buflen_check \
- clientperm custom_alloc \
+ badloop \
+ badpoll \
+ badrw \
+ brk2 \
+ buflen_check \
+ calloc-overflow \
+ clientperm \
+ custom_alloc \
deep_templates \
describe-block \
doublefree error_counts errs1 exitprog execve execve2 erringfds \
Added: trunk/memcheck/tests/calloc-overflow.c
===================================================================
--- trunk/memcheck/tests/calloc-overflow.c (rev 0)
+++ trunk/memcheck/tests/calloc-overflow.c 2009-07-24 06:41:02 UTC (rev 10578)
@@ -0,0 +1,20 @@
+#include <stdlib.h>
+#include <stdio.h>
+#include "pub_tool_basics.h"
+
+int main(void)
+{
+ // The n*size multiplication overflows in this example. The only sensible
+ // thing to do is return NULL, but old versions of Valgrind didn't (they
+ // often ground to a halt trying to allocate an enormous (but not as
+ // enormous as asked-for!) block. See bug 149878.
+ int* x;
+#if VG_WORDSIZE == 8
+ size_t szB = 0x1000000010000001ULL;
+#else
+ size_t szB = 0x10000001UL;
+#endif
+ x = calloc(szB, 0x10);
+ fprintf(stderr, "x = %#lx\n", (long)x);
+ return 0;
+}
Added: trunk/memcheck/tests/calloc-overflow.stderr.exp
===================================================================
--- trunk/memcheck/tests/calloc-overflow.stderr.exp (rev 0)
+++ trunk/memcheck/tests/calloc-overflow.stderr.exp 2009-07-24 06:41:02 UTC (rev 10578)
@@ -0,0 +1 @@
+x = 0
Added: trunk/memcheck/tests/calloc-overflow.vgtest
===================================================================
--- trunk/memcheck/tests/calloc-overflow.vgtest (rev 0)
+++ trunk/memcheck/tests/calloc-overflow.vgtest 2009-07-24 06:41:02 UTC (rev 10578)
@@ -0,0 +1,2 @@
+prog: calloc-overflow
+vgopts: -q
Modified: trunk/memcheck/tests/malloc3.c
===================================================================
--- trunk/memcheck/tests/malloc3.c 2009-07-24 06:30:17 UTC (rev 10577)
+++ trunk/memcheck/tests/malloc3.c 2009-07-24 06:41:02 UTC (rev 10578)
@@ -24,6 +24,9 @@
printf("calloc(0,-1) = 0x%lx\n", (unsigned long)p);
free(p);
+ // We no longer get a warning with this due to the calloc overflow checking
+ // done for bug 149878. It's no great loss, it's extremely unlikely to
+ // occur in practice.
p = calloc(-1,-1);
printf("calloc(-1,-1) = 0x%lx\n", (unsigned long)p);
free(p);
Modified: trunk/memcheck/tests/malloc3.stderr.exp
===================================================================
--- trunk/memcheck/tests/malloc3.stderr.exp 2009-07-24 06:30:17 UTC (rev 10577)
+++ trunk/memcheck/tests/malloc3.stderr.exp 2009-07-24 06:41:02 UTC (rev 10578)
@@ -1,3 +1,2 @@
Warning: silly arg (-1) to malloc()
Warning: silly args (0,-1) to calloc()
-Warning: silly args (-1,-1) to calloc()
|
|
From: <sv...@va...> - 2009-07-24 06:30:30
|
Author: bart Date: 2009-07-24 07:30:17 +0100 (Fri, 24 Jul 2009) New Revision: 10577 Log: Run the pth_inconsistent_cond_wait in quiet mode. Modified: trunk/drd/tests/pth_inconsistent_cond_wait.vgtest Modified: trunk/drd/tests/pth_inconsistent_cond_wait.vgtest =================================================================== --- trunk/drd/tests/pth_inconsistent_cond_wait.vgtest 2009-07-24 06:29:57 UTC (rev 10576) +++ trunk/drd/tests/pth_inconsistent_cond_wait.vgtest 2009-07-24 06:30:17 UTC (rev 10577) @@ -1,3 +1,4 @@ prereq: ./supported_libpthread vgopts: --num-callers=3 prog: pth_inconsistent_cond_wait +args: -q |
|
From: <sv...@va...> - 2009-07-24 06:30:08
|
Author: bart
Date: 2009-07-24 07:29:57 +0100 (Fri, 24 Jul 2009)
New Revision: 10576
Log:
Added command line option -q, which allows to suppress printing an error message if a Pthreads call fails.
Modified:
trunk/drd/tests/pth_inconsistent_cond_wait.c
Modified: trunk/drd/tests/pth_inconsistent_cond_wait.c
===================================================================
--- trunk/drd/tests/pth_inconsistent_cond_wait.c 2009-07-24 05:38:23 UTC (rev 10575)
+++ trunk/drd/tests/pth_inconsistent_cond_wait.c 2009-07-24 06:29:57 UTC (rev 10576)
@@ -20,7 +20,7 @@
do \
{ \
int err = (expr); \
- if ((err) != 0) \
+ if (! s_quiet && err) \
{ \
fprintf(stderr, \
"%s:%d %s returned error code %d (%s)\n", \
@@ -33,10 +33,11 @@
} while (0)
-pthread_cond_t s_cond;
-pthread_mutex_t s_mutex1;
-pthread_mutex_t s_mutex2;
-sem_t* s_sem;
+static pthread_cond_t s_cond;
+static pthread_mutex_t s_mutex1;
+static pthread_mutex_t s_mutex2;
+static sem_t* s_sem;
+static int s_quiet;
static sem_t* create_semaphore(const char* const name)
@@ -81,11 +82,23 @@
int main(int argc, char** argv)
{
+ char semaphore_name[32];
+ int optchar;
pthread_t tid1;
pthread_t tid2;
+ while ((optchar = getopt(argc, argv, "q")) != EOF)
+ {
+ switch (optchar)
+ {
+ case 'q': s_quiet = 1; break;
+ default:
+ fprintf(stderr, "Error: unknown option '%c'.\n", optchar);
+ return 1;
+ }
+ }
+
/* Initialize synchronization objects. */
- char semaphore_name[32];
snprintf(semaphore_name, sizeof(semaphore_name), "semaphore-%d", getpid());
s_sem = create_semaphore(semaphore_name);
PTH_CALL(pthread_cond_init(&s_cond, 0));
|
|
From: <sv...@va...> - 2009-07-24 05:38:37
|
Author: njn
Date: 2009-07-24 06:38:23 +0100 (Fri, 24 Jul 2009)
New Revision: 10575
Log:
mremap2 is a totally unreliable test; it's the only test that fails on a
number of Linux machines. This change makes it more reliable, at the cost
of being less specific.
Removed:
trunk/none/tests/linux/mremap2.stdout.exp-glibc28-amd64
trunk/none/tests/linux/mremap2.stdout.exp2
Modified:
trunk/none/tests/linux/Makefile.am
trunk/none/tests/linux/mremap2.c
trunk/none/tests/linux/mremap2.stdout.exp
Modified: trunk/none/tests/linux/Makefile.am
===================================================================
--- trunk/none/tests/linux/Makefile.am 2009-07-24 05:35:49 UTC (rev 10574)
+++ trunk/none/tests/linux/Makefile.am 2009-07-24 05:38:23 UTC (rev 10575)
@@ -7,8 +7,7 @@
blockfault.stderr.exp blockfault.vgtest \
mremap.stderr.exp mremap.stderr.exp-glibc27 mremap.stdout.exp \
mremap.vgtest \
- mremap2.stderr.exp mremap2.stdout.exp mremap2.stdout.exp2 \
- mremap2.stdout.exp-glibc28-amd64 mremap2.vgtest
+ mremap2.stderr.exp mremap2.stdout.exp mremap2.vgtest
check_PROGRAMS = \
blockfault \
Modified: trunk/none/tests/linux/mremap2.c
===================================================================
--- trunk/none/tests/linux/mremap2.c 2009-07-24 05:35:49 UTC (rev 10574)
+++ trunk/none/tests/linux/mremap2.c 2009-07-24 05:38:23 UTC (rev 10575)
@@ -77,7 +77,12 @@
int i,r;
for (i = 0; i < 200; i++) {
r = mprotect( workingarea + i * PAGE, PAGE, PROT_NONE );
- printf("%c", r == 0 ? 'X' : '.');
+ // We used to print 'X' or '.' according to the mprotect result, but the
+ // results are too variable and the test was never reliable. So now we
+ // just always print '.'. At least this test gives mremap a thorough
+ // working out and so will detect egregious problems like crashes.
+ //printf("%c", r == 0 ? 'X' : '.');
+ printf(".");
if (i == 49 || i == 99 || i == 149) printf("\n");
}
printf("\n");
@@ -139,10 +144,12 @@
maymove, fixed, newsizes[nsi], dstpossible, dst );
r = (char*)
syscall(__NR_mremap, src, 20*PAGE, newsize, flags, dst, 0 );
- if (r == MAP_FAILED)
- printf("error %d\n", errno);
- else
- printf("%p (== %s)\n", r, identify(r));
+ // We used to print the address or error, but that was also unreliable.
+ //if (r == MAP_FAILED)
+ // printf("error %d\n", errno);
+ //else
+ // printf("%p (== %s)\n", r, identify(r));
+ printf("\n");
if (1) {
show();
Modified: trunk/none/tests/linux/mremap2.stdout.exp
===================================================================
--- trunk/none/tests/linux/mremap2.stdout.exp 2009-07-24 05:35:49 UTC (rev 10574)
+++ trunk/none/tests/linux/mremap2.stdout.exp 2009-07-24 05:38:23 UTC (rev 10575)
@@ -3,294 +3,294 @@
dst_impossible = 0x........
src = 0x........
-maymv 0 fixed 0 newsz 19 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 19 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 19 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 20 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 20 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 20 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 31 dstpo 0 dst 0x........ -> error 12
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 31 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 0 newsz 31 dstpo 1 dst 0x........ -> error 12
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 0 newsz 31 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 19 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 19 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 19 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 19 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 20 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 20 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 20 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 20 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 21 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 21 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 21 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 21 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 29 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 29 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 29 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 29 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 30 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 30 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 30 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 30 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 31 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 31 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 0 fixed 1 newsz 31 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 0 fixed 1 newsz 31 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 19 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 19 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 19 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 20 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 20 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 20 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 0 newsz 30 dstpo 1 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 31 dstpo 0 dst 0x........ -> 0x........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
+maymv 1 fixed 0 newsz 31 dstpo 0 dst 0x........ ->
..................................................
+..................................................
+..................................................
+..................................................
-maymv 1 fixed 0 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
+maymv 1 fixed 0 newsz 31 dstpo 1 dst 0x........ ->
..................................................
+..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 19 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 19 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 19 dstpo 1 dst 0x........ ->
..................................................
-XXXXXXXXXXXXXXXXXXX...............................
+..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 20 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 20 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 20 dstpo 1 dst 0x........ ->
..................................................
-XXXXXXXXXXXXXXXXXXXX..............................
+..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 21 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 21 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 21 dstpo 1 dst 0x........ ->
..................................................
-XXXXXXXXXXXXXXXXXXXXX.............................
+..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 29 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 29 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 29 dstpo 1 dst 0x........ ->
..................................................
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
+..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 30 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 30 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 30 dstpo 1 dst 0x........ ->
..................................................
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
+..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 31 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 31 dstpo 0 dst 0x........ ->
..................................................
..................................................
+..................................................
+..................................................
-maymv 1 fixed 1 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+maymv 1 fixed 1 newsz 31 dstpo 1 dst 0x........ ->
..................................................
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
+..................................................
+..................................................
+..................................................
Deleted: trunk/none/tests/linux/mremap2.stdout.exp-glibc28-amd64
===================================================================
--- trunk/none/tests/linux/mremap2.stdout.exp-glibc28-amd64 2009-07-24 05:35:49 UTC (rev 10574)
+++ trunk/none/tests/linux/mremap2.stdout.exp-glibc28-amd64 2009-07-24 05:38:23 UTC (rev 10575)
@@ -1,296 +0,0 @@
-
-dst_possible = 0x........
-dst_impossible = 0x........
- src = 0x........
-
-maymv 0 fixed 0 newsz 19 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 20 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-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........ -> error 12
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-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........ -> error 12
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-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........ -> error 12
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 31 dstpo 0 dst 0x........ -> error 12
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 31 dstpo 1 dst 0x........ -> error 12
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-
-maymv 0 fixed 1 newsz 19 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 19 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 20 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 20 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 21 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 21 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 29 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 29 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 30 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 30 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 31 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 31 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-
-maymv 1 fixed 0 newsz 19 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 20 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-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........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 31 dstpo 0 dst 0x........ -> 0x........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-
-maymv 1 fixed 1 newsz 19 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXX...............................
-
-maymv 1 fixed 1 newsz 20 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXXX..............................
-
-maymv 1 fixed 1 newsz 21 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXXXX.............................
-
-maymv 1 fixed 1 newsz 29 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
-
-maymv 1 fixed 1 newsz 30 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
-
-maymv 1 fixed 1 newsz 31 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
-
Deleted: trunk/none/tests/linux/mremap2.stdout.exp2
===================================================================
--- trunk/none/tests/linux/mremap2.stdout.exp2 2009-07-24 05:35:49 UTC (rev 10574)
+++ trunk/none/tests/linux/mremap2.stdout.exp2 2009-07-24 05:38:23 UTC (rev 10575)
@@ -1,296 +0,0 @@
-
-dst_possible = 0x........
-dst_impossible = 0x........
- src = 0x........
-
-maymv 0 fixed 0 newsz 19 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 20 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 31 dstpo 0 dst 0x........ -> error 12
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 0 newsz 31 dstpo 1 dst 0x........ -> error 12
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-
-maymv 0 fixed 1 newsz 19 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 19 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 20 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 20 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 21 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 21 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 29 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 29 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 30 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 30 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 31 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 0 fixed 1 newsz 31 dstpo 1 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-
-maymv 1 fixed 0 newsz 19 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXX...........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 20 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 21 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXX.........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 29 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 30 dstpo 0 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== src)
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 31 dstpo 0 dst 0x........ -> 0x........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 0 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== other)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-
-maymv 1 fixed 1 newsz 19 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 19 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXX...............................
-
-maymv 1 fixed 1 newsz 20 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 20 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXXX..............................
-
-maymv 1 fixed 1 newsz 21 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 21 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXXXX.............................
-
-maymv 1 fixed 1 newsz 29 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 29 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.....................
-
-maymv 1 fixed 1 newsz 30 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 30 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX....................
-
-maymv 1 fixed 1 newsz 31 dstpo 0 dst 0x........ -> error 22
-XXXXXXXXX.XXXXXXXXXXXXXXXXXXXX..........XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-..................................................
-
-maymv 1 fixed 1 newsz 31 dstpo 1 dst 0x........ -> 0x........ (== dst)
-XXXXXXXXX...............................XXXXXXXXXX
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-..................................................
-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................
-
|