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
(9) |
2
(2) |
3
(9) |
4
(19) |
5
(4) |
6
(1) |
7
(6) |
|
8
(11) |
9
(30) |
10
(12) |
11
(25) |
12
(7) |
13
(5) |
14
|
|
15
(17) |
16
(15) |
17
(20) |
18
(17) |
19
(5) |
20
(4) |
21
|
|
22
|
23
|
24
|
25
|
26
|
27
(4) |
28
(15) |
|
29
(10) |
30
(9) |
31
(11) |
|
|
|
|
|
From: <sv...@va...> - 2011-05-15 05:45:09
|
Author: bart
Date: 2011-05-15 06:44:59 +0100 (Sun, 15 May 2011)
New Revision: 11751
Log:
gdbserver_tests/t.c: Fixed two occurrences of the same typo.
Modified:
trunk/gdbserver_tests/t.c
Modified: trunk/gdbserver_tests/t.c
===================================================================
--- trunk/gdbserver_tests/t.c 2011-05-12 19:15:06 UTC (rev 11750)
+++ trunk/gdbserver_tests/t.c 2011-05-15 05:44:59 UTC (rev 11751)
@@ -54,7 +54,7 @@
{
int i, j;
for (i = 0; i < LOOPS; i++)
- for (j = 0; i < LOOPS; i++)
+ for (j = 0; j < LOOPS; j++)
(*loopnr)++;
}
|
|
From: Maynard J. <may...@us...> - 2011-05-13 23:09:24
|
On 05/11/2011 5:21 PM, Julian Seward wrote:
>
>> OK, finally getting back to this issue. I *think* I did all the things you
>> suggested above, Julian, but the returned dst register still holds an
>> exact copy of what it was originally set up with. Attached below is the
>> code I added for this xvmaddadp insn. Can you see anything obviously (or
>> not so obviously) wrong? Thanks in advance for the help!
>
> It looks ok, although one comment: it seems to me that Pav_COPY is
> unnecessary. I would have thought Pav_MOV is what you need.
I thought I should define a new value since Pav_MOV is used in the Ist_WrTmp in
iselStmt. Nevertheless, I get the same results using Pav_MOV.
>
> Anyway, since it doesn't do what you want, have you looked at the
> generated code, using --tool=none --trace-flags=10001110 --trace-notbelow=0 ?
Julian,
I collected the trace as you suggested and have been poring over it for several
hours today. I think I've spotted a problem, but don't know how to solve it.
I'd really appreciate some help. First, here's the snippet of application code
(an objdump) containing the xvmaddadp insn:
00000000100006cc <.test_xvmadd>:
test_xvmadd():
/home/mpj/ISA2.06/NEW/valg_svn_05.10.2011-P7_stage2/none/tests/ppc64/test_isa_2_06_part2.c:605
100006cc: 7c 00 42 a6 mfvrsave r0
100006d0: 90 01 ff fc stw r0,-4(r1)
100006d4: 64 00 c0 04 oris r0,r0,49156
100006d8: 7c 00 43 a6 mtvrsave r0
/home/mpj/ISA2.06/NEW/valg_svn_05.10.2011-P7_stage2/none/tests/ppc64/test_isa_2_06_part2.c:606
100006dc: 60 00 00 00 nop
100006e0: 39 22 80 f0 addi r9,r2,-32528
100006e4: 7c 20 4e 19 lxvw4x vs33,r0,r9
100006e8: 38 00 00 10 li r0,16
100006ec: 7d a9 06 19 lxvw4x vs45,r9,r0
100006f0: 38 00 00 20 li r0,32
100006f4: 7c 09 06 19 lxvw4x vs32,r9,r0
100006f8: f0 01 6b 0f xvmaddadp vs32,vs33,vs45
100006fc: 7c 09 07 19 stxvw4x vs32,r9,r0
/home/mpj/ISA2.06/NEW/valg_svn_05.10.2011-P7_stage2/none/tests/ppc64/test_isa_2_06_part2.c:607
10000700: 81 81 ff fc lwz r12,-4(r1)
10000704: 7d 80 43 a6 mtvrsave r12
10000708: 4e 80 00 20 blr
------------------------------------------------
And below is the relevant trace output. Search for "MPJ" and you'll find my
comments. The last comment is at the place where I *think* there's an error.
To keep the length of the pasted trace output relatively short, I truncated it
after the "Instruction selection" section. But the output from the
"Register-allocated code" and "Assembly" sections show more or less the same
thing I see in the "Instruction selection" section. Thanks in advance for any
help you can offer.
==== SB 1602 [tid 1] test_xvmadd(0x100006cc) SBs exec'd 51299 ====
------------------------ Front end ------------------------
0x100006CC: mfvrsave r0
------ IMark(0x100006CC, 4) ------
t0 = GET:I64(0)
PUT(0) = 32Uto64(GET:I32(1328))
0x100006D0: stw r0,-4(r1)
------ IMark(0x100006D0, 4) ------
PUT(1280) = 0x100006D0:I64
t2 = GET:I64(248)
t1 = GET:I64(0)
t3 = Add64(GET:I64(8),0xFFFFFFFFFFFFFFFC:I64)
STbe(t3) = 64to32(t1)
0x100006D4: oris r0,r0,0xC004
------ IMark(0x100006D4, 4) ------
PUT(1280) = 0x100006D4:I64
t4 = GET:I64(0)
t6 = GET:I64(192)
t5 = Or64(t4,0xC0040000:I64)
PUT(0) = t5
0x100006D8: mtvrsave r0
------ IMark(0x100006D8, 4) ------
PUT(1280) = 0x100006D8:I64
t7 = GET:I64(0)
PUT(1328) = 64to32(t7)
0x100006DC: ori r0,r0,0x0
------ IMark(0x100006DC, 4) ------
PUT(1280) = 0x100006DC:I64
t8 = GET:I64(0)
t10 = GET:I64(0)
t9 = Or64(t8,0x0:I64)
PUT(0) = t9
0x100006E0: addi r9,r2,-32528
------ IMark(0x100006E0, 4) ------
PUT(1280) = 0x100006E0:I64
t11 = GET:I64(16)
t12 = GET:I64(128)
t13 = Add64(t11,0xFFFFFFFFFFFF80F0:I64)
PUT(72) = t13
0x100006E4: lxvw4x 33,r0,r9
------ IMark(0x100006E4, 4) ------
PUT(1280) = 0x100006E4:I64
t14 = GET:I64(72)
PUT(784) =
64HLtoV128(32HLto64(LDbe:I32(t14),LDbe:I32(Add64(t14,0x4:I64))),32HLto64(LDbe:I32(Add64(t14,0x8:I64)),LDbe:I32(Add64(t14,0xC:I64))))
0x100006E8: li r0,16
------ IMark(0x100006E8, 4) ------
PUT(1280) = 0x100006E8:I64
t15 = GET:I64(0)
t16 = GET:I64(0)
t17 = 0x10:I64
PUT(0) = t17
0x100006EC: lxvw4x 45,r9,r0
------ IMark(0x100006EC, 4) ------
PUT(1280) = 0x100006EC:I64
t18 = Add64(GET:I64(72),GET:I64(0))
PUT(976) =
64HLtoV128(32HLto64(LDbe:I32(t18),LDbe:I32(Add64(t18,0x4:I64))),32HLto64(LDbe:I32(Add64(t18,0x8:I64)),LDbe:I32(Add64(t18,0xC:I64))))
0x100006F0: li r0,32
------ IMark(0x100006F0, 4) ------
PUT(1280) = 0x100006F0:I64
t19 = GET:I64(0)
t20 = GET:I64(0)
t21 = 0x20:I64
PUT(0) = t21
0x100006F4: lxvw4x 32,r9,r0
------ IMark(0x100006F4, 4) ------
PUT(1280) = 0x100006F4:I64
t22 = Add64(GET:I64(72),GET:I64(0))
PUT(768) =
64HLtoV128(32HLto64(LDbe:I32(t22),LDbe:I32(Add64(t22,0x4:I64))),32HLto64(LDbe:I32(Add64(t22,0x8:I64)),LDbe:I32(Add64(t22,0xC:I64))))
0x100006F8: xvmaddadp v32,v33,v45
------ IMark(0x100006F8, 4) ------
PUT(1280) = 0x100006F8:I64
t24 = GET:I32(1324)
t23 = And32(t24,0x3:I32)
PUT(768) =
MAdd64Fx2(Xor32(t23,And32(Shl32(t23,0x1:I8),0x2:I32)),GET:V128(768),GET:V128(784),GET:V128(976))
0x100006FC: stxvw4x 32,r9,r0
------ IMark(0x100006FC, 4) ------
PUT(1280) = 0x100006FC:I64
t28 = Add64(GET:I64(72),GET:I64(0))
t27 = GET:V128(768)
t29 = V128HIto64(t27)
t30 = V128to64(t27)
STbe(t28) = 64HIto32(t29)
STbe(Add64(t28,0x4:I64)) = 64to32(t29)
STbe(Add64(t28,0x8:I64)) = 64HIto32(t30)
STbe(Add64(t28,0xC:I64)) = 64to32(t30)
0x10000700: lwz r12,-4(r1)
------ IMark(0x10000700, 4) ------
PUT(1280) = 0x10000700:I64
t31 = Add64(GET:I64(8),0xFFFFFFFFFFFFFFFC:I64)
PUT(96) = 32Uto64(LDbe:I32(t31))
0x10000704: mtvrsave r12
------ IMark(0x10000704, 4) ------
PUT(1280) = 0x10000704:I64
t32 = GET:I64(96)
PUT(1328) = 64to32(t32)
0x10000708: blr
------ IMark(0x10000708, 4) ------
PUT(1280) = 0x10000708:I64
t37 = 0xFFFFFFFF:I32
t34 = t37
t38 = 0x1:I32
t35 = t38
t33 = And32(t35,t34)
t36 = And64(GET:I64(1288),0xFFFFFFFFFFFFFFFC:I64)
if (CmpEQ32(t33,0x0:I32)) goto {Boring} 0x1000070C:I64
====== AbiHint(Sub64(GET:I64(8),0x120:I64), 288, t36) ======
goto {Return} t36
GuestBytes 100006CC 64 7C 00 42 A6 90 01 FF FC 64 00 C0 04 7C 00 43 A6 60 00 00
00 39 22 80 F0 7C 20 4E 19 38 00 00 10 7D A9 06 19 38 00 00 20 7C 09 06 19 F0 01
6B 0F 7C 09 07 19 81 81 FF FC 7D 80 43 A6 4E 80 00 20 4A7722D0
------------------------ After tree-building ------------------------
IRSB {
t0:I64 t1:I64 t2:I64 t3:I64 t4:I64 t5:I64 t6:I64 t7:I64
t8:I64 t9:I64 t10:I64 t11:I64 t12:I64 t13:I64 t14:I64 t15:I64
t16:I64 t17:I64 t18:I64 t19:I64 t20:I64 t21:I64 t22:I64 t23:I32
t24:I32 t25:F64 t26:F64 t27:V128 t28:I64 t29:I64 t30:I64 t31:I64
t32:I64 t33:I32 t34:I32 t35:I32 t36:I64 t37:I32 t38:I32 t39:I32
t40:I64 t41:I32 t42:I64 t43:I64 t44:I32 t45:I32 t46:V128 t47:I64
t48:I32 t49:I32 t50:I64 t51:I64 t52:I32 t53:I64 t54:I32 t55:I64
t56:I64 t57:I64 t58:I64 t59:V128 t60:I64 t61:I32 t62:I32 t63:I64
t64:I64 t65:I32 t66:I64 t67:I32 t68:I64 t69:I64 t70:I64 t71:I64
t72:V128 t73:I64 t74:I32 t75:I32 t76:I64 t77:I64 t78:I32 t79:I64
t80:I32 t81:I64 t82:V128 t83:I32 t84:I32 t85:I32 t86:V128 t87:V128
t88:V128 t89:I64 t90:I64 t91:I64 t92:I64 t93:I64 t94:I32 t95:I64
t96:I32 t97:I64 t98:I32 t99:I64 t100:I32 t101:I64 t102:I64
t103:I64
t104:I32 t105:I32 t106:I64 t107:I64 t108:I1 t109:I64 t110:I64
------ IMark(0x100006CC, 4) ------
------ IMark(0x100006D0, 4) ------
t40 = 32Uto64(GET:I32(1328))
PUT(1280) = 0x100006D0:I64
t43 = GET:I64(8)
t42 = Add64(t43,0xFFFFFFFFFFFFFFFC:I64)
STbe(t42) = 64to32(t40)
------ IMark(0x100006D4, 4) ------
------ IMark(0x100006D8, 4) ------
------ IMark(0x100006DC, 4) ------
------ IMark(0x100006E0, 4) ------
t13 = Add64(GET:I64(16),0xFFFFFFFFFFFF80F0:I64)
PUT(72) = t13
------ IMark(0x100006E4, 4) ------
>>> MPJ: First lxvw4x
PUT(1280) = 0x100006E4:I64
t46 =
64HLtoV128(32HLto64(LDbe:I32(t13),LDbe:I32(Add64(t13,0x4:I64))),32HLto64(LDbe:I32(Add64(t13,0x8:I64)),LDbe:I32(Add64(t13,0xC:I64))))
PUT(784) = t46
------ IMark(0x100006E8, 4) ------
------ IMark(0x100006EC, 4) ------
>>> MPJ: Second lxvw4x
PUT(1280) = 0x100006EC:I64
t56 = Add64(t13,0x10:I64)
>>> MPJ: Third lxvw4x embedded
t59 =
64HLtoV128(32HLto64(LDbe:I32(t56),LDbe:I32(Add64(t56,0x4:I64))),32HLto64(LDbe:I32(Add64(t56,0x8:I64)),LDbe:I32(Add64(t56,0xC:I64))))
PUT(976) = t59
------ IMark(0x100006F0, 4) ------
PUT(0) = 0x20:I64
------ IMark(0x100006F4, 4) ------
PUT(1280) = 0x100006F4:I64
t69 = Add64(t13,0x20:I64)
t76 = Add64(t69,0x4:I64)
t79 = Add64(t69,0x8:I64)
t81 = Add64(t69,0xC:I64)
------ IMark(0x100006F8, 4) ------
t23 = And32(GET:I32(1324),0x3:I32)
>>> MPJ: Here's the xvmaddadp . . .
t82 =
MAdd64Fx2(Xor32(t23,And32(Shl32(t23,0x1:I8),0x2:I32)),64HLtoV128(32HLto64(LDbe:I32(t69),LDbe:I32(t76)),32HLto64(LDbe:I32(t79),LDbe:I32(t81))),t46,t59)
PUT(768) = t82
------ IMark(0x100006FC, 4) ------
PUT(1280) = 0x100006FC:I64
t92 = V128HIto64(t82)
t93 = V128to64(t82)
STbe(t69) = 64HIto32(t92)
STbe(t76) = 64to32(t92)
STbe(t79) = 64HIto32(t93)
STbe(t81) = 64to32(t93)
------ IMark(0x10000700, 4) ------
PUT(1280) = 0x10000700:I64
t103 = 32Uto64(LDbe:I32(t42))
PUT(96) = t103
------ IMark(0x10000704, 4) ------
PUT(1328) = 64to32(t103)
------ IMark(0x10000708, 4) ------
PUT(1280) = 0x10000708:I64
t106 = And64(GET:I64(1288),0xFFFFFFFFFFFFFFFC:I64)
====== AbiHint(Sub64(t43,0x120:I64), 288, t106) ======
goto {Return} t106
}
------------------------ Instruction selection ------------------------
mflr %vR111
-- ------ IMark(0x100006CC, 4) ------
-- ------ IMark(0x100006D0, 4) ------
-- t40 = 32Uto64(GET:I32(1328))
lwz %vR113,1328(%r31)
sldi %vR112,%vR113,32
srdi %vR112,%vR112,32
mr %vR40,%vR112
-- PUT(1280) = 0x100006D0:I64
li_word %vR114,0x00000000100006D0
std %vR114,1280(%r31)
-- t43 = GET:I64(8)
ld %vR115,8(%r31)
mr %vR43,%vR115
-- t42 = Add64(t43,0xFFFFFFFFFFFFFFFC:I64)
addi %vR116,%vR43,-4
mr %vR42,%vR116
-- STbe(t42) = 64to32(t40)
stw %vR40,0(%vR42)
-- ------ IMark(0x100006D4, 4) ------
-- ------ IMark(0x100006D8, 4) ------
-- ------ IMark(0x100006DC, 4) ------
-- ------ IMark(0x100006E0, 4) ------
-- t13 = Add64(GET:I64(16),0xFFFFFFFFFFFF80F0:I64)
ld %vR118,16(%r31)
addi %vR117,%vR118,-32528
mr %vR13,%vR117
-- PUT(72) = t13
std %vR13,72(%r31)
-- ------ IMark(0x100006E4, 4) ------
-- PUT(1280) = 0x100006E4:I64
li_word %vR119,0x00000000100006E4
std %vR119,1280(%r31)
-- t46 =
64HLtoV128(32HLto64(LDbe:I32(t13),LDbe:I32(Add64(t13,0x4:I64))),32HLto64(LDbe:I32(Add64(t13,0x8:I64)),LDbe:I32(Add64(t13,0xC:I64))))
lwz %vR120,0(%vR13)
lwz %vR121,4(%vR13)
sldi %vR122,%vR120,32
li_word %vR123,0x00000000FFFFFFFF
and %vR121,%vR121,%vR123
or %vR122,%vR122,%vR121
lwz %vR124,8(%vR13)
lwz %vR125,12(%vR13)
sldi %vR126,%vR124,32
li_word %vR127,0x00000000FFFFFFFF
and %vR125,%vR125,%vR127
or %vR126,%vR126,%vR125
subi %r1,%r1,32
mr %vR129,%r1
addi %vR129,%vR129,16
li_word %vR130,0xFFFFFFFFFFFFFFF0
and %vR129,%vR129,%vR130
std %vR122,0(%vR129)
std %vR126,8(%vR129)
li_word %r30,0x0000000000000000 ; lvx %vV128,%r30,%vR129
addi %r1,%r1,32
vmr %vV46,%vV128
-- PUT(784) = t46
li_word %r30,0x0000000000000310 ; stvx %vV46,%r30,%r31
-- ------ IMark(0x100006E8, 4) ------
-- ------ IMark(0x100006EC, 4) ------
-- PUT(1280) = 0x100006EC:I64
li_word %vR131,0x00000000100006EC
std %vR131,1280(%r31)
-- t56 = Add64(t13,0x10:I64)
addi %vR132,%vR13,16
mr %vR56,%vR132
-- t59 =
64HLtoV128(32HLto64(LDbe:I32(t56),LDbe:I32(Add64(t56,0x4:I64))),32HLto64(LDbe:I32(Add64(t56,0x8:I64)),LDbe:I32(Add64(t56,0xC:I64))))
lwz %vR133,0(%vR56)
lwz %vR134,4(%vR56)
sldi %vR135,%vR133,32
li_word %vR136,0x00000000FFFFFFFF
and %vR134,%vR134,%vR136
or %vR135,%vR135,%vR134
lwz %vR137,8(%vR56)
lwz %vR138,12(%vR56)
sldi %vR139,%vR137,32
li_word %vR140,0x00000000FFFFFFFF
and %vR138,%vR138,%vR140
or %vR139,%vR139,%vR138
subi %r1,%r1,32
mr %vR142,%r1
addi %vR142,%vR142,16
li_word %vR143,0xFFFFFFFFFFFFFFF0
and %vR142,%vR142,%vR143
std %vR135,0(%vR142)
std %vR139,8(%vR142)
li_word %r30,0x0000000000000000 ; lvx %vV141,%r30,%vR142
addi %r1,%r1,32
vmr %vV59,%vV141
-- PUT(976) = t59
li_word %r30,0x00000000000003D0 ; stvx %vV59,%r30,%r31
-- ------ IMark(0x100006F0, 4) ------
-- PUT(0) = 0x20:I64
li_word %vR144,0x0000000000000020
std %vR144,0(%r31)
-- ------ IMark(0x100006F4, 4) ------
-- PUT(1280) = 0x100006F4:I64
li_word %vR145,0x00000000100006F4
std %vR145,1280(%r31)
-- t69 = Add64(t13,0x20:I64)
addi %vR146,%vR13,32
mr %vR69,%vR146
-- t76 = Add64(t69,0x4:I64)
addi %vR147,%vR69,4
mr %vR76,%vR147
-- t79 = Add64(t69,0x8:I64)
addi %vR148,%vR69,8
mr %vR79,%vR148
-- t81 = Add64(t69,0xC:I64)
addi %vR149,%vR69,12
mr %vR81,%vR149
-- ------ IMark(0x100006F8, 4) ------
-- t23 = And32(GET:I32(1324),0x3:I32)
lwz %vR151,1324(%r31)
andi. %vR150,%vR151,3
mr %vR23,%vR150
-- t82 =
MAdd64Fx2(Xor32(t23,And32(Shl32(t23,0x1:I8),0x2:I32)),64HLtoV128(32HLto64(LDbe:I32(t69),LDbe:I32(t76)),32HLto64(LDbe:I32(t79),LDbe:I32(t81))),t46,t59)
lwz %vR152,0(%vR69)
lwz %vR153,0(%vR76)
sldi %vR154,%vR152,32
li_word %vR155,0x00000000FFFFFFFF
and %vR153,%vR153,%vR155
or %vR154,%vR154,%vR153
lwz %vR156,0(%vR79)
lwz %vR157,0(%vR81)
sldi %vR158,%vR156,32
li_word %vR159,0x00000000FFFFFFFF
and %vR157,%vR157,%vR159
or %vR158,%vR158,%vR157
subi %r1,%r1,32
mr %vR161,%r1
addi %vR161,%vR161,16
li_word %vR162,0xFFFFFFFFFFFFFFF0
and %vR161,%vR161,%vR162
std %vR154,0(%vR161)
std %vR158,8(%vR161)
li_word %r30,0x0000000000000000 ; lvx %vV160,%r30,%vR161
addi %r1,%r1,32
vmr %vV163,%vV160
slwi %vR167,%vR23,1
andi. %vR166,%vR167,2
xor %vR165,%vR23,%vR166
slwi %vR169,%vR165,1
xor %vR169,%vR165,%vR169
andi. %vR168,%vR169,3
subi %r1,%r1,16
std %vR168,0(%r1)
lfd %vD170,0(%r1)
addi %r1,%r1,16
mtfsf 0xFF,%vD170
xvmaddadp %vV163,%vV46,%vV59
>>> MPJ: I think the problem is right here. In the line below, we copy virtual register V163 to
>>> virtual register V82; but V163 would still hold the original input data, not the result
>>> value from the xvmaddadp, right?
vmr %vV82,%vV163
-- PUT(768) = t82
li_word %r30,0x0000000000000300 ; stvx %vV82,%r30,%r31
-- ------ IMark(0x100006FC, 4) ------
-- PUT(1280) = 0x100006FC:I64
li_word %vR171,0x00000000100006FC
std %vR171,1280(%r31)
-- t92 = V128HIto64(t82)
subi %r1,%r1,32
mr %vR173,%r1
addi %vR173,%vR173,16
li_word %vR174,0xFFFFFFFFFFFFFFF0
and %vR173,%vR173,%vR174
li_word %r30,0x0000000000000000 ; stvx %vV82,%r30,%vR173
ld %vR172,0(%vR173)
addi %r1,%r1,32
mr %vR92,%vR172
-- t93 = V128to64(t82)
subi %r1,%r1,32
mr %vR176,%r1
addi %vR176,%vR176,16
li_word %vR177,0xFFFFFFFFFFFFFFF0
and %vR176,%vR176,%vR177
li_word %r30,0x0000000000000000 ; stvx %vV82,%r30,%vR176
ld %vR175,8(%vR176)
addi %r1,%r1,32
mr %vR93,%vR175
-- STbe(t69) = 64HIto32(t92)
srdi %vR178,%vR92,32
stw %vR178,0(%vR69)
-- STbe(t76) = 64to32(t92)
stw %vR92,0(%vR76)
-- STbe(t79) = 64HIto32(t93)
srdi %vR179,%vR93,32
stw %vR179,0(%vR79)
-- STbe(t81) = 64to32(t93)
stw %vR93,0(%vR81)
-- ------ IMark(0x10000700, 4) ------
-- PUT(1280) = 0x10000700:I64
li_word %vR180,0x0000000010000700
std %vR180,1280(%r31)
-- t103 = 32Uto64(LDbe:I32(t42))
lwz %vR182,0(%vR42)
sldi %vR181,%vR182,32
srdi %vR181,%vR181,32
mr %vR103,%vR181
-- PUT(96) = t103
std %vR103,96(%r31)
-- ------ IMark(0x10000704, 4) ------
-- PUT(1328) = 64to32(t103)
stw %vR103,1328(%r31)
-- ------ IMark(0x10000708, 4) ------
-- PUT(1280) = 0x10000708:I64
li_word %vR183,0x0000000010000708
std %vR183,1280(%r31)
-- t106 = And64(GET:I64(1288),0xFFFFFFFFFFFFFFFC:I64)
ld %vR185,1288(%r31)
li_word %vR186,0xFFFFFFFFFFFFFFFC
and %vR184,%vR185,%vR186
mr %vR106,%vR184
-- ====== AbiHint(Sub64(t43,0x120:I64), 288, t106) ======
-- goto {Return} t106
---------------------------------------------------------------
-Maynard
>
> J
|
|
From: Florian K. <br...@ac...> - 2011-05-13 13:46:36
|
On 05/12/2011 10:46 PM, Scott Pakin wrote: > > > On 05/10/2011 02:26 PM, Florian Krohm wrote: >> Attached are the results from a new run of IBM's BEAM checker. Good >> progress since last time. Here's the breakdown of the complaints: > > This is the first I've heard of BEAM, and I'm curious: Is BEAM a > commercial product? Freely available? I cannot speak for IBM but I think that the answer is "no". Twice. > Not available? BEAM is made available to the valgrind project by special agreement. Florian |
|
From: Rich C. <rc...@wi...> - 2011-05-13 05:46:00
|
Nightly build on ppc32 ( Linux 2.6.27.45-0.1-default ppc )
Started at 2011-05-12 23:26:01 CDT
Ended at 2011-05-13 00:45:48 CDT
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 460 tests, 15 stderr failures, 5 stdout failures, 2 stderrB failures, 0 stdoutB failures, 2 post failures ==
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/mcvabits (stderrB)
memcheck/tests/badjump (stderr)
memcheck/tests/badjump2 (stderr)
memcheck/tests/linux/stack_changes (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo6 (stderr)
massif/tests/deep-D (post)
massif/tests/overloaded-new (post)
none/tests/linux/mremap (stderr)
none/tests/ppc32/jm-fp (stdout)
none/tests/ppc32/jm-fp (stderr)
none/tests/ppc32/power5+_round (stdout)
none/tests/ppc32/power5+_round (stderr)
none/tests/ppc32/round (stdout)
none/tests/ppc32/round (stderr)
none/tests/ppc32/test_fx (stdout)
none/tests/ppc32/test_fx (stderr)
none/tests/ppc32/test_gx (stdout)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
drd/tests/tc23_bogus_condwait (stderr)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-darwin-amd64
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin-amd64 2011-05-13 00:06:31.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-05-13 00:45:27.000000000 -0500
@@ -3,67 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Assertion failed: (!r), function main, file tc23_bogus_condwait.c, line 86.
-Process terminating with default action of signal 6 (SIGABRT)
- at 0x........: __kill (in /...libc...)
- by 0x........: __assert_rtn (in /...libc...)
- by 0x........: main (tc23_bogus_condwait.c:86)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-darwin-x86
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin-x86 2011-05-13 00:06:31.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-05-13 00:45:27.000000000 -0500
@@ -3,61 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-ppc
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-ppc 2011-05-13 00:06:31.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-05-13 00:45:27.000000000 -0500
@@ -6,8 +6,8 @@
Process terminating with default action of signal 7 (SIGBUS)
Invalid address alignment at address 0x........
- at 0x........: (within libpthread-?.?.so)
- by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so)
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-x86
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-x86 2011-05-13 00:06:31.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-05-13 00:45:27.000000000 -0500
@@ -3,84 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-
-Thread 1:
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:28)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Thread 1:
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:32)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2011-05-13 00:06:06.000000000 -0500
+++ mcinfcallWSRU.stderrB.out 2011-05-13 00:22:35.000000000 -0500
@@ -24,28 +24,25 @@
39 for (i = 0; i < burn; i++) loopnr++;
$1 = void
[Switching to thread 2 (Thread ....)]#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
+Remote failure reply: E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
set pc, calling from gdb a function in the debugged process, ...)
can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
Thread status is VgTs_WaitSys
-'
[Switching to thread 3 (Thread ....)]#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
+Remote failure reply: E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
set pc, calling from gdb a function in the debugged process, ...)
can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
Thread status is VgTs_WaitSys
-'
[Switching to thread 4 (Thread ....)]#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
+Remote failure reply: E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
set pc, calling from gdb a function in the debugged process, ...)
can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
Thread status is VgTs_WaitSys
-'
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-new/gdbserver_tests/mcvabits.stderrB.diff
=================================================
--- mcvabits.stderrB.exp 2011-05-13 00:06:06.000000000 -0500
+++ mcvabits.stderrB.out 2011-05-13 00:22:59.000000000 -0500
@@ -1,55 +1,32 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 defined
- Address 0x........ is 0 bytes inside data symbol "undefined"
-00000000 00000000 0000
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff00ff00 ff00ff00 ff00
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff000000 0000ff00 ff00
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff00ffff ffffff00 ff00
-Address 0x........ len 2 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 2 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff00
-Address 0x........ len 2 not addressable:
-bad address 0x........
- Address 0x........ is 2 bytes inside data symbol "undefined"
-Address 0x........ len 2 not addressable:
-bad address 0x........
- Address 0x........ is 2 bytes inside data symbol "undefined"
-____
-Address 0x........ len 2 has 2 bytes unaddressable
-Address 0x........ len 6 addressable
- Address 0x........ is 4 bytes inside data symbol "undefined"
-Address 0x........ len 6 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 4 bytes inside data symbol "undefined"
-ffffff00 ff00
-Address 0x........ len 10 not addressable:
-bad address 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not addressable:
-bad address 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-0000____ 00000000 0000
-Address 0x........ len 10 has 2 bytes unaddressable
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2011-05-13 00:06:04.000000000 -0500
+++ hg05_race2.stderr.out 2011-05-13 00:35:17.000000000 -0500
@@ -17,8 +17,6 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: th (hg05_race2.c:17)
@@ -28,8 +26,6 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2011-05-13 00:06:04.000000000 -0500
+++ tc06_two_races_xml.stderr.out 2011-05-13 00:36:01.000000000 -0500
@@ -45,11 +45,17 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>do_clone</fn>
+ <dir>...</dir>
+ <file>createthread.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_create@@GLIBC_2.2.5</fn>
+ <fn>pthread_create@@GLIBC_2.1</fn>
+ <dir>...</dir>
+ <file>createthread.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -121,6 +127,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -175,6 +184,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -229,6 +241,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -283,6 +298,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
=================================================
./valgrind-new/helgrind/tests/tc23_bogus_condwait.stderr.diff
=================================================
--- tc23_bogus_condwait.stderr.exp 2011-05-13 00:06:04.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-05-13 00:37:07.000000000 -0500
@@ -2,39 +2,24 @@
Thread #x is the program's root thread
Thread #x: pthread_cond_{timed}wait called with invalid mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:69)
-Thread #x: pthread_cond_{timed}wait called with un-held mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:72)
-
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:72)
-
-Thread #x: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t*
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:75)
-
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:75)
-Thread #x: pthread_cond_{timed}wait called with mutex held by a different thread
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:64)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:108)
by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:78)
+ by 0x........: main (tc23_bogus_condwait.c:69)
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:61)
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:78)
+Thread #x: Exiting thread still holds 1 lock
+ ...
+ ...
-ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/massif/tests/deep-D.post.diff
=================================================
--- deep-D.post.exp 2011-05-13 00:06:15.000000000 -0500
+++ deep-D.post.out 2011-05-13 00:31:39.000000000 -0500
@@ -46,8 +46,9 @@
8 3,264 3,264 3,200 64 0
9 3,672 3,672 3,600 72 0
98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->98.04% (3,600B) 0x........: (below main)
-
+->98.04% (3,600B) 0x........: ??? (in /...libc...)
+ ->98.04% (3,600B) 0x........: (below main)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
=================================================
./valgrind-new/massif/tests/overloaded-new.post.diff
=================================================
--- overloaded-new.post.exp 2011-05-13 00:06:15.000000000 -0500
+++ overloaded-new.post.out 2011-05-13 00:31:50.000000000 -0500
@@ -42,14 +42,18 @@
4 12,032 12,032 12,000 32 0
5 12,032 12,032 12,000 32 0
99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
-|
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
-|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
-|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
-
+->33.24% (4,000B) 0x........: operator new(unsigned int) (overloaded-new.cpp:19)
+| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
+|
+->33.24% (4,000B) 0x........: operator new(unsigned int, std::nothrow_t const&) (overloaded-new.cpp:24)
+| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
+|
+->16.62% (2,000B) 0x........: operator new[](unsigned int) (overloaded-new.cpp:29)
+| ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
+|
+->16.62% (2,000B) 0x........: operator new[](unsigned int, std::nothrow_t const&) (overloaded-new.cpp:34)
+ ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
=================================================
./valgrind-new/memcheck/tests/badjump.stderr.diff
=================================================
--- badjump.stderr.exp 2011-05-13 00:06:13.000000000 -0500
+++ badjump.stderr.out 2011-05-13 00:24:39.000000000 -0500
@@ -1,6 +1,7 @@
Jump to the invalid address stated on the next line
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
@@ -8,6 +9,7 @@
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
=================================================
./valgrind-new/memcheck/tests/badjump.stderr.diff-s390x
=================================================
--- badjump.stderr.exp-s390x 2011-05-13 00:06:13.000000000 -0500
+++ badjump.stderr.out 2011-05-13 00:24:39.000000000 -0500
@@ -1,14 +1,16 @@
Jump to the invalid address stated on the next line
at 0x........: ???
- by 0x........: main (badjump.c:17)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
- by 0x........: main (badjump.c:17)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
possible), you can try to increase the size of the
=================================================
./valgrind-new/memcheck/tests/badjump2.stderr.diff
=================================================
--- badjump2.stderr.exp 2011-05-13 00:06:13.000000000 -0500
+++ badjump2.stderr.out 2011-05-13 00:24:41.000000000 -0500
@@ -1,5 +1,6 @@
Jump to the invalid address stated on the next line
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
=================================================
./valgrind-new/memcheck/tests/badjump2.stderr.diff-s390x
=================================================
--- badjump2.stderr.exp-s390x 2011-05-13 00:06:13.000000000 -0500
+++ badjump2.stderr.out 2011-05-13 00:24:41.000000000 -0500
@@ -1,6 +1,7 @@
Jump to the invalid address stated on the next line
at 0x........: ???
- by 0x........: main (badjump2.c:46)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Signal caught, as expected
=================================================
./valgrind-new/memcheck/tests/linux/stack_changes.stderr.diff
=================================================
--- stack_changes.stderr.exp 2011-05-13 00:06:10.000000000 -0500
+++ stack_changes.stderr.out 2011-05-13 00:26:05.000000000 -0500
@@ -0,0 +1,5 @@
+WARNING: unhandled syscall: 249
+You may be able to write your own handler.
+Read the file README_MISSING_SYSCALL_OR_IOCTL.
+Nevertheless we consider this a bug. Please report
+it at http://valgrind.org/support/bug_reports.html.
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2011-05-13 00:06:13.000000000 -0500
+++ origin5-bz2.stderr.out 2011-05-13 00:27:27.000000000 -0500
@@ -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,18 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- 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: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)
@@ -93,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)
@@ -104,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)
@@ -115,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
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2011-05-13 00:06:12.000000000 -0500
+++ origin5-bz2.stderr.out 2011-05-13 00:27:27.000000000 -0500
@@ -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 2011-05-13 00:06:13.000000000 -0500
+++ origin5-bz2.stderr.out 2011-05-13 00:27:27.000000000 -0500
@@ -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 2011-05-13 00:06:12.000000000 -0500
+++ origin5-bz2.stderr.out 2011-05-13 00:27:27.000000000 -0500
@@ -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,25 +9,25 @@
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
+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)
@@ -36,9 +36,9 @@
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........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -47,9 +47,9 @@
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........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -58,9 +58,9 @@
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........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -69,9 +69,9 @@
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........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -80,9 +80,9 @@
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
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/supp_unknown.stderr.diff
=================================================
--- supp_unknown.stderr.exp 2011-05-13 00:06:12.000000000 -0500
+++ supp_unknown.stderr.out 2011-05-13 00:29:17.000000000 -0500
@@ -1,7 +1,14 @@
+Jump to the invalid address stated on the next line
+ at 0x........: ???
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
=================================================
./valgrind-new/memcheck/tests/supp_unknown.stderr.diff-s390x
=================================================
--- supp_unknown.stderr.exp-s390x 2011-05-13 00:06:12.000000000 -0500
+++ supp_unknown.stderr.out 2011-05-13 00:29:17.000000000 -0500
@@ -1,8 +1,15 @@
+Jump to the invalid address stated on the next line
+ at 0x........: ???
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
- by 0x........: main (badjump.c:17)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
possible), you can try to increase the size of the
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff
=================================================
--- varinfo6.stderr.exp 2011-05-13 00:06:13.000000000 -0500
+++ varinfo6.stderr.out 2011-05-13 00:29:59.000000000 -0500
@@ -7,8 +7,7 @@
by 0x........: BZ2_bzCompress (varinfo6.c:4860)
by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667)
by 0x........: main (varinfo6.c:6517)
- Location 0x........ is 2 bytes inside local var "budget"
- declared at varinfo6.c:3115, in frame #2 of thread 1
+ Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo6.c:34)
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff-ppc64
=================================================
--- varinfo6.stderr.exp-ppc64 2011-05-13 00:06:12.000000000 -0500
+++ varinfo6.stderr.out 2011-05-13 00:29:59.000000000 -0500
@@ -1,5 +1,5 @@
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: mainSort (varinfo6.c:2999)
by 0x........: BZ2_blockSort (varinfo6.c:3143)
by 0x........: BZ2_compressBlock (varinfo6.c:4072)
@@ -10,7 +10,7 @@
Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: BZ2_decompress (varinfo6.c:1699)
by 0x........: BZ2_bzDecompress (varinfo6.c:5230)
by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715)
=================================================
./valgrind-new/none/tests/linux/mremap.stderr.diff
=================================================
--- mremap.stderr.exp 2011-05-13 00:06:25.000000000 -0500
+++ mremap.stderr.out 2011-05-13 00:32:48.000000000 -0500
@@ -1,3 +1,12 @@
-mremap(grow, nomove, constrained): Cannot allocate memory
+mremap(shrink, fixed): Invalid argument
+shrink, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(shrink, maymove): Invalid argument
+shrink, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, fixed): Invalid argument
+grow, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, maymove): Invalid argument
+grow, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, nomove, constrained): Invalid argument
+mremap(grow, maymove, constrained): Invalid argument
=================================================
./valgrind-new/none/tests/linux/mremap.stderr.diff-glibc27
=================================================
--- mremap.stderr.exp-glibc27 2011-05-13 00:06:25.000000000 -0500
+++ mremap.stderr.out 2011-05-13 00:32:48.000000000 -0500
@@ -1,6 +1,12 @@
-mremap(grow, fixed): Cannot allocate memory
+mremap(shrink, fixed): Invalid argument
+shrink, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(shrink, maymove): Invalid argument
+shrink, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, fixed): Invalid argument
grow, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, maymove): Invalid argument
grow, maymove: p=0x........ np=0x........: shrink moved?!
-mremap(grow, nomove, constrained): Cannot allocate memory
+mremap(grow, nomove, constrained): Invalid argument
+mremap(grow, maymove, constrained): Invalid argument
=================================================
./valgrind-new/none/tests/ppc32/jm-fp.stderr.diff
=================================================
--- jm-fp.stderr.exp 2011-05-13 00:06:24.000000000 -0500
+++ jm-fp.stderr.out 2011-05-13 00:33:22.000000000 -0500
@@ -1,2 +1,27 @@
+disInstr(ppc): declined to decode a GeneralPurpose-Optional insn.
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 44(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: test_fsqrt (jm-insns.c:1986)
+ by 0x........: test_float_one_arg (jm-insns.c:5738)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: test_fsqrt (jm-insns.c:1986)
+ by 0x........: test_float_one_arg (jm-insns.c:5738)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
=================================================
./valgrind-new/none/tests/ppc32/jm-fp.stdout.diff
=================================================
--- jm-fp.stdout.exp 2011-05-13 00:06:24.000000000 -0500
+++ jm-fp.stdout.out 2011-05-13 00:33:22.000000000 -0500
@@ -794,570 +794,4 @@
fnabs 0010000000000001 => 8010000000000001
fnabs 00100094e0000359 => 80100094e0000359
- fnabs 3fe0000000000001 => bfe0000000000001
- fnabs 3fe00094e0000359 => bfe00094e0000359
- fnabs 8010000000000001 => 8010000000000001
- fnabs 80100094e0000359 => 80100094e0000359
- fnabs bfe0000000000001 => bfe0000000000001
- fnabs bfe00094e0000359 => bfe00094e0000359
- fnabs 0000000000000000 => 8000000000000000
- fnabs 8000000000000000 => 8000000000000000
- fnabs 7ff0000000000000 => fff0000000000000
- fnabs fff0000000000000 => fff0000000000000
- fnabs 7ff7ffffffffffff => fff7ffffffffffff
- fnabs fff7ffffffffffff => fff7ffffffffffff
- fnabs 7ff8000000000000 => fff8000000000000
- fnabs fff8000000000000 => fff8000000000000
-
- fsqrt 0010000000000001 => 2000000000000000
- fsqrt 00100094e0000359 => 2000004a6f52dd4a
- fsqrt 3fe0000000000001 => 3fe6a09e667f3bcd
- fsqrt 3fe00094e0000359 => 3fe6a107aacb50df
- fsqrt 8010000000000001 => 7ff8000000000000
- fsqrt 80100094e0000359 => 7ff8000000000000
- fsqrt bfe0000000000001 => 7ff8000000000000
- fsqrt bfe00094e0000359 => 7ff8000000000000
- fsqrt 0000000000000000 => 0000000000000000
- fsqrt 8000000000000000 => 8000000000000000
- fsqrt 7ff0000000000000 => 7ff0000000000000
- fsqrt fff0000000000000 => 7ff8000000000000
- fsqrt 7ff7ffffffffffff => 7fffffffffffffff
- fsqrt fff7ffffffffffff => ffffffffffffffff
- fsqrt 7ff8000000000000 => 7ff8000000000000
- fsqrt fff8000000000000 => fff8000000000000
-
-PPC floating point arith insns
- with one arg with flags update:
- frsp. 0010000000000001 => 0000000000000000
- frsp. 00100094e0000359 => 0000000000000000
- frsp. 3fe0000000000001 => 3fe0000000000000
- frsp. 3fe00094e0000359 => 3fe00094e0000000
- frsp. 8010000000000001 => 8000000000000000
- frsp. 80100094e0000359 => 8000000000000000
- frsp. bfe0000000000001 => bfe0000000000000
- frsp. bfe00094e0000359 => bfe00094e0000000
- frsp. 0000000000000000 => 0000000000000000
- frsp. 8000000000000000 => 8000000000000000
- frsp. 7ff0000000000000 => 7ff0000000000000
- frsp. fff0000000000000 => fff0000000000000
- frsp. 7ff7ffffffffffff => 7fffffffe0000000
- frsp. fff7ffffffffffff => ffffffffe0000000
- frsp. 7ff8000000000000 => 7ff8000000000000
- frsp. fff8000000000000 => fff8000000000000
-
- fctiw. 0010000000000001 => 0000000000000000
- fctiw. 00100094e0000359 => 0000000000000000
- fctiw. 3fe0000000000001 => 0000000000000001
- fctiw. 3fe00094e0000359 => 0000000000000001
- fctiw. 8010000000000001 => 0000000000000000
- fctiw. 80100094e0000359 => 0000000000000000
- fctiw. bfe0000000000001 => 00000000ffffffff
- fctiw. bfe00094e0000359 => 00000000ffffffff
- fctiw. 0000000000000000 => 0000000000000000
- fctiw. 8000000000000000 => 0000000000000000
- fctiw. 7ff0000000000000 => 000000007fffffff
- fctiw. fff0000000000000 => 0000000080000000
- fctiw. 7ff7ffffffffffff => 0000000080000000
- fctiw. fff7ffffffffffff => 0000000080000000
- fctiw. 7ff8000000000000 => 0000000080000000
- fctiw. fff8000000000000 => 0000000080000000
-
- fctiwz. 0010000000000001 => 0000000000000000
- fctiwz. 00100094e0000359 => 0000000000000000
- fctiwz. 3fe0000000000001 => 0000000000000000
- fctiwz. 3fe00094e0000359 => 0000000000000000
- fctiwz. 8010000000000001 => 0000000000000000
- fctiwz. 80100094e0000359 => 0000000000000000
- fctiwz. bfe0000000000001 => 0000000000000000
- fctiwz. bfe00094e0000359 => 0000000000000000
- fctiwz. 0000000000000000 => 0000000000000000
- fctiwz. 8000000000000000 => 0000000000000000
- fctiwz. 7ff0000000000000 => 000000007fffffff
- fctiwz. fff0000000000000 => 0000000080000000
- fctiwz. 7ff7ffffffffffff => 0000000080000000
- fctiwz. fff7ffffffffffff => 0000000080000000
- fctiwz. 7ff8000000000000 => 0000000080000000
- fctiwz. fff8000000000000 => 0000000080000000
-
- fmr. 0010000000000001 => 0010000000000001
- fmr. 00100094e0000359 => 00100094e0000359
- fmr. 3fe0000000000001 => 3fe0000000000001
- fmr. 3fe00094e0000359 => 3fe00094e0000359
- fmr. 8010000000000001 => 8010000000000001
- fmr. 80100094e0000359 => 80100094e0000359
- fmr. bfe0000000000001 => bfe0000000000001
- fmr. bfe00094e0000359 => bfe00094e0000359
- fmr. 0000000000000000 => 0000000000000000
<truncated beyond 100 lines>
=================================================
./valgrind-new/none/tests/ppc32/power5+_round.stderr.diff
=================================================
--- power5+_round.stderr.exp 2011-05-13 00:06:24.000000000 -0500
+++ power5+_round.stderr.out 2011-05-13 00:33:30.000000000 -0500
@@ -1,2 +1,20 @@
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 784(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: main (power5+_round.c:124)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. The...
[truncated message content] |
|
From: Tom H. <th...@cy...> - 2011-05-13 02:55:25
|
Nightly build on vauxhall ( x86_64, Fedora 14 ) Started at 2011-05-13 03:20:04 BST Ended at 2011-05-13 03:54:52 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 566 tests, 9 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) exp-sgcheck/tests/bad_percentify (stderr) exp-sgcheck/tests/globalerr (stderr) exp-sgcheck/tests/hackedbz2 (stderr) exp-sgcheck/tests/hsg (stderr) exp-sgcheck/tests/preen_invars (stderr) exp-sgcheck/tests/stackerr (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 == 582 tests, 25 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) exp-sgcheck/tests/bad_percentify (stderr) exp-sgcheck/tests/base (stderr) exp-sgcheck/tests/ccc (stderr) exp-sgcheck/tests/fp (stderr) exp-sgcheck/tests/globalerr (stderr) exp-sgcheck/tests/hackedbz2 (stderr) exp-sgcheck/tests/hp_bounds (stderr) exp-sgcheck/tests/hp_dangle (stderr) exp-sgcheck/tests/hsg (stderr) exp-sgcheck/tests/justify (stderr) exp-sgcheck/tests/partial_bad (stderr) exp-sgcheck/tests/partial_good (stderr) exp-sgcheck/tests/preen_invars (stderr) exp-sgcheck/tests/pth_create (stderr) exp-sgcheck/tests/pth_specific (stderr) exp-sgcheck/tests/realloc (stderr) exp-sgcheck/tests/stackerr (stderr) exp-sgcheck/tests/strcpy (stderr) exp-sgcheck/tests/supp (stderr) exp-sgcheck/tests/tricky (stderr) exp-sgcheck/tests/unaligned (stderr) exp-sgcheck/tests/zero (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Fri May 13 03:37:58 2011 --- new.short Fri May 13 03:54:52 2011 *************** *** 8,10 **** ! == 582 tests, 25 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) --- 8,10 ---- ! == 566 tests, 9 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) *************** *** 15,37 **** exp-sgcheck/tests/bad_percentify (stderr) - exp-sgcheck/tests/base (stderr) - exp-sgcheck/tests/ccc (stderr) - exp-sgcheck/tests/fp (stderr) exp-sgcheck/tests/globalerr (stderr) exp-sgcheck/tests/hackedbz2 (stderr) - exp-sgcheck/tests/hp_bounds (stderr) - exp-sgcheck/tests/hp_dangle (stderr) exp-sgcheck/tests/hsg (stderr) - exp-sgcheck/tests/justify (stderr) - exp-sgcheck/tests/partial_bad (stderr) - exp-sgcheck/tests/partial_good (stderr) exp-sgcheck/tests/preen_invars (stderr) - exp-sgcheck/tests/pth_create (stderr) - exp-sgcheck/tests/pth_specific (stderr) - exp-sgcheck/tests/realloc (stderr) exp-sgcheck/tests/stackerr (stderr) - exp-sgcheck/tests/strcpy (stderr) - exp-sgcheck/tests/supp (stderr) - exp-sgcheck/tests/tricky (stderr) - exp-sgcheck/tests/unaligned (stderr) - exp-sgcheck/tests/zero (stderr) --- 15,21 ---- |
|
From: Rich C. <rc...@wi...> - 2011-05-13 02:53:06
|
Nightly build on ultra ( gcc 4.5.1 Linux 2.6.37.1-1.2-desktop x86_64 )
Started at 2011-05-12 21:30:01 CDT
Ended at 2011-05-12 21:52:50 CDT
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
== 566 tests, 81 stderr failures, 56 stdout failures, 5 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcbreak (stderrB)
gdbserver_tests/mcclean_after_fork (stderrB)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/mcvabits (stderrB)
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/x86/bug152022 (stderr)
memcheck/tests/x86/espindola2 (stderr)
memcheck/tests/x86/fpeflags (stderr)
memcheck/tests/x86/fprem (stdout)
memcheck/tests/x86/fprem (stderr)
memcheck/tests/x86/fxsave (stdout)
memcheck/tests/x86/fxsave (stderr)
memcheck/tests/x86/insn_basic (stdout)
memcheck/tests/x86/insn_basic (stderr)
memcheck/tests/x86/insn_cmov (stdout)
memcheck/tests/x86/insn_cmov (stderr)
memcheck/tests/x86/insn_fpu (stdout)
memcheck/tests/x86/insn_fpu (stderr)
memcheck/tests/x86/insn_mmx (stdout)
memcheck/tests/x86/insn_mmx (stderr)
memcheck/tests/x86/insn_sse (stdout)
memcheck/tests/x86/insn_sse (stderr)
memcheck/tests/x86/insn_sse2 (stdout)
memcheck/tests/x86/insn_sse2 (stderr)
memcheck/tests/x86/more_x86_fp (stdout)
memcheck/tests/x86/more_x86_fp (stderr)
memcheck/tests/x86/pushfpopf (stdout)
memcheck/tests/x86/pushfpopf (stderr)
memcheck/tests/x86/pushfw_x86 (stdout)
memcheck/tests/x86/pushfw_x86 (stderr)
memcheck/tests/x86/pushpopmem (stdout)
memcheck/tests/x86/pushpopmem (stderr)
memcheck/tests/x86/sse1_memory (stdout)
memcheck/tests/x86/sse1_memory (stderr)
memcheck/tests/x86/sse2_memory (stdout)
memcheck/tests/x86/sse2_memory (stderr)
memcheck/tests/x86/tronical (stderr)
memcheck/tests/x86/xor-undef-x86 (stdout)
memcheck/tests/x86/xor-undef-x86 (stderr)
memcheck/tests/x86-linux/bug133694 (stdout)
memcheck/tests/x86-linux/bug133694 (stderr)
memcheck/tests/x86-linux/int3-x86 (stdout)
memcheck/tests/x86-linux/int3-x86 (stderr)
memcheck/tests/x86-linux/scalar (stderr)
memcheck/tests/x86-linux/scalar_exit_group (stderr)
memcheck/tests/x86-linux/scalar_fork (stderr)
memcheck/tests/x86-linux/scalar_supp (stderr)
memcheck/tests/x86-linux/scalar_vfork (stderr)
cachegrind/tests/x86/fpu-28-108 (stderr)
none/tests/x86/aad_aam (stdout)
none/tests/x86/aad_aam (stderr)
none/tests/x86/badseg (stdout)
none/tests/x86/badseg (stderr)
none/tests/x86/bt_everything (stdout)
none/tests/x86/bt_everything (stderr)
none/tests/x86/bt_literal (stdout)
none/tests/x86/bt_literal (stderr)
none/tests/x86/bug125959-x86 (stdout)
none/tests/x86/bug125959-x86 (stderr)
none/tests/x86/bug126147-x86 (stdout)
none/tests/x86/bug126147-x86 (stderr)
none/tests/x86/bug132813-x86 (stdout)
none/tests/x86/bug132813-x86 (stderr)
none/tests/x86/bug135421-x86 (stdout)
none/tests/x86/bug135421-x86 (stderr)
none/tests/x86/bug137714-x86 (stdout)
none/tests/x86/bug137714-x86 (stderr)
none/tests/x86/bug152818-x86 (stdout)
none/tests/x86/bug152818-x86 (stderr)
none/tests/x86/cmpxchg8b (stdout)
none/tests/x86/cmpxchg8b (stderr)
none/tests/x86/cpuid (stdout)
none/tests/x86/cpuid (stderr)
none/tests/x86/cse_fail (stdout)
none/tests/x86/cse_fail (stderr)
none/tests/x86/fcmovnu (stdout)
none/tests/x86/fcmovnu (stderr)
none/tests/x86/fpu_lazy_eflags (stdout)
none/tests/x86/fpu_lazy_eflags (stderr)
none/tests/x86/fxtract (stdout)
none/tests/x86/fxtract (stderr)
none/tests/x86/getseg (stdout)
none/tests/x86/getseg (stderr)
none/tests/x86/incdec_alt (stdout)
none/tests/x86/incdec_alt (stderr)
none/tests/x86/insn_basic (stdout)
none/tests/x86/insn_basic (stderr)
none/tests/x86/insn_cmov (stdout)
none/tests/x86/insn_cmov (stderr)
none/tests/x86/insn_fpu (stdout)
none/tests/x86/insn_fpu (stderr)
none/tests/x86/insn_mmx (stdout)
none/tests/x86/insn_mmx (stderr)
none/tests/x86/insn_sse (stdout)
none/tests/x86/insn_sse (stderr)
none/tests/x86/insn_sse2 (stdout)
none/tests/x86/insn_sse2 (stderr)
none/tests/x86/insn_sse3 (stdout)
none/tests/x86/insn_sse3 (stderr)
none/tests/x86/insn_ssse3 (stdout)
none/tests/x86/insn_ssse3 (stderr)
none/tests/x86/jcxz (stdout)
none/tests/x86/jcxz (stderr)
none/tests/x86/lahf (stdout)
none/tests/x86/lahf (stderr)
none/tests/x86/looper (stdout)
none/tests/x86/looper (stderr)
none/tests/x86/movx (stdout)
none/tests/x86/movx (stderr)
none/tests/x86/pushpopseg (stdout)
none/tests/x86/pushpopseg (stderr)
none/tests/x86/sbbmisc (stdout)
none/tests/x86/sbbmisc (stderr)
none/tests/x86/shift_ndep (stdout)
none/tests/x86/shift_ndep (stderr)
none/tests/x86/smc1 (stdout)
none/tests/x86/smc1 (stderr)
none/tests/x86/ssse3_misaligned (stderr)
none/tests/x86/x86locked (stdout)
none/tests/x86/x86locked (stderr)
none/tests/x86/xadd (stdout)
none/tests/x86/xadd (stderr)
none/tests/x86-linux/seg_override (stdout)
none/tests/x86-linux/seg_override (stderr)
none/tests/x86-linux/sigcontext (stdout)
none/tests/x86-linux/sigcontext (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/stackerr (stderr)
exp-bbv/tests/x86/complex_rep (stderr)
exp-bbv/tests/x86/fldcw_check (stderr)
exp-bbv/tests/x86/million (stderr)
exp-bbv/tests/x86/rep_prefix (stderr)
exp-bbv/tests/x86-linux/clone_test (stderr)
exp-bbv/tests/x86-linux/clone_test (post)
exp-bbv/tests/x86-linux/ll (stdout)
exp-bbv/tests/x86-linux/ll (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
== 582 tests, 97 stderr failures, 56 stdout failures, 5 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcbreak (stderrB)
gdbserver_tests/mcclean_after_fork (stderrB)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/mcvabits (stderrB)
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/x86/bug152022 (stderr)
memcheck/tests/x86/espindola2 (stderr)
memcheck/tests/x86/fpeflags (stderr)
memcheck/tests/x86/fprem (stdout)
memcheck/tests/x86/fprem (stderr)
memcheck/tests/x86/fxsave (stdout)
memcheck/tests/x86/fxsave (stderr)
memcheck/tests/x86/insn_basic (stdout)
memcheck/tests/x86/insn_basic (stderr)
memcheck/tests/x86/insn_cmov (stdout)
memcheck/tests/x86/insn_cmov (stderr)
memcheck/tests/x86/insn_fpu (stdout)
memcheck/tests/x86/insn_fpu (stderr)
memcheck/tests/x86/insn_mmx (stdout)
memcheck/tests/x86/insn_mmx (stderr)
memcheck/tests/x86/insn_sse (stdout)
memcheck/tests/x86/insn_sse (stderr)
memcheck/tests/x86/insn_sse2 (stdout)
memcheck/tests/x86/insn_sse2 (stderr)
memcheck/tests/x86/more_x86_fp (stdout)
memcheck/tests/x86/more_x86_fp (stderr)
memcheck/tests/x86/pushfpopf (stdout)
memcheck/tests/x86/pushfpopf (stderr)
memcheck/tests/x86/pushfw_x86 (stdout)
memcheck/tests/x86/pushfw_x86 (stderr)
memcheck/tests/x86/pushpopmem (stdout)
memcheck/tests/x86/pushpopmem (stderr)
memcheck/tests/x86/sse1_memory (stdout)
memcheck/tests/x86/sse1_memory (stderr)
memcheck/tests/x86/sse2_memory (stdout)
memcheck/tests/x86/sse2_memory (stderr)
memcheck/tests/x86/tronical (stderr)
memcheck/tests/x86/xor-undef-x86 (stdout)
memcheck/tests/x86/xor-undef-x86 (stderr)
memcheck/tests/x86-linux/bug133694 (stdout)
memcheck/tests/x86-linux/bug133694 (stderr)
memcheck/tests/x86-linux/int3-x86 (stdout)
memcheck/tests/x86-linux/int3-x86 (stderr)
memcheck/tests/x86-linux/scalar (stderr)
memcheck/tests/x86-linux/scalar_exit_group (stderr)
memcheck/tests/x86-linux/scalar_fork (stderr)
memcheck/tests/x86-linux/scalar_supp (stderr)
memcheck/tests/x86-linux/scalar_vfork (stderr)
cachegrind/tests/x86/fpu-28-108 (stderr)
none/tests/x86/aad_aam (stdout)
none/tests/x86/aad_aam (stderr)
none/tests/x86/badseg (stdout)
none/tests/x86/badseg (stderr)
none/tests/x86/bt_everything (stdout)
none/tests/x86/bt_everything (stderr)
none/tests/x86/bt_literal (stdout)
none/tests/x86/bt_literal (stderr)
none/tests/x86/bug125959-x86 (stdout)
none/tests/x86/bug125959-x86 (stderr)
none/tests/x86/bug126147-x86 (stdout)
none/tests/x86/bug126147-x86 (stderr)
none/tests/x86/bug132813-x86 (stdout)
none/tests/x86/bug132813-x86 (stderr)
none/tests/x86/bug135421-x86 (stdout)
none/tests/x86/bug135421-x86 (stderr)
none/tests/x86/bug137714-x86 (stdout)
none/tests/x86/bug137714-x86 (stderr)
none/tests/x86/bug152818-x86 (stdout)
none/tests/x86/bug152818-x86 (stderr)
none/tests/x86/cmpxchg8b (stdout)
none/tests/x86/cmpxchg8b (stderr)
none/tests/x86/cpuid (stdout)
none/tests/x86/cpuid (stderr)
none/tests/x86/cse_fail (stdout)
none/tests/x86/cse_fail (stderr)
none/tests/x86/fcmovnu (stdout)
none/tests/x86/fcmovnu (stderr)
none/tests/x86/fpu_lazy_eflags (stdout)
none/tests/x86/fpu_lazy_eflags (stderr)
none/tests/x86/fxtract (stdout)
none/tests/x86/fxtract (stderr)
none/tests/x86/getseg (stdout)
none/tests/x86/getseg (stderr)
none/tests/x86/incdec_alt (stdout)
none/tests/x86/incdec_alt (stderr)
none/tests/x86/insn_basic (stdout)
none/tests/x86/insn_basic (stderr)
none/tests/x86/insn_cmov (stdout)
none/tests/x86/insn_cmov (stderr)
none/tests/x86/insn_fpu (stdout)
none/tests/x86/insn_fpu (stderr)
none/tests/x86/insn_mmx (stdout)
none/tests/x86/insn_mmx (stderr)
none/tests/x86/insn_sse (stdout)
none/tests/x86/insn_sse (stderr)
none/tests/x86/insn_sse2 (stdout)
none/tests/x86/insn_sse2 (stderr)
none/tests/x86/insn_sse3 (stdout)
none/tests/x86/insn_sse3 (stderr)
none/tests/x86/insn_ssse3 (stdout)
none/tests/x86/insn_ssse3 (stderr)
none/tests/x86/jcxz (stdout)
none/tests/x86/jcxz (stderr)
none/tests/x86/lahf (stdout)
none/tests/x86/lahf (stderr)
none/tests/x86/looper (stdout)
none/tests/x86/looper (stderr)
none/tests/x86/movx (stdout)
none/tests/x86/movx (stderr)
none/tests/x86/pushpopseg (stdout)
none/tests/x86/pushpopseg (stderr)
none/tests/x86/sbbmisc (stdout)
none/tests/x86/sbbmisc (stderr)
none/tests/x86/shift_ndep (stdout)
none/tests/x86/shift_ndep (stderr)
none/tests/x86/smc1 (stdout)
none/tests/x86/smc1 (stderr)
none/tests/x86/ssse3_misaligned (stderr)
none/tests/x86/x86locked (stdout)
none/tests/x86/x86locked (stderr)
none/tests/x86/xadd (stdout)
none/tests/x86/xadd (stderr)
none/tests/x86-linux/seg_override (stdout)
none/tests/x86-linux/seg_override (stderr)
none/tests/x86-linux/sigcontext (stdout)
none/tests/x86-linux/sigcontext (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/base (stderr)
exp-sgcheck/tests/ccc (stderr)
exp-sgcheck/tests/fp (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hp_bounds (stderr)
exp-sgcheck/tests/hp_dangle (stderr)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/justify (stderr)
exp-sgcheck/tests/partial_bad (stderr)
exp-sgcheck/tests/partial_good (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/pth_create (stderr)
exp-sgcheck/tests/pth_specific (stderr)
exp-sgcheck/tests/realloc (stderr)
exp-sgcheck/tests/stackerr (stderr)
exp-sgcheck/tests/strcpy (stderr)
exp-sgcheck/tests/supp (stderr)
exp-sgcheck/tests/tricky (stderr)
exp-sgcheck/tests/unaligned (stderr)
exp-sgcheck/tests/zero (stderr)
exp-bbv/tests/x86/complex_rep (stderr)
exp-bbv/tests/x86/fldcw_check (stderr)
exp-bbv/tests/x86/million (stderr)
exp-bbv/tests/x86/rep_prefix (stderr)
exp-bbv/tests/x86-linux/clone_test (stderr)
exp-bbv/tests/x86-linux/clone_test (post)
exp-bbv/tests/x86-linux/ll (stdout)
exp-bbv/tests/x86-linux/ll (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Thu May 12 21:41:28 2011
--- new.short Thu May 12 21:52:50 2011
***************
*** 8,10 ****
! == 582 tests, 97 stderr failures, 56 stdout failures, 5 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcbreak (stderrB)
--- 8,10 ----
! == 566 tests, 81 stderr failures, 56 stdout failures, 5 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcbreak (stderrB)
***************
*** 139,161 ****
exp-sgcheck/tests/bad_percentify (stderr)
- exp-sgcheck/tests/base (stderr)
- exp-sgcheck/tests/ccc (stderr)
- exp-sgcheck/tests/fp (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stderr)
- exp-sgcheck/tests/hp_bounds (stderr)
- exp-sgcheck/tests/hp_dangle (stderr)
exp-sgcheck/tests/hsg (stderr)
- exp-sgcheck/tests/justify (stderr)
- exp-sgcheck/tests/partial_bad (stderr)
- exp-sgcheck/tests/partial_good (stderr)
exp-sgcheck/tests/preen_invars (stderr)
- exp-sgcheck/tests/pth_create (stderr)
- exp-sgcheck/tests/pth_specific (stderr)
- exp-sgcheck/tests/realloc (stderr)
exp-sgcheck/tests/stackerr (stderr)
- exp-sgcheck/tests/strcpy (stderr)
- exp-sgcheck/tests/supp (stderr)
- exp-sgcheck/tests/tricky (stderr)
- exp-sgcheck/tests/unaligned (stderr)
- exp-sgcheck/tests/zero (stderr)
exp-bbv/tests/x86/complex_rep (stderr)
--- 139,145 ----
=================================================
./valgrind-new/cachegrind/tests/x86/fpu-28-108.stderr.diff
=================================================
--- fpu-28-108.stderr.exp 2011-05-12 21:41:44.971954353 -0500
+++ fpu-28-108.stderr.out 2011-05-12 21:48:17.238964365 -0500
@@ -1,17 +1 @@
-
-
-I refs:
-I1 misses:
-LLi misses:
-I1 miss rate:
-LLi miss rate:
-
-D refs:
-D1 misses:
-LLd misses:
-D1 miss rate:
-LLd miss rate:
-
-LL refs:
-LL misses:
-LL miss rate:
+valgrind: ./fpu-28-108: No such file or directory
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/clone_test.post.diff
=================================================
--- clone_test.post.exp 2011-05-12 21:41:36.379765310 -0500
+++ clone_test.post.out 2011-05-12 21:52:50.865970163 -0500
@@ -1,58 +0,0 @@
-T 4 996 5 2 3 98991
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 1001 2 3 98994
-T 100000
-T 100000
-T 100000
-T 100000
-
-
-# Thread 1
-# Total intervals: 15 (Interval Size 100000)
-# Total instructions: 1501007
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
-
-T 2 3 99996
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 99996 4
-T 100000
-T 100000
-T 100000
-T 100000
-T 99998 2
-
-
-# Thread 2
-# Total intervals: 25 (Interval Size 100000)
-# Total instructions: 2500001
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
-
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/clone_test.stderr.diff
=================================================
--- clone_test.stderr.exp 2011-05-12 21:41:36.379765310 -0500
+++ clone_test.stderr.out 2011-05-12 21:52:50.847971781 -0500
@@ -1,12 +0,0 @@
-# Thread 1
-# Total intervals: 15 (Interval Size 100000)
-# Total instructions: 1501007
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
-# Thread 2
-# Total intervals: 25 (Interval Size 100000)
-# Total instructions: 2500001
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/ll.stderr.diff
=================================================
--- ll.stderr.exp 2011-05-12 21:41:36.378765408 -0500
+++ ll.stderr.out 2011-05-12 21:52:50.886968275 -0500
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 39 (Interval Size 1000)
-# Total instructions: 39439
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/ll.stdout.diff
=================================================
--- ll.stdout.exp 2011-05-12 21:41:36.377765505 -0500
+++ ll.stdout.out 2011-05-12 21:52:50.881968725 -0500
@@ -1,17 +0,0 @@
-[0;1;37;47m#################################################################[0;30;47m#####[1;37m#########[1;37;40m
-[0;1;37;47m################################################################[0;30;47m#######[1;37m########[1;37;40m
-[0;1;37;47m###################[31m#[37m############################################[0;30;47m##[1;37mO[0;30;47m#[1;37mO[0;30;47m##[1;37m########[1;37;40m
-[0;1;37;47m##[0;30;47m######[1;37m##########[31m##[0;30;47m#[1;37m###########################################[0;30;47m#[1;33m#####[0;30;47m#[1;37m########[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#############[0;30;47m#[1;37m##########################################[0;30;47m##[1;37m##[33m###[37m##[0;30;47m##[1;37m######[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#########[31m###[37m###[0;30;47m###[1;37m#[0;30;47m####[1;37m###[0;30;47m###[1;37m####[0;30;47m###[1;37m##[0;30;47m#####[1;37m#[0;30;47m######[1;37m#####[0;30;47m#[1;37m##########[0;30;47m##[1;37m#####[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m########[31m#[37m##[31m#[0;30;47m#[1;37m###[0;30;47m###[1;37m####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m####[0;30;47m##[1;37m###[0;30;47m##[1;37m#######[0;30;47m#[1;37m############[0;30;47m##[1;37m####[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#######[31m#[37m###[31m#[0;30;47m#[1;37m###[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m######[0;30;47m###[1;37m#########[0;30;47m#[1;37m############[0;30;47m###[1;37m###[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m##########[31m##[0;30;47m#[1;37m###[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m######[0;30;47m###[1;37m########[33m##[0;30;47m#[1;37m###########[0;30;47m##[1;33m#[37m###[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#######[0;30;47m#[1;37m#[31m##[0;30;47m#[1;37m####[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m#####[0;30;47m##[1;37m#[0;30;47m##[1;37m#####[33m######[0;30;47m#[1;37m#######[30m#[33m######[37m#[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m######[0;30;47m##[1;37m#[31m##[0;30;47m#[1;37m#[0;30;47m#[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m###[1;37m###[0;30;47m###[1;37m####[0;30;47m##[1;37m###[0;30;47m##[1;37m####[33m#######[0;30;47m#[1;37m#####[0;30;47m#[1;33m#######[37m#[1;37;40m
-[0;1;37;47m##[0;30;47m############[1;37m##[0;30;47m###[1;37m##[0;30;47m####[1;37m###[0;30;47m####[1;37m###[0;30;47m####[1;37m#[0;30;47m###[1;37m#[0;30;47m#####[1;37m#[0;30;47m######[1;37m###[33m#####[30m#[0;30;47m#####[1m#[33m#####[37m###[1;37;40m
-
-[7CLinux Version 2.6.29, Compiled #1 SMP Mon May 4 09:51:54 EDT 2009
-[5COne 1665MHz AMD Athlon(tm) Processor, 512M RAM, 3330.53 Bogomips Total
-[37Ctobler[0m
-
=================================================
./valgrind-new/exp-bbv/tests/x86/complex_rep.stderr.diff
=================================================
--- complex_rep.stderr.exp 2011-05-12 21:41:36.491754733 -0500
+++ complex_rep.stderr.out 2011-05-12 21:52:50.742981223 -0500
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 0 (Interval Size 100000)
-# Total instructions: 8206
-# Total reps: 2100228
-# Unique reps: 2052
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86/fldcw_check.stderr.diff
=================================================
--- fldcw_check.stderr.exp 2011-05-12 21:41:36.491754733 -0500
+++ fldcw_check.stderr.out 2011-05-12 21:52:50.766979065 -0500
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 0 (Interval Size 10000)
-# Total instructions: 9261
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 2061
=================================================
./valgrind-new/exp-bbv/tests/x86/million.stderr.diff
=================================================
--- million.stderr.exp 2011-05-12 21:41:36.490754829 -0500
+++ million.stderr.out 2011-05-12 21:52:50.791976817 -0500
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 10 (Interval Size 100000)
-# Total instructions: 1000000
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86/rep_prefix.stderr.diff
=================================================
--- rep_prefix.stderr.exp 2011-05-12 21:41:36.489754929 -0500
+++ rep_prefix.stderr.out 2011-05-12 21:52:50.817974479 -0500
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 0 (Interval Size 100000)
-# Total instructions: 124
-# Total reps: 229402
-# Unique reps: 26
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-sgcheck/tests/bad_percentify.stderr.diff-glibc28-amd64
=================================================
--- bad_percentify.stderr.exp-glibc28-amd64 2011-05-12 21:42:07.990781923 -0500
+++ bad_percentify.stderr.out 2011-05-12 21:52:41.848780970 -0500
@@ -1,33 +1,34 @@
+exp-sgcheck, a stack and global array overrun detector
Invalid read of size 1
- at 0x........: strlen (h_intercepts.c:...)
- by 0x........: ...
+ at 0x........: ...
by 0x........: ...
by 0x........: VG_print_translation_stats (bad_percentify.c:88)
by 0x........: main (bad_percentify.c:107)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 3 back from here
+ Expected: stack array "buf" of size 6 in frame 2 back from here
Actual: unknown
+ Actual: is 0 after Expected
Invalid read of size 1
- at 0x........: strlen (h_intercepts.c:...)
- by 0x........: ...
+ at 0x........: ...
by 0x........: ...
by 0x........: VG_print_translation_stats (bad_percentify.c:93)
by 0x........: main (bad_percentify.c:107)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 3 back from here
+ Expected: stack array "buf" of size 6 in frame 2 back from here
Actual: unknown
+ Actual: is 0 after Expected
Invalid read of size 1
- at 0x........: strlen (h_intercepts.c:...)
- by 0x........: ...
+ at 0x........: ...
by 0x........: ...
by 0x........: VG_print_translation_stats (bad_percentify.c:98)
by 0x........: main (bad_percentify.c:107)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 3 back from here
+ Expected: stack array "buf" of size 6 in frame 2 back from here
Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/globalerr.stderr.diff-glibc28-amd64
=================================================
--- globalerr.stderr.exp-glibc28-amd64 2011-05-12 21:42:07.988782099 -0500
+++ globalerr.stderr.out 2011-05-12 21:52:42.772697896 -0500
@@ -1,15 +1,18 @@
+exp-sgcheck, a stack and global array overrun detector
Invalid read of size 2
at 0x........: main (globalerr.c:12)
Address 0x........ expected vs actual:
- Expected: global array "a" in object with soname "NONE"
+ Expected: global array "a" of size 14 in object with soname "NONE"
Actual: unknown
+ Actual: is 0 after Expected
Invalid read of size 2
at 0x........: main (globalerr.c:12)
Address 0x........ expected vs actual:
- Expected: global array "b" in object with soname "NONE"
+ Expected: global array "b" of size 14 in object with soname "NONE"
Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/hackedbz2.stderr.diff-glibc28-amd64
=================================================
--- hackedbz2.stderr.exp-glibc28-amd64 2011-05-12 21:42:07.987782181 -0500
+++ hackedbz2.stderr.out 2011-05-12 21:52:47.196300137 -0500
@@ -1,3 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
Invalid read of size 1
at 0x........: vex_strlen (hackedbz2.c:1006)
@@ -9,8 +10,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (hackedbz2.c:5638)
by 0x........: main (hackedbz2.c:6484)
Address 0x........ expected vs actual:
- Expected: global array "myprintf_buf" in object with soname "NONE"
+ Expected: global array "myprintf_buf" of size 70 in object with soname "NONE"
Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/hsg.stderr.diff
=================================================
--- hsg.stderr.exp 2011-05-12 21:42:07.991781842 -0500
+++ hsg.stderr.out 2011-05-12 21:52:48.142215081 -0500
@@ -3,7 +3,7 @@
<valgrindoutput>
<protocolversion>4</protocolversion>
-<protocoltool>exp-ptrcheck</protocoltool>
+<protocoltool>exp-sgcheck</protocoltool>
<preamble>
<line>...</line>
@@ -15,7 +15,7 @@
<pid>...</pid>
<ppid>...</ppid>
-<tool>exp-ptrcheck</tool>
+<tool>exp-sgcheck</tool>
<args>
<vargv>...</vargv>
@@ -53,7 +53,7 @@
</frame>
</stack>
<auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: global array "ga" in object with soname "NONE"</auxwhat>
+ <auxwhat>Expected: global array "ga" of size 200 in object with soname "NONE"</auxwhat>
<auxwhat>Actual: unknown</auxwhat>
</error>
@@ -89,116 +89,10 @@
</frame>
</stack>
<auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: stack array "la" in frame 1 back from here</auxwhat>
+ <auxwhat>Expected: stack array "la" of size 200 in frame 1 back from here</auxwhat>
<auxwhat>Actual: unknown</auxwhat>
</error>
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>Heap</kind>
- <what>Invalid read of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_stupid_malloc_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 1 bytes before the accessing pointer's</auxwhat>
- <auxwhat>legitimate range, a block of size 100 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_stupid_malloc_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>Heap</kind>
- <what>Invalid read of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
=================================================
./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64
=================================================
--- preen_invars.stderr.exp-glibc28-amd64 2011-05-12 21:42:07.986782264 -0500
+++ preen_invars.stderr.out 2011-05-12 21:52:49.114127687 -0500
@@ -1,9 +1,10 @@
+exp-sgcheck, a stack and global array overrun detector
Invalid read of size 1
at 0x........: main (preen_invars.c:22)
Address 0x........ expected vs actual:
Expected: unknown
- Actual: global array "im_a_global_arr" in object with soname "preen_invars_so"
+ Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so"
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc27-x86
=================================================
--- stackerr.stderr.exp-glibc27-x86 2011-05-12 21:42:07.985782353 -0500
+++ stackerr.stderr.out 2011-05-12 21:52:50.049043621 -0500
@@ -1,17 +1,20 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid write of size 4
+Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" in frame 2 back from here
- Actual: stack array "beforea" in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
+ Actual: unknown
+ Actual: is 0 after Expected
-Invalid write of size 4
+Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" in this frame
- Actual: stack array "beforea" in this frame
+ Expected: stack array "a" of size 56 in this frame
+ Actual: unknown
+ Actual: is 0 after Expected
Invalid write of size 1
at 0x........: _IO_default_xsputn (in /...libc...)
@@ -20,8 +23,9 @@
by 0x........: ...
by 0x........: main (stackerr.c:49)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 4 back from here
- Actual: stack array "beforebuf" in frame 4 back from here
+ Expected: stack array "buf" of size 8 in frame 4 back from here
+ Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/stackerr.stderr.diff-glibc28-amd64
=================================================
--- stackerr.stderr.exp-glibc28-amd64 2011-05-12 21:42:07.990781923 -0500
+++ stackerr.stderr.out 2011-05-12 21:52:50.049043621 -0500
@@ -1,17 +1,20 @@
+exp-sgcheck, a stack and global array overrun detector
Invalid write of size 8
at 0x........: foo (stackerr.c:27)
by 0x........: bar (stackerr.c:32)
by 0x........: main (stackerr.c:41)
Address 0x........ expected vs actual:
- Expected: stack array "a" in frame 2 back from here
+ Expected: stack array "a" of size 56 in frame 2 back from here
Actual: unknown
+ Actual: is 0 after Expected
Invalid write of size 8
at 0x........: main (stackerr.c:44)
Address 0x........ expected vs actual:
- Expected: stack array "a" in this frame
+ Expected: stack array "a" of size 56 in this frame
Actual: unknown
+ Actual: is 0 after Expected
Invalid write of size 1
at 0x........: _IO_default_xsputn (in /...libc...)
@@ -20,8 +23,9 @@
by 0x........: ...
by 0x........: main (stackerr.c:49)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 4 back from here
+ Expected: stack array "buf" of size 8 in frame 4 back from here
Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/mcbreak.stderrB.diff
=================================================
--- mcbreak.stderrB.exp 2011-05-12 21:41:37.081699052 -0500
+++ mcbreak.stderrB.out 2011-05-12 21:45:37.591011151 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=1493bf69b1d671cbad9be1d1b0284fbd9138444b"
vgdb-error value changed from 999999 to 0
n_errs_found 1 (vgdb-error 0)
vgdb-error value changed from 0 to 0
=================================================
./valgrind-new/gdbserver_tests/mcclean_after_fork.stderrB.diff
=================================================
--- mcclean_after_fork.stderrB.exp 2011-05-12 21:41:37.081699052 -0500
+++ mcclean_after_fork.stderrB.out 2011-05-12 21:45:39.133865689 -0500
@@ -1,4 +1,10 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=1493bf69b1d671cbad9be1d1b0284fbd9138444b"
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2011-05-12 21:41:37.082698956 -0500
+++ mcinfcallWSRU.stderrB.out 2011-05-12 21:46:02.966618814 -0500
@@ -2,6 +2,10 @@
vgdb-error value changed from 0 to 999999
Breakpoint 1 at 0x........: file sleepers.c, line 72.
Continuing.
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=1493bf69b1d671cbad9be1d1b0284fbd9138444b"
[New Thread ....]
Breakpoint 1, sleeper_or_burner (v=0x........) at sleepers.c:72
72 int i = 0;
=================================================
./valgrind-new/gdbserver_tests/mcvabits.stderrB.diff
=================================================
--- mcvabits.stderrB.exp 2011-05-12 21:41:37.084698771 -0500
+++ mcvabits.stderrB.out 2011-05-12 21:46:17.872213684 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=1493bf69b1d671cbad9be1d1b0284fbd9138444b"
Address 0x........ len 10 addressable
Address 0x........ is 0 bytes inside data symbol "undefined"
Address 0x........ len 10 defined
=================================================
./valgrind-new/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2011-05-12 21:41:37.083698860 -0500
+++ mssnapshot.stderrB.out 2011-05-12 21:46:20.778939680 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=1493bf69b1d671cbad9be1d1b0284fbd9138444b"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
vg.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2011-05-12 21:41:35.038891866 -0500
+++ tc06_two_races_xml.stderr.out 2011-05-12 21:50:10.598375878 -0500
@@ -44,7 +44,7 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>do_clone</fn>
+ <fn>do_clone.clone.0</fn>
</frame>
<frame>
<ip>0x........</ip>
@@ -122,11 +122,6 @@
<obj>...</obj>
<fn>start_thread</fn>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>clone</fn>
- </frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot1"</auxwhat>
<xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>...</line> </xauxwhat>
@@ -176,11 +171,6 @@
<obj>...</obj>
<fn>start_thread</fn>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>clone</fn>
- </frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot1"</auxwhat>
<xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>...</line> </xauxwhat>
@@ -230,11 +220,6 @@
<obj>...</obj>
<fn>start_thread</fn>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>clone</fn>
- </frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot2"</auxwhat>
<xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>...</line> </xauxwhat>
@@ -284,11 +269,6 @@
<obj>...</obj>
<fn>start_thread</fn>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>clone</fn>
- </frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot2"</auxwhat>
<xauxwhat><text>declared at tc06_two_races.c:9</text> <file>tc06_two_races.c</file> <line>...</line> </xauxwhat>
=================================================
./valgrind-new/memcheck/tests/linux/stack_switch.stderr.diff
=================================================
--- stack_switch.stderr.exp 2011-05-12 21:41:40.992329959 -0500
+++ stack_switch.stderr.out 2011-05-12 21:47:16.698669066 -0500
@@ -0,0 +1,3 @@
+Syscall param clone(child_tidptr) contains uninitialised byte(s)
+ ...
+
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2011-05-12 21:41:41.915242850 -0500
+++ origin5-bz2.stderr.out 2011-05-12 21:47:36.812773556 -0500
@@ -72,17 +72,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- 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:6479)
-
-Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -128,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2011-05-12 21:41:41.870247098 -0500
+++ origin5-bz2.stderr.out 2011-05-12 21:47:36.812773556 -0500
@@ -117,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2011-05-12 21:41:41.927241718 -0500
+++ origin5-bz2.stderr.out 2011-05-12 21:47:36.812773556 -0500
@@ -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 4
+Use of uninitialised value of size 8
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 4
+Use of uninitialised value of size 8
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,8 +27,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+Use of uninitialised value of size 8
+ 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)
@@ -37,8 +38,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+Use of uninitialised value of size 8
+ 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)
@@ -47,8 +49,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2855)
+Use of uninitialised value of size 8
+ 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)
@@ -57,8 +60,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2859)
+Use of uninitialised value of size 8
+ 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)
@@ -67,8 +71,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+Use of uninitialised value of size 8
+ 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)
@@ -77,8 +82,9 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2964)
+Use of uninitialised value of size 8
+ 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)
@@ -87,7 +93,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2011-05-12 21:41:41.868247288 -0500
+++ origin5-bz2.stderr.out 2011-05-12 21:47:36.812773556 -0500
@@ -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,7 +9,7 @@
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........: handle_compress (origin5-bz2.c:4686)
@@ -17,7 +17,7 @@
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........: handle_compress (origin5-bz2.c:4686)
@@ -25,7 +25,7 @@
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........: mainSort (origin5-bz2.c:2820)
@@ -36,7 +36,7 @@
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........: mainSort (origin5-bz2.c:2823)
@@ -47,7 +47,7 @@
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........: mainSort (origin5-bz2.c:2854)
@@ -58,7 +58,7 @@
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........: mainSort (origin5-bz2.c:2858)
@@ -69,7 +69,7 @@
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........: mainSort (origin5-bz2.c:2963)
@@ -80,7 +80,7 @@
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........: mainSort (origin5-bz2.c:2964)
@@ -91,7 +91,7 @@
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........: fallbackSort (origin5-bz2.c:2269)
@@ -102,7 +102,7 @@
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
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86-linux/bug133694.stderr.diff
=================================================
--- bug133694.stderr.exp 2011-05-12 21:41:38.025609965 -0500
+++ bug133694.stderr.out 2011-05-12 21:48:15.595119244 -0500
@@ -0,0 +1 @@
+valgrind: ./bug133694: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86-linux/bug133694.stdout.diff
=================================================
--- bug133694.stdout.exp 2011-05-12 21:41:38.019610534 -0500
+++ bug133694.stdout.out 2011-05-12 21:48:15.574121224 -0500
@@ -1 +0,0 @@
-success
=================================================
./valgrind-new/memcheck/tests/x86-linux/int3-x86.stderr.diff
=================================================
--- int3-x86.stderr.exp 2011-05-12 21:41:38.022610249 -0500
+++ int3-x86.stderr.out 2011-05-12 21:48:15.620116890 -0500
@@ -0,0 +1 @@
+valgrind: ./int3-x86: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86-linux/int3-x86.stdout.diff
=================================================
--- int3-x86.stdout.exp 2011-05-12 21:41:38.026609872 -0500
+++ int3-x86.stdout.out 2011-05-12 21:48:15.601118680 -0500
@@ -1,3 +0,0 @@
-main
-in int_handler, EIP is ...
-PASS
=================================================
./valgrind-new/memcheck/tests/x86-linux/scalar.stderr.diff
=================================================
--- scalar.stderr.exp 2011-05-12 21:41:38.024610059 -0500
+++ scalar.stderr.out 2011-05-12 21:48:15.645114534 -0500
@@ -1,3275 +1 @@
------------------------------------------------------
- 0:__NR_restart_syscall n/a
------------------------------------------------------
------------------------------------------------------
- 1: __NR_exit below
------------------------------------------------------
------------------------------------------------------
- 2: __NR_fork other
------------------------------------------------------
------------------------------------------------------
- 3: __NR_read 1+3s 1m
------------------------------------------------------
-Syscall param (syscallno) contains uninitialised byte(s)
- ...
-
-Syscall param read(fd) contains uninitialised byte(s)
- ...
-
-Syscall param read(buf) contains uninitialised byte(s)
- ...
-
-Syscall param read(count) contains uninitialised byte(s)
- ...
-
-Syscall param read(buf) points to unaddressable byte(s)
- ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 4: __NR_write 3s 1m
------------------------------------------------------
-Syscall param write(fd) contains uninitialised byte(s)
- ...
-
-Syscall param write(buf) contains uninitialised byte(s)
- ...
-
-Syscall param write(count) contains uninitialised byte(s)
- ...
-
-Syscall param write(buf) points to unaddressable byte(s)
- ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 5: __NR_open (2-args) 2s 1m
------------------------------------------------------
-Syscall param open(filename) contains uninitialised byte(s)
- ...
-
-Syscall param open(flags) contains uninitialised byte(s)
- ...
-
-Syscall param open(filename) points to unaddressable byte(s)
- ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 5: __NR_open (3-args) 1s 0m
------------------------------------------------------
-Syscall param open(mode) contains uninitialised byte(s)
- ...
-
------------------------------------------------------
- 6: __NR_close 1s 0m
------------------------------------------------------
-Syscall param close(fd) contains uninitialised byte(s)
- ...
-
------------------------------------------------------
- 7: __NR_waitpid 3s 1m
------------------------------------------------------
-Syscall param waitpid(pid) contains uninitialised byte(s)
- ...
-
-Syscall param waitpid(status) contains uninitialised byte(s)
- ...
-
-Syscall param waitpid(options) contains uninitialised byte(s)
- ...
-
-Syscall param waitpid(status) points to unaddressable byte(s)
- ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
-
------------------------------------------------------
- 8: __NR_creat 2s 1m
------------------------------------------------------
-Syscall param creat(pathname) contains uninitialised byte(s)
- ...
-
-Syscall param creat(mode) contains uninitialised byte(s)
- ...
-
-Syscall param creat(pathname) points to unaddressable byte(s)
- ...
- Address 0x........ is not stack'd, malloc'd or (recently) free'd
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/x86-linux/scalar_exit_group.stderr.diff
=================================================
--- scalar_exit_group.stderr.exp 2011-05-12 21:41:38.025609965 -0500
+++ scalar_exit_group.stderr.out 2011-05-12 21:48:15.674111802 -0500
@@ -1,6 +1 @@
------------------------------------------------------
-252: __NR_exit_group 1s 0m
------------------------------------------------------
-Syscall param exit_group(status) contains uninitialised byte(s)
- ...
-
+valgrind: ./scalar_exit_group: No such file or directory
=================================================
./valgrind-new/memcheck/tests/x86-linux/scalar_fork.stderr.diff
=================================================
--- scalar_fork.stderr.exp 2011-05-12 21:41:38.019610534 -0500
+++ scalar_fork.stderr.out 2011-05-12 21:48:15.699109448 -0500
@@ -1,3 +1 @@
------------------------------------------------------
- 2: __NR_fork 0e
------------------------------------------------------
+valgrind: ./scalar_fork: No such file or directory
=================================================
./v...
[truncated message content] |
|
From: Christian B. <bor...@de...> - 2011-05-12 20:37:40
|
Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP1 gcc 4.3.4 on z196 (s390x) ) Started at 2011-05-12 22:10:01 CEST Ended at 2011-05-12 22:37:25 CEST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 473 tests, 6 stderr failures, 0 stdout failures, 3 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcclean_after_fork (stderrB) gdbserver_tests/mssnapshot (stderrB) gdbserver_tests/nlcontrolc (stdoutB) none/tests/faultstatus (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) drd/tests/tc23_bogus_condwait (stderr) |
|
From: Christian B. <bor...@de...> - 2011-05-12 20:33:50
|
Nightly build on fedora390 ( Fedora 13/14/15 mix with gcc 3.5.3 on z196 (s390x) ) Started at 2011-05-12 22:10:01 CEST Ended at 2011-05-12 22:33:03 CEST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 473 tests, 6 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) drd/tests/tc23_bogus_condwait (stderr) |
|
From: <sv...@va...> - 2011-05-12 19:15:20
|
Author: sewardj
Date: 2011-05-12 20:15:06 +0100 (Thu, 12 May 2011)
New Revision: 11750
Log:
Remove old exp-ptrcheck tests which were never used.
Removed:
trunk/exp-sgcheck/tests/add.c
trunk/exp-sgcheck/tests/add.stderr.exp
trunk/exp-sgcheck/tests/add.vgtest-disabled
trunk/exp-sgcheck/tests/and.c
trunk/exp-sgcheck/tests/and.stderr.exp
trunk/exp-sgcheck/tests/and.vgtest-disabled
trunk/exp-sgcheck/tests/arith.c
trunk/exp-sgcheck/tests/arith.stderr.exp
trunk/exp-sgcheck/tests/arith.vgtest-disabled
trunk/exp-sgcheck/tests/arith_include1.c
trunk/exp-sgcheck/tests/arith_include2.c
trunk/exp-sgcheck/tests/cmp.c
trunk/exp-sgcheck/tests/cmp.stderr.exp
trunk/exp-sgcheck/tests/cmp.vgtest-disabled
trunk/exp-sgcheck/tests/idiv.c
trunk/exp-sgcheck/tests/idiv.stderr.exp
trunk/exp-sgcheck/tests/idiv.vgtest-disabled
trunk/exp-sgcheck/tests/imul.c
trunk/exp-sgcheck/tests/imul.stderr.exp
trunk/exp-sgcheck/tests/imul.vgtest-disabled
trunk/exp-sgcheck/tests/mm.c
trunk/exp-sgcheck/tests/mm.stderr.exp
trunk/exp-sgcheck/tests/mm.vgtest-disabled
trunk/exp-sgcheck/tests/neg.c
trunk/exp-sgcheck/tests/neg.stderr.exp
trunk/exp-sgcheck/tests/neg.vgtest-disabled
trunk/exp-sgcheck/tests/not.c
trunk/exp-sgcheck/tests/not.stderr.exp
trunk/exp-sgcheck/tests/not.vgtest-disabled
trunk/exp-sgcheck/tests/or.c
trunk/exp-sgcheck/tests/or.stderr.exp
trunk/exp-sgcheck/tests/or.vgtest-disabled
trunk/exp-sgcheck/tests/partial.c
trunk/exp-sgcheck/tests/sh_script
trunk/exp-sgcheck/tests/sh_script.stderr.exp
trunk/exp-sgcheck/tests/sh_script.vgtest-disabled
trunk/exp-sgcheck/tests/strlen.c
trunk/exp-sgcheck/tests/strlen_bad.stderr.exp
trunk/exp-sgcheck/tests/strlen_bad.vgtest-disabled
trunk/exp-sgcheck/tests/strlen_good.stderr.exp
trunk/exp-sgcheck/tests/strlen_good.vgtest-disabled
trunk/exp-sgcheck/tests/sub.c
trunk/exp-sgcheck/tests/sub.stderr.exp
trunk/exp-sgcheck/tests/sub.vgtest-disabled
trunk/exp-sgcheck/tests/syscall.c
trunk/exp-sgcheck/tests/syscall.stderr.exp
trunk/exp-sgcheck/tests/syscall.vgtest-disabled
trunk/exp-sgcheck/tests/xor.c
trunk/exp-sgcheck/tests/xor.stderr.exp
trunk/exp-sgcheck/tests/xor.vgtest-disabled
Modified:
trunk/exp-sgcheck/tests/Makefile.am
Modified: trunk/exp-sgcheck/tests/Makefile.am
===================================================================
--- trunk/exp-sgcheck/tests/Makefile.am 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/Makefile.am 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,49 +1,28 @@
include $(top_srcdir)/Makefile.tool-tests.am
-dist_noinst_SCRIPTS = filter_stderr filter_add filter_suppgen \
- sh_script
+dist_noinst_SCRIPTS = filter_stderr filter_add filter_suppgen
EXTRA_DIST = \
is_arch_supported \
- add.vgtest-disabled add.stderr.exp \
- and.vgtest-disabled and.stderr.exp \
- arith.vgtest-disabled arith.stderr.exp \
- arith_include1.c arith_include2.c \
bad_percentify.vgtest bad_percentify.c \
bad_percentify.stdout.exp bad_percentify.stderr.exp-glibc28-amd64 \
- cmp.vgtest-disabled cmp.stderr.exp \
globalerr.vgtest globalerr.stdout.exp \
globalerr.stderr.exp-glibc28-amd64 \
hackedbz2.vgtest hackedbz2.stdout.exp \
hackedbz2.stderr.exp-glibc28-amd64 \
hsg.vgtest hsg.stdout.exp hsg.stderr.exp \
- idiv.vgtest-disabled idiv.stderr.exp \
- imul.vgtest-disabled imul.stderr.exp \
- mm.vgtest-disabled mm.stderr.exp \
- neg.vgtest-disabled neg.stderr.exp \
- not.vgtest-disabled not.stderr.exp \
- or.vgtest-disabled or.stderr.exp \
preen_invars.vgtest preen_invars.stdout.exp \
preen_invars.stderr.exp-glibc28-amd64 \
- sh_script.vgtest-disabled sh_script.stderr.exp \
stackerr.vgtest stackerr.stdout.exp \
- stackerr.stderr.exp-glibc28-amd64 stackerr.stderr.exp-glibc27-x86 \
- strlen_bad.vgtest-disabled strlen_bad.stderr.exp \
- strlen_good.vgtest-disabled strlen_good.stderr.exp \
- sub.vgtest-disabled sub.stderr.exp \
- suppgen.vgtest-disabled suppgen.stderr.exp suppgen.stdin \
- syscall.vgtest-disabled syscall.stderr.exp \
- xor.vgtest-disabled xor.stderr.exp
+ stackerr.stderr.exp-glibc28-amd64 stackerr.stderr.exp-glibc27-x86
check_PROGRAMS = \
- add and arith bad_percentify cmp \
+ bad_percentify \
globalerr hackedbz2 \
- hsg idiv imul \
- mm not neg or \
+ hsg \
preen_invars preen_invars_so.so \
- stackerr \
- strlen sub syscall xor
+ stackerr
# DDD: not sure if these ones should work on Darwin or not... if not, should
# be moved into x86-linux/.
Deleted: trunk/exp-sgcheck/tests/add.c
===================================================================
--- trunk/exp-sgcheck/tests/add.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/add.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,40 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <assert.h>
-
-#include "arith_include1.c"
-
-int main(void)
-{
- #include "arith_include2.c"
-
- // ADD =========================================================
- g(+, n, n, n); // det, det
-
- g(+, n, p, p); // ok, det
-
- g(+, p, n, p); // ok, det
-
- g(+, p, p, e); // detected bad add; det, det
-
- g(+, n, un, u); // undet, undet
- g(+, n, up, u); // ok, undet
-
- g(+, un, n, u); // undet, undet
- g(+, up, n, u); // ok, undet
-
- g(+, un, un, u); // undet, undet
- g(+, un, up, u); // undet, undet
- g(+, up, un, u); // undet, undet
- g(+, up, up, u); // undetected bad add; undet, undet
-
- g(+, un, p, u); // undet, undet
- g(+, up, p, u); // undetected bad add; undet, undet
-
- g(+, p, un, u); // undet, undet
- g(+, p, up, u); // undetected bad add; undet, undet
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/add.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/add.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/add.stderr.exp 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,70 +0,0 @@
-
-about to do 14 [0]
-Invalid read of size 4
- at 0x........: main (add.c:14)
- Address 0x........ is not derived from any known block
-about to do 14 [-1]
-
-Invalid read of size 4
- at 0x........: main (add.c:14)
- Address 0x........ is not derived from any known block
-about to do 16 [0]
-about to do 16 [-1]
-
-Invalid read of size 4
- at 0x........: main (add.c:16)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-about to do 18 [0]
-about to do 18 [-1]
-
-Invalid read of size 4
- at 0x........: main (add.c:18)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-
-Invalid arguments to Add32/Add64
- at 0x........: main (add.c:20)
- Both args derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-about to do 20 [0]
-
-Invalid read of size 4
- at 0x........: main (add.c:20)
- Address 0x........ is not derived from any known block
-about to do 20 [-1]
-
-Invalid read of size 4
- at 0x........: main (add.c:20)
- Address 0x........ is not derived from any known block
-about to do 22 [0]
-about to do 22 [-1]
-about to do 23 [0]
-about to do 23 [-1]
-about to do 25 [0]
-about to do 25 [-1]
-about to do 26 [0]
-about to do 26 [-1]
-about to do 28 [0]
-about to do 28 [-1]
-about to do 29 [0]
-about to do 29 [-1]
-about to do 30 [0]
-about to do 30 [-1]
-about to do 31 [0]
-about to do 31 [-1]
-about to do 33 [0]
-about to do 33 [-1]
-about to do 34 [0]
-about to do 34 [-1]
-about to do 36 [0]
-about to do 36 [-1]
-about to do 37 [0]
-about to do 37 [-1]
-
-ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/add.vgtest-disabled
===================================================================
--- trunk/exp-sgcheck/tests/add.vgtest-disabled 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/add.vgtest-disabled 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,2 +0,0 @@
-prog: add
-stderr_filter: filter_add
Deleted: trunk/exp-sgcheck/tests/and.c
===================================================================
--- trunk/exp-sgcheck/tests/and.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/and.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,49 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <assert.h>
-
-#include "arith_include1.c"
-
-int main(void)
-{
- #include "arith_include2.c"
-
- // Not testing the n&p-->p type cases, too hard to find an 'n' that gives
- // something that looks like a pointer! (Eg. if the pointer is
- // 0x40c38000, masking to 0x40000000 won't give invalid memory, and
- // masking below that, eg. to 0x00c38000 doesn't give a pointer result.)
-
- // AND =========================================================
- g(&, n, n, n); // det, det
-
- g(&, n, p, n); // det, det
- g(&, nFF,p, n); // ok, det
-
- g(&, p, n, n); // det, det
- g(&, p, nFF,n); // ok, det
-
- g(&, p, p, p); // ok, det
- g(&, p, p2, e); // bad AND detected; det, det
-
- g(&, n, un, n); // det, det
- g(&, n, up, n); // det, det
-
- g(&, un, n, n); // det, det
- g(&, up, n, n); // det, det
-
- g(&, un, un, u); // undet, undet
- g(&, un, up, n); // det, det
- g(&, up, un, n); // det, det
- g(&, up, up, u); // ok, undet
- g(&, up, up2,u); // undet, undet
-
- g(&, un, p, n); // det, det
- g(&, up, p, n); // det, det (result doesn't look like a pointer)
-
- g(&, p, un, n); // det, det
- g(&, p, up, u); // det, det
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/and.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/and.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/and.stderr.exp 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,184 +0,0 @@
-
-about to do 19 [0]
-Invalid read of size 4
- at 0x........: main (and.c:19)
- Address 0x........ is not derived from any known block
-about to do 19 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:19)
- Address 0x........ is not derived from any known block
-about to do 21 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:21)
- Address 0x........ is not derived from any known block
-about to do 21 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:21)
- Address 0x........ is not derived from any known block
-about to do 22 [0]
-about to do 22 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-about to do 24 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:24)
- Address 0x........ is not derived from any known block
-about to do 24 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:24)
- Address 0x........ is not derived from any known block
-about to do 25 [0]
-about to do 25 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:25)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-about to do 27 [0]
-about to do 27 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:27)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-
-Invalid arguments to And32/And64
- at 0x........: main (and.c:28)
- First arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
- Second arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-about to do 28 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:28)
- Address 0x........ is not derived from any known block
-about to do 28 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:28)
- Address 0x........ is not derived from any known block
-about to do 30 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:30)
- Address 0x........ is not derived from any known block
-about to do 30 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:30)
- Address 0x........ is not derived from any known block
-about to do 31 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:31)
- Address 0x........ is not derived from any known block
-about to do 31 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:31)
- Address 0x........ is not derived from any known block
-about to do 33 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:33)
- Address 0x........ is not derived from any known block
-about to do 33 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:33)
- Address 0x........ is not derived from any known block
-about to do 34 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:34)
- Address 0x........ is not derived from any known block
-about to do 34 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:34)
- Address 0x........ is not derived from any known block
-about to do 36 [0]
-about to do 36 [-1]
-about to do 37 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:37)
- Address 0x........ is not derived from any known block
-about to do 37 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:37)
- Address 0x........ is not derived from any known block
-about to do 38 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:38)
- Address 0x........ is not derived from any known block
-about to do 38 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:38)
- Address 0x........ is not derived from any known block
-about to do 39 [0]
-about to do 39 [-1]
-about to do 40 [0]
-about to do 40 [-1]
-about to do 42 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:42)
- Address 0x........ is not derived from any known block
-about to do 42 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:42)
- Address 0x........ is not derived from any known block
-about to do 43 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:43)
- Address 0x........ is not derived from any known block
-about to do 43 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:43)
- Address 0x........ is not derived from any known block
-about to do 45 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:45)
- Address 0x........ is not derived from any known block
-about to do 45 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:45)
- Address 0x........ is not derived from any known block
-about to do 46 [0]
-
-Invalid read of size 4
- at 0x........: main (and.c:46)
- Address 0x........ is not derived from any known block
-about to do 46 [-1]
-
-Invalid read of size 4
- at 0x........: main (and.c:46)
- Address 0x........ is not derived from any known block
-
-ERROR SUMMARY: 32 errors from 32 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/and.vgtest-disabled
===================================================================
--- trunk/exp-sgcheck/tests/and.vgtest-disabled 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/and.vgtest-disabled 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,2 +0,0 @@
-prog: and
-stderr_filter: filter_add
Deleted: trunk/exp-sgcheck/tests/arith.c
===================================================================
--- trunk/exp-sgcheck/tests/arith.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/arith.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,57 +0,0 @@
-
-#include <stdlib.h>
-
-typedef unsigned long Ulong;
-
-int main(void)
-{
- long* x = malloc(sizeof(long) * 10);
- long* y = malloc(sizeof(long) * 10);
- long* y2 = y + 3;
-
- // ok -- same segment
- long w = y2 - y;
-
- // ok -- different heap segments (result can only be used to index off
- // 'x', but glibc's strcpy() does this...)
- long* z = (long*)((long)x - (long)y);
-
- w = (long)y2 + (long)y; // bad (same segment)
-
- w = (long)x & (long)y; // bad (different segments)
-
- w = (long)y2 / (long)4; // bad, but indistinguishable from
- // acceptable '%' cases...
-
- w = (long)y2 % (long)4; // ok
- w = (long)y2 % (long)y; // bad -- modulor(?) is a pointer
- w = (long)0xffffffff % (long)y; // bad -- modulend(?) is a non-pointer
-
- w = (Ulong)y2 % (Ulong)4; // ok
- w = (Ulong)y2 % (Ulong)y; // bad -- modulor(?) is a pointer
- w = (Ulong)0xffffffff % (Ulong)y; // bad -- modulend(?) is a non-pointer
-
- w = (long)y * (long)y2; // bad
-
- w = (long)y >> (long)2; // ok
- w = (long)y << (long)2; // ok
-
- w = (long)y & 0xffff; // ok
- w = (long)y | 0xffff; // ok
- w = (long)y ^ (long)y2; // ok
-
- w = ~((long)y); // ok
-
- w = -((long)y); // bad -- operand is a non-polonger
-
- w = (long)x ^ (long)x; // xor(ptr,ptr) --> constant (0)
- z = x + w; // ok, because xor result was zero
-
- w = (long)x ^ ((long)x+1); // xor(ptr,ptr') --> constant (small)
- z = x + w; // ok, because xor result was constant
-
- w = (long)x ^ (long)y; // xor(ptr,ptr') --> constant (small)
- z = x + w; // ok, because xor result was constant
-
- return (long)z;
-}
Deleted: trunk/exp-sgcheck/tests/arith.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/arith.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/arith.stderr.exp 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,79 +0,0 @@
-
-Invalid ADD
- at 0x........: main (arith.c:19)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Both args derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith.c:9)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
-Invalid AND
- at 0x........: main (arith.c:21)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-First arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith.c:9)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Second arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith.c:8)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
-Invalid IDIV
- at 0x........: main (arith.c:27)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Both args derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith.c:9)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
-Invalid IDIV
- at 0x........: main (arith.c:28)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-First arg not a pointer
-Second arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith.c:9)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
-Invalid DIV
- at 0x........: main (arith.c:31)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Both args derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith.c:9)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
-Invalid DIV
- at 0x........: main (arith.c:32)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-First arg not a pointer
-Second arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith.c:9)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
-Invalid IMUL
- at 0x........: main (arith.c:34)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Both args derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith.c:9)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
-ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/arith.vgtest-disabled
===================================================================
--- trunk/exp-sgcheck/tests/arith.vgtest-disabled 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/arith.vgtest-disabled 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1 +0,0 @@
-prog: arith
Deleted: trunk/exp-sgcheck/tests/arith_include1.c
===================================================================
--- trunk/exp-sgcheck/tests/arith_include1.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/arith_include1.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,17 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <assert.h>
-#include <string.h>
-
-static jmp_buf TTT_jmpbuf;
-
-void SEGV_handler(int signum)
-{
- //fprintf(stderr, "segv caught\n");
- __builtin_longjmp(TTT_jmpbuf, 1);
-}
-
-int up[10], up2[10];
-
Deleted: trunk/exp-sgcheck/tests/arith_include2.c
===================================================================
--- trunk/exp-sgcheck/tests/arith_include2.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/arith_include2.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,41 +0,0 @@
-
- // Comment "both" means tp[0] and tp[-1] are both bad.
- // Otherwise only tp[-1] is bad.
-
- #define TTT \
- if (__builtin_setjmp(TTT_jmpbuf) == 0) \
- { fprintf(stderr, "about to do %d [0]\n", __LINE__); tn = tp[ 0]; } \
- if (__builtin_setjmp(TTT_jmpbuf) == 0) \
- { fprintf(stderr, "about to do %d [-1]\n", __LINE__); tn = tp[-1]; }
-
- #define b( a, c) tp = (long*)a; TTT
- #define ui(op, a, c) tp = (long*)op(long)a; TTT
- #define g(op, a,b,c) tp = (long*)((long)a op (long)b); TTT
- #define UNU __attribute__((unused))
-
- struct sigaction sigsegv;
- // Scratch values
- long a, tn __attribute__((unused));
- long* tp;
-
- // Known pointers
- long* p = malloc(sizeof(long)*10); UNU long* p2 = malloc(sizeof(long)*10);
- UNU long* pp = p;
- // Unknown pointers
-// long up[10], UNU up2[10];
-
- // Known nonptrs; make them zero and known
- long n = a ^ a, UNU n2 = n+1, UNU n7F = 0x7fffffffUL, UNU nFF = ~n;
-
- // Unknown nonptrs; make them zero but unknown
- long un = 0x01100000UL, UNU un2 = un;
-
- // Known nonptr, from pointerness range check
- UNU long nn = 0;
-
- // Intall SEGV handler
- memset(&sigsegv, 0, sizeof(sigsegv));
- sigsegv.sa_handler = SEGV_handler;
- sigsegv.sa_flags = SA_NODEFER; /* so we can handle signal many times */
- assert( 0 == sigemptyset( &sigsegv.sa_mask ) );
- assert( 0 == sigaction(SIGSEGV, &sigsegv, NULL) );
Deleted: trunk/exp-sgcheck/tests/cmp.c
===================================================================
--- trunk/exp-sgcheck/tests/cmp.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/cmp.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,27 +0,0 @@
-#include <stdlib.h>
-
-// The comparisons use SUB instructions, and this can result in having a
-// (nonptr - ptr) situation legitimately; at one point I was flagging
-// errors when that happened.
-
-int main(void)
-{
- char* buf = malloc(sizeof(char) * 6);
-
- // Known zero non-pointer
- char* nz = (char*)((long)buf^(long)buf); // known non-pointer
-
- // Unknown zero nonptr; make them zero but unknown
- char* unz;
- ((char*)&unz)[0] = '\0';
- ((char*)&unz)[1] = '\0';
- ((char*)&unz)[2] = '\0';
- ((char*)&unz)[3] = '\0';
-
- if (buf == nz) return 1;
- if (nz == buf) return 1; // --> n - p, but legitimate
- if (buf == unz) return 1;
- if (unz == buf) return 1;
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/cmp.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/cmp.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/cmp.stderr.exp 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/cmp.vgtest-disabled
===================================================================
--- trunk/exp-sgcheck/tests/cmp.vgtest-disabled 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/cmp.vgtest-disabled 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1 +0,0 @@
-prog: cmp
Deleted: trunk/exp-sgcheck/tests/idiv.c
===================================================================
--- trunk/exp-sgcheck/tests/idiv.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/idiv.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,40 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <assert.h>
-
-#include "arith_include1.c"
-
-int main(void)
-{
- #include "arith_include2.c"
-
- // ADD =========================================================
- g(/, n, n2, n); // det, det
-
- g(/, n, p, e); // detected bad idiv; det, det
-
- g(/, p, n2, n); // ok, det
-
- g(/, p, p, e); // detected bad idiv; det, det
-
- g(/, n, un, n); // undet, undet
- g(/, n, up, n); // undetected bad idiv; ok, undet
-
- g(/, un, n2, n); // undet, undet
- g(/, up, n2, n); // ok, undet
-
- g(/, un, un, n); // undet, undet
- g(/, un, up, n); // undetected bad idiv; undet, undet
- g(/, up, un, n); // undet, undet
- g(/, up, up, n); // undetected bad idiv; undet, undet
-
- g(/, un, p, n); // detected bad idiv; undet, undet
- g(/, up, p, n); // detected bad idiv; undet, undet
-
- g(/, p, un, n); // undet, undet
- g(/, p, up, n); // undetected bad idiv; undet, undet
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/idiv.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/idiv.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/idiv.stderr.exp 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,270 +0,0 @@
-
-about to do 14 [0]
-Invalid read of size 4
- at 0x........: main (idiv.c:14)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 14 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:14)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-
-Invalid IDIV
- at 0x........: main (idiv.c:16)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-First arg not a pointer
-Second arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-about to do 16 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:16)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 16 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:16)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 18 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:18)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 18 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:18)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-
-Invalid IDIV
- at 0x........: main (idiv.c:20)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Both args derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-about to do 20 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:20)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 20 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:20)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 22 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 22 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 23 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:23)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 23 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:23)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 25 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:25)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 25 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:25)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 26 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:26)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 26 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:26)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 28 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:28)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 28 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:28)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 29 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:29)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 29 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:29)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 30 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:30)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 30 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:30)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 31 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:31)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 31 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:31)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-
-Invalid IDIV
- at 0x........: main (idiv.c:33)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-First arg may be a pointer
-Second arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-about to do 33 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:33)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 33 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:33)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-
-Invalid IDIV
- at 0x........: main (idiv.c:34)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-First arg may be a pointer
-Second arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-about to do 34 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:34)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 34 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:34)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 36 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:36)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 36 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:36)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 37 [0]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:37)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 37 [-1]
-
-Invalid read of size 4
- at 0x........: main (idiv.c:37)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-
-
-ERROR SUMMARY: 36 errors from 36 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/idiv.vgtest-disabled
===================================================================
--- trunk/exp-sgcheck/tests/idiv.vgtest-disabled 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/idiv.vgtest-disabled 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,2 +0,0 @@
-prog: idiv
-stderr_filter: filter_add
Deleted: trunk/exp-sgcheck/tests/imul.c
===================================================================
--- trunk/exp-sgcheck/tests/imul.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/imul.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,40 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <assert.h>
-
-#include "arith_include1.c"
-
-int main(void)
-{
- #include "arith_include2.c"
-
- // ADD =========================================================
- g(*, n, n, n); // det, det
-
- g(*, n, p, n); // det, det
-
- g(*, p, n, n); // ok, det
-
- g(*, p, p, e); // detected bad mul; det, det
-
- g(*, n, un, n); // det, det
- g(*, n, up, n); // ok, det
-
- g(*, un, n, n); // det, det
- g(*, up, n, n); // ok, det
-
- g(*, un, un, n); // det, det
- g(*, un, up, n); // det, det
- g(*, up, un, n); // det, det
- g(*, up, up, n); // undetected bad imul; det, det
-
- g(*, un, p, n); // det, det
- g(*, up, p, n); // undetected bad imul; det, det
-
- g(*, p, un, n); // det, det
- g(*, p, up, n); // undetected bad imul; det, det
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/imul.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/imul.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/imul.stderr.exp 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,237 +0,0 @@
-
-about to do 14 [0]
-Invalid read of size 4
- at 0x........: main (imul.c:14)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 14 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:14)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 16 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:16)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 16 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:16)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 18 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:18)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 18 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:18)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-
-Invalid IMUL
- at 0x........: main (imul.c:20)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Both args derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-about to do 20 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:20)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 20 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:20)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 22 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 22 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 23 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:23)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 23 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:23)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 25 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:25)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 25 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:25)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 26 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:26)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 26 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:26)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 28 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:28)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 28 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:28)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 29 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:29)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 29 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:29)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 30 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:30)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 30 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:30)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 31 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:31)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 31 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:31)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 33 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:33)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 33 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:33)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 34 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:34)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 34 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:34)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 36 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:36)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 36 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:36)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 37 [0]
-
-Invalid read of size 4
- at 0x........: main (imul.c:37)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 37 [-1]
-
-Invalid read of size 4
- at 0x........: main (imul.c:37)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-
-
-ERROR SUMMARY: 33 errors from 33 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/imul.vgtest-disabled
===================================================================
--- trunk/exp-sgcheck/tests/imul.vgtest-disabled 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/imul.vgtest-disabled 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,2 +0,0 @@
-prog: imul
-stderr_filter: filter_add
Deleted: trunk/exp-sgcheck/tests/mm.c
===================================================================
--- trunk/exp-sgcheck/tests/mm.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/mm.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,59 +0,0 @@
-#include "tests/sys_mman.h"
-#include <unistd.h>
-#include "arith_include1.c"
-
-// For some reason, the stack frame below __GI_write is disappearing.
-// Therefore, if I don't want the write errors to be merged, I have to
-// ensure they have a different stack trace. I do this by using this
-// function. Weird.
-void mywrite(char* buf, int len)
-{
- write(-1, buf, len);
-}
-
-int main(void)
-{
- struct sigaction sigsegv;
-
- char c __attribute__((unused));
-
- // This fails due to a bad fd (at one point I was not handling failing
- // mmap() calls, and would have got a seg fault).
- char* res1 = mmap(0, 0, PROT_READ, MAP_PRIVATE, -1, 0 );
-
- // This succeeds but is meaningless. Important thing is that the size is
- // zero, so Annelid should not subtract one from the size when doing any
- // range calculations. (It did at one point, giving 0xffffffff, which
- // screwed everything up.)
- char* res2 = mmap(0, 0, PROT_READ, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 );
-
- // This succeeds and is useful.
- char* res3 = mmap(0, getpagesize(), PROT_READ, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
-
- assert(MAP_FAILED == res1);
- assert(NULL == res2);
- assert(MAP_FAILED != res3 && NULL != res3);
-
- // Intall SEGV handler
- sigsegv.sa_handler = SEGV_handler;
- sigsegv.sa_flags = 0;
- assert( 0 == sigemptyset( &sigsegv.sa_mask ) );
- assert( 0 == sigaction(SIGSEGV, &sigsegv, NULL) );
-
- #define TTT(i) \
- if (__builtin_setjmp(TTT_jmpbuf) == 0) { c = res3[i]; }
-
- TTT(0);
- TTT(-1);
- mywrite(res3, 5);
- mywrite(res3-1, 5);
-
- assert( 0 == munmap(res3, getpagesize()) );
-
- TTT(0);
- TTT(-1);
- mywrite(res3, 5);
- mywrite(res3-1, 5);
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/mm.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/mm.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/mm.stderr.exp 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,65 +0,0 @@
-
-Invalid read of size 1
- at 0x........: main (mm.c:47)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, the 4096-byte block mmap'd
- at 0x........: __mmap (in /...libc...)
-Warning: invalid file descriptor -1 in syscall write()
-Warning: invalid file descriptor -1 in syscall write()
-
-Syscall param write(buf) is non-contiguous
- at 0x........: __libc_write (...libc...)
- by 0x........: main (mm.c:49)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-First byte is not within a known block
-Last byte (0x........) is 3 bytes within a 4096-byte block mmap'd
- at 0x........: __mmap (in /...libc...)
-
-Invalid read of size 1
- at 0x........: main (mm.c:53)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is 0 bytes inside the accessing pointer's
- once-legitimate range, the 4096-byte block munmap'd
- at 0x........: __munmap (in /...libc...)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
-Doubly-invalid read of size 1
- at 0x........: main (mm.c:54)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is 1 bytes before the accessing pointer's
- once-legitimate range, the 4096-byte block munmap'd
- at 0x........: __munmap (in /...libc...)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Warning: invalid file descriptor -1 in syscall write()
-
-Syscall param write(buf) contains unaddressable byte(s)
- at 0x........: __libc_write (...libc...)
- by 0x........: main (mm.c:55)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is 0 bytes within a 4096-byte block munmap'd
- at 0x........: __munmap (in /...libc...)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Warning: invalid file descriptor -1 in syscall write()
-
-Syscall param write(buf) is non-contiguous
- at 0x........: __libc_write (...libc...)
- by 0x........: main (mm.c:56)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-First byte is not within a known block
-Last byte (0x........) is 3 bytes within a 4096-byte block munmap'd
- at 0x........: __munmap (in /...libc...)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
-
-ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/mm.vgtest-disabled
===================================================================
--- trunk/exp-sgcheck/tests/mm.vgtest-disabled 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/mm.vgtest-disabled 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1 +0,0 @@
-prog: mm
Deleted: trunk/exp-sgcheck/tests/neg.c
===================================================================
--- trunk/exp-sgcheck/tests/neg.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/neg.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,25 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <assert.h>
-
-#include "arith_include1.c"
-
-int main(void)
-{
- #include "arith_include2.c"
-
- // Neg =========================================================
- ui(-, p, n); // bad NEG; ok, det
-
- ui(-, up, n); // det, det
-
- ui(-, un, n); // det, det
-
- ui(-, n, n); // det, det
-
- ui(-, nn, n); // det, det
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/neg.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/neg.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/neg.stderr.exp 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,53 +0,0 @@
-
-about to do 14 [0]
-Invalid read of size 4
- at 0x........: main (neg.c:14)
- Address 0x........ is not derived from any known block
-about to do 14 [-1]
-
-Invalid read of size 4
- at 0x........: main (neg.c:14)
- Address 0x........ is not derived from any known block
-about to do 16 [0]
-
-Invalid read of size 4
- at 0x........: main (neg.c:16)
- Address 0x........ is not derived from any known block
-about to do 16 [-1]
-
-Invalid read of size 4
- at 0x........: main (neg.c:16)
- Address 0x........ is not derived from any known block
-about to do 18 [0]
-
-Invalid read of size 4
- at 0x........: main (neg.c:18)
- Address 0x........ is not derived from any known block
-about to do 18 [-1]
-
-Invalid read of size 4
- at 0x........: main (neg.c:18)
- Address 0x........ is not derived from any known block
-about to do 20 [0]
-
-Invalid read of size 4
- at 0x........: main (neg.c:20)
- Address 0x........ is not derived from any known block
-about to do 20 [-1]
-
-Invalid read of size 4
- at 0x........: main (neg.c:20)
- Address 0x........ is not derived from any known block
-about to do 22 [0]
-
-Invalid read of size 4
- at 0x........: main (neg.c:22)
- Address 0x........ is not derived from any known block
-about to do 22 [-1]
-
-Invalid read of size 4
- at 0x........: main (neg.c:22)
- Address 0x........ is not derived from any known block
-
-
-ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/neg.vgtest-disabled
===================================================================
--- trunk/exp-sgcheck/tests/neg.vgtest-disabled 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/neg.vgtest-disabled 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,2 +0,0 @@
-prog: neg
-stderr_filter: filter_add
Deleted: trunk/exp-sgcheck/tests/not.c
===================================================================
--- trunk/exp-sgcheck/tests/not.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/not.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,25 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <assert.h>
-
-#include "arith_include1.c"
-
-int main(void)
-{
- #include "arith_include2.c"
-
- // NOT =========================================================
- ui(~, p, n); // det, det
-
- ui(~, up, n); // det, det
-
- ui(~, un, n); // det, det
-
- ui(~, n, n); // det, det
-
- ui(~, nn, n); // det, det
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/not.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/not.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/not.stderr.exp 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,73 +0,0 @@
-
-about to do 14 [0]
-Invalid read of size 4
- at 0x........: main (not.c:14)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 14 [-1]
-
-Invalid read of size 4
- at 0x........: main (not.c:14)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 16 [0]
-
-Invalid read of size 4
- at 0x........: main (not.c:16)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 16 [-1]
-
-Invalid read of size 4
- at 0x........: main (not.c:16)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 18 [0]
-
-Invalid read of size 4
- at 0x........: main (not.c:18)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 18 [-1]
-
-Invalid read of size 4
- at 0x........: main (not.c:18)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 20 [0]
-
-Invalid read of size 4
- at 0x........: main (not.c:20)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 20 [-1]
-
-Invalid read of size 4
- at 0x........: main (not.c:20)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 22 [0]
-
-Invalid read of size 4
- at 0x........: main (not.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-about to do 22 [-1]
-
-Invalid read of size 4
- at 0x........: main (not.c:22)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is not derived from any known block
-
-
-ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/not.vgtest-disabled
===================================================================
--- trunk/exp-sgcheck/tests/not.vgtest-disabled 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/not.vgtest-disabled 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,2 +0,0 @@
-prog: not
-stderr_filter: filter_add
Deleted: trunk/exp-sgcheck/tests/or.c
===================================================================
--- trunk/exp-sgcheck/tests/or.c 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/or.c 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,42 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <assert.h>
-
-#include "arith_include1.c"
-
-int main(void)
-{
- #include "arith_include2.c"
-
- // OR ==========================================================
- g(|, n, n, n); // det, det
-
- g(|, n, p, p); // ok, det
-
- g(|, p, n, p); // ok, det
-
- g(|, p, p, e); // detected bad OR; ok, det
- g(|, p, p2, e); // detected bad OR; det, det
-
- g(|, n, un, u); // undet, undet
- g(|, n, up, u); // ok, undet
-
- g(|, un, n, u); // undet, undet
- g(|, up, n, u); // ok, undet
-
- g(|, un, un, u); // undet, undet
- g(|, un, up, u); // ok, undet
- g(|, up, un, u); // ok, undet
- g(|, up, up, u); // undetected bad OR; ok, undet
- g(|, up, up2,u); // undetected bad OR; undet, undet
-
- g(|, un, p, u); // ok, undet
- g(|, up, p, u); // undetected bad OR; undet, undet
-
- g(|, p, un, u); // ok, undet
- g(|, p, up, u); // undetected bad OR; undet, undet
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/or.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/or.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
+++ trunk/exp-sgcheck/tests/or.stderr.exp 2011-05-12 19:15:06 UTC (rev 11750)
@@ -1,92 +0,0 @@
-
-about to do 14 [0]
-Invalid read of size 4
- at 0x........: main (or.c:14)
- Address 0x........ is not derived from any known block
-about to do 14 [-1]
-
-Invalid read of size 4
- at 0x........: main (or.c:14)
- Address 0x........ is not derived from any known block
-about to do 16 [0]
-about to do 16 [-1]
-
-Invalid read of size 4
- at 0x........: main (or.c:16)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-about to do 18 [0]
-about to do 18 [-1]
-
-Invalid read of size 4
- at 0x........: main (or.c:18)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-
-Invalid OR
- at 0x........: main (or.c:20)
-Both args derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-about to do 20 [0]
-
-Invalid read of size 4
- at 0x........: main (or.c:20)
- Address 0x........ is not derived from any known block
-about to do 20 [-1]
-
-Invalid read of size 4
- at 0x........: main (or.c:20)
- Address 0x........ is not derived from any known block
-
-Invalid arguments to Or32/Or64
- at 0x........: main (or.c:21)
- First arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
- Second arg derived from address 0x........ of 40-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-about to do 21 [0]
-
-Invalid read of size 4
- at 0x........: main (or.c:21)
- Address 0x........ is not derived from any known block
-about to do 21 [-1]
-
-Invalid read of size 4
- at 0x........: main (or.c:21)
- Address 0x........ is not derived from any known block
-about to do 23 [0]
-about to do 23 [-1]
-about to do 24 [0]
-about to do 24 [-1]
-about to do 26 [0]
-about to do 26 [-1]
-about to do 27 [0]
-about to do 27 [-1]
-about to do 29 [0]
-about to do 29 [-1]
-about to do 30 [0]
-about to do 30 [-1]
-about to do 31 [0]
-about to do 31 [-1]
-about to do 32 [0]
-about to do 32 [-1]
-about to do 33 [0]
-about to do 33 [-1]
-about to do 35 [0]
-about to do 35 [-1]
-about to do 36 [0]
-about to do 36 [-1]
-about to do 38 [0]
-about to do 38 [-1]
-about to do...
[truncated message content] |
|
From: <sv...@va...> - 2011-05-12 16:39:07
|
Author: sewardj
Date: 2011-05-12 17:38:56 +0100 (Thu, 12 May 2011)
New Revision: 11749
Log:
Delete exp-sgcheck tests that are redundant following the removal of the
heap checking facilities.
Removed:
trunk/exp-sgcheck/tests/base.c
trunk/exp-sgcheck/tests/base.stderr.exp-glibc25-amd64
trunk/exp-sgcheck/tests/base.stderr.exp-glibc25-x86
trunk/exp-sgcheck/tests/base.vgtest
trunk/exp-sgcheck/tests/ccc.cpp
trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc25-amd64
trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc27-x86
trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc28-amd64
trunk/exp-sgcheck/tests/ccc.vgtest
trunk/exp-sgcheck/tests/fp.c
trunk/exp-sgcheck/tests/fp.stderr.exp
trunk/exp-sgcheck/tests/fp.vgtest
trunk/exp-sgcheck/tests/hp_bounds.c
trunk/exp-sgcheck/tests/hp_bounds.stderr.exp
trunk/exp-sgcheck/tests/hp_bounds.vgtest
trunk/exp-sgcheck/tests/hp_dangle.c
trunk/exp-sgcheck/tests/hp_dangle.stderr.exp
trunk/exp-sgcheck/tests/hp_dangle.vgtest
trunk/exp-sgcheck/tests/justify.c
trunk/exp-sgcheck/tests/justify.stderr.exp
trunk/exp-sgcheck/tests/justify.vgtest
trunk/exp-sgcheck/tests/partial_bad.stderr.exp-glibc25-amd64
trunk/exp-sgcheck/tests/partial_bad.stderr.exp-glibc25-x86
trunk/exp-sgcheck/tests/partial_bad.vgtest
trunk/exp-sgcheck/tests/partial_good.stderr.exp-glibc25-amd64
trunk/exp-sgcheck/tests/partial_good.stderr.exp-glibc25-x86
trunk/exp-sgcheck/tests/partial_good.vgtest
trunk/exp-sgcheck/tests/pth_create.c
trunk/exp-sgcheck/tests/pth_create.stderr.exp
trunk/exp-sgcheck/tests/pth_create.vgtest
trunk/exp-sgcheck/tests/pth_specific.c
trunk/exp-sgcheck/tests/pth_specific.stderr.exp
trunk/exp-sgcheck/tests/pth_specific.vgtest
trunk/exp-sgcheck/tests/realloc.c
trunk/exp-sgcheck/tests/realloc.stderr.exp-glibc25-amd64
trunk/exp-sgcheck/tests/realloc.stderr.exp-glibc25-x86
trunk/exp-sgcheck/tests/realloc.vgtest
trunk/exp-sgcheck/tests/strcpy.c
trunk/exp-sgcheck/tests/strcpy.stderr.exp
trunk/exp-sgcheck/tests/strcpy.vgtest
trunk/exp-sgcheck/tests/supp.c
trunk/exp-sgcheck/tests/supp.stderr.exp
trunk/exp-sgcheck/tests/supp.supp
trunk/exp-sgcheck/tests/supp.vgtest
trunk/exp-sgcheck/tests/suppgen.stderr.exp
trunk/exp-sgcheck/tests/suppgen.stdin
trunk/exp-sgcheck/tests/suppgen.vgtest-disabled
trunk/exp-sgcheck/tests/tricky.c
trunk/exp-sgcheck/tests/tricky.stderr.exp
trunk/exp-sgcheck/tests/tricky.vgtest
trunk/exp-sgcheck/tests/unaligned.c
trunk/exp-sgcheck/tests/unaligned.stderr.exp-glibc25-amd64
trunk/exp-sgcheck/tests/unaligned.stderr.exp-glibc25-x86
trunk/exp-sgcheck/tests/unaligned.vgtest
trunk/exp-sgcheck/tests/zero.c
trunk/exp-sgcheck/tests/zero.stderr.exp
trunk/exp-sgcheck/tests/zero.vgtest
Modified:
trunk/exp-sgcheck/tests/Makefile.am
Modified: trunk/exp-sgcheck/tests/Makefile.am
===================================================================
--- trunk/exp-sgcheck/tests/Makefile.am 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/Makefile.am 2011-05-12 16:38:56 UTC (rev 11749)
@@ -12,70 +12,45 @@
arith_include1.c arith_include2.c \
bad_percentify.vgtest bad_percentify.c \
bad_percentify.stdout.exp bad_percentify.stderr.exp-glibc28-amd64 \
- base.vgtest \
- base.stderr.exp-glibc25-amd64 base.stderr.exp-glibc25-x86 \
- ccc.vgtest ccc.stderr.exp-glibc25-amd64 \
- ccc.stderr.exp-glibc27-x86 ccc.stderr.exp-glibc28-amd64 \
cmp.vgtest-disabled cmp.stderr.exp \
globalerr.vgtest globalerr.stdout.exp \
globalerr.stderr.exp-glibc28-amd64 \
- fp.vgtest fp.stderr.exp \
hackedbz2.vgtest hackedbz2.stdout.exp \
hackedbz2.stderr.exp-glibc28-amd64 \
- hp_bounds.vgtest hp_bounds.stderr.exp \
- hp_dangle.vgtest hp_dangle.stderr.exp \
hsg.vgtest hsg.stdout.exp hsg.stderr.exp \
idiv.vgtest-disabled idiv.stderr.exp \
imul.vgtest-disabled imul.stderr.exp \
- justify.vgtest justify.stderr.exp \
mm.vgtest-disabled mm.stderr.exp \
neg.vgtest-disabled neg.stderr.exp \
not.vgtest-disabled not.stderr.exp \
or.vgtest-disabled or.stderr.exp \
- partial_bad.vgtest \
- partial_bad.stderr.exp-glibc25-x86 \
- partial_bad.stderr.exp-glibc25-amd64 \
- partial_good.vgtest \
- partial_good.stderr.exp-glibc25-x86 \
- partial_good.stderr.exp-glibc25-amd64 \
preen_invars.vgtest preen_invars.stdout.exp \
preen_invars.stderr.exp-glibc28-amd64 \
- pth_create.vgtest pth_create.stderr.exp \
- pth_specific.vgtest pth_specific.stderr.exp \
- realloc.vgtest \
- realloc.stderr.exp-glibc25-x86 realloc.stderr.exp-glibc25-amd64 \
sh_script.vgtest-disabled sh_script.stderr.exp \
stackerr.vgtest stackerr.stdout.exp \
stackerr.stderr.exp-glibc28-amd64 stackerr.stderr.exp-glibc27-x86 \
- strcpy.vgtest strcpy.stderr.exp \
strlen_bad.vgtest-disabled strlen_bad.stderr.exp \
strlen_good.vgtest-disabled strlen_good.stderr.exp \
sub.vgtest-disabled sub.stderr.exp \
- supp.vgtest supp.stderr.exp supp.supp \
suppgen.vgtest-disabled suppgen.stderr.exp suppgen.stdin \
syscall.vgtest-disabled syscall.stderr.exp \
- tricky.vgtest tricky.stderr.exp \
- unaligned.vgtest \
- unaligned.stderr.exp-glibc25-x86 unaligned.stderr.exp-glibc25-amd64 \
- xor.vgtest-disabled xor.stderr.exp \
- zero.vgtest zero.stderr.exp
+ xor.vgtest-disabled xor.stderr.exp
check_PROGRAMS = \
- add and arith bad_percentify base cmp fp \
+ add and arith bad_percentify cmp \
globalerr hackedbz2 \
- hp_bounds hp_dangle hsg idiv imul \
- justify mm not neg or partial \
+ hsg idiv imul \
+ mm not neg or \
preen_invars preen_invars_so.so \
- pth_create pth_specific realloc \
stackerr \
- strcpy strlen sub supp syscall tricky unaligned xor zero
+ strlen sub syscall xor
# DDD: not sure if these ones should work on Darwin or not... if not, should
# be moved into x86-linux/.
-if ! VGCONF_OS_IS_DARWIN
- check_PROGRAMS += \
- ccc
-endif
+#if ! VGCONF_OS_IS_DARWIN
+# check_PROGRAMS += \
+# ccc
+#endif
AM_CFLAGS += $(AM_FLAG_M3264_PRI)
@@ -86,11 +61,10 @@
hackedbz2_CFLAGS = $(AM_CFLAGS) -O -Wno-inline
# C ones
-pth_create_LDADD = -lpthread
-pth_specific_LDADD = -lpthread
+#pth_create_LDADD = -lpthread
# C++ ones
-ccc_SOURCES = ccc.cpp
+#ccc_SOURCES = ccc.cpp
# Build shared object for preen_invars
preen_invars_DEPENDENCIES = preen_invars_so.so
Deleted: trunk/exp-sgcheck/tests/base.c
===================================================================
--- trunk/exp-sgcheck/tests/base.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/base.c 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,25 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <assert.h>
-
-#include "arith_include1.c"
-
-int main(void)
-{
- #include "arith_include2.c"
-
- // Base ========================================================
- b(p, p); // ok
-
- b(up, u); // ok
-
- b(un, u); // undet
-
- b(n, n); // det
-
- b(nn, n); // det
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/base.stderr.exp-glibc25-amd64
===================================================================
--- trunk/exp-sgcheck/tests/base.stderr.exp-glibc25-amd64 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/base.stderr.exp-glibc25-amd64 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,36 +0,0 @@
-
-about to do 14 [0]
-about to do 14 [-1]
-Invalid read of size 8
- at 0x........: main (base.c:14)
- Address 0x........ is 8 bytes before the accessing pointer's
- legitimate range, a block of size 80 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-
-about to do 16 [0]
-about to do 16 [-1]
-about to do 18 [0]
-about to do 18 [-1]
-about to do 20 [0]
-Invalid read of size 8
- at 0x........: main (base.c:20)
- Address 0x........ is not derived from any known block
-
-about to do 20 [-1]
-Invalid read of size 8
- at 0x........: main (base.c:20)
- Address 0x........ is not derived from any known block
-
-about to do 22 [0]
-Invalid read of size 8
- at 0x........: main (base.c:22)
- Address 0x........ is not derived from any known block
-
-about to do 22 [-1]
-Invalid read of size 8
- at 0x........: main (base.c:22)
- Address 0x........ is not derived from any known block
-
-
-ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/base.stderr.exp-glibc25-x86
===================================================================
--- trunk/exp-sgcheck/tests/base.stderr.exp-glibc25-x86 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/base.stderr.exp-glibc25-x86 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,36 +0,0 @@
-
-about to do 14 [0]
-about to do 14 [-1]
-Invalid read of size 4
- at 0x........: main (base.c:14)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-
-about to do 16 [0]
-about to do 16 [-1]
-about to do 18 [0]
-about to do 18 [-1]
-about to do 20 [0]
-Invalid read of size 4
- at 0x........: main (base.c:20)
- Address 0x........ is not derived from any known block
-
-about to do 20 [-1]
-Invalid read of size 4
- at 0x........: main (base.c:20)
- Address 0x........ is not derived from any known block
-
-about to do 22 [0]
-Invalid read of size 4
- at 0x........: main (base.c:22)
- Address 0x........ is not derived from any known block
-
-about to do 22 [-1]
-Invalid read of size 4
- at 0x........: main (base.c:22)
- Address 0x........ is not derived from any known block
-
-
-ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/base.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/base.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/base.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,3 +0,0 @@
-prereq: ./is_arch_supported
-prog: base
-stderr_filter: filter_add
Deleted: trunk/exp-sgcheck/tests/ccc.cpp
===================================================================
--- trunk/exp-sgcheck/tests/ccc.cpp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/ccc.cpp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,41 +0,0 @@
-#define _XOPEN_SOURCE 600 // to enable posix_memalign()
-#include <assert.h>
-#include <stdlib.h>
-#include <malloc.h> // for memalign()
-static __attribute__((noinline)) void bar ( int ); /* fwds */
-int main(void) {
- int sum = 0;
- int* x1 = (int*)malloc(sizeof(int));
- int* x2 = new int;
- int* x3 = new int[10];
- int* x4 = (int*)calloc(1, sizeof(int));
- int* x5 = (int*)memalign(8, sizeof(int));
- int* x6; void* v6;
- int res = posix_memalign(&v6, 8, sizeof(int)); x6 = (int*)v6;
- assert(NULL != x1 && NULL != x2 && NULL != x3 && NULL != x4 &&
- NULL != x5 && 0 == res);
-
- __asm__ __volatile__("":::"memory");
- // all underruns
- sum += x1[-1]; __asm__ __volatile__("":::"memory"); bar(1);
- sum += x2[-1]; __asm__ __volatile__("":::"memory"); bar(2);
- sum += x3[-1]; __asm__ __volatile__("":::"memory"); bar(3);
- sum += x4[-1]; __asm__ __volatile__("":::"memory"); bar(4);
- sum += x5[-1]; __asm__ __volatile__("":::"memory"); bar(5);
- sum += x6[-1]; __asm__ __volatile__("":::"memory"); bar(6);
- __asm__ __volatile__("":::"memory");
- return sum;
-}
-
-/* What's with all this __asm__ __volatile__ stuff? Well, it's an
- attempt to get gcc-4.1.2 not to claim the memory references that
- we're interested in -- x1[-1] through x6[-1] -- appear on different
- lines than they really do. By its own rules, gcc can't move code
- across an __asm__ __volatile__, and the "memory" item says each one
- clobbers memory in some way which gcc can't know, so that probably
- (!) persuades it not to carry memory CSEs around either. */
-
-static __attribute__((noinline)) void bar ( int x )
-{
- __asm__ __volatile__("":::"memory");
-}
Deleted: trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc25-amd64
===================================================================
--- trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc25-amd64 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc25-amd64 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,46 +0,0 @@
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:20)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:8)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:21)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: ...operator new... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:9)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:10)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: calloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:11)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:23)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:12)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:24)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: posix_memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:14)
-
-
-ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc27-x86
===================================================================
--- trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc27-x86 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc27-x86 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,46 +0,0 @@
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:20)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:8)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:21)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: ...operator new... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:9)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:10)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:23)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: calloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:11)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:24)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:12)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:25)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: posix_memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:14)
-
-
-ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc28-amd64
===================================================================
--- trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc28-amd64 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/ccc.stderr.exp-glibc28-amd64 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,46 +0,0 @@
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:20)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:8)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:21)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: ...operator new... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:9)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:10)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:23)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: calloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:11)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:24)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:12)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: posix_memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:14)
-
-
-ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/ccc.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/ccc.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/ccc.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,2 +0,0 @@
-prereq: ./is_arch_supported
-prog: ccc
Deleted: trunk/exp-sgcheck/tests/fp.c
===================================================================
--- trunk/exp-sgcheck/tests/fp.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/fp.c 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,17 +0,0 @@
-
-#include <stdlib.h>
-
-int main ( void )
-{
- double* dp = malloc(sizeof(double));
- float* fp = malloc(sizeof(float));
-
- *dp += 3.0; // ok
- *fp += 30.0; // ok
- free(dp);
- free(fp);
- *dp += 3.0; // bad, been freed
- *fp += 30.0; // bad, been freed
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/fp.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/fp.stderr.exp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/fp.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,31 +0,0 @@
-
-Invalid read of size 8
- at 0x........: main (fp.c:13)
- Address 0x........ is 0 bytes inside the accessing pointer's
- once-legitimate range, a block of size 8 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (fp.c:11)
-
-Invalid write of size 8
- at 0x........: main (fp.c:13)
- Address 0x........ is 0 bytes inside the accessing pointer's
- once-legitimate range, a block of size 8 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (fp.c:11)
-
-Invalid read of size 4
- at 0x........: main (fp.c:14)
- Address 0x........ is 0 bytes inside the accessing pointer's
- once-legitimate range, a block of size 4 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (fp.c:12)
-
-Invalid write of size 4
- at 0x........: main (fp.c:14)
- Address 0x........ is 0 bytes inside the accessing pointer's
- once-legitimate range, a block of size 4 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (fp.c:12)
-
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/fp.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/fp.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/fp.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,2 +0,0 @@
-prereq: ./is_arch_supported
-prog: fp
Deleted: trunk/exp-sgcheck/tests/hp_bounds.c
===================================================================
--- trunk/exp-sgcheck/tests/hp_bounds.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/hp_bounds.c 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,13 +0,0 @@
-#include <stdlib.h>
-
-int main(void)
-{
- int y __attribute__((unused));
- int* x = malloc(sizeof(int) * 100);
-
- y = x[95]; // ok
- y = x[100]; // overrun
- y = x[-1]; // underrun
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/hp_bounds.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/hp_bounds.stderr.exp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/hp_bounds.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,17 +0,0 @@
-
-Invalid read of size 4
- at 0x........: main (hp_bounds.c:9)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 400 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (hp_bounds.c:6)
-
-Invalid read of size 4
- at 0x........: main (hp_bounds.c:10)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 400 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (hp_bounds.c:6)
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/hp_bounds.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/hp_bounds.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/hp_bounds.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,2 +0,0 @@
-prereq: ./is_arch_supported
-prog: hp_bounds
Deleted: trunk/exp-sgcheck/tests/hp_dangle.c
===================================================================
--- trunk/exp-sgcheck/tests/hp_dangle.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/hp_dangle.c 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,21 +0,0 @@
-
-#include <stdlib.h>
-
-int* mk_dangle(void)
-{
- int* x = malloc(400);
- free(x);
-
- return x;
-}
-
-int main(void)
-{
- int y __attribute__((unused));
- int* x = mk_dangle();
-
- y = x[5];
- y = x[-1];
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/hp_dangle.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/hp_dangle.stderr.exp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/hp_dangle.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,19 +0,0 @@
-
-Invalid read of size 4
- at 0x........: main (hp_dangle.c:17)
- Address 0x........ is 20 bytes inside the accessing pointer's
- once-legitimate range, a block of size 400 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: mk_dangle (hp_dangle.c:7)
- by 0x........: main (hp_dangle.c:15)
-
-Doubly-invalid read of size 4
- at 0x........: main (hp_dangle.c:18)
- Address 0x........ is 4 bytes before the accessing pointer's
- once-legitimate range, a block of size 400 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: mk_dangle (hp_dangle.c:7)
- by 0x........: main (hp_dangle.c:15)
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/hp_dangle.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/hp_dangle.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/hp_dangle.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,2 +0,0 @@
-prereq: ./is_arch_supported
-prog: hp_dangle
Deleted: trunk/exp-sgcheck/tests/justify.c
===================================================================
--- trunk/exp-sgcheck/tests/justify.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/justify.c 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,23 +0,0 @@
-#include <stdlib.h>
-#include <assert.h>
-
-// This is an example of an error found by Annelid, but not found by
-// Memcheck -- because the wild read goes past the redzones of the pointer's
-// block.
-//
-// Nb: for Memcheck to not spot this, relies on it putting the 2nd block in
-// memory after the 1st block.
-
-int main ( void )
-{
- char c __attribute__((unused));
- char *c0, *c1;
-
- c0 = malloc(10000);
- c1 = malloc(10000);
- assert(c0 && c1);
-
- c = c0[15000];
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/justify.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/justify.stderr.exp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/justify.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,10 +0,0 @@
-
-Invalid read of size 1
- at 0x........: main (justify.c:20)
- Address 0x........ is 5000 bytes after the accessing pointer's
- legitimate range, a block of size 10000 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (justify.c:16)
-
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/justify.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/justify.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/justify.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,2 +0,0 @@
-prereq: ./is_arch_supported
-prog: justify
Deleted: trunk/exp-sgcheck/tests/partial_bad.stderr.exp-glibc25-amd64
===================================================================
--- trunk/exp-sgcheck/tests/partial_bad.stderr.exp-glibc25-amd64 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/partial_bad.stderr.exp-glibc25-amd64 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,108 +0,0 @@
-
-Invalid read of size 4
- at 0x........: main (partial.c:21)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:22)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 4
- at 0x........: main (partial.c:23)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 5 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 4
- at 0x........: main (partial.c:24)
- Address 0x........ is 3 bytes inside the accessing pointer's
- legitimate range, a block of size 6 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 4
- at 0x........: main (partial.c:25)
- Address 0x........ is 4 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-Invalid read of size 4
- at 0x........: main (partial.c:34)
- Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:35)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:36)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:37)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:38)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:41)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 8
- at 0x........: main (partial.c:42)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 8
- at 0x........: main (partial.c:43)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 1
- at 0x........: main (partial.c:44)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 0 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 2
- at 0x........: main (partial.c:45)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-
-ERROR SUMMARY: 15 errors from 15 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/partial_bad.stderr.exp-glibc25-x86
===================================================================
--- trunk/exp-sgcheck/tests/partial_bad.stderr.exp-glibc25-x86 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/partial_bad.stderr.exp-glibc25-x86 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,108 +0,0 @@
-
-Invalid read of size 4
- at 0x........: main (partial.c:21)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:22)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 4
- at 0x........: main (partial.c:23)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 5 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 4
- at 0x........: main (partial.c:24)
- Address 0x........ is 3 bytes inside the accessing pointer's
- legitimate range, a block of size 6 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 4
- at 0x........: main (partial.c:25)
- Address 0x........ is 4 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-Invalid read of size 4
- at 0x........: main (partial.c:34)
- Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:35)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:36)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:37)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:38)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:41)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 8
- at 0x........: main (partial.c:42)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 4
- at 0x........: main (partial.c:43)
- Address 0x........ is 4 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 1
- at 0x........: main (partial.c:44)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 0 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 2
- at 0x........: main (partial.c:45)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-
-ERROR SUMMARY: 15 errors from 15 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/partial_bad.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/partial_bad.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/partial_bad.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,3 +0,0 @@
-prereq: ./is_arch_supported
-prog: partial
-vgopts: --partial-loads-ok=no
Deleted: trunk/exp-sgcheck/tests/partial_good.stderr.exp-glibc25-amd64
===================================================================
--- trunk/exp-sgcheck/tests/partial_good.stderr.exp-glibc25-amd64 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/partial_good.stderr.exp-glibc25-amd64 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,94 +0,0 @@
-
-Invalid read of size 4
- at 0x........: main (partial.c:21)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:22)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 4
- at 0x........: main (partial.c:23)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 5 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 4
- at 0x........: main (partial.c:24)
- Address 0x........ is 3 bytes inside the accessing pointer's
- legitimate range, a block of size 6 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 4
- at 0x........: main (partial.c:25)
- Address 0x........ is 4 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-Invalid read of size 4
- at 0x........: main (partial.c:34)
- Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:35)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:36)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:37)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:38)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:41)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 1
- at 0x........: main (partial.c:44)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 0 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 2
- at 0x........: main (partial.c:45)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-
-ERROR SUMMARY: 13 errors from 13 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/partial_good.stderr.exp-glibc25-x86
===================================================================
--- trunk/exp-sgcheck/tests/partial_good.stderr.exp-glibc25-x86 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/partial_good.stderr.exp-glibc25-x86 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,73 +0,0 @@
-
-Invalid read of size 4
- at 0x........: main (partial.c:22)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 4
- at 0x........: main (partial.c:23)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 5 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 4
- at 0x........: main (partial.c:24)
- Address 0x........ is 3 bytes inside the accessing pointer's
- legitimate range, a block of size 6 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 4
- at 0x........: main (partial.c:34)
- Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:36)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:37)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:38)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 8
- at 0x........: main (partial.c:42)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 1
- at 0x........: main (partial.c:44)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 0 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 2
- at 0x........: main (partial.c:45)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-
-ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/partial_good.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/partial_good.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/partial_good.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,3 +0,0 @@
-prereq: ./is_arch_supported
-prog: partial
-vgopts: --partial-loads-ok=yes
Deleted: trunk/exp-sgcheck/tests/pth_create.c
===================================================================
--- trunk/exp-sgcheck/tests/pth_create.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/pth_create.c 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,22 +0,0 @@
-
-#include <pthread.h>
-#include <stdlib.h>
-
-
-
-// This demonstrates an error for a pre_mem_{read,write} event that comes
-// from the core, rather than a syscall (ie. part == Vg_CorePart instead of
-// part == Vg_CoreSyscall).
-
-
-int main(void)
-{
- pthread_key_t* key = malloc(sizeof(pthread_key_t));
- pthread_key_t* key2 = malloc(sizeof(pthread_key_t));
-
- pthread_key_create ( (pthread_key_t*)((long)key + 1), NULL );
- free(key2);
- pthread_key_create ( key2 , NULL );
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/pth_create.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/pth_create.stderr.exp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/pth_create.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,19 +0,0 @@
-
-Invalid write of size 4
- at 0x........: pthread_key_create (in /...libpthread...)
- by 0x........: main (pth_create.c:17)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (pth_create.c:14)
-
-Invalid write of size 4
- at 0x........: pthread_key_create (in /...libpthread...)
- by 0x........: main (pth_create.c:19)
- Address 0x........ is 0 bytes inside the accessing pointer's
- once-legitimate range, a block of size 4 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (pth_create.c:18)
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/pth_create.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/pth_create.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/pth_create.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,2 +0,0 @@
-prereq: ./is_arch_supported
-prog: pth_create
Deleted: trunk/exp-sgcheck/tests/pth_specific.c
===================================================================
--- trunk/exp-sgcheck/tests/pth_specific.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/pth_specific.c 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,34 +0,0 @@
-#include <pthread.h>
-#include <assert.h>
-#include <stdlib.h>
-
-// This shows that putting a segment pointer into a thread-specific data
-// area and then getting it out again doesn't lose info -- even though the
-// key allocation/getting is done on the real CPU where the skin can't see,
-// the get/set of the info is done using that key on the simd CPU where it
-// can see, so everything works out fine.
-
-int main(void)
-{
- pthread_key_t key;
- char *x, *z;
- char y __attribute__((unused));
-
- x = malloc(100);
-
- y = x[-1]; // error
- x[1] = 'z';
-
- assert( 0 == pthread_key_create ( &key, NULL ) );
- assert( 0 == pthread_setspecific( key, x ) );
- z = (char*)pthread_getspecific( key );
- assert( 0 != z );
-
- y = z[-1]; // error
-
- // ensure the key went in and out correctly
- assert(z == x);
- assert(z[1] == 'z');
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/pth_specific.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/pth_specific.stderr.exp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/pth_specific.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,17 +0,0 @@
-
-Invalid read of size 1
- at 0x........: main (pth_specific.c:19)
- Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, a block of size 100 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (pth_specific.c:17)
-
-Invalid read of size 1
- at 0x........: main (pth_specific.c:27)
- Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, a block of size 100 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (pth_specific.c:17)
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/pth_specific.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/pth_specific.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/pth_specific.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,2 +0,0 @@
-prereq: ./is_arch_supported
-prog: pth_specific
Deleted: trunk/exp-sgcheck/tests/realloc.c
===================================================================
--- trunk/exp-sgcheck/tests/realloc.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/realloc.c 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,46 +0,0 @@
-
-#include <stdlib.h>
-
-int main(void)
-{
- int i __attribute__((unused));
- int* y __attribute__((unused));
- int** x = malloc(sizeof(int*) * 100);
- int* x2 = malloc(sizeof(int) * 100);
- void* sink __attribute__((unused));
- x[0] = x2; // this is to check the pointerness is copied across ok
- x[49] = x2; // this is to check the pointerness is copied across ok
-
- i = *x[0];
- i = *x[49];
-
- x = realloc(x, sizeof(int*)*50); // smaller
- y = x[0]; // ok
- y = x[49]; // ok
- y = x[-1]; // bad
- y = x[50]; // bad
- i = *x[0]; // ok
- i = *x[49]; // ok
-
- x = realloc(x, sizeof(int*)*50); // same size
- y = x[0]; // ok
- y = x[49]; // ok
- y = x[-1]; // bad
- y = x[50]; // bad
- i = *x[0]; // ok
- i = *x[49]; // ok
-
- x = realloc(x, sizeof(int*)*100); // bigger
- y = x[0]; // ok
- y = x[49]; // ok
- y = x[50]; // ok
- y = x[99]; // ok
- y = x[-1]; // bad
- y = x[100]; // bad
- i = *x[0]; // ok
- i = *x[49]; // ok
-
- sink = realloc((void*)0x99, 10); // fails
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/realloc.stderr.exp-glibc25-amd64
===================================================================
--- trunk/exp-sgcheck/tests/realloc.stderr.exp-glibc25-amd64 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/realloc.stderr.exp-glibc25-amd64 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,45 +0,0 @@
-
-Invalid read of size 8
- at 0x........: main (realloc.c:20)
- Address 0x........ is 8 bytes before the accessing pointer's
- legitimate range, a block of size 400 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:17)
-
-Invalid read of size 8
- at 0x........: main (realloc.c:21)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 400 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:17)
-
-Invalid read of size 8
- at 0x........: main (realloc.c:28)
- Address 0x........ is 8 bytes before the accessing pointer's
- legitimate range, a block of size 400 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:25)
-
-Invalid read of size 8
- at 0x........: main (realloc.c:29)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 400 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:25)
-
-Invalid read of size 8
- at 0x........: main (realloc.c:38)
- Address 0x........ is 8 bytes before the accessing pointer's
- legitimate range, a block of size 800 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:33)
-
-Invalid read of size 8
- at 0x........: main (realloc.c:39)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 800 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:33)
-
-
-ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/realloc.stderr.exp-glibc25-x86
===================================================================
--- trunk/exp-sgcheck/tests/realloc.stderr.exp-glibc25-x86 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/realloc.stderr.exp-glibc25-x86 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,45 +0,0 @@
-
-Invalid read of size 4
- at 0x........: main (realloc.c:20)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 200 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:17)
-
-Invalid read of size 4
- at 0x........: main (realloc.c:21)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 200 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:17)
-
-Invalid read of size 4
- at 0x........: main (realloc.c:28)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 200 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:25)
-
-Invalid read of size 4
- at 0x........: main (realloc.c:29)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 200 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:25)
-
-Invalid read of size 4
- at 0x........: main (realloc.c:38)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 400 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:33)
-
-Invalid read of size 4
- at 0x........: main (realloc.c:39)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 400 alloc'd
- at 0x........: realloc (vg_replace_malloc.c:...)
- by 0x........: main (realloc.c:33)
-
-
-ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/realloc.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/realloc.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/realloc.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,2 +0,0 @@
-prereq: ./is_arch_supported
-prog: realloc
Deleted: trunk/exp-sgcheck/tests/strcpy.c
===================================================================
--- trunk/exp-sgcheck/tests/strcpy.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/strcpy.c 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,44 +0,0 @@
-#include <stdlib.h>
-#include <string.h>
-
-// This shows the case whereby subtraction between two pointers from
-// different segments can be used legitimately.
-
-// dest: stack, src: heap
-char* my_strcpy (char* dest, const char* src)
-{
- char c, *s = (char *) src;
- long off = dest - s;
- off = off - 1;
- do {
- c = *s++;
- s[off] = c; // s + off == dest
- } while (c != '\0');
- return dest;
-}
-
-int main(void)
-{
- char* h = "hello, world";
- char* p1 = strdup(h);
- char* p2 = strdup(h);
- char u1[13];
- char u2[13];
-
- // All these are legit
- p1[p2-p1] = 0; // p-p (must be BADSEG'd) // ea is p2[0]
- u1[p2-u1] = 0; // p-?
- p1[u2-p1] = 0; // ?-p (must be BADSEG'd)
- u1[u2-u1] = 0; // ?-?
-
- // All these are a 1-byte underrun
- p1[p2-p1-1] = 0; // p-p (must be BADSEG'd) // ea is p2[-1]
- u1[p2-u1-1] = 0; // p-? (undet)
- p1[u2-p1-1] = 0; // ?-p (must be BADSEG'd)
- u1[u2-u1-1] = 0; // ?-? (undet)
-
- my_strcpy(u1, p1);
- my_strcpy(u2, u1);
-
- return 0;
-}
Deleted: trunk/exp-sgcheck/tests/strcpy.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/strcpy.stderr.exp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/strcpy.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,3 +0,0 @@
-
-
-ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/strcpy.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/strcpy.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/strcpy.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,2 +0,0 @@
-prereq: ./is_arch_supported
-prog: strcpy
Deleted: trunk/exp-sgcheck/tests/supp.c
===================================================================
--- trunk/exp-sgcheck/tests/supp.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/supp.c 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,19 +0,0 @@
-#include <string.h>
-#include <stdlib.h>
-#include <unistd.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <sys/time.h>
-
-int main(void)
-{
- int i = 11; int fd = open("/dev/null", O_WRONLY);
- char* buf = malloc(sizeof(char) * 6);
- char c = buf[-1]; // LoadStoreErr
- char* x = buf + (long)buf; // ArithErr
- char* y = (char*)((long)buf * i); // AsmErr
- write(fd, buf+3, 5); // SysParamErr
- close(fd);
- return x-y+c;
-}
Deleted: trunk/exp-sgcheck/tests/supp.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/supp.stderr.exp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/supp.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,11 +0,0 @@
-
-Syscall param write(buf) is non-contiguous
- at 0x........: write (in /...libc...)
- by 0x........: main (supp.c:16)
- 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)
- Last byte is not inside a known block
-
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/supp.supp
===================================================================
--- trunk/exp-sgcheck/tests/supp.supp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/supp.supp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,18 +0,0 @@
-{
- first-in-supp.supp
- exp-ptrcheck:Heap
- fun:main
-}
-{
- second-in-supp.supp
- exp-ptrcheck:Arith
- fun:main
-}
-{
- third-in-supp.supp
- exp-ptrcheck:SysParam
- write(buf)
- fun:__GI___libc_write
- fun:__libc_start_main
- obj:*/annelid/tests/supp
-}
Deleted: trunk/exp-sgcheck/tests/supp.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/supp.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/supp.vgtest 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,3 +0,0 @@
-prereq: ./is_arch_supported
-vgopts: --suppressions=supp.supp
-prog: supp
Deleted: trunk/exp-sgcheck/tests/suppgen.stderr.exp
===================================================================
--- trunk/exp-sgcheck/tests/suppgen.stderr.exp 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/suppgen.stderr.exp 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,61 +0,0 @@
-
-Invalid read of size 1
- at 0x........: main (supp.c:13)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, the 6-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (supp.c:12)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
----- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- {
- <insert a suppression name here>
- Annelid:LoadStore
- fun:main
- fun:__libc_start_main
- obj:*/annelid/tests/supp
-}
-
-Invalid ADD
- at 0x........: main (supp.c:14)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Both args derived from address 0x........ of 6-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (supp.c:12)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-
----- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- {
- <insert a suppression name here>
- Annelid:Arith
- fun:main
- fun:__libc_start_main
- obj:*/annelid/tests/supp
-}
-Warning: invalid file descriptor -1 in syscall write()
-
-Syscall param write(buf) is non-contiguous
- at 0x........: __libc_write (...libc...)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-First byte (0x........) is 3 bytes within a 6-byte block alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (supp.c:12)
- by 0x........: __libc_start_main (...libc...)
- by 0x........: ...
-Last byte is not within a known block
-
----- Print suppression ? --- [Return/N/n/Y/y/C/c] ---- {
- <insert a suppression name here>
- Annelid:SysParam
- write(buf)
- fun:__GI___libc_write
- fun:__libc_start_main
- obj:*/annelid/tests/supp
-}
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
Deleted: trunk/exp-sgcheck/tests/suppgen.stdin
===================================================================
--- trunk/exp-sgcheck/tests/suppgen.stdin 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/suppgen.stdin 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,5 +0,0 @@
-y
-y
-y
-y
-
Deleted: trunk/exp-sgcheck/tests/suppgen.vgtest-disabled
===================================================================
--- trunk/exp-sgcheck/tests/suppgen.vgtest-disabled 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/suppgen.vgtest-disabled 2011-05-12 16:38:56 UTC (rev 11749)
@@ -1,4 +0,0 @@
-prog: supp
-vgopts: --gen-suppressions=yes
-args: < suppgen.stdin
-stderr_filter: filter_suppgen
Deleted: trunk/exp-sgcheck/tests/tricky.c
===================================================================
--- trunk/exp-sgcheck/tests/tricky.c 2011-05-11 22:54:57 UTC (rev 11748)
+++ trunk/exp-sgcheck/tests/trick...
[truncated message content] |
|
From: Rich C. <rc...@wi...> - 2011-05-12 05:46:05
|
Nightly build on ppc32 ( Linux 2.6.27.45-0.1-default ppc )
Started at 2011-05-11 23:26:01 CDT
Ended at 2011-05-12 00:45:52 CDT
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 460 tests, 15 stderr failures, 5 stdout failures, 2 stderrB failures, 0 stdoutB failures, 2 post failures ==
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/mcvabits (stderrB)
memcheck/tests/badjump (stderr)
memcheck/tests/badjump2 (stderr)
memcheck/tests/linux/stack_changes (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo6 (stderr)
massif/tests/deep-D (post)
massif/tests/overloaded-new (post)
none/tests/linux/mremap (stderr)
none/tests/ppc32/jm-fp (stdout)
none/tests/ppc32/jm-fp (stderr)
none/tests/ppc32/power5+_round (stdout)
none/tests/ppc32/power5+_round (stderr)
none/tests/ppc32/round (stdout)
none/tests/ppc32/round (stderr)
none/tests/ppc32/test_fx (stdout)
none/tests/ppc32/test_fx (stderr)
none/tests/ppc32/test_gx (stdout)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
drd/tests/tc23_bogus_condwait (stderr)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-darwin-amd64
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin-amd64 2011-05-12 00:06:35.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-05-12 00:45:31.000000000 -0500
@@ -3,67 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Assertion failed: (!r), function main, file tc23_bogus_condwait.c, line 86.
-Process terminating with default action of signal 6 (SIGABRT)
- at 0x........: __kill (in /...libc...)
- by 0x........: __assert_rtn (in /...libc...)
- by 0x........: main (tc23_bogus_condwait.c:86)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-darwin-x86
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin-x86 2011-05-12 00:06:35.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-05-12 00:45:31.000000000 -0500
@@ -3,61 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-ppc
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-ppc 2011-05-12 00:06:35.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-05-12 00:45:31.000000000 -0500
@@ -6,8 +6,8 @@
Process terminating with default action of signal 7 (SIGBUS)
Invalid address alignment at address 0x........
- at 0x........: (within libpthread-?.?.so)
- by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so)
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-x86
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-x86 2011-05-12 00:06:35.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-05-12 00:45:31.000000000 -0500
@@ -3,84 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-
-Thread 1:
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:28)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Thread 1:
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:32)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2011-05-12 00:06:12.000000000 -0500
+++ mcinfcallWSRU.stderrB.out 2011-05-12 00:22:36.000000000 -0500
@@ -24,28 +24,25 @@
39 for (i = 0; i < burn; i++) loopnr++;
$1 = void
[Switching to thread 2 (Thread ....)]#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
+Remote failure reply: E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
set pc, calling from gdb a function in the debugged process, ...)
can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
Thread status is VgTs_WaitSys
-'
[Switching to thread 3 (Thread ....)]#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
+Remote failure reply: E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
set pc, calling from gdb a function in the debugged process, ...)
can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
Thread status is VgTs_WaitSys
-'
[Switching to thread 4 (Thread ....)]#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
+Remote failure reply: E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
set pc, calling from gdb a function in the debugged process, ...)
can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
Thread status is VgTs_WaitSys
-'
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-new/gdbserver_tests/mcvabits.stderrB.diff
=================================================
--- mcvabits.stderrB.exp 2011-05-12 00:06:12.000000000 -0500
+++ mcvabits.stderrB.out 2011-05-12 00:23:00.000000000 -0500
@@ -1,55 +1,32 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 defined
- Address 0x........ is 0 bytes inside data symbol "undefined"
-00000000 00000000 0000
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff00ff00 ff00ff00 ff00
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff000000 0000ff00 ff00
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff00ffff ffffff00 ff00
-Address 0x........ len 2 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 2 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff00
-Address 0x........ len 2 not addressable:
-bad address 0x........
- Address 0x........ is 2 bytes inside data symbol "undefined"
-Address 0x........ len 2 not addressable:
-bad address 0x........
- Address 0x........ is 2 bytes inside data symbol "undefined"
-____
-Address 0x........ len 2 has 2 bytes unaddressable
-Address 0x........ len 6 addressable
- Address 0x........ is 4 bytes inside data symbol "undefined"
-Address 0x........ len 6 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 4 bytes inside data symbol "undefined"
-ffffff00 ff00
-Address 0x........ len 10 not addressable:
-bad address 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not addressable:
-bad address 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-0000____ 00000000 0000
-Address 0x........ len 10 has 2 bytes unaddressable
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2011-05-12 00:06:10.000000000 -0500
+++ hg05_race2.stderr.out 2011-05-12 00:35:19.000000000 -0500
@@ -17,8 +17,6 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: th (hg05_race2.c:17)
@@ -28,8 +26,6 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2011-05-12 00:06:10.000000000 -0500
+++ tc06_two_races_xml.stderr.out 2011-05-12 00:36:03.000000000 -0500
@@ -45,11 +45,17 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>do_clone</fn>
+ <dir>...</dir>
+ <file>createthread.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_create@@GLIBC_2.2.5</fn>
+ <fn>pthread_create@@GLIBC_2.1</fn>
+ <dir>...</dir>
+ <file>createthread.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -121,6 +127,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -175,6 +184,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -229,6 +241,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -283,6 +298,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
=================================================
./valgrind-new/helgrind/tests/tc23_bogus_condwait.stderr.diff
=================================================
--- tc23_bogus_condwait.stderr.exp 2011-05-12 00:06:10.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-05-12 00:37:09.000000000 -0500
@@ -2,39 +2,24 @@
Thread #x is the program's root thread
Thread #x: pthread_cond_{timed}wait called with invalid mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:69)
-Thread #x: pthread_cond_{timed}wait called with un-held mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:72)
-
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:72)
-
-Thread #x: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t*
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:75)
-
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:75)
-Thread #x: pthread_cond_{timed}wait called with mutex held by a different thread
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:64)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:108)
by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:78)
+ by 0x........: main (tc23_bogus_condwait.c:69)
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:61)
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:78)
+Thread #x: Exiting thread still holds 1 lock
+ ...
+ ...
-ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/massif/tests/deep-D.post.diff
=================================================
--- deep-D.post.exp 2011-05-12 00:06:19.000000000 -0500
+++ deep-D.post.out 2011-05-12 00:31:41.000000000 -0500
@@ -46,8 +46,9 @@
8 3,264 3,264 3,200 64 0
9 3,672 3,672 3,600 72 0
98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->98.04% (3,600B) 0x........: (below main)
-
+->98.04% (3,600B) 0x........: ??? (in /...libc...)
+ ->98.04% (3,600B) 0x........: (below main)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
=================================================
./valgrind-new/massif/tests/overloaded-new.post.diff
=================================================
--- overloaded-new.post.exp 2011-05-12 00:06:19.000000000 -0500
+++ overloaded-new.post.out 2011-05-12 00:31:52.000000000 -0500
@@ -42,14 +42,18 @@
4 12,032 12,032 12,000 32 0
5 12,032 12,032 12,000 32 0
99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
-|
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
-|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
-|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
-
+->33.24% (4,000B) 0x........: operator new(unsigned int) (overloaded-new.cpp:19)
+| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
+|
+->33.24% (4,000B) 0x........: operator new(unsigned int, std::nothrow_t const&) (overloaded-new.cpp:24)
+| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
+|
+->16.62% (2,000B) 0x........: operator new[](unsigned int) (overloaded-new.cpp:29)
+| ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
+|
+->16.62% (2,000B) 0x........: operator new[](unsigned int, std::nothrow_t const&) (overloaded-new.cpp:34)
+ ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
=================================================
./valgrind-new/memcheck/tests/badjump.stderr.diff
=================================================
--- badjump.stderr.exp 2011-05-12 00:06:17.000000000 -0500
+++ badjump.stderr.out 2011-05-12 00:24:40.000000000 -0500
@@ -1,6 +1,7 @@
Jump to the invalid address stated on the next line
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
@@ -8,6 +9,7 @@
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
=================================================
./valgrind-new/memcheck/tests/badjump.stderr.diff-s390x
=================================================
--- badjump.stderr.exp-s390x 2011-05-12 00:06:17.000000000 -0500
+++ badjump.stderr.out 2011-05-12 00:24:40.000000000 -0500
@@ -1,14 +1,16 @@
Jump to the invalid address stated on the next line
at 0x........: ???
- by 0x........: main (badjump.c:17)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
- by 0x........: main (badjump.c:17)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
possible), you can try to increase the size of the
=================================================
./valgrind-new/memcheck/tests/badjump2.stderr.diff
=================================================
--- badjump2.stderr.exp 2011-05-12 00:06:17.000000000 -0500
+++ badjump2.stderr.out 2011-05-12 00:24:41.000000000 -0500
@@ -1,5 +1,6 @@
Jump to the invalid address stated on the next line
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
=================================================
./valgrind-new/memcheck/tests/badjump2.stderr.diff-s390x
=================================================
--- badjump2.stderr.exp-s390x 2011-05-12 00:06:17.000000000 -0500
+++ badjump2.stderr.out 2011-05-12 00:24:41.000000000 -0500
@@ -1,6 +1,7 @@
Jump to the invalid address stated on the next line
at 0x........: ???
- by 0x........: main (badjump2.c:46)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
Signal caught, as expected
=================================================
./valgrind-new/memcheck/tests/linux/stack_changes.stderr.diff
=================================================
--- stack_changes.stderr.exp 2011-05-12 00:06:16.000000000 -0500
+++ stack_changes.stderr.out 2011-05-12 00:26:05.000000000 -0500
@@ -0,0 +1,5 @@
+WARNING: unhandled syscall: 249
+You may be able to write your own handler.
+Read the file README_MISSING_SYSCALL_OR_IOCTL.
+Nevertheless we consider this a bug. Please report
+it at http://valgrind.org/support/bug_reports.html.
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2011-05-12 00:06:17.000000000 -0500
+++ origin5-bz2.stderr.out 2011-05-12 00:27:27.000000000 -0500
@@ -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,18 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- 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: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)
@@ -93,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)
@@ -104,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)
@@ -115,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
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2011-05-12 00:06:17.000000000 -0500
+++ origin5-bz2.stderr.out 2011-05-12 00:27:27.000000000 -0500
@@ -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 2011-05-12 00:06:17.000000000 -0500
+++ origin5-bz2.stderr.out 2011-05-12 00:27:27.000000000 -0500
@@ -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 2011-05-12 00:06:17.000000000 -0500
+++ origin5-bz2.stderr.out 2011-05-12 00:27:27.000000000 -0500
@@ -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,25 +9,25 @@
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
+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)
@@ -36,9 +36,9 @@
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........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -47,9 +47,9 @@
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........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -58,9 +58,9 @@
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........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -69,9 +69,9 @@
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........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -80,9 +80,9 @@
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
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/supp_unknown.stderr.diff
=================================================
--- supp_unknown.stderr.exp 2011-05-12 00:06:17.000000000 -0500
+++ supp_unknown.stderr.out 2011-05-12 00:29:17.000000000 -0500
@@ -1,7 +1,14 @@
+Jump to the invalid address stated on the next line
+ at 0x........: ???
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
=================================================
./valgrind-new/memcheck/tests/supp_unknown.stderr.diff-s390x
=================================================
--- supp_unknown.stderr.exp-s390x 2011-05-12 00:06:17.000000000 -0500
+++ supp_unknown.stderr.out 2011-05-12 00:29:17.000000000 -0500
@@ -1,8 +1,15 @@
+Jump to the invalid address stated on the next line
+ at 0x........: ???
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
- by 0x........: main (badjump.c:17)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
possible), you can try to increase the size of the
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff
=================================================
--- varinfo6.stderr.exp 2011-05-12 00:06:17.000000000 -0500
+++ varinfo6.stderr.out 2011-05-12 00:30:00.000000000 -0500
@@ -7,8 +7,7 @@
by 0x........: BZ2_bzCompress (varinfo6.c:4860)
by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667)
by 0x........: main (varinfo6.c:6517)
- Location 0x........ is 2 bytes inside local var "budget"
- declared at varinfo6.c:3115, in frame #2 of thread 1
+ Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo6.c:34)
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff-ppc64
=================================================
--- varinfo6.stderr.exp-ppc64 2011-05-12 00:06:17.000000000 -0500
+++ varinfo6.stderr.out 2011-05-12 00:30:00.000000000 -0500
@@ -1,5 +1,5 @@
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: mainSort (varinfo6.c:2999)
by 0x........: BZ2_blockSort (varinfo6.c:3143)
by 0x........: BZ2_compressBlock (varinfo6.c:4072)
@@ -10,7 +10,7 @@
Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: BZ2_decompress (varinfo6.c:1699)
by 0x........: BZ2_bzDecompress (varinfo6.c:5230)
by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715)
=================================================
./valgrind-new/none/tests/linux/mremap.stderr.diff
=================================================
--- mremap.stderr.exp 2011-05-12 00:06:28.000000000 -0500
+++ mremap.stderr.out 2011-05-12 00:32:49.000000000 -0500
@@ -1,3 +1,12 @@
-mremap(grow, nomove, constrained): Cannot allocate memory
+mremap(shrink, fixed): Invalid argument
+shrink, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(shrink, maymove): Invalid argument
+shrink, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, fixed): Invalid argument
+grow, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, maymove): Invalid argument
+grow, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, nomove, constrained): Invalid argument
+mremap(grow, maymove, constrained): Invalid argument
=================================================
./valgrind-new/none/tests/linux/mremap.stderr.diff-glibc27
=================================================
--- mremap.stderr.exp-glibc27 2011-05-12 00:06:28.000000000 -0500
+++ mremap.stderr.out 2011-05-12 00:32:49.000000000 -0500
@@ -1,6 +1,12 @@
-mremap(grow, fixed): Cannot allocate memory
+mremap(shrink, fixed): Invalid argument
+shrink, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(shrink, maymove): Invalid argument
+shrink, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, fixed): Invalid argument
grow, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, maymove): Invalid argument
grow, maymove: p=0x........ np=0x........: shrink moved?!
-mremap(grow, nomove, constrained): Cannot allocate memory
+mremap(grow, nomove, constrained): Invalid argument
+mremap(grow, maymove, constrained): Invalid argument
=================================================
./valgrind-new/none/tests/ppc32/jm-fp.stderr.diff
=================================================
--- jm-fp.stderr.exp 2011-05-12 00:06:27.000000000 -0500
+++ jm-fp.stderr.out 2011-05-12 00:33:23.000000000 -0500
@@ -1,2 +1,27 @@
+disInstr(ppc): declined to decode a GeneralPurpose-Optional insn.
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 44(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: test_fsqrt (jm-insns.c:1986)
+ by 0x........: test_float_one_arg (jm-insns.c:5738)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: test_fsqrt (jm-insns.c:1986)
+ by 0x........: test_float_one_arg (jm-insns.c:5738)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
=================================================
./valgrind-new/none/tests/ppc32/jm-fp.stdout.diff
=================================================
--- jm-fp.stdout.exp 2011-05-12 00:06:27.000000000 -0500
+++ jm-fp.stdout.out 2011-05-12 00:33:23.000000000 -0500
@@ -794,570 +794,4 @@
fnabs 0010000000000001 => 8010000000000001
fnabs 00100094e0000359 => 80100094e0000359
- fnabs 3fe0000000000001 => bfe0000000000001
- fnabs 3fe00094e0000359 => bfe00094e0000359
- fnabs 8010000000000001 => 8010000000000001
- fnabs 80100094e0000359 => 80100094e0000359
- fnabs bfe0000000000001 => bfe0000000000001
- fnabs bfe00094e0000359 => bfe00094e0000359
- fnabs 0000000000000000 => 8000000000000000
- fnabs 8000000000000000 => 8000000000000000
- fnabs 7ff0000000000000 => fff0000000000000
- fnabs fff0000000000000 => fff0000000000000
- fnabs 7ff7ffffffffffff => fff7ffffffffffff
- fnabs fff7ffffffffffff => fff7ffffffffffff
- fnabs 7ff8000000000000 => fff8000000000000
- fnabs fff8000000000000 => fff8000000000000
-
- fsqrt 0010000000000001 => 2000000000000000
- fsqrt 00100094e0000359 => 2000004a6f52dd4a
- fsqrt 3fe0000000000001 => 3fe6a09e667f3bcd
- fsqrt 3fe00094e0000359 => 3fe6a107aacb50df
- fsqrt 8010000000000001 => 7ff8000000000000
- fsqrt 80100094e0000359 => 7ff8000000000000
- fsqrt bfe0000000000001 => 7ff8000000000000
- fsqrt bfe00094e0000359 => 7ff8000000000000
- fsqrt 0000000000000000 => 0000000000000000
- fsqrt 8000000000000000 => 8000000000000000
- fsqrt 7ff0000000000000 => 7ff0000000000000
- fsqrt fff0000000000000 => 7ff8000000000000
- fsqrt 7ff7ffffffffffff => 7fffffffffffffff
- fsqrt fff7ffffffffffff => ffffffffffffffff
- fsqrt 7ff8000000000000 => 7ff8000000000000
- fsqrt fff8000000000000 => fff8000000000000
-
-PPC floating point arith insns
- with one arg with flags update:
- frsp. 0010000000000001 => 0000000000000000
- frsp. 00100094e0000359 => 0000000000000000
- frsp. 3fe0000000000001 => 3fe0000000000000
- frsp. 3fe00094e0000359 => 3fe00094e0000000
- frsp. 8010000000000001 => 8000000000000000
- frsp. 80100094e0000359 => 8000000000000000
- frsp. bfe0000000000001 => bfe0000000000000
- frsp. bfe00094e0000359 => bfe00094e0000000
- frsp. 0000000000000000 => 0000000000000000
- frsp. 8000000000000000 => 8000000000000000
- frsp. 7ff0000000000000 => 7ff0000000000000
- frsp. fff0000000000000 => fff0000000000000
- frsp. 7ff7ffffffffffff => 7fffffffe0000000
- frsp. fff7ffffffffffff => ffffffffe0000000
- frsp. 7ff8000000000000 => 7ff8000000000000
- frsp. fff8000000000000 => fff8000000000000
-
- fctiw. 0010000000000001 => 0000000000000000
- fctiw. 00100094e0000359 => 0000000000000000
- fctiw. 3fe0000000000001 => 0000000000000001
- fctiw. 3fe00094e0000359 => 0000000000000001
- fctiw. 8010000000000001 => 0000000000000000
- fctiw. 80100094e0000359 => 0000000000000000
- fctiw. bfe0000000000001 => 00000000ffffffff
- fctiw. bfe00094e0000359 => 00000000ffffffff
- fctiw. 0000000000000000 => 0000000000000000
- fctiw. 8000000000000000 => 0000000000000000
- fctiw. 7ff0000000000000 => 000000007fffffff
- fctiw. fff0000000000000 => 0000000080000000
- fctiw. 7ff7ffffffffffff => 0000000080000000
- fctiw. fff7ffffffffffff => 0000000080000000
- fctiw. 7ff8000000000000 => 0000000080000000
- fctiw. fff8000000000000 => 0000000080000000
-
- fctiwz. 0010000000000001 => 0000000000000000
- fctiwz. 00100094e0000359 => 0000000000000000
- fctiwz. 3fe0000000000001 => 0000000000000000
- fctiwz. 3fe00094e0000359 => 0000000000000000
- fctiwz. 8010000000000001 => 0000000000000000
- fctiwz. 80100094e0000359 => 0000000000000000
- fctiwz. bfe0000000000001 => 0000000000000000
- fctiwz. bfe00094e0000359 => 0000000000000000
- fctiwz. 0000000000000000 => 0000000000000000
- fctiwz. 8000000000000000 => 0000000000000000
- fctiwz. 7ff0000000000000 => 000000007fffffff
- fctiwz. fff0000000000000 => 0000000080000000
- fctiwz. 7ff7ffffffffffff => 0000000080000000
- fctiwz. fff7ffffffffffff => 0000000080000000
- fctiwz. 7ff8000000000000 => 0000000080000000
- fctiwz. fff8000000000000 => 0000000080000000
-
- fmr. 0010000000000001 => 0010000000000001
- fmr. 00100094e0000359 => 00100094e0000359
- fmr. 3fe0000000000001 => 3fe0000000000001
- fmr. 3fe00094e0000359 => 3fe00094e0000359
- fmr. 8010000000000001 => 8010000000000001
- fmr. 80100094e0000359 => 80100094e0000359
- fmr. bfe0000000000001 => bfe0000000000001
- fmr. bfe00094e0000359 => bfe00094e0000359
- fmr. 0000000000000000 => 0000000000000000
<truncated beyond 100 lines>
=================================================
./valgrind-new/none/tests/ppc32/power5+_round.stderr.diff
=================================================
--- power5+_round.stderr.exp 2011-05-12 00:06:27.000000000 -0500
+++ power5+_round.stderr.out 2011-05-12 00:33:31.000000000 -0500
@@ -1,2 +1,20 @@
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 784(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: main (power5+_round.c:124)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. The...
[truncated message content] |
|
From: Tom H. <th...@cy...> - 2011-05-12 02:56:26
|
Nightly build on vauxhall ( x86_64, Fedora 14 ) Started at 2011-05-12 03:20:04 BST Ended at 2011-05-12 03:55:56 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 582 tests, 25 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) exp-sgcheck/tests/bad_percentify (stderr) exp-sgcheck/tests/base (stderr) exp-sgcheck/tests/ccc (stderr) exp-sgcheck/tests/fp (stderr) exp-sgcheck/tests/globalerr (stderr) exp-sgcheck/tests/hackedbz2 (stderr) exp-sgcheck/tests/hp_bounds (stderr) exp-sgcheck/tests/hp_dangle (stderr) exp-sgcheck/tests/hsg (stderr) exp-sgcheck/tests/justify (stderr) exp-sgcheck/tests/partial_bad (stderr) exp-sgcheck/tests/partial_good (stderr) exp-sgcheck/tests/preen_invars (stderr) exp-sgcheck/tests/pth_create (stderr) exp-sgcheck/tests/pth_specific (stderr) exp-sgcheck/tests/realloc (stderr) exp-sgcheck/tests/stackerr (stderr) exp-sgcheck/tests/strcpy (stderr) exp-sgcheck/tests/supp (stderr) exp-sgcheck/tests/tricky (stderr) exp-sgcheck/tests/unaligned (stderr) exp-sgcheck/tests/zero (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 == 582 tests, 4 stderr failures, 1 stdout failure, 1 stderrB failure, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) memcheck/tests/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) drd/tests/pth_detached_sem (stdout) exp-ptrcheck/tests/bad_percentify (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Thu May 12 03:38:12 2011 --- new.short Thu May 12 03:55:56 2011 *************** *** 8,10 **** ! == 582 tests, 4 stderr failures, 1 stdout failure, 1 stderrB failure, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) --- 8,10 ---- ! == 582 tests, 25 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) *************** *** 14,17 **** helgrind/tests/tc06_two_races_xml (stderr) ! drd/tests/pth_detached_sem (stdout) ! exp-ptrcheck/tests/bad_percentify (stderr) --- 14,37 ---- helgrind/tests/tc06_two_races_xml (stderr) ! exp-sgcheck/tests/bad_percentify (stderr) ! exp-sgcheck/tests/base (stderr) ! exp-sgcheck/tests/ccc (stderr) ! exp-sgcheck/tests/fp (stderr) ! exp-sgcheck/tests/globalerr (stderr) ! exp-sgcheck/tests/hackedbz2 (stderr) ! exp-sgcheck/tests/hp_bounds (stderr) ! exp-sgcheck/tests/hp_dangle (stderr) ! exp-sgcheck/tests/hsg (stderr) ! exp-sgcheck/tests/justify (stderr) ! exp-sgcheck/tests/partial_bad (stderr) ! exp-sgcheck/tests/partial_good (stderr) ! exp-sgcheck/tests/preen_invars (stderr) ! exp-sgcheck/tests/pth_create (stderr) ! exp-sgcheck/tests/pth_specific (stderr) ! exp-sgcheck/tests/realloc (stderr) ! exp-sgcheck/tests/stackerr (stderr) ! exp-sgcheck/tests/strcpy (stderr) ! exp-sgcheck/tests/supp (stderr) ! exp-sgcheck/tests/tricky (stderr) ! exp-sgcheck/tests/unaligned (stderr) ! exp-sgcheck/tests/zero (stderr) |
|
From: Rich C. <rc...@wi...> - 2011-05-12 02:53:13
|
Nightly build on ultra ( gcc 4.5.1 Linux 2.6.37.1-1.2-desktop x86_64 )
Started at 2011-05-11 21:30:01 CDT
Ended at 2011-05-11 21:52:55 CDT
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
== 582 tests, 97 stderr failures, 56 stdout failures, 5 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcbreak (stderrB)
gdbserver_tests/mcclean_after_fork (stderrB)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/mcvabits (stderrB)
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/x86/bug152022 (stderr)
memcheck/tests/x86/espindola2 (stderr)
memcheck/tests/x86/fpeflags (stderr)
memcheck/tests/x86/fprem (stdout)
memcheck/tests/x86/fprem (stderr)
memcheck/tests/x86/fxsave (stdout)
memcheck/tests/x86/fxsave (stderr)
memcheck/tests/x86/insn_basic (stdout)
memcheck/tests/x86/insn_basic (stderr)
memcheck/tests/x86/insn_cmov (stdout)
memcheck/tests/x86/insn_cmov (stderr)
memcheck/tests/x86/insn_fpu (stdout)
memcheck/tests/x86/insn_fpu (stderr)
memcheck/tests/x86/insn_mmx (stdout)
memcheck/tests/x86/insn_mmx (stderr)
memcheck/tests/x86/insn_sse (stdout)
memcheck/tests/x86/insn_sse (stderr)
memcheck/tests/x86/insn_sse2 (stdout)
memcheck/tests/x86/insn_sse2 (stderr)
memcheck/tests/x86/more_x86_fp (stdout)
memcheck/tests/x86/more_x86_fp (stderr)
memcheck/tests/x86/pushfpopf (stdout)
memcheck/tests/x86/pushfpopf (stderr)
memcheck/tests/x86/pushfw_x86 (stdout)
memcheck/tests/x86/pushfw_x86 (stderr)
memcheck/tests/x86/pushpopmem (stdout)
memcheck/tests/x86/pushpopmem (stderr)
memcheck/tests/x86/sse1_memory (stdout)
memcheck/tests/x86/sse1_memory (stderr)
memcheck/tests/x86/sse2_memory (stdout)
memcheck/tests/x86/sse2_memory (stderr)
memcheck/tests/x86/tronical (stderr)
memcheck/tests/x86/xor-undef-x86 (stdout)
memcheck/tests/x86/xor-undef-x86 (stderr)
memcheck/tests/x86-linux/bug133694 (stdout)
memcheck/tests/x86-linux/bug133694 (stderr)
memcheck/tests/x86-linux/int3-x86 (stdout)
memcheck/tests/x86-linux/int3-x86 (stderr)
memcheck/tests/x86-linux/scalar (stderr)
memcheck/tests/x86-linux/scalar_exit_group (stderr)
memcheck/tests/x86-linux/scalar_fork (stderr)
memcheck/tests/x86-linux/scalar_supp (stderr)
memcheck/tests/x86-linux/scalar_vfork (stderr)
cachegrind/tests/x86/fpu-28-108 (stderr)
none/tests/x86/aad_aam (stdout)
none/tests/x86/aad_aam (stderr)
none/tests/x86/badseg (stdout)
none/tests/x86/badseg (stderr)
none/tests/x86/bt_everything (stdout)
none/tests/x86/bt_everything (stderr)
none/tests/x86/bt_literal (stdout)
none/tests/x86/bt_literal (stderr)
none/tests/x86/bug125959-x86 (stdout)
none/tests/x86/bug125959-x86 (stderr)
none/tests/x86/bug126147-x86 (stdout)
none/tests/x86/bug126147-x86 (stderr)
none/tests/x86/bug132813-x86 (stdout)
none/tests/x86/bug132813-x86 (stderr)
none/tests/x86/bug135421-x86 (stdout)
none/tests/x86/bug135421-x86 (stderr)
none/tests/x86/bug137714-x86 (stdout)
none/tests/x86/bug137714-x86 (stderr)
none/tests/x86/bug152818-x86 (stdout)
none/tests/x86/bug152818-x86 (stderr)
none/tests/x86/cmpxchg8b (stdout)
none/tests/x86/cmpxchg8b (stderr)
none/tests/x86/cpuid (stdout)
none/tests/x86/cpuid (stderr)
none/tests/x86/cse_fail (stdout)
none/tests/x86/cse_fail (stderr)
none/tests/x86/fcmovnu (stdout)
none/tests/x86/fcmovnu (stderr)
none/tests/x86/fpu_lazy_eflags (stdout)
none/tests/x86/fpu_lazy_eflags (stderr)
none/tests/x86/fxtract (stdout)
none/tests/x86/fxtract (stderr)
none/tests/x86/getseg (stdout)
none/tests/x86/getseg (stderr)
none/tests/x86/incdec_alt (stdout)
none/tests/x86/incdec_alt (stderr)
none/tests/x86/insn_basic (stdout)
none/tests/x86/insn_basic (stderr)
none/tests/x86/insn_cmov (stdout)
none/tests/x86/insn_cmov (stderr)
none/tests/x86/insn_fpu (stdout)
none/tests/x86/insn_fpu (stderr)
none/tests/x86/insn_mmx (stdout)
none/tests/x86/insn_mmx (stderr)
none/tests/x86/insn_sse (stdout)
none/tests/x86/insn_sse (stderr)
none/tests/x86/insn_sse2 (stdout)
none/tests/x86/insn_sse2 (stderr)
none/tests/x86/insn_sse3 (stdout)
none/tests/x86/insn_sse3 (stderr)
none/tests/x86/insn_ssse3 (stdout)
none/tests/x86/insn_ssse3 (stderr)
none/tests/x86/jcxz (stdout)
none/tests/x86/jcxz (stderr)
none/tests/x86/lahf (stdout)
none/tests/x86/lahf (stderr)
none/tests/x86/looper (stdout)
none/tests/x86/looper (stderr)
none/tests/x86/movx (stdout)
none/tests/x86/movx (stderr)
none/tests/x86/pushpopseg (stdout)
none/tests/x86/pushpopseg (stderr)
none/tests/x86/sbbmisc (stdout)
none/tests/x86/sbbmisc (stderr)
none/tests/x86/shift_ndep (stdout)
none/tests/x86/shift_ndep (stderr)
none/tests/x86/smc1 (stdout)
none/tests/x86/smc1 (stderr)
none/tests/x86/ssse3_misaligned (stderr)
none/tests/x86/x86locked (stdout)
none/tests/x86/x86locked (stderr)
none/tests/x86/xadd (stdout)
none/tests/x86/xadd (stderr)
none/tests/x86-linux/seg_override (stdout)
none/tests/x86-linux/seg_override (stderr)
none/tests/x86-linux/sigcontext (stdout)
none/tests/x86-linux/sigcontext (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
exp-sgcheck/tests/bad_percentify (stderr)
exp-sgcheck/tests/base (stderr)
exp-sgcheck/tests/ccc (stderr)
exp-sgcheck/tests/fp (stderr)
exp-sgcheck/tests/globalerr (stderr)
exp-sgcheck/tests/hackedbz2 (stderr)
exp-sgcheck/tests/hp_bounds (stderr)
exp-sgcheck/tests/hp_dangle (stderr)
exp-sgcheck/tests/hsg (stderr)
exp-sgcheck/tests/justify (stderr)
exp-sgcheck/tests/partial_bad (stderr)
exp-sgcheck/tests/partial_good (stderr)
exp-sgcheck/tests/preen_invars (stderr)
exp-sgcheck/tests/pth_create (stderr)
exp-sgcheck/tests/pth_specific (stderr)
exp-sgcheck/tests/realloc (stderr)
exp-sgcheck/tests/stackerr (stderr)
exp-sgcheck/tests/strcpy (stderr)
exp-sgcheck/tests/supp (stderr)
exp-sgcheck/tests/tricky (stderr)
exp-sgcheck/tests/unaligned (stderr)
exp-sgcheck/tests/zero (stderr)
exp-bbv/tests/x86/complex_rep (stderr)
exp-bbv/tests/x86/fldcw_check (stderr)
exp-bbv/tests/x86/million (stderr)
exp-bbv/tests/x86/rep_prefix (stderr)
exp-bbv/tests/x86-linux/clone_test (stderr)
exp-bbv/tests/x86-linux/clone_test (post)
exp-bbv/tests/x86-linux/ll (stdout)
exp-bbv/tests/x86-linux/ll (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
== 582 tests, 76 stderr failures, 56 stdout failures, 5 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcbreak (stderrB)
gdbserver_tests/mcclean_after_fork (stderrB)
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/mcvabits (stderrB)
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/x86/bug152022 (stderr)
memcheck/tests/x86/espindola2 (stderr)
memcheck/tests/x86/fpeflags (stderr)
memcheck/tests/x86/fprem (stdout)
memcheck/tests/x86/fprem (stderr)
memcheck/tests/x86/fxsave (stdout)
memcheck/tests/x86/fxsave (stderr)
memcheck/tests/x86/insn_basic (stdout)
memcheck/tests/x86/insn_basic (stderr)
memcheck/tests/x86/insn_cmov (stdout)
memcheck/tests/x86/insn_cmov (stderr)
memcheck/tests/x86/insn_fpu (stdout)
memcheck/tests/x86/insn_fpu (stderr)
memcheck/tests/x86/insn_mmx (stdout)
memcheck/tests/x86/insn_mmx (stderr)
memcheck/tests/x86/insn_sse (stdout)
memcheck/tests/x86/insn_sse (stderr)
memcheck/tests/x86/insn_sse2 (stdout)
memcheck/tests/x86/insn_sse2 (stderr)
memcheck/tests/x86/more_x86_fp (stdout)
memcheck/tests/x86/more_x86_fp (stderr)
memcheck/tests/x86/pushfpopf (stdout)
memcheck/tests/x86/pushfpopf (stderr)
memcheck/tests/x86/pushfw_x86 (stdout)
memcheck/tests/x86/pushfw_x86 (stderr)
memcheck/tests/x86/pushpopmem (stdout)
memcheck/tests/x86/pushpopmem (stderr)
memcheck/tests/x86/sse1_memory (stdout)
memcheck/tests/x86/sse1_memory (stderr)
memcheck/tests/x86/sse2_memory (stdout)
memcheck/tests/x86/sse2_memory (stderr)
memcheck/tests/x86/tronical (stderr)
memcheck/tests/x86/xor-undef-x86 (stdout)
memcheck/tests/x86/xor-undef-x86 (stderr)
memcheck/tests/x86-linux/bug133694 (stdout)
memcheck/tests/x86-linux/bug133694 (stderr)
memcheck/tests/x86-linux/int3-x86 (stdout)
memcheck/tests/x86-linux/int3-x86 (stderr)
memcheck/tests/x86-linux/scalar (stderr)
memcheck/tests/x86-linux/scalar_exit_group (stderr)
memcheck/tests/x86-linux/scalar_fork (stderr)
memcheck/tests/x86-linux/scalar_supp (stderr)
memcheck/tests/x86-linux/scalar_vfork (stderr)
cachegrind/tests/x86/fpu-28-108 (stderr)
none/tests/x86/aad_aam (stdout)
none/tests/x86/aad_aam (stderr)
none/tests/x86/badseg (stdout)
none/tests/x86/badseg (stderr)
none/tests/x86/bt_everything (stdout)
none/tests/x86/bt_everything (stderr)
none/tests/x86/bt_literal (stdout)
none/tests/x86/bt_literal (stderr)
none/tests/x86/bug125959-x86 (stdout)
none/tests/x86/bug125959-x86 (stderr)
none/tests/x86/bug126147-x86 (stdout)
none/tests/x86/bug126147-x86 (stderr)
none/tests/x86/bug132813-x86 (stdout)
none/tests/x86/bug132813-x86 (stderr)
none/tests/x86/bug135421-x86 (stdout)
none/tests/x86/bug135421-x86 (stderr)
none/tests/x86/bug137714-x86 (stdout)
none/tests/x86/bug137714-x86 (stderr)
none/tests/x86/bug152818-x86 (stdout)
none/tests/x86/bug152818-x86 (stderr)
none/tests/x86/cmpxchg8b (stdout)
none/tests/x86/cmpxchg8b (stderr)
none/tests/x86/cpuid (stdout)
none/tests/x86/cpuid (stderr)
none/tests/x86/cse_fail (stdout)
none/tests/x86/cse_fail (stderr)
none/tests/x86/fcmovnu (stdout)
none/tests/x86/fcmovnu (stderr)
none/tests/x86/fpu_lazy_eflags (stdout)
none/tests/x86/fpu_lazy_eflags (stderr)
none/tests/x86/fxtract (stdout)
none/tests/x86/fxtract (stderr)
none/tests/x86/getseg (stdout)
none/tests/x86/getseg (stderr)
none/tests/x86/incdec_alt (stdout)
none/tests/x86/incdec_alt (stderr)
none/tests/x86/insn_basic (stdout)
none/tests/x86/insn_basic (stderr)
none/tests/x86/insn_cmov (stdout)
none/tests/x86/insn_cmov (stderr)
none/tests/x86/insn_fpu (stdout)
none/tests/x86/insn_fpu (stderr)
none/tests/x86/insn_mmx (stdout)
none/tests/x86/insn_mmx (stderr)
none/tests/x86/insn_sse (stdout)
none/tests/x86/insn_sse (stderr)
none/tests/x86/insn_sse2 (stdout)
none/tests/x86/insn_sse2 (stderr)
none/tests/x86/insn_sse3 (stdout)
none/tests/x86/insn_sse3 (stderr)
none/tests/x86/insn_ssse3 (stdout)
none/tests/x86/insn_ssse3 (stderr)
none/tests/x86/jcxz (stdout)
none/tests/x86/jcxz (stderr)
none/tests/x86/lahf (stdout)
none/tests/x86/lahf (stderr)
none/tests/x86/looper (stdout)
none/tests/x86/looper (stderr)
none/tests/x86/movx (stdout)
none/tests/x86/movx (stderr)
none/tests/x86/pushpopseg (stdout)
none/tests/x86/pushpopseg (stderr)
none/tests/x86/sbbmisc (stdout)
none/tests/x86/sbbmisc (stderr)
none/tests/x86/shift_ndep (stdout)
none/tests/x86/shift_ndep (stderr)
none/tests/x86/smc1 (stdout)
none/tests/x86/smc1 (stderr)
none/tests/x86/ssse3_misaligned (stderr)
none/tests/x86/x86locked (stdout)
none/tests/x86/x86locked (stderr)
none/tests/x86/xadd (stdout)
none/tests/x86/xadd (stderr)
none/tests/x86-linux/seg_override (stdout)
none/tests/x86-linux/seg_override (stderr)
none/tests/x86-linux/sigcontext (stdout)
none/tests/x86-linux/sigcontext (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
exp-ptrcheck/tests/bad_percentify (stderr)
exp-bbv/tests/x86/complex_rep (stderr)
exp-bbv/tests/x86/fldcw_check (stderr)
exp-bbv/tests/x86/million (stderr)
exp-bbv/tests/x86/rep_prefix (stderr)
exp-bbv/tests/x86-linux/clone_test (stderr)
exp-bbv/tests/x86-linux/clone_test (post)
exp-bbv/tests/x86-linux/ll (stdout)
exp-bbv/tests/x86-linux/ll (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Wed May 11 21:41:33 2011
--- new.short Wed May 11 21:52:55 2011
***************
*** 8,10 ****
! == 582 tests, 76 stderr failures, 56 stdout failures, 5 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcbreak (stderrB)
--- 8,10 ----
! == 582 tests, 97 stderr failures, 56 stdout failures, 5 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcbreak (stderrB)
***************
*** 138,140 ****
helgrind/tests/tc06_two_races_xml (stderr)
! exp-ptrcheck/tests/bad_percentify (stderr)
exp-bbv/tests/x86/complex_rep (stderr)
--- 138,161 ----
helgrind/tests/tc06_two_races_xml (stderr)
! exp-sgcheck/tests/bad_percentify (stderr)
! exp-sgcheck/tests/base (stderr)
! exp-sgcheck/tests/ccc (stderr)
! exp-sgcheck/tests/fp (stderr)
! exp-sgcheck/tests/globalerr (stderr)
! exp-sgcheck/tests/hackedbz2 (stderr)
! exp-sgcheck/tests/hp_bounds (stderr)
! exp-sgcheck/tests/hp_dangle (stderr)
! exp-sgcheck/tests/hsg (stderr)
! exp-sgcheck/tests/justify (stderr)
! exp-sgcheck/tests/partial_bad (stderr)
! exp-sgcheck/tests/partial_good (stderr)
! exp-sgcheck/tests/preen_invars (stderr)
! exp-sgcheck/tests/pth_create (stderr)
! exp-sgcheck/tests/pth_specific (stderr)
! exp-sgcheck/tests/realloc (stderr)
! exp-sgcheck/tests/stackerr (stderr)
! exp-sgcheck/tests/strcpy (stderr)
! exp-sgcheck/tests/supp (stderr)
! exp-sgcheck/tests/tricky (stderr)
! exp-sgcheck/tests/unaligned (stderr)
! exp-sgcheck/tests/zero (stderr)
exp-bbv/tests/x86/complex_rep (stderr)
=================================================
./valgrind-new/cachegrind/tests/x86/fpu-28-108.stderr.diff
=================================================
--- fpu-28-108.stderr.exp 2011-05-11 21:41:52.899309586 -0500
+++ fpu-28-108.stderr.out 2011-05-11 21:48:08.647174033 -0500
@@ -1,17 +1 @@
-
-
-I refs:
-I1 misses:
-LLi misses:
-I1 miss rate:
-LLi miss rate:
-
-D refs:
-D1 misses:
-LLd misses:
-D1 miss rate:
-LLd miss rate:
-
-LL refs:
-LL misses:
-LL miss rate:
+valgrind: ./fpu-28-108: No such file or directory
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/clone_test.post.diff
=================================================
--- clone_test.post.exp 2011-05-11 21:41:42.379265431 -0500
+++ clone_test.post.out 2011-05-11 21:52:55.406131165 -0500
@@ -1,58 +0,0 @@
-T 4 996 5 2 3 98991
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 1001 2 3 98994
-T 100000
-T 100000
-T 100000
-T 100000
-
-
-# Thread 1
-# Total intervals: 15 (Interval Size 100000)
-# Total instructions: 1501007
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
-
-T 2 3 99996
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 100000
-T 99996 4
-T 100000
-T 100000
-T 100000
-T 100000
-T 99998 2
-
-
-# Thread 2
-# Total intervals: 25 (Interval Size 100000)
-# Total instructions: 2500001
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
-
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/clone_test.stderr.diff
=================================================
--- clone_test.stderr.exp 2011-05-11 21:41:42.379265431 -0500
+++ clone_test.stderr.out 2011-05-11 21:52:55.389132710 -0500
@@ -1,12 +0,0 @@
-# Thread 1
-# Total intervals: 15 (Interval Size 100000)
-# Total instructions: 1501007
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
-# Thread 2
-# Total intervals: 25 (Interval Size 100000)
-# Total instructions: 2500001
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/ll.stderr.diff
=================================================
--- ll.stderr.exp 2011-05-11 21:41:42.377265633 -0500
+++ ll.stderr.out 2011-05-11 21:52:55.427129257 -0500
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 39 (Interval Size 1000)
-# Total instructions: 39439
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86-linux/ll.stdout.diff
=================================================
--- ll.stdout.exp 2011-05-11 21:41:42.377265633 -0500
+++ ll.stdout.out 2011-05-11 21:52:55.422129712 -0500
@@ -1,17 +0,0 @@
-[0;1;37;47m#################################################################[0;30;47m#####[1;37m#########[1;37;40m
-[0;1;37;47m################################################################[0;30;47m#######[1;37m########[1;37;40m
-[0;1;37;47m###################[31m#[37m############################################[0;30;47m##[1;37mO[0;30;47m#[1;37mO[0;30;47m##[1;37m########[1;37;40m
-[0;1;37;47m##[0;30;47m######[1;37m##########[31m##[0;30;47m#[1;37m###########################################[0;30;47m#[1;33m#####[0;30;47m#[1;37m########[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#############[0;30;47m#[1;37m##########################################[0;30;47m##[1;37m##[33m###[37m##[0;30;47m##[1;37m######[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#########[31m###[37m###[0;30;47m###[1;37m#[0;30;47m####[1;37m###[0;30;47m###[1;37m####[0;30;47m###[1;37m##[0;30;47m#####[1;37m#[0;30;47m######[1;37m#####[0;30;47m#[1;37m##########[0;30;47m##[1;37m#####[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m########[31m#[37m##[31m#[0;30;47m#[1;37m###[0;30;47m###[1;37m####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m####[0;30;47m##[1;37m###[0;30;47m##[1;37m#######[0;30;47m#[1;37m############[0;30;47m##[1;37m####[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#######[31m#[37m###[31m#[0;30;47m#[1;37m###[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m######[0;30;47m###[1;37m#########[0;30;47m#[1;37m############[0;30;47m###[1;37m###[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m##########[31m##[0;30;47m#[1;37m###[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m######[0;30;47m###[1;37m########[33m##[0;30;47m#[1;37m###########[0;30;47m##[1;33m#[37m###[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m#######[0;30;47m#[1;37m#[31m##[0;30;47m#[1;37m####[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m#####[0;30;47m##[1;37m#[0;30;47m##[1;37m#####[33m######[0;30;47m#[1;37m#######[30m#[33m######[37m#[1;37;40m
-[0;1;37;47m####[0;30;47m##[1;37m######[0;30;47m##[1;37m#[31m##[0;30;47m#[1;37m#[0;30;47m#[1;37m##[0;30;47m##[1;37m#####[0;30;47m##[1;37m##[0;30;47m###[1;37m###[0;30;47m###[1;37m####[0;30;47m##[1;37m###[0;30;47m##[1;37m####[33m#######[0;30;47m#[1;37m#####[0;30;47m#[1;33m#######[37m#[1;37;40m
-[0;1;37;47m##[0;30;47m############[1;37m##[0;30;47m###[1;37m##[0;30;47m####[1;37m###[0;30;47m####[1;37m###[0;30;47m####[1;37m#[0;30;47m###[1;37m#[0;30;47m#####[1;37m#[0;30;47m######[1;37m###[33m#####[30m#[0;30;47m#####[1m#[33m#####[37m###[1;37;40m
-
-[7CLinux Version 2.6.29, Compiled #1 SMP Mon May 4 09:51:54 EDT 2009
-[5COne 1665MHz AMD Athlon(tm) Processor, 512M RAM, 3330.53 Bogomips Total
-[37Ctobler[0m
-
=================================================
./valgrind-new/exp-bbv/tests/x86/complex_rep.stderr.diff
=================================================
--- complex_rep.stderr.exp 2011-05-11 21:41:42.545250302 -0500
+++ complex_rep.stderr.out 2011-05-11 21:52:55.286142063 -0500
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 0 (Interval Size 100000)
-# Total instructions: 8206
-# Total reps: 2100228
-# Unique reps: 2052
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86/fldcw_check.stderr.diff
=================================================
--- fldcw_check.stderr.exp 2011-05-11 21:41:42.545250302 -0500
+++ fldcw_check.stderr.out 2011-05-11 21:52:55.309139975 -0500
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 0 (Interval Size 10000)
-# Total instructions: 9261
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 2061
=================================================
./valgrind-new/exp-bbv/tests/x86/million.stderr.diff
=================================================
--- million.stderr.exp 2011-05-11 21:41:42.543250503 -0500
+++ million.stderr.out 2011-05-11 21:52:55.331137977 -0500
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 10 (Interval Size 100000)
-# Total instructions: 1000000
-# Total reps: 0
-# Unique reps: 0
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-bbv/tests/x86/rep_prefix.stderr.diff
=================================================
--- rep_prefix.stderr.exp 2011-05-11 21:41:42.543250503 -0500
+++ rep_prefix.stderr.out 2011-05-11 21:52:55.358135525 -0500
@@ -1,6 +0,0 @@
-# Thread 1
-# Total intervals: 0 (Interval Size 100000)
-# Total instructions: 124
-# Total reps: 229402
-# Unique reps: 26
-# Total fldcw instructions: 0
=================================================
./valgrind-new/exp-sgcheck/tests/bad_percentify.stderr.diff-glibc28-amd64
=================================================
--- bad_percentify.stderr.exp-glibc28-amd64 2011-05-11 21:42:04.566249602 -0500
+++ bad_percentify.stderr.out 2011-05-11 21:52:31.418309841 -0500
@@ -1,33 +1,34 @@
+exp-sgcheck, a stack and global array overrun detector
Invalid read of size 1
- at 0x........: strlen (h_intercepts.c:...)
- by 0x........: ...
+ at 0x........: ...
by 0x........: ...
by 0x........: VG_print_translation_stats (bad_percentify.c:88)
by 0x........: main (bad_percentify.c:107)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 3 back from here
+ Expected: stack array "buf" of size 6 in frame 2 back from here
Actual: unknown
+ Actual: is 0 after Expected
Invalid read of size 1
- at 0x........: strlen (h_intercepts.c:...)
- by 0x........: ...
+ at 0x........: ...
by 0x........: ...
by 0x........: VG_print_translation_stats (bad_percentify.c:93)
by 0x........: main (bad_percentify.c:107)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 3 back from here
+ Expected: stack array "buf" of size 6 in frame 2 back from here
Actual: unknown
+ Actual: is 0 after Expected
Invalid read of size 1
- at 0x........: strlen (h_intercepts.c:...)
- by 0x........: ...
+ at 0x........: ...
by 0x........: ...
by 0x........: VG_print_translation_stats (bad_percentify.c:98)
by 0x........: main (bad_percentify.c:107)
Address 0x........ expected vs actual:
- Expected: stack array "buf" in frame 3 back from here
+ Expected: stack array "buf" of size 6 in frame 2 back from here
Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/base.stderr.diff-glibc25-amd64
=================================================
--- base.stderr.exp-glibc25-amd64 2011-05-11 21:42:04.583248056 -0500
+++ base.stderr.out 2011-05-11 21:52:32.370223385 -0500
@@ -1,36 +1,14 @@
+exp-sgcheck, a stack and global array overrun detector
about to do 14 [0]
about to do 14 [-1]
-Invalid read of size 8
- at 0x........: main (base.c:14)
- Address 0x........ is 8 bytes before the accessing pointer's
- legitimate range, a block of size 80 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-
about to do 16 [0]
about to do 16 [-1]
about to do 18 [0]
about to do 18 [-1]
about to do 20 [0]
-Invalid read of size 8
- at 0x........: main (base.c:20)
- Address 0x........ is not derived from any known block
-
about to do 20 [-1]
-Invalid read of size 8
- at 0x........: main (base.c:20)
- Address 0x........ is not derived from any known block
-
about to do 22 [0]
-Invalid read of size 8
- at 0x........: main (base.c:22)
- Address 0x........ is not derived from any known block
-
about to do 22 [-1]
-Invalid read of size 8
- at 0x........: main (base.c:22)
- Address 0x........ is not derived from any known block
-
-ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/base.stderr.diff-glibc25-x86
=================================================
--- base.stderr.exp-glibc25-x86 2011-05-11 21:42:04.578248511 -0500
+++ base.stderr.out 2011-05-11 21:52:32.370223385 -0500
@@ -1,36 +1,14 @@
+exp-sgcheck, a stack and global array overrun detector
about to do 14 [0]
about to do 14 [-1]
-Invalid read of size 4
- at 0x........: main (base.c:14)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (arith_include2.c:22)
-
about to do 16 [0]
about to do 16 [-1]
about to do 18 [0]
about to do 18 [-1]
about to do 20 [0]
-Invalid read of size 4
- at 0x........: main (base.c:20)
- Address 0x........ is not derived from any known block
-
about to do 20 [-1]
-Invalid read of size 4
- at 0x........: main (base.c:20)
- Address 0x........ is not derived from any known block
-
about to do 22 [0]
-Invalid read of size 4
- at 0x........: main (base.c:22)
- Address 0x........ is not derived from any known block
-
about to do 22 [-1]
-Invalid read of size 4
- at 0x........: main (base.c:22)
- Address 0x........ is not derived from any known block
-
-ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/ccc.stderr.diff-glibc25-amd64
=================================================
--- ccc.stderr.exp-glibc25-amd64 2011-05-11 21:42:04.564249779 -0500
+++ ccc.stderr.out 2011-05-11 21:52:33.353134112 -0500
@@ -1,46 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 4
- at 0x........: main (ccc.cpp:20)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:8)
-Invalid read of size 4
- at 0x........: main (ccc.cpp:21)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: ...operator new... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:9)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:10)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: calloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:11)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:23)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:12)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:24)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: posix_memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:14)
-
-
-ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/ccc.stderr.diff-glibc27-x86
=================================================
--- ccc.stderr.exp-glibc27-x86 2011-05-11 21:42:04.568249421 -0500
+++ ccc.stderr.out 2011-05-11 21:52:33.353134112 -0500
@@ -1,46 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 4
- at 0x........: main (ccc.cpp:20)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:8)
-Invalid read of size 4
- at 0x........: main (ccc.cpp:21)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: ...operator new... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:9)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:10)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:23)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: calloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:11)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:24)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:12)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:25)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: posix_memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:14)
-
-
-ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/ccc.stderr.diff-glibc28-amd64
=================================================
--- ccc.stderr.exp-glibc28-amd64 2011-05-11 21:42:04.571249148 -0500
+++ ccc.stderr.out 2011-05-11 21:52:33.353134112 -0500
@@ -1,46 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 4
- at 0x........: main (ccc.cpp:20)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:8)
-Invalid read of size 4
- at 0x........: main (ccc.cpp:21)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: ...operator new... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:9)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 40 alloc'd
- at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:10)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:23)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: calloc (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:11)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:24)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:12)
-
-Invalid read of size 4
- at 0x........: main (ccc.cpp:22)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: memalign (vg_replace_malloc.c:...)
- by 0x........: posix_memalign (vg_replace_malloc.c:...)
- by 0x........: main (ccc.cpp:14)
-
-
-ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/fp.stderr.diff
=================================================
--- fp.stderr.exp 2011-05-11 21:42:04.582248147 -0500
+++ fp.stderr.out 2011-05-11 21:52:34.286049383 -0500
@@ -1,31 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 8
- at 0x........: main (fp.c:13)
- Address 0x........ is 0 bytes inside the accessing pointer's
- once-legitimate range, a block of size 8 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (fp.c:11)
-Invalid write of size 8
- at 0x........: main (fp.c:13)
- Address 0x........ is 0 bytes inside the accessing pointer's
- once-legitimate range, a block of size 8 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (fp.c:11)
-
-Invalid read of size 4
- at 0x........: main (fp.c:14)
- Address 0x........ is 0 bytes inside the accessing pointer's
- once-legitimate range, a block of size 4 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (fp.c:12)
-
-Invalid write of size 4
- at 0x........: main (fp.c:14)
- Address 0x........ is 0 bytes inside the accessing pointer's
- once-legitimate range, a block of size 4 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (fp.c:12)
-
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/globalerr.stderr.diff-glibc28-amd64
=================================================
--- globalerr.stderr.exp-glibc28-amd64 2011-05-11 21:42:04.572249057 -0500
+++ globalerr.stderr.out 2011-05-11 21:52:35.210965376 -0500
@@ -1,15 +1,18 @@
+exp-sgcheck, a stack and global array overrun detector
Invalid read of size 2
at 0x........: main (globalerr.c:12)
Address 0x........ expected vs actual:
- Expected: global array "a" in object with soname "NONE"
+ Expected: global array "a" of size 14 in object with soname "NONE"
Actual: unknown
+ Actual: is 0 after Expected
Invalid read of size 2
at 0x........: main (globalerr.c:12)
Address 0x........ expected vs actual:
- Expected: global array "b" in object with soname "NONE"
+ Expected: global array "b" of size 14 in object with soname "NONE"
Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/hackedbz2.stderr.diff-glibc28-amd64
=================================================
--- hackedbz2.stderr.exp-glibc28-amd64 2011-05-11 21:42:04.580248329 -0500
+++ hackedbz2.stderr.out 2011-05-11 21:52:39.631563881 -0500
@@ -1,3 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
Invalid read of size 1
at 0x........: vex_strlen (hackedbz2.c:1006)
@@ -9,8 +10,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (hackedbz2.c:5638)
by 0x........: main (hackedbz2.c:6484)
Address 0x........ expected vs actual:
- Expected: global array "myprintf_buf" in object with soname "NONE"
+ Expected: global array "myprintf_buf" of size 70 in object with soname "NONE"
Actual: unknown
+ Actual: is 0 after Expected
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/hp_bounds.stderr.diff
=================================================
--- hp_bounds.stderr.exp 2011-05-11 21:42:04.575248784 -0500
+++ hp_bounds.stderr.out 2011-05-11 21:52:40.554480058 -0500
@@ -1,17 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 4
- at 0x........: main (hp_bounds.c:9)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 400 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (hp_bounds.c:6)
-Invalid read of size 4
- at 0x........: main (hp_bounds.c:10)
- Address 0x........ is 4 bytes before the accessing pointer's
- legitimate range, a block of size 400 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (hp_bounds.c:6)
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/hp_dangle.stderr.diff
=================================================
--- hp_dangle.stderr.exp 2011-05-11 21:42:04.570249239 -0500
+++ hp_dangle.stderr.out 2011-05-11 21:52:41.482395781 -0500
@@ -1,19 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 4
- at 0x........: main (hp_dangle.c:17)
- Address 0x........ is 20 bytes inside the accessing pointer's
- once-legitimate range, a block of size 400 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: mk_dangle (hp_dangle.c:7)
- by 0x........: main (hp_dangle.c:15)
-Doubly-invalid read of size 4
- at 0x........: main (hp_dangle.c:18)
- Address 0x........ is 4 bytes before the accessing pointer's
- once-legitimate range, a block of size 400 free'd
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: mk_dangle (hp_dangle.c:7)
- by 0x........: main (hp_dangle.c:15)
-
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/hsg.stderr.diff
=================================================
--- hsg.stderr.exp 2011-05-11 21:42:04.576248693 -0500
+++ hsg.stderr.out 2011-05-11 21:52:42.426310050 -0500
@@ -3,7 +3,7 @@
<valgrindoutput>
<protocolversion>4</protocolversion>
-<protocoltool>exp-ptrcheck</protocoltool>
+<protocoltool>exp-sgcheck</protocoltool>
<preamble>
<line>...</line>
@@ -15,7 +15,7 @@
<pid>...</pid>
<ppid>...</ppid>
-<tool>exp-ptrcheck</tool>
+<tool>exp-sgcheck</tool>
<args>
<vargv>...</vargv>
@@ -53,7 +53,7 @@
</frame>
</stack>
<auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: global array "ga" in object with soname "NONE"</auxwhat>
+ <auxwhat>Expected: global array "ga" of size 200 in object with soname "NONE"</auxwhat>
<auxwhat>Actual: unknown</auxwhat>
</error>
@@ -89,116 +89,10 @@
</frame>
</stack>
<auxwhat>Address 0x........ expected vs actual:</auxwhat>
- <auxwhat>Expected: stack array "la" in frame 1 back from here</auxwhat>
+ <auxwhat>Expected: stack array "la" of size 200 in frame 1 back from here</auxwhat>
<auxwhat>Actual: unknown</auxwhat>
</error>
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>Heap</kind>
- <what>Invalid read of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_stupid_malloc_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 1 bytes before the accessing pointer's</auxwhat>
- <auxwhat>legitimate range, a block of size 100 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_stupid_malloc_stuff</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>hsg.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>Heap</kind>
- <what>Invalid read of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
=================================================
./valgrind-new/exp-sgcheck/tests/justify.stderr.diff
=================================================
--- justify.stderr.exp 2011-05-11 21:42:04.564249779 -0500
+++ justify.stderr.out 2011-05-11 21:52:43.355225683 -0500
@@ -1,10 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 1
- at 0x........: main (justify.c:20)
- Address 0x........ is 5000 bytes after the accessing pointer's
- legitimate range, a block of size 10000 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (justify.c:16)
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/partial_bad.stderr.diff-glibc25-amd64
=================================================
--- partial_bad.stderr.exp-glibc25-amd64 2011-05-11 21:42:04.579248420 -0500
+++ partial_bad.stderr.out 2011-05-11 21:52:44.284141316 -0500
@@ -1,108 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 4
- at 0x........: main (partial.c:21)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-Invalid read of size 4
- at 0x........: main (partial.c:22)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 4
- at 0x........: main (partial.c:23)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 5 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 4
- at 0x........: main (partial.c:24)
- Address 0x........ is 3 bytes inside the accessing pointer's
- legitimate range, a block of size 6 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 4
- at 0x........: main (partial.c:25)
- Address 0x........ is 4 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-Invalid read of size 4
- at 0x........: main (partial.c:34)
- Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:35)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:36)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:37)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:38)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:41)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 8
- at 0x........: main (partial.c:42)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 8
- at 0x........: main (partial.c:43)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 1
- at 0x........: main (partial.c:44)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 0 alloc'd
<truncated beyond 100 lines>
=================================================
./valgrind-new/exp-sgcheck/tests/partial_bad.stderr.diff-glibc25-x86
=================================================
--- partial_bad.stderr.exp-glibc25-x86 2011-05-11 21:42:04.572249057 -0500
+++ partial_bad.stderr.out 2011-05-11 21:52:44.284141316 -0500
@@ -1,108 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 4
- at 0x........: main (partial.c:21)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-Invalid read of size 4
- at 0x........: main (partial.c:22)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 4
- at 0x........: main (partial.c:23)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 5 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 4
- at 0x........: main (partial.c:24)
- Address 0x........ is 3 bytes inside the accessing pointer's
- legitimate range, a block of size 6 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 4
- at 0x........: main (partial.c:25)
- Address 0x........ is 4 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-Invalid read of size 4
- at 0x........: main (partial.c:34)
- Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:35)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:36)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:37)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:38)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:41)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 8
- at 0x........: main (partial.c:42)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 4
- at 0x........: main (partial.c:43)
- Address 0x........ is 4 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 1
- at 0x........: main (partial.c:44)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 0 alloc'd
<truncated beyond 100 lines>
=================================================
./valgrind-new/exp-sgcheck/tests/partial_good.stderr.diff-glibc25-amd64
=================================================
--- partial_good.stderr.exp-glibc25-amd64 2011-05-11 21:42:04.577248602 -0500
+++ partial_good.stderr.out 2011-05-11 21:52:45.217056585 -0500
@@ -1,94 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 4
- at 0x........: main (partial.c:21)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-Invalid read of size 4
- at 0x........: main (partial.c:22)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 4
- at 0x........: main (partial.c:23)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 5 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 4
- at 0x........: main (partial.c:24)
- Address 0x........ is 3 bytes inside the accessing pointer's
- legitimate range, a block of size 6 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 4
- at 0x........: main (partial.c:25)
- Address 0x........ is 4 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-Invalid read of size 4
- at 0x........: main (partial.c:34)
- Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:35)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:36)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:37)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:38)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:41)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 1
- at 0x........: main (partial.c:44)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 0 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 2
- at 0x........: main (partial.c:45)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 1 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:10)
-
-
-ERROR SUMMARY: 13 errors from 13 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/exp-sgcheck/tests/partial_good.stderr.diff-glibc25-x86
=================================================
--- partial_good.stderr.exp-glibc25-x86 2011-05-11 21:42:04.579248420 -0500
+++ partial_good.stderr.out 2011-05-11 21:52:45.217056585 -0500
@@ -1,73 +1,4 @@
+exp-sgcheck, a stack and global array overrun detector
-Invalid read of size 4
- at 0x........: main (partial.c:22)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-Invalid read of size 4
- at 0x........: main (partial.c:23)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 5 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:8)
-
-Invalid read of size 4
- at 0x........: main (partial.c:24)
- Address 0x........ is 3 bytes inside the accessing pointer's
- legitimate range, a block of size 6 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)
-
-Invalid read of size 4
- at 0x........: main (partial.c:34)
- Address 0x........ is 1 bytes before the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:36)
- Address 0x........ is 1 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:37)
- Address 0x........ is 2 bytes inside the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 4
- at 0x........: main (partial.c:38)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:6)
-
-Invalid read of size 8
- at 0x........: main (partial.c:42)
- Address 0x........ is 0 bytes inside the accessing pointer's
- legitimate range, a block of size 7 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:7)
-
-Invalid read of size 1
- at 0x........: main (partial.c:44)
- Address 0x........ is 0 bytes after the accessing pointer's
- legitimate range, a block of size 0 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: main (partial.c:9)...
[truncated message content] |
|
From: Julian S. <js...@ac...> - 2011-05-11 23:00:03
|
> OK, finally getting back to this issue. I *think* I did all the things you > suggested above, Julian, but the returned dst register still holds an > exact copy of what it was originally set up with. Attached below is the > code I added for this xvmaddadp insn. Can you see anything obviously (or > not so obviously) wrong? Thanks in advance for the help! It looks ok, although one comment: it seems to me that Pav_COPY is unnecessary. I would have thought Pav_MOV is what you need. Anyway, since it doesn't do what you want, have you looked at the generated code, using --tool=none --trace-flags=10001110 --trace-notbelow=0 ? J |
|
From: <sv...@va...> - 2011-05-11 22:55:06
|
Author: sewardj
Date: 2011-05-11 23:54:57 +0100 (Wed, 11 May 2011)
New Revision: 11748
Log:
* fixed two bugs reported by the IBM BEAM checker:
fd leak in vgdb.c
break missing in valgrind-low-s390x.c
* use option --vgdb=full for the tests mcsigpass.vgtest and mcsignopass.vgtest
This might improve these tests on ppc32/debian 6.0
* added a paragraph in gdbserver_tests/README_DEVELOPPERS to indicate
how to report problems about failing gdbserver tests.
(bug 214909 comment 71, Philippe Waroquiers, phi...@sk...)
Modified:
trunk/coregrind/m_gdbserver/valgrind-low-s390x.c
trunk/coregrind/vgdb.c
trunk/gdbserver_tests/README_DEVELOPPERS
trunk/gdbserver_tests/mcsignopass.vgtest
trunk/gdbserver_tests/mcsigpass.vgtest
Modified: trunk/coregrind/m_gdbserver/valgrind-low-s390x.c
===================================================================
--- trunk/coregrind/m_gdbserver/valgrind-low-s390x.c 2011-05-11 16:45:52 UTC (rev 11747)
+++ trunk/coregrind/m_gdbserver/valgrind-low-s390x.c 2011-05-11 22:54:57 UTC (rev 11748)
@@ -130,7 +130,7 @@
switch (regno) {
// numbers here have to match the order of regs above
// Attention: gdb order does not match valgrind order.
- case 0: *mod = False; //GDBTD??? { "pswm", 0, 64 },
+ case 0: *mod = False; break; //GDBTD??? { "pswm", 0, 64 },
case 1: VG_(transfer) (&s390x->guest_IA, buf, dir, size, mod); break;
case 2: VG_(transfer) (&s390x->guest_r0, buf, dir, size, mod); break;
case 3: VG_(transfer) (&s390x->guest_r1, buf, dir, size, mod); break;
Modified: trunk/coregrind/vgdb.c
===================================================================
--- trunk/coregrind/vgdb.c 2011-05-11 16:45:52 UTC (rev 11747)
+++ trunk/coregrind/vgdb.c 2011-05-11 22:54:57 UTC (rev 11748)
@@ -1822,6 +1822,7 @@
if (cmdline[i] == 0)
cmdline[i] = ' ';
cmdline[sz] = 0;
+ close (fd);
}
fprintf(stderr, "use --pid=%d for %s\n", pid, cmdline);
fflush(stderr);
Modified: trunk/gdbserver_tests/README_DEVELOPPERS
===================================================================
--- trunk/gdbserver_tests/README_DEVELOPPERS 2011-05-11 16:45:52 UTC (rev 11747)
+++ trunk/gdbserver_tests/README_DEVELOPPERS 2011-05-11 22:54:57 UTC (rev 11748)
@@ -34,7 +34,25 @@
The prerequisite are established during make regtest (using marker files).
Each test verifies the prerequisite using the prereq: line.
+In case of failing tests
+------------------------
+gdbserver tests are often failing due to (irrelevant) differences
+depending on the gdb version and/or the OS version.
+Such irrelevant differences have to be filtered by gdbserver_tests/filter_gdb.
+To report such problems, the best is to re-run the gdbserver tests
+the following way:
+ perl tests/vg_regtest --keep-unfiltered gdbserver_tests
+
+Then file a bug in bugzilla, giving the following information:
+ output of
+ gdbserver_tests/gdb --version
+ uname -a
+ cat /etc/issue
+ valgrind --version (and/or svn version)
+ and attach a tar file containing all the *.out files in gdbserver_tests
+ directory
+
Naming conventions:
-------------------
Modified: trunk/gdbserver_tests/mcsignopass.vgtest
===================================================================
--- trunk/gdbserver_tests/mcsignopass.vgtest 2011-05-11 16:45:52 UTC (rev 11747)
+++ trunk/gdbserver_tests/mcsignopass.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
@@ -5,7 +5,7 @@
# (i.e. SIGBUG, Test 3). Other tests will be succesful, because signals
# are eventually passed.
prog: ../none/tests/faultstatus
-vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcsignopass
+vgopts: --tool=memcheck --vgdb=full --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcsignopass
stderr_filter: filter_memcheck_monitor
progB: gdb
argsB: --quiet -l 60 --nx ../none/tests/faultstatus
Modified: trunk/gdbserver_tests/mcsigpass.vgtest
===================================================================
--- trunk/gdbserver_tests/mcsigpass.vgtest 2011-05-11 16:45:52 UTC (rev 11747)
+++ trunk/gdbserver_tests/mcsigpass.vgtest 2011-05-11 22:54:57 UTC (rev 11748)
@@ -1,6 +1,6 @@
# test the signal handling, when signals are passed to the Valgrind guest.
prog: ../none/tests/faultstatus
-vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcsigpass
+vgopts: --tool=memcheck --vgdb=full --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcsigpass
stderr_filter: filter_memcheck_monitor
progB: gdb
argsB: --quiet -l 60 --nx ../none/tests/faultstatus
|
|
From: Philippe W. <phi...@sk...> - 2011-05-11 21:27:53
|
>> gdbserver_tests/mcbreak (stderrB) >> gdbserver_tests/mcclean_after_fork (stderrB) >> gdbserver_tests/mcinfcallWSRU (stderrB) >> gdbserver_tests/mssnapshot (stderrB) >> gdbserver_tests/nlcontrolc (stdoutB) > > This is mostly > +Missing separate debuginfo for /lib/ld64.so.1 > +Try: zypper install -C "debuginfo(build-id)=21e2919021c35c44d712689a753fc9ec2ad2d6e0" > vgdb-error value changed from 0 to 999999 > +Missing separate debuginfo for /lib64/libpthread.so.0 > +Try: zypper install -C "debuginfo(build-id)=34e7ccbaf72522fb3894f103d728a9e4acb6f5ae" > +Missing separate debuginfo for /lib64/libc.so.6 > +Try: zypper install -C "debuginfo(build-id)=222c21f7329e2153db6fbe108cec13c30589b718" > > > I will try to install the debug packages for libc and friends. Alternatively, adding two lines in filter_gdb can remove these lines: ie. something like -e '/^Missing separate debuginfo for .*$/d' \ -e '/^Try: zypper install -C ".*$/d' \ This will work on all similar systems which do not have the debuginfo installed. If you run perl tests/vg_regtest --keep-unfiltered gdbserver_tests and send me a tar file of the resulting gdbserver_tests/*.out, I can verify the sed expressions are ok. Philippe |
|
From: Christian B. <bor...@de...> - 2011-05-11 20:39:19
|
Nightly build on fedora390 ( Fedora 13/14/15 mix with gcc 3.5.3 on z196 (s390x) ) Started at 2011-05-11 22:10:01 CEST Ended at 2011-05-11 22:38:27 CEST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 473 tests, 6 stderr failures, 0 stdout failures, 1 stderrB failure, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) drd/tests/tc23_bogus_condwait (stderr) |
|
From: Christian B. <bor...@de...> - 2011-05-11 20:30:05
|
Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP1 gcc 4.3.4 on z196 (s390x) ) Started at 2011-05-11 22:10:01 CEST Ended at 2011-05-11 22:29:54 CEST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 473 tests, 6 stderr failures, 0 stdout failures, 4 stderrB failures, 1 stdoutB failure, 0 post failures == gdbserver_tests/mcbreak (stderrB) gdbserver_tests/mcclean_after_fork (stderrB) gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/mssnapshot (stderrB) gdbserver_tests/nlcontrolc (stdoutB) none/tests/faultstatus (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc23_bogus_condwait (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) drd/tests/tc23_bogus_condwait (stderr) |
|
From: Josef W. <Jos...@gm...> - 2011-05-11 17:57:00
|
On Tuesday 03 May 2011, Julian Seward wrote: > -- WARNING5 /*assignment in condition*/ > >>>WARNING5_disInstr_ARM_WRK_14bf2881505 > "VEX/priv/guest_arm_toIR.c", line 14013: operator = in the boolean expression > should possibly be == > > Urr. That might have to do with why Callgrind gets confused about > calls/returns when running ARM code. Wishful thinking ;-) For sure, there is more to do here. Josef |
|
From: <sv...@va...> - 2011-05-11 16:46:00
|
Author: weidendo
Date: 2011-05-11 17:45:52 +0100 (Wed, 11 May 2011)
New Revision: 11747
Log:
Fixed bug 272661
Paths should be quoted in regexps (in callgrind_annotate).
Modified:
trunk/callgrind/callgrind_annotate.in
Modified: trunk/callgrind/callgrind_annotate.in
===================================================================
--- trunk/callgrind/callgrind_annotate.in 2011-05-11 16:32:18 UTC (rev 11746)
+++ trunk/callgrind/callgrind_annotate.in 2011-05-11 16:45:52 UTC (rev 11747)
@@ -607,7 +607,7 @@
if (defined $curr_file);
$curr_file = uncompressed_name("fl",$1);
- $curr_file =~ s/^$pwd//;
+ $curr_file =~ s/^\Q$pwd\E//;
$curr_file_ind_CCs = $all_ind_CCs{$curr_file};
$curr_file_ind_CCs = {} unless (defined $curr_file_ind_CCs);
@@ -617,7 +617,7 @@
$all_ind_CCs{$curr_file} = $curr_file_ind_CCs;
$curr_file = uncompressed_name("fl",$2);
- $curr_file =~ s/^$pwd//;
+ $curr_file =~ s/^\Q$pwd\E//;
$curr_name = "$curr_file:$curr_fn";
$curr_file_ind_CCs = $all_ind_CCs{$curr_file};
$curr_file_ind_CCs = {} unless (defined $curr_file_ind_CCs);
|
|
From: Maynard J. <may...@us...> - 2011-05-11 16:44:16
|
Julian Seward wrote: > >> I believe this is the culprit. Rewrite this like so: >> >> HReg xT = iselVecExpr(env, e->Iex.Qop.arg2); /* I presume this is xT */ >> HReg xA = iselVecExpr(env, e->Iex.Qop.arg3); >> HReg xB = iselVecExpr(env, e->Iex.Qop.arg4); >> set_FPU_rounding_mode( env, e->Iex.Qop.arg1 ); >> dst = newVreg.... /* allocate a new Vreg here */ >> addInstr(env, /* copy contents of xT to dst */); >> addInstr(env, PPCInstr_VxQop(Pavfp_MADD, True, dst, xA, xB)); >> return dst; >> >> That should do the trick. > > I agree. As you say, Maynard fell foul of the rule that says that > you cannot (emit code to) modify a register returned by any of the > isel*expr functions. As documented on comment above iselWordExpr_R. > > Maynard, look at how mk_iMOVds_RR is used in that file. Then make > a vector equivalent of it and use that to do the copying. Also, have > a look at isMove in host_ppc_defs.c: that is what the regalloc uses > to identify these move instructions later, when it is trying to get > rid of them. > > The reason for the rule is very simple. The instruction selectors > carry around a mapping from IRTemp to virtual register, which holds > the identity of the virtual register that holds the value for that > IRTemp. This mapping lives in the ISelEnv that is passed everywhere. > > When we come to do instruction selection for an Iex_RdTmp (read of an > IR temporary), no instructions are generated; instead we simply look > up the IR temp in the mapping (via lookupIRTemp) and return the identity > of the associated virtual register. That's simple, but it does mean > that any later modification of the virtual register changes the value > of the IR temporary, which can't happen (it's SSA) and so later uses > of the IR temporary would "see" a different value, which is wrong. > > Hence the insistence on copying, plus machinery for removing copies > when the copy marks the end of the live range of the source vreg and > the beginning of the live range of the destination vreg. > > Plus .. this makes it way simpler to generate code for 2 address > machines (x86, etc) since we can just indiscriminately copy values and > assume the copies will disappear later. This is much easier than > having to consider, everywhere in isel, whether an emitted instruction > is going to overwrite a value in a register that will later be needed. OK, finally getting back to this issue. I *think* I did all the things you suggested above, Julian, but the returned dst register still holds an exact copy of what it was originally set up with. Attached below is the code I added for this xvmaddadp insn. Can you see anything obviously (or not so obviously) wrong? Thanks in advance for the help! -Maynard > > J |
|
From: <sv...@va...> - 2011-05-11 16:32:26
|
Author: weidendo Date: 2011-05-11 17:32:18 +0100 (Wed, 11 May 2011) New Revision: 11746 Log: Fix bug 267383 As suggested by Florian. Cachegrind already does the same. Modified: trunk/callgrind/global.h Modified: trunk/callgrind/global.h =================================================================== --- trunk/callgrind/global.h 2011-05-11 16:04:28 UTC (rev 11745) +++ trunk/callgrind/global.h 2011-05-11 16:32:18 UTC (rev 11746) @@ -115,7 +115,7 @@ #define MIN_LINE_SIZE 16 /* Size of various buffers used for storing strings */ -#define FILENAME_LEN 256 +#define FILENAME_LEN VKI_PATH_MAX #define FN_NAME_LEN 4096 /* for C++ code :-) */ #define OBJ_NAME_LEN 256 #define COSTS_LEN 512 /* at least 17x 64bit values */ |
|
From: Josef W. <Jos...@gm...> - 2011-05-11 16:11:10
|
On Wednesday 11 May 2011, Julian Seward wrote: > On Wednesday, May 11, 2011, sv...@va... wrote: > > Author: weidendo > > Date: 2011-05-11 13:28:01 +0100 (Wed, 11 May 2011) > > New Revision: 11742 > > > > Log: > > Fix bugs catched by BEAM > > Excellent! Small q -- which of the reported bugs does this fix? Should fix all 4 bugs mentioned for Callgrind in Florians mail on "BEAM results for r11734". Josef > > J > |
|
From: <sv...@va...> - 2011-05-11 16:04:37
|
Author: sewardj
Date: 2011-05-11 17:04:28 +0100 (Wed, 11 May 2011)
New Revision: 11745
Log:
Rename 'exp-ptrcheck' to 'exp-sgcheck' and hope this does not cause
too much build carnage.
Added:
trunk/exp-sgcheck.supp
trunk/exp-sgcheck/
trunk/exp-sgcheck/docs/sg-manual.xml
Removed:
trunk/exp-ptrcheck.supp
trunk/exp-ptrcheck/
trunk/exp-sgcheck/docs/pc-manual.xml
Modified:
trunk/Makefile.am
trunk/configure.in
trunk/docs/xml/manual.xml
trunk/exp-sgcheck/Makefile.am
trunk/exp-sgcheck/pc_main.c
Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am 2011-05-11 15:31:24 UTC (rev 11744)
+++ trunk/Makefile.am 2011-05-11 16:04:28 UTC (rev 11745)
@@ -12,7 +12,7 @@
helgrind \
drd
-EXP_TOOLS = exp-ptrcheck \
+EXP_TOOLS = exp-sgcheck \
exp-bbv \
exp-dhat
@@ -50,7 +50,7 @@
glibc-2.34567-NPTL-helgrind.supp \
glibc-2.2-LinuxThreads-helgrind.supp \
glibc-2.X-drd.supp \
- exp-ptrcheck.supp \
+ exp-sgcheck.supp \
darwin9.supp darwin9-drd.supp \
darwin10.supp darwin10-drd.supp
DEFAULT_SUPP_FILES = @DEFAULT_SUPP@
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2011-05-11 15:31:24 UTC (rev 11744)
+++ trunk/configure.in 2011-05-11 16:04:28 UTC (rev 11745)
@@ -808,8 +808,8 @@
DEFAULT_SUPP="xfree-4.supp ${DEFAULT_SUPP}"
DEFAULT_SUPP="xfree-3.supp ${DEFAULT_SUPP}"
-# Add glibc and X11 suppressions for exp-ptrcheck
-DEFAULT_SUPP="exp-ptrcheck.supp ${DEFAULT_SUPP}"
+# Add glibc and X11 suppressions for exp-sgcheck
+DEFAULT_SUPP="exp-sgcheck.supp ${DEFAULT_SUPP}"
#----------------------------------------------------------------------------
@@ -1951,8 +1951,8 @@
none/tests/linux/Makefile
none/tests/darwin/Makefile
none/tests/x86-linux/Makefile
- exp-ptrcheck/Makefile
- exp-ptrcheck/tests/Makefile
+ exp-sgcheck/Makefile
+ exp-sgcheck/tests/Makefile
drd/Makefile
drd/scripts/download-and-build-splash2
drd/tests/Makefile
Modified: trunk/docs/xml/manual.xml
===================================================================
--- trunk/docs/xml/manual.xml 2011-05-11 15:31:24 UTC (rev 11744)
+++ trunk/docs/xml/manual.xml 2011-05-11 16:04:28 UTC (rev 11745)
@@ -38,7 +38,7 @@
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="../../exp-dhat/docs/dh-manual.xml" parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
- <xi:include href="../../exp-ptrcheck/docs/pc-manual.xml" parse="xml"
+ <xi:include href="../../exp-sgcheck/docs/sg-manual.xml" parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="../../exp-bbv/docs/bbv-manual.xml" parse="xml"
xmlns:xi="http://www.w3.org/2001/XInclude" />
Deleted: trunk/exp-ptrcheck.supp
===================================================================
--- trunk/exp-ptrcheck.supp 2011-05-11 15:31:24 UTC (rev 11744)
+++ trunk/exp-ptrcheck.supp 2011-05-11 16:04:28 UTC (rev 11745)
@@ -1,87 +0,0 @@
-{
- lib-X11-used-old-pointer-after-realloc-1
- exp-ptrcheck:Heap
- fun:strlen
- obj:/usr/lib*/libX11.so*
- obj:/usr/lib*/libX11.so*
-}
-{
- lib-X11-used-old-pointer-after-realloc-2
- exp-ptrcheck:Heap
- obj:/usr/lib*/libX11.so*
- obj:/usr/lib*/libX11.so*
-}
-
-{
- ld-2.X-invalid-Add32/64-who-knows
- exp-ptrcheck:Arith
- obj:/*lib*/ld-2.*so*
- obj:/*lib*/ld-2.*so*
-}
-
-{
- ld-2.X possibly applying relocations
- exp-ptrcheck:SorG
- obj:/*lib*/ld-2.*so*
- obj:/*lib*/ld-2.*so*
-}
-
-# I'm pretty sure this is a false positive caused by the sg_ stuff
-{
- glibc realpath false positive
- exp-ptrcheck:SorG
- fun:realpath
- fun:*
-}
-
-{
- If I had to guess, inlined or nameless strlen etc in ld.so
- exp-ptrcheck:Heap
- obj:/*lib*/ld-2.*so*
- obj:/*lib*/ld-2.*so*
-}
-
-{
- I think this is glibc's ultra optimised getenv doing 2 byte reads
- exp-ptrcheck:SorG
- fun:getenv
-}
-
-{
- Occurs on Fedora 7--9?
- exp-ptrcheck:Heap
- fun:_dl_fini
- fun:exit
- fun:(below main)
-}
-
-
-# Invalid read of size 16
-# at 0x5643A5C: ??? (strcpy.S:94)
-# by 0x50C6A99: XtResolvePathname (in /usr/lib/libXt.so.6.0.0)
-# by 0x50C3856: XtScreenDatabase (in /usr/lib/libXt.so.6.0.0)
-# by 0x50C4386: _XtDisplayInitialize (in /usr/lib/libXt.so.6.0.0)
-{
- Ubuntu 10.04 x86_64, SSEised strcpy, can't intercept
- exp-ptrcheck:Heap
- obj:/*lib*/libc-2.*so*
- obj:/*lib*/libX*so*
-}
-{
- Ubuntu 10.04 x86_64, SSEised strcpy, can't intercept - 2
- exp-ptrcheck:Heap
- obj:/*lib*/libc-2.*so*
- obj:/*lib*/libICE*so*
-}
-{
- Ubuntu 10.04 x86_64, SSEised strcpy, can't intercept - 3
- exp-ptrcheck:Heap
- obj:/*lib*/libc-2.*so*
- obj:/*lib*/libglib*so*
-}
-{
- Ubuntu 10.04 x86_64, SSEised strcpy, can't intercept - 4
- exp-ptrcheck:Heap
- obj:/*lib*/libc-2.*so*
- obj:/*lib*/libfontconfig*so*
-}
Copied: trunk/exp-sgcheck (from rev 11744, trunk/exp-ptrcheck)
Modified: trunk/exp-sgcheck/Makefile.am
===================================================================
--- trunk/exp-ptrcheck/Makefile.am 2011-05-11 15:31:24 UTC (rev 11744)
+++ trunk/exp-sgcheck/Makefile.am 2011-05-11 16:04:28 UTC (rev 11745)
@@ -1,6 +1,6 @@
include $(top_srcdir)/Makefile.tool.am
-EXTRA_DIST = docs/pc-manual.xml
+EXTRA_DIST = docs/sg-manual.xml
#----------------------------------------------------------------------------
# Headers, etc
@@ -12,12 +12,12 @@
sg_main.h
#----------------------------------------------------------------------------
-# exp-ptrcheck-<platform>
+# exp-sgcheck-<platform>
#----------------------------------------------------------------------------
-noinst_PROGRAMS = exp-ptrcheck-@VGCONF_ARCH_PRI@-@VGCONF_OS@
+noinst_PROGRAMS = exp-sgcheck-@VGCONF_ARCH_PRI@-@VGCONF_OS@
if VGCONF_HAVE_PLATFORM_SEC
-noinst_PROGRAMS += exp-ptrcheck-@VGCONF_ARCH_SEC@-@VGCONF_OS@
+noinst_PROGRAMS += exp-sgcheck-@VGCONF_ARCH_SEC@-@VGCONF_OS@
endif
EXP_PTRCHECK_SOURCES_COMMON = \
@@ -26,53 +26,53 @@
pc_main.c \
sg_main.c
-exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \
+exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_SOURCES = \
$(EXP_PTRCHECK_SOURCES_COMMON)
-exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \
+exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CPPFLAGS = \
$(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
-exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \
+exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS = \
$(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
-exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \
+exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_DEPENDENCIES = \
$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_PRI_CAPS@)
-exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \
+exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDADD = \
$(TOOL_LDADD_@VGCONF_PLATFORM_PRI_CAPS@)
-exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = \
+exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS = \
$(TOOL_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
-exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \
+exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LINK = \
$(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
@VALT_LOAD_ADDRESS_PRI@ \
$(LINK) \
- $(exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \
- $(exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS)
+ $(exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_CFLAGS) \
+ $(exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_LDFLAGS)
if VGCONF_HAVE_PLATFORM_SEC
-exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \
+exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_SOURCES = \
$(EXP_PTRCHECK_SOURCES_COMMON)
-exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \
+exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CPPFLAGS = \
$(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
-exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \
+exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS = \
$(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
-exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \
+exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_DEPENDENCIES = \
$(TOOL_DEPENDENCIES_@VGCONF_PLATFORM_SEC_CAPS@)
-exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \
+exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDADD = \
$(TOOL_LDADD_@VGCONF_PLATFORM_SEC_CAPS@)
-exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = \
+exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS = \
$(TOOL_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
-exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \
+exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LINK = \
$(top_builddir)/coregrind/link_tool_exe_@VGCONF_OS@ \
@VALT_LOAD_ADDRESS_SEC@ \
$(LINK) \
- $(exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \
- $(exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS)
+ $(exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_CFLAGS) \
+ $(exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_LDFLAGS)
endif
#----------------------------------------------------------------------------
-# vgpreload_exp-ptrcheck-<platform>.so
+# vgpreload_exp-sgcheck-<platform>.so
#----------------------------------------------------------------------------
-noinst_PROGRAMS += vgpreload_exp-ptrcheck-@VGCONF_ARCH_PRI@-@VGCONF_OS@.so
+noinst_PROGRAMS += vgpreload_exp-sgcheck-@VGCONF_ARCH_PRI@-@VGCONF_OS@.so
if VGCONF_HAVE_PLATFORM_SEC
-noinst_PROGRAMS += vgpreload_exp-ptrcheck-@VGCONF_ARCH_SEC@-@VGCONF_OS@.so
+noinst_PROGRAMS += vgpreload_exp-sgcheck-@VGCONF_ARCH_SEC@-@VGCONF_OS@.so
endif
if VGCONF_OS_IS_DARWIN
@@ -81,28 +81,28 @@
VGPRELOAD_EXP_PTRCHECK_SOURCES_COMMON = h_intercepts.c
-vgpreload_exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_SOURCES = \
+vgpreload_exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_SOURCES = \
$(VGPRELOAD_EXP_PTRCHECK_SOURCES_COMMON)
-vgpreload_exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CPPFLAGS = \
+vgpreload_exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CPPFLAGS = \
$(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
-vgpreload_exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CFLAGS = \
+vgpreload_exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CFLAGS = \
$(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) $(AM_CFLAGS_PIC) -O2
-vgpreload_exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_DEPENDENCIES = \
+vgpreload_exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_DEPENDENCIES = \
$(LIBREPLACEMALLOC_@VGCONF_PLATFORM_PRI_CAPS@)
-vgpreload_exp_ptrcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDFLAGS = \
+vgpreload_exp_sgcheck_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDFLAGS = \
$(PRELOAD_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) \
$(LIBREPLACEMALLOC_LDFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
if VGCONF_HAVE_PLATFORM_SEC
-vgpreload_exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_SOURCES = \
+vgpreload_exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_SOURCES = \
$(VGPRELOAD_EXP_PTRCHECK_SOURCES_COMMON)
-vgpreload_exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CPPFLAGS = \
+vgpreload_exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CPPFLAGS = \
$(AM_CPPFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
-vgpreload_exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CFLAGS = \
+vgpreload_exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_CFLAGS = \
$(AM_CFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) $(AM_CFLAGS_PIC) -O2
-vgpreload_exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_DEPENDENCIES = \
+vgpreload_exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_DEPENDENCIES = \
$(LIBREPLACEMALLOC_@VGCONF_PLATFORM_SEC_CAPS@)
-vgpreload_exp_ptrcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LDFLAGS = \
+vgpreload_exp_sgcheck_@VGCONF_ARCH_SEC@_@VGCONF_OS@_so_LDFLAGS = \
$(PRELOAD_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@) \
$(LIBREPLACEMALLOC_LDFLAGS_@VGCONF_PLATFORM_SEC_CAPS@)
endif
Deleted: trunk/exp-sgcheck/docs/pc-manual.xml
===================================================================
--- trunk/exp-ptrcheck/docs/pc-manual.xml 2011-05-11 15:31:24 UTC (rev 11744)
+++ trunk/exp-sgcheck/docs/pc-manual.xml 2011-05-11 16:04:28 UTC (rev 11745)
@@ -1,316 +0,0 @@
-<?xml version="1.0"?> <!-- -*- sgml -*- -->
-<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
- "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
-[ <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]>
-
-
-<chapter id="sg-manual"
- xreflabel="SGCheck: an experimental stack and global array overrun detector">
- <title>SGCheck: an experimental stack and global array overrun detector</title>
-
-<para>To use this tool, you must specify
-<option>--tool=exp-sgcheck</option> on the Valgrind
-command line.</para>
-
-
-
-
-<sect1 id="sg-manual.overview" xreflabel="Overview">
-<title>Overview</title>
-
-<para>SGCheck is a tool for finding overruns of stack and global
-arrays. It works by using a heuristic approach derived from an
-observation about the likely forms of stack and global array accesses.
-</para>
-
-</sect1>
-
-
-
-
-<sect1 id="sg-manual.options" xreflabel="SGCheck Command-line Options">
-<title>SGCheck Command-line Options</title>
-
-<para>There are no SGCheck-specific command-line options at present.</para>
-<!--
-<para>SGCheck-specific command-line options are:</para>
-
-
-<variablelist id="sg.opts.list">
-</variablelist>
--->
-
-</sect1>
-
-
-
-<sect1 id="sg-manual.how-works.sg-checks"
- xreflabel="How SGCheck Works">
-<title>How SGCheck Works</title>
-
-<para>When a source file is compiled
-with <option>-g</option>, the compiler attaches DWARF3
-debugging information which describes the location of all stack and
-global arrays in the file.</para>
-
-<para>Checking of accesses to such arrays would then be relatively
-simple, if the compiler could also tell us which array (if any) each
-memory referencing instruction was supposed to access. Unfortunately
-the DWARF3 debugging format does not provide a way to represent such
-information, so we have to resort to a heuristic technique to
-approximate it. The key observation is that
- <emphasis>
- if a memory referencing instruction accesses inside a stack or
- global array once, then it is highly likely to always access that
- same array</emphasis>.</para>
-
-<para>To see how this might be useful, consider the following buggy
-fragment:</para>
-<programlisting><![CDATA[
- { int i, a[10]; // both are auto vars
- for (i = 0; i <= 10; i++)
- a[i] = 42;
- }
-]]></programlisting>
-
-<para>At run time we will know the precise address
-of <computeroutput>a[]</computeroutput> on the stack, and so we can
-observe that the first store resulting from <computeroutput>a[i] =
-42</computeroutput> writes <computeroutput>a[]</computeroutput>, and
-we will (correctly) assume that that instruction is intended always to
-access <computeroutput>a[]</computeroutput>. Then, on the 11th
-iteration, it accesses somewhere else, possibly a different local,
-possibly an un-accounted for area of the stack (eg, spill slot), so
-SGCheck reports an error.</para>
-
-<para>There is an important caveat.</para>
-
-<para>Imagine a function such as <function>memcpy</function>, which is used
-to read and write many different areas of memory over the lifetime of the
-program. If we insist that the read and write instructions in its memory
-copying loop only ever access one particular stack or global variable, we
-will be flooded with errors resulting from calls to
-<function>memcpy</function>.</para>
-
-<para>To avoid this problem, SGCheck instantiates fresh likely-target
-records for each entry to a function, and discards them on exit. This
-allows detection of cases where (e.g.) <function>memcpy</function>
-overflows its source or destination buffers for any specific call, but
-does not carry any restriction from one call to the next. Indeed,
-multiple threads may make multiple simultaneous calls to
-(e.g.) <function>memcpy</function> without mutual interference.</para>
-
-</sect1>
-
-
-
-
-<sect1 id="sg-manual.cmp-w-memcheck"
- xreflabel="Comparison with Memcheck">
-<title>Comparison with Memcheck</title>
-
-<para>SGCheck and Memcheck are complementary: their capabilities do
-not overlap. Memcheck performs bounds checks and use-after-free
-checks for heap arrays. It also finds uses of uninitialised values
-created by heap or stack allocations. But it does not perform bounds
-checking for stack or global arrays.</para>
-
-<para>SGCheck, on the other hand, does do bounds checking for stack or
-global arrays, but it doesn't do anything else.</para>
-
-</sect1>
-
-
-
-
-
-<sect1 id="sg-manual.limitations"
- xreflabel="Limitations">
-<title>Limitations</title>
-
-<para>This is an experimental tool, which relies rather too heavily on some
-not-as-robust-as-I-would-like assumptions on the behaviour of correct
-programs. There are a number of limitations which you should be aware
-of.</para>
-
-<itemizedlist>
-
- <listitem>
- <para>False negatives (missed errors): it follows from the
- description above (<xref linkend="sg-manual.how-works.sg-checks"/>)
- that the first access by a memory referencing instruction to a
- stack or global array creates an association between that
- instruction and the array, which is checked on subsequent accesses
- by that instruction, until the containing function exits. Hence,
- the first access by an instruction to an array (in any given
- function instantiation) is not checked for overrun, since SGCheck
- uses that as the "example" of how subsequent accesses should
- behave.</para>
- </listitem>
-
- <listitem>
- <para>False positives (false errors): similarly, and more serious,
- it is clearly possible to write legitimate pieces of code which
- break the basic assumption upon which the checking algorithm
- depends. For example:</para>
-
-<programlisting><![CDATA[
- { int a[10], b[10], *p, i;
- for (i = 0; i < 10; i++) {
- p = /* arbitrary condition */ ? &a[i] : &b[i];
- *p = 42;
- }
- }
-]]></programlisting>
-
- <para>In this case the store sometimes
- accesses <computeroutput>a[]</computeroutput> and
- sometimes <computeroutput>b[]</computeroutput>, but in no cases is
- the addressed array overrun. Nevertheless the change in target
- will cause an error to be reported.</para>
-
- <para>It is hard to see how to get around this problem. The only
- mitigating factor is that such constructions appear very rare, at
- least judging from the results using the tool so far. Such a
- construction appears only once in the Valgrind sources (running
- Valgrind on Valgrind) and perhaps two or three times for a start
- and exit of Firefox. The best that can be done is to suppress the
- errors.</para>
- </listitem>
-
- <listitem>
- <para>Performance: SGCheck has to read all of
- the DWARF3 type and variable information on the executable and its
- shared objects. This is computationally expensive and makes
- startup quite slow. You can expect debuginfo reading time to be in
- the region of a minute for an OpenOffice sized application, on a
- 2.4 GHz Core 2 machine. Reading this information also requires a
- lot of memory. To make it viable, SGCheck goes to considerable
- trouble to compress the in-memory representation of the DWARF3
- data, which is why the process of reading it appears slow.</para>
- </listitem>
-
- <listitem>
- <para>Performance: SGCheck runs slower than Memcheck. This is
- partly due to a lack of tuning, but partly due to algorithmic
- difficulties. The
- stack and global checks can sometimes require a number of range
- checks per memory access, and these are difficult to short-circuit,
- despite considerable efforts having been made. A
- redesign and reimplementation could potentially make it much faster.
- </para>
- </listitem>
-
- <listitem>
- <para>Coverage: Stack and global checking is fragile. If a shared
- object does not have debug information attached, then SGCheck will
- not be able to determine the bounds of any stack or global arrays
- defined within that shared object, and so will not be able to check
- accesses to them. This is true even when those arrays are accessed
- from some other shared object which was compiled with debug
- info.</para>
-
- <para>At the moment SGCheck accepts objects lacking debuginfo
- without comment. This is dangerous as it causes SGCheck to
- silently skip stack and global checking for such objects. It would
- be better to print a warning in such circumstances.</para>
- </listitem>
-
- <listitem>
- <para>Coverage: SGCheck does not check whether the the areas read
- or written by system calls do overrun stack or global arrays. This
- would be easy to add.</para>
- </listitem>
-
- <listitem>
- <para>Platforms: the stack/global checks won't work properly on
- PowerPC, ARM or S390X platforms, only on X86 and AMD64 targets.
- That's because the stack and global checking requires tracking
- function calls and exits reliably, and there's no obvious way to do
- it on ABIs that use a link register for function returns.
- </para>
- </listitem>
-
- <listitem>
- <para>Robustness: related to the previous point. Function
- call/exit tracking for X86 and AMD64 is believed to work properly
- even in the presence of longjmps within the same stack (although
- this has not been tested). However, code which switches stacks is
- likely to cause breakage/chaos.</para>
- </listitem>
-</itemizedlist>
-
-</sect1>
-
-
-
-
-
-<sect1 id="sg-manual.todo-user-visible"
- xreflabel="Still To Do: User-visible Functionality">
-<title>Still To Do: User-visible Functionality</title>
-
-<itemizedlist>
-
- <listitem>
- <para>Extend system call checking to work on stack and global arrays.</para>
- </listitem>
-
- <listitem>
- <para>Print a warning if a shared object does not have debug info
- attached, or if, for whatever reason, debug info could not be
- found, or read.</para>
- </listitem>
-
- <listitem>
- <para>Add some heuristic filtering that removes obvious false
- positives. This would be easy to do. For example, an access
- transition from a heap to a stack object almost certainly isn't a
- bug and so should not be reported to the user.</para>
- </listitem>
-
-</itemizedlist>
-
-</sect1>
-
-
-
-
-<sect1 id="sg-manual.todo-implementation"
- xreflabel="Still To Do: Implementation Tidying">
-<title>Still To Do: Implementation Tidying</title>
-
-<para>Items marked CRITICAL are considered important for correctness:
-non-fixage of them is liable to lead to crashes or assertion failures
-in real use.</para>
-
-<itemizedlist>
-
- <listitem>
- <para> sg_main.c: Redesign and reimplement the basic checking
- algorithm. It could be done much faster than it is -- the current
- implementation isn't very good.
- </para>
- </listitem>
-
- <listitem>
- <para> sg_main.c: Improve the performance of the stack / global
- checks by doing some up-front filtering to ignore references in
- areas which "obviously" can't be stack or globals. This will
- require using information that m_aspacemgr knows about the address
- space layout.</para>
- </listitem>
-
- <listitem>
- <para>sg_main.c: fix compute_II_hash to make it a bit more sensible
- for ppc32/64 targets (except that sg_ doesn't work on ppc32/64
- targets, so this is a bit academic at the moment).</para>
- </listitem>
-
-</itemizedlist>
-
-</sect1>
-
-
-
-</chapter>
Copied: trunk/exp-sgcheck/docs/sg-manual.xml (from rev 11744, trunk/exp-ptrcheck/docs/pc-manual.xml)
===================================================================
--- trunk/exp-sgcheck/docs/sg-manual.xml (rev 0)
+++ trunk/exp-sgcheck/docs/sg-manual.xml 2011-05-11 16:04:28 UTC (rev 11745)
@@ -0,0 +1,316 @@
+<?xml version="1.0"?> <!-- -*- sgml -*- -->
+<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+ "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
+[ <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]>
+
+
+<chapter id="sg-manual"
+ xreflabel="SGCheck: an experimental stack and global array overrun detector">
+ <title>SGCheck: an experimental stack and global array overrun detector</title>
+
+<para>To use this tool, you must specify
+<option>--tool=exp-sgcheck</option> on the Valgrind
+command line.</para>
+
+
+
+
+<sect1 id="sg-manual.overview" xreflabel="Overview">
+<title>Overview</title>
+
+<para>SGCheck is a tool for finding overruns of stack and global
+arrays. It works by using a heuristic approach derived from an
+observation about the likely forms of stack and global array accesses.
+</para>
+
+</sect1>
+
+
+
+
+<sect1 id="sg-manual.options" xreflabel="SGCheck Command-line Options">
+<title>SGCheck Command-line Options</title>
+
+<para>There are no SGCheck-specific command-line options at present.</para>
+<!--
+<para>SGCheck-specific command-line options are:</para>
+
+
+<variablelist id="sg.opts.list">
+</variablelist>
+-->
+
+</sect1>
+
+
+
+<sect1 id="sg-manual.how-works.sg-checks"
+ xreflabel="How SGCheck Works">
+<title>How SGCheck Works</title>
+
+<para>When a source file is compiled
+with <option>-g</option>, the compiler attaches DWARF3
+debugging information which describes the location of all stack and
+global arrays in the file.</para>
+
+<para>Checking of accesses to such arrays would then be relatively
+simple, if the compiler could also tell us which array (if any) each
+memory referencing instruction was supposed to access. Unfortunately
+the DWARF3 debugging format does not provide a way to represent such
+information, so we have to resort to a heuristic technique to
+approximate it. The key observation is that
+ <emphasis>
+ if a memory referencing instruction accesses inside a stack or
+ global array once, then it is highly likely to always access that
+ same array</emphasis>.</para>
+
+<para>To see how this might be useful, consider the following buggy
+fragment:</para>
+<programlisting><![CDATA[
+ { int i, a[10]; // both are auto vars
+ for (i = 0; i <= 10; i++)
+ a[i] = 42;
+ }
+]]></programlisting>
+
+<para>At run time we will know the precise address
+of <computeroutput>a[]</computeroutput> on the stack, and so we can
+observe that the first store resulting from <computeroutput>a[i] =
+42</computeroutput> writes <computeroutput>a[]</computeroutput>, and
+we will (correctly) assume that that instruction is intended always to
+access <computeroutput>a[]</computeroutput>. Then, on the 11th
+iteration, it accesses somewhere else, possibly a different local,
+possibly an un-accounted for area of the stack (eg, spill slot), so
+SGCheck reports an error.</para>
+
+<para>There is an important caveat.</para>
+
+<para>Imagine a function such as <function>memcpy</function>, which is used
+to read and write many different areas of memory over the lifetime of the
+program. If we insist that the read and write instructions in its memory
+copying loop only ever access one particular stack or global variable, we
+will be flooded with errors resulting from calls to
+<function>memcpy</function>.</para>
+
+<para>To avoid this problem, SGCheck instantiates fresh likely-target
+records for each entry to a function, and discards them on exit. This
+allows detection of cases where (e.g.) <function>memcpy</function>
+overflows its source or destination buffers for any specific call, but
+does not carry any restriction from one call to the next. Indeed,
+multiple threads may make multiple simultaneous calls to
+(e.g.) <function>memcpy</function> without mutual interference.</para>
+
+</sect1>
+
+
+
+
+<sect1 id="sg-manual.cmp-w-memcheck"
+ xreflabel="Comparison with Memcheck">
+<title>Comparison with Memcheck</title>
+
+<para>SGCheck and Memcheck are complementary: their capabilities do
+not overlap. Memcheck performs bounds checks and use-after-free
+checks for heap arrays. It also finds uses of uninitialised values
+created by heap or stack allocations. But it does not perform bounds
+checking for stack or global arrays.</para>
+
+<para>SGCheck, on the other hand, does do bounds checking for stack or
+global arrays, but it doesn't do anything else.</para>
+
+</sect1>
+
+
+
+
+
+<sect1 id="sg-manual.limitations"
+ xreflabel="Limitations">
+<title>Limitations</title>
+
+<para>This is an experimental tool, which relies rather too heavily on some
+not-as-robust-as-I-would-like assumptions on the behaviour of correct
+programs. There are a number of limitations which you should be aware
+of.</para>
+
+<itemizedlist>
+
+ <listitem>
+ <para>False negatives (missed errors): it follows from the
+ description above (<xref linkend="sg-manual.how-works.sg-checks"/>)
+ that the first access by a memory referencing instruction to a
+ stack or global array creates an association between that
+ instruction and the array, which is checked on subsequent accesses
+ by that instruction, until the containing function exits. Hence,
+ the first access by an instruction to an array (in any given
+ function instantiation) is not checked for overrun, since SGCheck
+ uses that as the "example" of how subsequent accesses should
+ behave.</para>
+ </listitem>
+
+ <listitem>
+ <para>False positives (false errors): similarly, and more serious,
+ it is clearly possible to write legitimate pieces of code which
+ break the basic assumption upon which the checking algorithm
+ depends. For example:</para>
+
+<programlisting><![CDATA[
+ { int a[10], b[10], *p, i;
+ for (i = 0; i < 10; i++) {
+ p = /* arbitrary condition */ ? &a[i] : &b[i];
+ *p = 42;
+ }
+ }
+]]></programlisting>
+
+ <para>In this case the store sometimes
+ accesses <computeroutput>a[]</computeroutput> and
+ sometimes <computeroutput>b[]</computeroutput>, but in no cases is
+ the addressed array overrun. Nevertheless the change in target
+ will cause an error to be reported.</para>
+
+ <para>It is hard to see how to get around this problem. The only
+ mitigating factor is that such constructions appear very rare, at
+ least judging from the results using the tool so far. Such a
+ construction appears only once in the Valgrind sources (running
+ Valgrind on Valgrind) and perhaps two or three times for a start
+ and exit of Firefox. The best that can be done is to suppress the
+ errors.</para>
+ </listitem>
+
+ <listitem>
+ <para>Performance: SGCheck has to read all of
+ the DWARF3 type and variable information on the executable and its
+ shared objects. This is computationally expensive and makes
+ startup quite slow. You can expect debuginfo reading time to be in
+ the region of a minute for an OpenOffice sized application, on a
+ 2.4 GHz Core 2 machine. Reading this information also requires a
+ lot of memory. To make it viable, SGCheck goes to considerable
+ trouble to compress the in-memory representation of the DWARF3
+ data, which is why the process of reading it appears slow.</para>
+ </listitem>
+
+ <listitem>
+ <para>Performance: SGCheck runs slower than Memcheck. This is
+ partly due to a lack of tuning, but partly due to algorithmic
+ difficulties. The
+ stack and global checks can sometimes require a number of range
+ checks per memory access, and these are difficult to short-circuit,
+ despite considerable efforts having been made. A
+ redesign and reimplementation could potentially make it much faster.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>Coverage: Stack and global checking is fragile. If a shared
+ object does not have debug information attached, then SGCheck will
+ not be able to determine the bounds of any stack or global arrays
+ defined within that shared object, and so will not be able to check
+ accesses to them. This is true even when those arrays are accessed
+ from some other shared object which was compiled with debug
+ info.</para>
+
+ <para>At the moment SGCheck accepts objects lacking debuginfo
+ without comment. This is dangerous as it causes SGCheck to
+ silently skip stack and global checking for such objects. It would
+ be better to print a warning in such circumstances.</para>
+ </listitem>
+
+ <listitem>
+ <para>Coverage: SGCheck does not check whether the the areas read
+ or written by system calls do overrun stack or global arrays. This
+ would be easy to add.</para>
+ </listitem>
+
+ <listitem>
+ <para>Platforms: the stack/global checks won't work properly on
+ PowerPC, ARM or S390X platforms, only on X86 and AMD64 targets.
+ That's because the stack and global checking requires tracking
+ function calls and exits reliably, and there's no obvious way to do
+ it on ABIs that use a link register for function returns.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para>Robustness: related to the previous point. Function
+ call/exit tracking for X86 and AMD64 is believed to work properly
+ even in the presence of longjmps within the same stack (although
+ this has not been tested). However, code which switches stacks is
+ likely to cause breakage/chaos.</para>
+ </listitem>
+</itemizedlist>
+
+</sect1>
+
+
+
+
+
+<sect1 id="sg-manual.todo-user-visible"
+ xreflabel="Still To Do: User-visible Functionality">
+<title>Still To Do: User-visible Functionality</title>
+
+<itemizedlist>
+
+ <listitem>
+ <para>Extend system call checking to work on stack and global arrays.</para>
+ </listitem>
+
+ <listitem>
+ <para>Print a warning if a shared object does not have debug info
+ attached, or if, for whatever reason, debug info could not be
+ found, or read.</para>
+ </listitem>
+
+ <listitem>
+ <para>Add some heuristic filtering that removes obvious false
+ positives. This would be easy to do. For example, an access
+ transition from a heap to a stack object almost certainly isn't a
+ bug and so should not be reported to the user.</para>
+ </listitem>
+
+</itemizedlist>
+
+</sect1>
+
+
+
+
+<sect1 id="sg-manual.todo-implementation"
+ xreflabel="Still To Do: Implementation Tidying">
+<title>Still To Do: Implementation Tidying</title>
+
+<para>Items marked CRITICAL are considered important for correctness:
+non-fixage of them is liable to lead to crashes or assertion failures
+in real use.</para>
+
+<itemizedlist>
+
+ <listitem>
+ <para> sg_main.c: Redesign and reimplement the basic checking
+ algorithm. It could be done much faster than it is -- the current
+ implementation isn't very good.
+ </para>
+ </listitem>
+
+ <listitem>
+ <para> sg_main.c: Improve the performance of the stack / global
+ checks by doing some up-front filtering to ignore references in
+ areas which "obviously" can't be stack or globals. This will
+ require using information that m_aspacemgr knows about the address
+ space layout.</para>
+ </listitem>
+
+ <listitem>
+ <para>sg_main.c: fix compute_II_hash to make it a bit more sensible
+ for ppc32/64 targets (except that sg_ doesn't work on ppc32/64
+ targets, so this is a bit academic at the moment).</para>
+ </listitem>
+
+</itemizedlist>
+
+</sect1>
+
+
+
+</chapter>
Modified: trunk/exp-sgcheck/pc_main.c
===================================================================
--- trunk/exp-ptrcheck/pc_main.c 2011-05-11 15:31:24 UTC (rev 11744)
+++ trunk/exp-sgcheck/pc_main.c 2011-05-11 16:04:28 UTC (rev 11745)
@@ -57,18 +57,18 @@
{
#if defined(VGO_darwin)
// This makes the (all-failing) regtests run much faster.
- VG_(printf)("Ptrcheck doesn't work on Darwin yet, sorry.\n");
+ VG_(printf)("SGCheck doesn't work on Darwin yet, sorry.\n");
VG_(exit)(1);
#endif
#if defined(VGA_s390x)
/* fixs390: to be done. */
- VG_(printf)("Ptrcheck doesn't work s390x yet, sorry.\n");
+ VG_(printf)("SGCheck doesn't work s390x yet, sorry.\n");
VG_(exit)(1);
#endif
// Can't change the name until we change the names in suppressions
// too.
- VG_(details_name) ("exp-ptrcheck");
+ VG_(details_name) ("exp-sgcheck");
VG_(details_version) (NULL);
VG_(details_description) ("a stack and global array "
"overrun detector");
Copied: trunk/exp-sgcheck.supp (from rev 11744, trunk/exp-ptrcheck.supp)
===================================================================
--- trunk/exp-sgcheck.supp (rev 0)
+++ trunk/exp-sgcheck.supp 2011-05-11 16:04:28 UTC (rev 11745)
@@ -0,0 +1,20 @@
+{
+ ld-2.X possibly applying relocations
+ exp-sgcheck:SorG
+ obj:/*lib*/ld-2.*so*
+ obj:/*lib*/ld-2.*so*
+}
+
+# I'm pretty sure this is a false positive caused by the sg_ stuff
+{
+ glibc realpath false positive
+ exp-sgcheck:SorG
+ fun:realpath
+ fun:*
+}
+
+{
+ I think this is glibc's ultra optimised getenv doing 2 byte reads
+ exp-sgcheck:SorG
+ fun:getenv
+}
|
|
From: <sv...@va...> - 2011-05-11 15:31:32
|
Author: sewardj
Date: 2011-05-11 16:31:24 +0100 (Wed, 11 May 2011)
New Revision: 11744
Log:
When reading Dwarf3 variable type and location information, print a
line showing the number of variables read for each object. Currently
disabled -- is a sanity-check mechanism for exp-sgcheck.
Modified:
trunk/coregrind/m_debuginfo/readelf.c
Modified: trunk/coregrind/m_debuginfo/readelf.c
===================================================================
--- trunk/coregrind/m_debuginfo/readelf.c 2011-05-11 15:26:06 UTC (rev 11743)
+++ trunk/coregrind/m_debuginfo/readelf.c 2011-05-11 15:31:24 UTC (rev 11744)
@@ -2234,6 +2234,35 @@
}
res = True;
+ /* If reading Dwarf3 variable type/location info, print a line
+ showing the number of variables read for each object.
+ (Currently disabled -- is a sanity-check mechanism for
+ exp-sgcheck.) */
+ if (0 && (VG_(needs).var_info || VG_(clo_read_var_info))) {
+ UWord nVars = 0;
+ Word j;
+ if (di->varinfo) {
+ for (j = 0; j < VG_(sizeXA)(di->varinfo); j++) {
+ OSet* /* of DiAddrRange */ scope
+ = *(OSet**)VG_(indexXA)(di->varinfo, j);
+ vg_assert(scope);
+ VG_(OSetGen_ResetIter)( scope );
+ while (True) {
+ DiAddrRange* range = VG_(OSetGen_Next)( scope );
+ if (!range) break;
+ vg_assert(range->vars);
+ Word w = VG_(sizeXA)(range->vars);
+ vg_assert(w >= 0);
+ if (0) VG_(printf)("range %#lx %#lx %ld\n",
+ range->aMin, range->aMax, w);
+ nVars += (UWord)w;
+ }
+ }
+ }
+ VG_(umsg)("VARINFO: %7lu vars %7ld text_size %s\n",
+ nVars, di->text_size, di->filename);
+ }
+
out: {
SysRes m_res;
|