You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
1
(21) |
2
(18) |
3
(19) |
4
(16) |
5
(20) |
6
(22) |
7
(17) |
|
8
(13) |
9
(1) |
10
(3) |
11
(28) |
12
(13) |
13
(12) |
14
(25) |
|
15
(15) |
16
(29) |
17
(19) |
18
(15) |
19
(27) |
20
(29) |
21
(21) |
|
22
(16) |
23
(24) |
24
(18) |
25
(26) |
26
(27) |
27
(21) |
28
(30) |
|
29
(23) |
30
(3) |
31
(19) |
|
|
|
|
|
From: <sv...@va...> - 2012-07-28 22:20:10
|
florian 2012-07-28 23:20:03 +0100 (Sat, 28 Jul 2012)
New Revision: 12804
Log:
Testcases for CU42. Part of fixing bugzilla #289839.
Update opcode table.
Added files:
trunk/memcheck/tests/s390x/cu42.c
trunk/memcheck/tests/s390x/cu42.stderr.exp
trunk/memcheck/tests/s390x/cu42.stdout.exp
trunk/memcheck/tests/s390x/cu42.vgtest
trunk/none/tests/s390x/cu42.c
trunk/none/tests/s390x/cu42.stderr.exp
trunk/none/tests/s390x/cu42.stdout.exp
trunk/none/tests/s390x/cu42.vgtest
Modified directories:
trunk/memcheck/tests/s390x/
trunk/none/tests/s390x/
Modified files:
trunk/docs/internals/s390-opcodes.csv
trunk/memcheck/tests/s390x/Makefile.am
trunk/none/tests/s390x/Makefile.am
Modified: trunk/memcheck/tests/s390x/
Modified: trunk/none/tests/s390x/
Modified: trunk/docs/internals/s390-opcodes.csv (+1 -1)
===================================================================
--- trunk/docs/internals/s390-opcodes.csv 2012-07-28 23:10:41 +01:00 (rev 12803)
+++ trunk/docs/internals/s390-opcodes.csv 2012-07-28 23:20:03 +01:00 (rev 12804)
@@ -667,7 +667,7 @@
lptea,"load page-table-entry address",N/A,"privileged instruction"
cu24,"convert utf-16 to utf-32",implemented
cu21,"convert utf-16 to utf-8",implemented
-cu42,"convert utf-32 to utf-16","not implemented","open bugzilla"
+cu42,"convert utf-32 to utf-16",implemented
cu41,"convert utf-32 to utf-8","not implemented","open bugzilla"
cu12,"convert utf-8 to utf-16","not implemented","open bugzilla"
cu14,"convert utf-8 to utf-32","not implemented","open bugzilla"
Added: trunk/none/tests/s390x/cu42.stdout.exp (+146 -0)
===================================================================
--- trunk/none/tests/s390x/cu42.stdout.exp 2012-07-28 23:10:41 +01:00 (rev 12803)
+++ trunk/none/tests/s390x/cu42.stdout.exp 2012-07-28 23:20:03 +01:00 (rev 12804)
@@ -0,0 +1,146 @@
+
+------------- test1 ----------------
+UTF16: <none>
+ cc = 0
+ dst len: 0
+ src len: 0
+
+------------- test2.1 ----------------
+UTF16: <none>
+ cc = 0
+ dst address difference: 0 dst len: 2000
+ src len: 0
+UTF16: <none>
+ cc = 0
+ dst address difference: 0 dst len: 2000
+ src len: 1
+UTF16: <none>
+ cc = 0
+ dst address difference: 0 dst len: 2000
+ src len: 2
+UTF16: <none>
+ cc = 0
+ dst address difference: 0 dst len: 2000
+ src len: 3
+UTF16: <none>
+ cc = 0
+ dst address difference: 0 dst len: 2000
+ src address difference: 0 src len: 0
+UTF16: <none>
+ cc = 0
+ dst address difference: 0 dst len: 2000
+ src address difference: 0 src len: 1
+UTF16: <none>
+ cc = 0
+ dst address difference: 0 dst len: 2000
+ src address difference: 0 src len: 2
+UTF16: <none>
+ cc = 0
+ dst address difference: 0 dst len: 2000
+ src address difference: 0 src len: 3
+
+------------- test2.2 ----------------
+UTF16: 0000
+ cc = 0
+ dst address difference: 2 dst len: 1998
+ src address difference: 4 src len: 0
+UTF16: 0000 d7ff
+ cc = 0
+ dst address difference: 4 dst len: 1996
+ src address difference: 8 src len: 2
+UTF16: d800 dc00
+ cc = 0
+ dst address difference: 4 dst len: 1996
+ src address difference: 4 src len: 1
+UTF16: d800 dc00 dbff dfff
+ cc = 0
+ dst address difference: 8 dst len: 1992
+ src address difference: 8 src len: 3
+UTF16: d800 dc00 dbff dfff d800 dd23 d84d dc56
+ cc = 0
+ dst address difference: 16 dst len: 1984
+ src address difference: 16 src len: 2
+
+------------- test3.1 ----------------
+UTF16: <none>
+ cc = 1
+ dst len: 0
+ src address difference: 0 src len: 32
+UTF16: <none>
+ cc = 1
+ dst len: 0
+ src address difference: 0 src len: 32
+UTF16: <none>
+ cc = 1
+ dst len: 1
+ src address difference: 0 src len: 32
+UTF16: <none>
+ cc = 1
+ dst len: 0
+ src address difference: 0 src len: 24
+UTF16: <none>
+ cc = 1
+ dst len: 1
+ src address difference: 0 src len: 24
+UTF16: <none>
+ cc = 1
+ dst len: 2
+ src address difference: 0 src len: 24
+UTF16: <none>
+ cc = 1
+ dst len: 3
+ src address difference: 0 src len: 24
+
+------------- test4 ----------------
+UTF16: 0000 d7ff
+ cc = 0
+ dst address difference: 4 dst len: 0
+ src address difference: 8 src len: 0
+
+------------- test5 ----------------
+UTF16: <none>
+ cc = 2
+ dst address difference: 0 dst len: 2000
+ src address difference: 0 src len: 44
+UTF16: <none>
+ cc = 2
+ dst address difference: 0 dst len: 0
+ src address difference: 0 src len: 44
+UTF16: <none>
+ cc = 2
+ dst address difference: 0 dst len: 100
+ src address difference: 0 src len: 44
+
+------------- test6 ----------------
+UTF16: 0000 d7ff dc00 ffff abba f00d d00f 1234
+ cc = 0
+ dst address difference: 16 dst len: 1984
+ src address difference: 32 src len: 0
+UTF16: d800 dc00 dbff dfff d800 dd23 d84d dc56 d9a2 ddab dbc0 dc00
+ cc = 0
+ dst address difference: 24 dst len: 1976
+ src address difference: 24 src len: 0
+UTF16: 0078 d000 d88c df33 d8c1 dc04 abcd
+ cc = 0
+ dst address difference: 14 dst len: 1986
+ src address difference: 20 src len: 0
+
+------------- test7.1 ----------------
+UTF16: ffff
+ cc = 0
+ dst address difference: 2 dst len: 1998
+ src address difference: 4 src len: 0
+UTF16: ffff
+ cc = 0
+ dst address difference: 2 dst len: 1998
+ src address difference: 4 src len: 0
+
+------------- test7.2 ----------------
+UTF16: dbc0 dc00
+ cc = 0
+ dst address difference: 4 dst len: 1996
+ src address difference: 4 src len: 0
+UTF16: dbc0 dc00
+ cc = 0
+ dst address difference: 4 dst len: 1996
+ src address difference: 4 src len: 0
Added: trunk/none/tests/s390x/cu42.stderr.exp (+2 -0)
===================================================================
--- trunk/none/tests/s390x/cu42.stderr.exp 2012-07-28 23:10:41 +01:00 (rev 12803)
+++ trunk/none/tests/s390x/cu42.stderr.exp 2012-07-28 23:20:03 +01:00 (rev 12804)
@@ -0,0 +1,2 @@
+
+
Modified: trunk/memcheck/tests/s390x/Makefile.am (+1 -1)
===================================================================
--- trunk/memcheck/tests/s390x/Makefile.am 2012-07-28 23:10:41 +01:00 (rev 12803)
+++ trunk/memcheck/tests/s390x/Makefile.am 2012-07-28 23:20:03 +01:00 (rev 12804)
@@ -2,7 +2,7 @@
dist_noinst_SCRIPTS = filter_stderr
-INSN_TESTS = cs csg cds cdsg cu21
+INSN_TESTS = cs csg cds cdsg cu21 cu42
check_PROGRAMS = $(INSN_TESTS)
Added: trunk/none/tests/s390x/cu42.c (+227 -0)
===================================================================
--- trunk/none/tests/s390x/cu42.c 2012-07-28 23:10:41 +01:00 (rev 12803)
+++ trunk/none/tests/s390x/cu42.c 2012-07-28 23:20:03 +01:00 (rev 12804)
@@ -0,0 +1,227 @@
+#include <stdint.h>
+#include <inttypes.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdio.h>
+#include <assert.h>
+#include "opcodes.h"
+
+/* The abstracted result of an CU42 insn */
+typedef struct {
+ uint64_t addr1; // target
+ uint64_t len1;
+ uint64_t addr2; // source
+ uint64_t len2;
+ uint32_t cc;
+} cu42_t;
+
+/* Define various input buffers. */
+
+/* U+0000 to U+d7ff: Result is 2 bytes for each uint32_t
+ U+dc00 to U+ffff: Result is 2 bytes for each uint32_t */
+uint32_t pattern2[] = {
+ 0x0000, 0xd7ff, /* corner cases */
+ 0xdc00, 0xffff, /* corner cases */
+ 0xabba, 0xf00d, 0xd00f, 0x1234 /* misc */
+};
+
+/* U+00010000 to U+0010ffff: Result is 4 bytes for each uint32_t */
+uint32_t pattern4[] = {
+ 0x00010000, 0x0010ffff, /* corner cases */
+ 0x00010123, 0x00023456, 0x000789ab, 0x00100000 /* misc */
+};
+
+/* Invalid UTF-32 character */
+uint32_t invalid[] = {
+ 0x0000d800, 0x0000dbff, /* corner cases */
+ 0x00110000, 0xffffffff, /* corner cases */
+ 0x0000daad, 0x0000d901, 0x0000dddd, /* misc */
+ 0x00110011, 0x01000000, 0x10000000, 0xdeadbeef /* misc */
+};
+
+/* Mixed bytes */
+uint32_t mixed[] = {
+ 0x00000078 /* 2 bytes */,
+ 0x0000d000 /* 2 bytes */,
+ 0x00033333 /* 4 bytes */,
+ 0x00040404 /* 4 bytes */,
+ 0x0000abcd /* 2 bytes */,
+};
+
+/* This is the buffer for the converted bytes. */
+uint16_t buff[1000]; /* Large so we con'don't have to worry about it */
+
+void write_and_check(uint32_t *, unsigned, unsigned);
+
+
+static cu42_t
+do_cu42(uint16_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len)
+{
+ int cc = 42;
+ cu42_t regs;
+
+ /* build up the register pairs */
+ register uint32_t *source asm("4") = src;
+ register uint64_t source_len asm("5") = src_len;
+ register uint16_t *dest asm("2") = dst;
+ register uint64_t dest_len asm("3") = dst_len;
+
+ asm volatile(
+ CU42(2,4)
+ "ipm %2\n\t"
+ "srl %2,28\n\t"
+ : "+d"(dest), "+d"(source), "=d"(cc),
+ "+d"(source_len), "+d"(dest_len)
+ :
+ : "memory", "cc");
+
+ /* Capture register contents at end of cu42 */
+ regs.addr1 = (uint64_t)dest;
+ regs.len1 = dest_len;
+ regs.addr2 = (uint64_t)source;
+ regs.len2 = source_len;
+ regs.cc = cc;
+
+ return regs;
+}
+
+void
+run_test(uint16_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len)
+{
+ int i;
+ cu42_t result;
+
+ result = do_cu42(dst, dst_len, src, src_len);
+
+ // Write out the converted values, if any
+ printf("UTF16: ");
+ if (dst_len - result.len1 == 0)
+ printf(" <none>");
+ else
+ assert((dst_len - result.len1) % 2 == 0);
+ for (i = 0; i < (dst_len - result.len1) / 2; ++i) {
+ printf(" %04x", dst[i]);
+ }
+ printf("\n");
+
+ printf(" cc = %d\n", result.cc);
+ if (dst != NULL)
+ printf(" dst address difference: %"PRId64, result.addr1 - (uint64_t)dst);
+ printf(" dst len: %"PRId64"\n", result.len1);
+
+ if (src != NULL)
+ printf(" src address difference: %"PRId64, result.addr2 - (uint64_t)src);
+ printf(" src len: %"PRId64"\n", result.len2);
+}
+
+int main()
+{
+ /* Length == 0, no memory should be read or written */
+ printf("\n------------- test1 ----------------\n");
+ run_test(NULL, 0, NULL, 0);
+
+ /* Test exhaustion of source length (source bytes are valid) */
+ printf("\n------------- test2.1 ----------------\n");
+
+ /* No character will be written to BUFF, i.e. loop in jitted code
+ is not iterated */
+ run_test(buff, sizeof buff, NULL, 0);
+ run_test(buff, sizeof buff, NULL, 1);
+ run_test(buff, sizeof buff, NULL, 2);
+ run_test(buff, sizeof buff, NULL, 3);
+ run_test(buff, sizeof buff, pattern2, 0);
+ run_test(buff, sizeof buff, pattern2, 1);
+ run_test(buff, sizeof buff, pattern2, 2);
+ run_test(buff, sizeof buff, pattern2, 3);
+
+ printf("\n------------- test2.2 ----------------\n");
+ /* At least one character will be written to BUFF, i.e. loop in jitted
+ code is iterated */
+ run_test(buff, sizeof buff, pattern2, 4); /* 1 utf32 -> 1 utf16 */
+ run_test(buff, sizeof buff, pattern2, 10); /* 2 utf32 -> 2 utf16 */
+ run_test(buff, sizeof buff, pattern4, 5); /* 1 utf32 -> 2 utf16 */
+ run_test(buff, sizeof buff, pattern4, 11); /* 2 utf32 -> 4 utf16 */
+ run_test(buff, sizeof buff, pattern4, 18); /* 4 utf32 -> 8 utf16 */
+
+ /* Test exhaustion of destination length (source bytes are valid) */
+ printf("\n------------- test3.1 ----------------\n");
+
+ /* No character will be written to BUFF, i.e. loop in jitted code
+ is not iterated */
+
+ /* Want to write at least 1 UTF-16 */
+ run_test(NULL, 0, pattern2, sizeof pattern2);
+
+ /* Want to write at least 1 UTF-16 */
+ run_test(NULL, 0, pattern2, sizeof pattern2);
+ run_test(NULL, 1, pattern2, sizeof pattern2);
+
+ /* Want to write at least 2 UTF-16 */
+ run_test(NULL, 0, pattern4, sizeof pattern4);
+ run_test(NULL, 1, pattern4, sizeof pattern4);
+ run_test(NULL, 2, pattern4, sizeof pattern4);
+ run_test(NULL, 3, pattern4, sizeof pattern4);
+
+ /* When both operands are exhausted, cc=0 takes precedence.
+ (test1 tests this for len == 0) */
+ printf("\n------------- test4 ----------------\n");
+ run_test(buff, 4, pattern2, 8);
+
+ /* Input contains invalid characters */
+ printf("\n------------- test5 ----------------\n");
+ run_test(buff, sizeof buff, invalid, sizeof invalid);
+ run_test(buff, 0, invalid, sizeof invalid); // cc = 2
+ run_test(buff, 100, invalid, sizeof invalid);
+
+ /* Convert all pattern buffers */
+ printf("\n------------- test6 ----------------\n");
+ run_test(buff, sizeof buff, pattern2, sizeof pattern2);
+ run_test(buff, sizeof buff, pattern4, sizeof pattern4);
+ run_test(buff, sizeof buff, mixed, sizeof mixed);
+
+ /* Make sure we only write the exact number of bytes (and not more) */
+
+ /* Write 2 bytes */
+ printf("\n------------- test7.1 ----------------\n");
+ write_and_check(pattern2 + 3, 4, 2);
+
+ /* Write 4 bytes */
+ printf("\n------------- test7.2 ----------------\n");
+ write_and_check(pattern4 + 5, 4, 4);
+
+ return 0;
+}
+
+
+void
+write_and_check_aux(uint32_t *input, unsigned num_input_bytes,
+ unsigned num_expected_output_bytes,
+ unsigned fill_byte)
+{
+ int num_errors, i;
+
+ /* Fill output buffer with FILL_BYTE */
+ memset(buff, fill_byte, sizeof buff);
+
+ /* Execute cu42 */
+ run_test(buff, sizeof buff, input, num_input_bytes);
+
+ /* Make sure the rest of the buffer is unmodified. */
+ num_errors = 0;
+ for (i = num_expected_output_bytes; i < sizeof buff; ++i)
+ if (((unsigned char *)buff)[i] != fill_byte) ++num_errors;
+ if (num_errors)
+ fprintf(stderr, "*** wrote more than %d bytes\n",
+ num_expected_output_bytes);
+}
+
+void
+write_and_check(uint32_t *input, unsigned num_input_bytes,
+ unsigned num_expected_output_bytes)
+{
+ write_and_check_aux(input, num_input_bytes, num_expected_output_bytes, 0x0);
+
+ /* Run again with different fill pattern to make sure we did not write
+ an extra 0x0 byte */
+ write_and_check_aux(input, num_input_bytes, num_expected_output_bytes, 0xFF);
+}
Added: trunk/none/tests/s390x/cu42.vgtest (+1 -0)
===================================================================
--- trunk/none/tests/s390x/cu42.vgtest 2012-07-28 23:10:41 +01:00 (rev 12803)
+++ trunk/none/tests/s390x/cu42.vgtest 2012-07-28 23:20:03 +01:00 (rev 12804)
@@ -0,0 +1 @@
+prog: cu42
Modified: trunk/none/tests/s390x/Makefile.am (+1 -1)
===================================================================
--- trunk/none/tests/s390x/Makefile.am 2012-07-28 23:10:41 +01:00 (rev 12803)
+++ trunk/none/tests/s390x/Makefile.am 2012-07-28 23:20:03 +01:00 (rev 12804)
@@ -7,7 +7,7 @@
and_EI or_EI xor_EI insert_EI mul_GE add_GE condloadstore \
op_exception fgx stck stckf stcke stfle cksm mvcl clcl troo \
trto trot trtt tr tre cij cgij clij clgij crj cgrj clrj clgrj \
- cs csg cds cdsg cu21 cu21_1 cu24 cu24_1
+ cs csg cds cdsg cu21 cu21_1 cu24 cu24_1 cu42
check_PROGRAMS = $(INSN_TESTS) \
allexec \
Property changed: trunk/none/tests/s390x (+0 -0)
___________________________________________________________________
Name: svn:ignore
- .deps
add
add_EI
add_GE
allexec
and
and_EI
clc
clcle
cvb
cvd
div
ex_clone
ex_sig
flogr
icm
insert
insert_EI
lam_stam
lpr
Makefile
Makefile.in
mul
mul_GE
mvst
or
or_EI
srst
sub
sub_EI
tcxb
xc
xor
xor_EI
stck
stcke
stckf
op_exception
fgx
condloadstore
fold_And16
stfle
op00
cksm
clcl
mvcl
troo
trot
trto
trtt
tr
tre
clrj
clgrj
crj
cgrj
clij
clgij
cij
cgij
cs
csg
cds
cdsg
cu21
cu21_1
cu24
cu24_1
+ .deps
add
add_EI
add_GE
allexec
and
and_EI
clc
clcle
cvb
cvd
div
ex_clone
ex_sig
flogr
icm
insert
insert_EI
lam_stam
lpr
Makefile
Makefile.in
mul
mul_GE
mvst
or
or_EI
srst
sub
sub_EI
tcxb
xc
xor
xor_EI
stck
stcke
stckf
op_exception
fgx
condloadstore
fold_And16
stfle
op00
cksm
clcl
mvcl
troo
trot
trto
trtt
tr
tre
clrj
clgrj
crj
cgrj
clij
clgij
cij
cgij
cs
csg
cds
cdsg
cu21
cu21_1
cu24
cu24_1
cu42
Added: trunk/memcheck/tests/s390x/cu42.vgtest (+2 -0)
===================================================================
--- trunk/memcheck/tests/s390x/cu42.vgtest 2012-07-28 23:10:41 +01:00 (rev 12803)
+++ trunk/memcheck/tests/s390x/cu42.vgtest 2012-07-28 23:20:03 +01:00 (rev 12804)
@@ -0,0 +1,2 @@
+prog: cu42
+vgopts: -q
Added: trunk/memcheck/tests/s390x/cu42.stdout.exp (+0 -0)
===================================================================
Added: trunk/memcheck/tests/s390x/cu42.stderr.exp (+52 -0)
===================================================================
--- trunk/memcheck/tests/s390x/cu42.stderr.exp 2012-07-28 23:10:41 +01:00 (rev 12803)
+++ trunk/memcheck/tests/s390x/cu42.stderr.exp 2012-07-28 23:20:03 +01:00 (rev 12804)
@@ -0,0 +1,52 @@
+Invalid write of size 2
+ at 0x........: do_cu42 (cu42.c:31)
+ by 0x........: main (cu42.c:47)
+ Address 0x........ is 0 bytes inside a block of size 1 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (cu42.c:47)
+
+Invalid write of size 4
+ at 0x........: do_cu42 (cu42.c:31)
+ by 0x........: main (cu42.c:53)
+ Address 0x........ is 0 bytes inside a block of size 1 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (cu42.c:53)
+
+Invalid write of size 4
+ at 0x........: do_cu42 (cu42.c:31)
+ by 0x........: main (cu42.c:56)
+ Address 0x........ is 0 bytes inside a block of size 2 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (cu42.c:56)
+
+Invalid write of size 4
+ at 0x........: do_cu42 (cu42.c:31)
+ by 0x........: main (cu42.c:59)
+ Address 0x........ is 0 bytes inside a block of size 3 alloc'd
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: main (cu42.c:59)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_cu42 (cu42.c:31)
+ by 0x........: main (cu42.c:72)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_cu42 (cu42.c:31)
+ by 0x........: main (cu42.c:77)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_cu42 (cu42.c:31)
+ by 0x........: main (cu42.c:82)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_cu42 (cu42.c:31)
+ by 0x........: main (cu42.c:87)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_cu42 (cu42.c:31)
+ by 0x........: main (cu42.c:92)
+
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_cu42 (cu42.c:31)
+ by 0x........: main (cu42.c:104)
+
Added: trunk/memcheck/tests/s390x/cu42.c (+111 -0)
===================================================================
--- trunk/memcheck/tests/s390x/cu42.c 2012-07-28 23:10:41 +01:00 (rev 12803)
+++ trunk/memcheck/tests/s390x/cu42.c 2012-07-28 23:20:03 +01:00 (rev 12804)
@@ -0,0 +1,111 @@
+#include <stdint.h>
+#include <inttypes.h>
+#include <stdlib.h>
+#include <string.h>
+#include <stdio.h>
+#include "../../../none/tests/s390x/opcodes.h"
+
+/* Define various input buffers. */
+
+/* U+0000 to U+d7ff: Result is 2 bytes for each uint32_t
+ U+dc00 to U+ffff: Result is 2 bytes for each uint32_t */
+uint32_t pattern2[] = {
+ 0x0000, 0xd7ff, /* corner cases */
+ 0xdc00, 0xffff, /* corner cases */
+ 0xabba, 0xf00d, 0xd00f, 0x1234 /* misc */
+};
+
+/* U+00010000 to U+0010ffff: Result is 4 bytes for each uint32_t */
+uint32_t pattern4[] = {
+ 0x00010000, 0x0010ffff, /* corner cases */
+ 0x00010123, 0x00023456, 0x000789ab, 0x00100000 /* misc */
+};
+
+static void
+do_cu42(uint16_t *dst, uint64_t dst_len, uint32_t *src, uint64_t src_len)
+{
+ /* build up the register pairs */
+ register uint32_t *source asm("4") = src;
+ register uint64_t source_len asm("5") = src_len;
+ register uint16_t *dest asm("2") = dst;
+ register uint64_t dest_len asm("3") = dst_len;
+
+ asm volatile(
+ CU42(2,4)
+ : "+d"(dest), "+d"(source), "+d"(source_len), "+d"(dest_len)
+ :
+ : "memory", "cc");
+}
+
+int main()
+{
+ /*------------------------------------------------------------*/
+ /* Write to a too small buffer */
+ /*------------------------------------------------------------*/
+
+ /* Write 2 bytes into buffer of length 1 */
+ do_cu42(malloc(1), 10, pattern2, 4); // complaint (2 bytes)
+
+ /* Write 2 bytes into buffer of length 2 */
+ do_cu42(malloc(2), 10, pattern2, 4); // no complaint
+
+ /* Write 4 bytes into buffer of length 1 */
+ do_cu42(malloc(1), 10, pattern4, 4); // complaint (4 bytes)
+
+ /* Write 4 bytes into buffer of length 2 */
+ do_cu42(malloc(2), 10, pattern4, 4); // complaint (4 bytes)
+
+ /* Write 4 bytes into buffer of length 3 */
+ do_cu42(malloc(3), 10, pattern4, 4); // complaint (4 bytes)
+
+ /* Write 4 bytes into buffer of length 4 */
+ do_cu42(malloc(4), 10, pattern4, 4); // no complaint
+
+ /*------------------------------------------------------------*/
+ /* Read uninitialised data */
+ /*------------------------------------------------------------*/
+ uint16_t buf[100];
+ uint8_t *input;
+
+ /* Input buffer is completely uninitialised */
+ input = malloc(10);
+ do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
+
+ /* Read 4 bytes from input buffer. First byte is uninitialised */
+ input = malloc(10);
+ input[1] = input[2] = input[3] = 0x0;
+ do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
+
+ /* Read 4 bytes from input buffer. Second byte is uninitialised */
+ input = malloc(10);
+ input[0] = input[2] = input[3] = 0x0;
+ do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
+
+ /* Read 4 bytes from input buffer. Third byte is uninitialised */
+ input = malloc(10);
+ input[0] = input[1] = input[3] = 0x0;
+ do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
+
+ /* Read 4 bytes from input buffer. Fourth byte is uninitialised */
+ input = malloc(10);
+ input[0] = input[1] = input[2] = 0x0;
+ do_cu42(buf, sizeof buf, (void *)input, 4); // complaint
+
+ /* Read 4 bytes from input buffer. All bytes are initialised */
+ input = malloc(10);
+ memset(input, 0, 4);
+ do_cu42(buf, sizeof buf, (void *)input, 4); // no complaint
+
+ /* Read 8 bytes from input buffer. This iterates once. In the 1st
+ iteration all input bytes are initialised in the 2nd iteration all
+ input bytes are uninitialised. */
+ input = malloc(10);
+ memset(input, 0, 4);
+ do_cu42(buf, sizeof buf, (void *)input, 8); // complaint
+
+
+ /* Write to NULL */
+ // do_cu42(NULL, 10, pattern1, sizeof pattern1); // complaint
+
+ return 0;
+}
Property changed: trunk/memcheck/tests/s390x (+0 -0)
___________________________________________________________________
Name: svn:ignore
- .deps
Makefile
Makefile.in
cs
csg
cds
cdsg
cu21
+ .deps
Makefile
Makefile.in
cs
csg
cds
cdsg
cu21
cu42
|
|
From: <sv...@va...> - 2012-07-28 22:18:40
|
florian 2012-07-28 23:18:32 +0100 (Sat, 28 Jul 2012)
New Revision: 2452
Log:
Add support for the CU42 insn. Part of fixing bugzilla #289839.
Modified files:
trunk/priv/guest_s390_defs.h
trunk/priv/guest_s390_helpers.c
trunk/priv/guest_s390_toIR.c
Modified: trunk/priv/guest_s390_helpers.c (+47 -0)
===================================================================
--- trunk/priv/guest_s390_helpers.c 2012-07-27 21:55:01 +01:00 (rev 2451)
+++ trunk/priv/guest_s390_helpers.c 2012-07-28 23:18:32 +01:00 (rev 2452)
@@ -484,6 +484,53 @@
/*------------------------------------------------------------*/
+/*--- Clean helper for CU42. ---*/
+/*------------------------------------------------------------*/
+
+/* The function performs a CU42 operation. It returns three things
+ encoded in an ULong value:
+ - the converted bytes (at most 4)
+ - the number of converted bytes (2 or 4; 0 if invalid character)
+ - an indication whether the UTF-32 character is invalid
+
+ 64 48 16 8 0
+ +-------+-----------------+-----------+-------------------+
+ | 0x0 | converted bytes | num_bytes | invalid_character |
+ +-------+-----------------+-----------+-------------------+
+*/
+ULong
+s390_do_cu42(UInt srcval)
+{
+ ULong retval;
+ UInt num_bytes, invalid_character = 0;
+
+ if ((srcval >= 0x0000 && srcval <= 0xd7ff) ||
+ (srcval >= 0xdc00 && srcval <= 0xffff)) {
+ retval = srcval;
+ num_bytes = 2;
+ } else if (srcval >= 0x00010000 && srcval <= 0x0010FFFF) {
+ UInt uvwxy = srcval >> 16;
+ UInt abcd = (uvwxy - 1) & 0xf;
+ UInt efghij = (srcval >> 10) & 0x3f;
+
+ UInt high_surrogate = (0xd8 << 8) | (abcd << 6) | efghij;
+ UInt low_surrogate = (0xdc << 8) | (srcval & 0x3ff);
+
+ retval = (high_surrogate << 16) | low_surrogate;
+ num_bytes = 4;
+ } else {
+ /* D800 - DBFF or 00110000 - FFFFFFFF */
+ invalid_character = 1;
+ retval = num_bytes = 0; /* does not matter; not used */
+ }
+
+ /* At this point RETVAL contains the converted bytes.
+ Build up the final return value. */
+ return (retval << 16) | (num_bytes << 8) | invalid_character;
+}
+
+
+/*------------------------------------------------------------*/
/*--- Clean helper for "convert to binary". ---*/
/*------------------------------------------------------------*/
#if defined(VGA_s390x)
Modified: trunk/priv/guest_s390_toIR.c (+96 -1)
===================================================================
--- trunk/priv/guest_s390_toIR.c 2012-07-27 21:55:01 +01:00 (rev 2451)
+++ trunk/priv/guest_s390_toIR.c 2012-07-28 23:18:32 +01:00 (rev 2452)
@@ -11353,6 +11353,100 @@
return "cu24";
}
+static IRExpr *
+s390_call_cu42(IRExpr *srcval)
+{
+ IRExpr **args, *call;
+ args = mkIRExprVec_1(srcval);
+ call = mkIRExprCCall(Ity_I64, 0 /*regparm*/,
+ "s390_do_cu42", &s390_do_cu42, args);
+
+ /* Nothing is excluded from definedness checking. */
+ call->Iex.CCall.cee->mcx_mask = 0;
+
+ return call;
+}
+
+static HChar *
+s390_irgen_CU42(UChar r1, UChar r2)
+{
+ IRTemp addr1 = newTemp(Ity_I64);
+ IRTemp addr2 = newTemp(Ity_I64);
+ IRTemp len1 = newTemp(Ity_I64);
+ IRTemp len2 = newTemp(Ity_I64);
+
+ assign(addr1, get_gpr_dw0(r1));
+ assign(addr2, get_gpr_dw0(r2));
+ assign(len1, get_gpr_dw0(r1 + 1));
+ assign(len2, get_gpr_dw0(r2 + 1));
+
+ /* We're processing the 2nd operand 4 bytes at a time. Therefore, if
+ there are less than 4 bytes left, then the 2nd operand is exhausted
+ and we're done here. cc = 0 */
+ s390_cc_set(0);
+ next_insn_if(binop(Iop_CmpLT64U, mkexpr(len2), mkU64(4)));
+
+ /* Read the 2nd operand. */
+ IRTemp srcval = newTemp(Ity_I32);
+ assign(srcval, load(Ity_I32, mkexpr(addr2)));
+
+ /* Call the helper */
+ IRTemp retval = newTemp(Ity_I64);
+ assign(retval, s390_call_cu42(mkexpr(srcval)));
+
+ /* If the UTF-32 character was invalid, set cc=2 and we're done.
+ cc=2 outranks cc=1 (1st operand exhausted) */
+ IRExpr *invalid_character = binop(Iop_And64, mkexpr(retval), mkU64(0xff));
+
+ s390_cc_set(2);
+ next_insn_if(binop(Iop_CmpEQ64, invalid_character, mkU64(1)));
+
+ /* Now test whether the 1st operand is exhausted */
+ IRTemp num_bytes = newTemp(Ity_I64);
+ assign(num_bytes, binop(Iop_And64,
+ binop(Iop_Shr64, mkexpr(retval), mkU8(8)),
+ mkU64(0xff)));
+ s390_cc_set(1);
+ next_insn_if(binop(Iop_CmpLT64U, mkexpr(len1), mkexpr(num_bytes)));
+
+ /* Extract the bytes to be stored at addr1 */
+ IRTemp data = newTemp(Ity_I64);
+ assign(data, binop(Iop_Shr64, mkexpr(retval), mkU8(16)));
+
+ /* To store the bytes construct 2 dirty helper calls. The helper calls
+ are guarded (num_bytes == 2 and num_bytes == 4, respectively) such
+ that only one of them will be called at runtime. */
+
+ Int i;
+ for (i = 2; i <= 4; ++i) {
+ IRDirty *d;
+
+ if (i == 3) continue; // skip this one
+
+ d = unsafeIRDirty_0_N(0 /* regparms */, "s390x_dirtyhelper_CUxy",
+ &s390x_dirtyhelper_CUxy,
+ mkIRExprVec_3(mkexpr(addr1), mkexpr(data),
+ mkexpr(num_bytes)));
+ d->guard = binop(Iop_CmpEQ64, mkexpr(num_bytes), mkU64(i));
+ d->mFx = Ifx_Write;
+ d->mAddr = mkexpr(addr1);
+ d->mSize = i;
+ stmt(IRStmt_Dirty(d));
+ }
+
+ /* Update source address and length */
+ put_gpr_dw0(r2, binop(Iop_Add64, mkexpr(addr2), mkU64(4)));
+ put_gpr_dw0(r2 + 1, binop(Iop_Sub64, mkexpr(len2), mkU64(4)));
+
+ /* Update destination address and length */
+ put_gpr_dw0(r1, binop(Iop_Add64, mkexpr(addr1), mkexpr(num_bytes)));
+ put_gpr_dw0(r1 + 1, binop(Iop_Sub64, mkexpr(len1), mkexpr(num_bytes)));
+
+ iterate();
+
+ return "cu42";
+}
+
/*------------------------------------------------------------*/
/*--- Build IR for special instructions ---*/
/*------------------------------------------------------------*/
@@ -12190,7 +12284,8 @@
ovl.fmt.RRF3.r1, ovl.fmt.RRF3.r2);
goto ok;
case 0xb9b2: /* CU41 */ goto unimplemented;
- case 0xb9b3: /* CU42 */ goto unimplemented;
+ case 0xb9b3: s390_format_RRE_RR(s390_irgen_CU42, ovl.fmt.RRE.r1,
+ ovl.fmt.RRE.r2); goto ok;
case 0xb9bd: /* TRTRE */ goto unimplemented;
case 0xb9be: /* SRSTU */ goto unimplemented;
case 0xb9bf: /* TRTE */ goto unimplemented;
Modified: trunk/priv/guest_s390_defs.h (+1 -0)
===================================================================
--- trunk/priv/guest_s390_defs.h 2012-07-27 21:55:01 +01:00 (rev 2451)
+++ trunk/priv/guest_s390_defs.h 2012-07-28 23:18:32 +01:00 (rev 2452)
@@ -83,6 +83,7 @@
ULong s390_do_cu21(UInt srcvalue, UInt low_surrogate);
ULong s390_do_cu24(UInt srcvalue, UInt low_surrogate);
+ULong s390_do_cu42(UInt srcvalue);
UInt s390_do_cvb(ULong decimal);
ULong s390_do_cvd(ULong binary);
|
|
From: <sv...@va...> - 2012-07-28 22:10:48
|
florian 2012-07-28 23:10:41 +0100 (Sat, 28 Jul 2012)
New Revision: 12803
Log:
Updates for s390x
Modified files:
trunk/docs/internals/release-HOWTO.txt
Modified: trunk/docs/internals/release-HOWTO.txt (+5 -0)
===================================================================
--- trunk/docs/internals/release-HOWTO.txt 2012-07-28 22:59:34 +01:00 (rev 12802)
+++ trunk/docs/internals/release-HOWTO.txt 2012-07-28 23:10:41 +01:00 (rev 12803)
@@ -83,6 +83,11 @@
* Run regression tests from gsl-1.6 on all platforms. This is a good,
thorough test of FP. Easy, using the scripts auxprogs/gsl16test.
+ * s390x: Run regression tests on a z900 machine. That is the oldest
+ supported model and there is no nightly build for it.
+
+ * s390x: Ensure README.s390 is up-to-date and URLs therein are not stale.
+
- Change release number in AC_INIT() in configure.in to "X.Y.Z-rcN", where
'N' is the release candidate number.
|
|
From: <sv...@va...> - 2012-07-28 21:59:41
|
florian 2012-07-28 22:59:34 +0100 (Sat, 28 Jul 2012)
New Revision: 12802
Log:
Minor tweaks. A few comments were out of synch with source.
Add another test.
Modified files:
trunk/memcheck/tests/s390x/cu21.c
trunk/memcheck/tests/s390x/cu21.stderr.exp
Modified: trunk/memcheck/tests/s390x/cu21.c (+10 -3)
===================================================================
--- trunk/memcheck/tests/s390x/cu21.c 2012-07-28 21:39:51 +01:00 (rev 12801)
+++ trunk/memcheck/tests/s390x/cu21.c 2012-07-28 22:59:34 +01:00 (rev 12802)
@@ -95,19 +95,26 @@
/* Read 2 bytes from input buffer. First byte is uninitialised */
input = malloc(10);
- input[0] = 0x0;
+ input[1] = 0x0;
do_cu21(malloc(4), 4, (void *)input, 2); // complaint
/* Read 2 bytes from input buffer. Second byte is uninitialised */
input = malloc(10);
- input[1] = 0x0;
+ input[0] = 0x0;
do_cu21(malloc(4), 4, (void *)input, 2); // complaint
- /* Read 2 bytes from input buffer. All bytes are uninitialised */
+ /* Read 2 bytes from input buffer. All bytes are initialised */
input = malloc(10);
input[0] = input[1] = 0x0;
do_cu21(malloc(4), 4, (void *)input, 2); // no complaint
+ /* Read 4 bytes from input buffer. This iterates once. In the 1st
+ iteration all input bytes are initialised in the 2nd iteration all
+ input bytes are uninitialised. */
+ input = malloc(10);
+ input[0] = input[1] = 0x0;
+ do_cu21(malloc(4), 4, (void *)input, 4); // complaint
+
/* Write to NULL */
// do_cu21(NULL, 10, pattern1, sizeof pattern1); // complaint
Modified: trunk/memcheck/tests/s390x/cu21.stderr.exp (+4 -0)
===================================================================
--- trunk/memcheck/tests/s390x/cu21.stderr.exp 2012-07-28 21:39:51 +01:00 (rev 12801)
+++ trunk/memcheck/tests/s390x/cu21.stderr.exp 2012-07-28 22:59:34 +01:00 (rev 12802)
@@ -59,3 +59,7 @@
at 0x........: do_cu21 (cu21.c:45)
by 0x........: main (cu21.c:104)
+Conditional jump or move depends on uninitialised value(s)
+ at 0x........: do_cu21 (cu21.c:45)
+ by 0x........: main (cu21.c:116)
+
|
|
From: <sv...@va...> - 2012-07-28 20:39:59
|
florian 2012-07-28 21:39:51 +0100 (Sat, 28 Jul 2012)
New Revision: 12801
Log:
Fix error message in testcase
Modified files:
trunk/none/tests/s390x/cu21.c
Modified: trunk/none/tests/s390x/cu21.c (+2 -1)
===================================================================
--- trunk/none/tests/s390x/cu21.c 2012-07-28 15:35:48 +01:00 (rev 12800)
+++ trunk/none/tests/s390x/cu21.c 2012-07-28 21:39:51 +01:00 (rev 12801)
@@ -254,7 +254,8 @@
for (i = num_expected_output_bytes; i < sizeof buff; ++i)
if (buff[i] != fill_byte) ++num_errors;
if (num_errors)
- fprintf(stderr, "*** wrote more than one byte\n");
+ fprintf(stderr, "*** wrote more than %u bytes\n",
+ num_expected_output_bytes);
}
void
|
|
From: Philippe W. <phi...@sk...> - 2012-07-28 16:06:17
|
Currently, tools which are replacing malloc (VG_(needs_malloc_replacement) can control the size of the redzone CLIENT arena, but this is all defined at compile time. Similarly, the redzone size for the core arenas (CORE, TOOL, DINFO, ...) is also defined at compile time. The attached patch implements two command line options: --client-redzone=<number> and --core-redzone=<number> The first clo can be used to either decrease the memory used by Valgrind or increase the protection or chance to discover heap overrun/underrun. The default behaviour is unchanged : if no clo is given, same as 3.7.0 (so, value of the tool provided redzone size is used). If --client-redzone is given, it overrides (at arena init) the default value provided by the tool. The decrease is particularly useful for applications doing a lot of small block allocations and using tools with a big redzone (such as helgrind or memcheck) while it is believed (e.g. as memcheck was already used) that no heap over/under-run occurs. The second option allows to (better) chase bugs inside Valgrind core and tools (by increasing the redzone size for the internal Valgrind arena), if ever it would be needed. One new test added to verify the clo has an effect on memcheck. Regression tested on x86 and amd64. Verified with --profile-heap=yes that mapped memory increases or decreases according to the clo option size. All tests also have run with --client-redzone=0 and 128 and with --core-redzone=128. A few tests are failing (for normal reasons) because the memory layout is changing Feedback welcome One question: I have currently limited the max value of the redzone to 128 bytes (similar to the assert on the tool received value). I am wondering if we should not allow more (e.g. up to a page of 4Kb ?) from the clo ? Philippe |
|
From: <sv...@va...> - 2012-07-28 14:35:55
|
bart 2012-07-28 15:35:48 +0100 (Sat, 28 Jul 2012)
New Revision: 12800
Log:
drd: Avoid that invoking pthread_cancel() from a program analyzed with DRD triggers a crash on Fedora 17
Modified files:
trunk/drd/drd_pthread_intercepts.c
Modified: trunk/drd/drd_pthread_intercepts.c (+23 -0)
===================================================================
--- trunk/drd/drd_pthread_intercepts.c 2012-07-28 15:32:03 +01:00 (rev 12799)
+++ trunk/drd/drd_pthread_intercepts.c 2012-07-28 15:35:48 +01:00 (rev 12800)
@@ -533,6 +533,28 @@
PTH_FUNCS(int, pthreadZudetach, pthread_detach_intercept,
(pthread_t thread), (thread));
+// Don't intercept pthread_cancel() because pthread_cancel_init() loads
+// libgcc.so. That library is loaded by calling _dl_open(). The function
+// dl_open_worker() looks up from which object the caller is calling in
+// GL(dn_ns)[]. Since the DRD intercepts are linked into vgpreload_drd-*.so
+// and since that object file is not loaded through glibc, glibc does not
+// have any information about that object. That results in the following
+// segmentation fault on at least Fedora 17 x86_64:
+// Process terminating with default action of signal 11 (SIGSEGV)
+// General Protection Fault
+// at 0x4006B75: _dl_map_object_from_fd (dl-load.c:1580)
+// by 0x4008312: _dl_map_object (dl-load.c:2355)
+// by 0x4012FFB: dl_open_worker (dl-open.c:226)
+// by 0x400ECB5: _dl_catch_error (dl-error.c:178)
+// by 0x4012B2B: _dl_open (dl-open.c:652)
+// by 0x5184511: do_dlopen (dl-libc.c:89)
+// by 0x400ECB5: _dl_catch_error (dl-error.c:178)
+// by 0x51845D1: __libc_dlopen_mode (dl-libc.c:48)
+// by 0x4E4A703: pthread_cancel_init (unwind-forcedunwind.c:53)
+// by 0x4E476F2: pthread_cancel (pthread_cancel.c:40)
+// by 0x4C2C050: pthread_cancel (drd_pthread_intercepts.c:547)
+// by 0x400B3A: main (bar_bad.c:83)
+#if 0
// NOTE: be careful to intercept only pthread_cancel() and not
// pthread_cancel_init() on Linux.
@@ -552,6 +574,7 @@
PTH_FUNCS(int, pthreadZucancel, pthread_cancel_intercept,
(pthread_t thread), (thread))
+#endif
static __always_inline
int pthread_once_intercept(pthread_once_t *once_control,
|
|
From: <sv...@va...> - 2012-07-28 14:32:12
|
bart 2012-07-28 15:32:03 +0100 (Sat, 28 Jul 2012)
New Revision: 12799
Log:
drd: Revert r12651 because it didn't change drd's behavior on any platform
Modified files:
trunk/drd/Makefile.am
Modified: trunk/drd/Makefile.am (+1 -2)
===================================================================
--- trunk/drd/Makefile.am 2012-07-28 14:06:45 +01:00 (rev 12798)
+++ trunk/drd/Makefile.am 2012-07-28 15:32:03 +01:00 (rev 12799)
@@ -135,8 +135,7 @@
vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CPPFLAGS = \
$(AM_CPPFLAGS_@VGCONF_PLATFORM_PRI_CAPS@)
vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_CFLAGS = \
- $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) $(AM_CFLAGS_PIC) $(DRD_CFLAGS) \
- -fexceptions
+ $(AM_CFLAGS_@VGCONF_PLATFORM_PRI_CAPS@) $(AM_CFLAGS_PIC) $(DRD_CFLAGS)
vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_DEPENDENCIES = \
$(LIBREPLACEMALLOC_@VGCONF_PLATFORM_PRI_CAPS@)
vgpreload_drd_@VGCONF_ARCH_PRI@_@VGCONF_OS@_so_LDFLAGS = \
|
|
From: Florian K. <br...@ac...> - 2012-07-28 14:09:23
|
On 07/28/2012 08:23 AM, sv...@va... wrote: > philippe 2012-07-28 13:23:48 +0100 (Sat, 28 Jul 2012) > > New Revision: 12796 > > Log: > clarify 2 NEWS entries to indicate that these are for tool developpers. > > (NB: I am wondering if these entries should be put in NEWS at all. > Is NEWS targetted at end users only ? > Or at "tool developper users also' ?) My understanding is: - developer only items should not go into NEWS (but many slip through, because they are often in bugzilla and then get recorded when the item is resolved) - fixes to the web page are not recorded in NEWS - bugzillas closed as invalid or wontfix are not recorded in NEWS Generally, NEWS is target at end users. That's at least what I think. Florian |
|
From: Florian K. <br...@ac...> - 2012-07-28 13:52:37
|
On 07/28/2012 06:49 AM, Philippe Waroquiers wrote:
> + else if VG_XACT_CLO(arg, "--vgdb=full", VG_(clo_vgdb), Vg_VgdbFull) {
> + /* automatically sets register values to exact with --vgdb=full */
Now that "exact" is gone:
automatically updates registers at each insn with --vgdb=full
> + VG_(clo_vex_control).iropt_register_updates = 2;
> + }
2 -> VexAllregsAtEachInsn
Otherwise looks good to me.
Florian
|
|
From: <sv...@va...> - 2012-07-28 13:06:51
|
bart 2012-07-28 14:06:45 +0100 (Sat, 28 Jul 2012)
New Revision: 12798
Log:
Spelling fixes: developpers -> developers; curiosly -> curiously
Modified files:
trunk/NEWS
trunk/gdbserver_tests/README_DEVELOPERS
Modified: trunk/NEWS (+3 -3)
===================================================================
--- trunk/NEWS 2012-07-28 14:05:32 +01:00 (rev 12797)
+++ trunk/NEWS 2012-07-28 14:06:45 +01:00 (rev 12798)
@@ -64,7 +64,7 @@
* The C++ demangler has been updated so as to work well with C++
compiled by up to at least g++ 4.6.
-* Tool developpers can make replacement/wrapping more flexible thanks
+* Tool developers can make replacement/wrapping more flexible thanks
to the new option --soname-synonyms.
* The new option --fair-sched allows to control the locking mechanism
@@ -72,7 +72,7 @@
and scheduling of multithreaded applications (in particular
on multiprocessor/multicore systems).
-* For tool developpers: support to run Valgrind on Valgrind has been improved.
+* For tool developers: support to run Valgrind on Valgrind has been improved.
* gdbserver now shows the float shadow registers as integer
rather than float values, as the shadow values are mostly
@@ -3415,7 +3415,7 @@
change is improved SSE/SSE2 support, mostly thanks to Dirk Mueller.
20031012 builds on Red Hat Fedora ("Severn") but doesn't really work
-(curiosly, mozilla runs OK, but a modest "ls -l" bombs). I hope to
+(curiously, mozilla runs OK, but a modest "ls -l" bombs). I hope to
get a working version out soon. It may or may not work ok on the
forthcoming SuSE 9; I hear positive noises about it but haven't been
able to verify this myself (not until I get hold of a copy of 9).
Modified: trunk/gdbserver_tests/README_DEVELOPERS (+1 -1)
===================================================================
--- trunk/gdbserver_tests/README_DEVELOPERS 2012-07-28 14:05:32 +01:00 (rev 12797)
+++ trunk/gdbserver_tests/README_DEVELOPERS 2012-07-28 14:06:45 +01:00 (rev 12798)
@@ -102,7 +102,7 @@
V: use the 'vg_regtest' approach used by the rest of Valgrind tests
G: use the gdb Dejagnu test framework.
-Advantages of V: much simpler that G, known by Valgrind developpers,
+Advantages of V: much simpler that G, known by Valgrind developers,
no additional dependency for the Valgrind build and test.
Disadvantages of V: not well suited to testing of interactive tools,
|
|
From: <sv...@va...> - 2012-07-28 13:05:42
|
bart 2012-07-28 14:05:32 +0100 (Sat, 28 Jul 2012)
New Revision: 12797
Log:
Update Subversion ignore list
Modified directories:
trunk/none/tests/amd64/
Modified: trunk/none/tests/amd64/
Property changed: trunk/none/tests/amd64 (+0 -0)
___________________________________________________________________
Name: svn:ignore
- *.dSYM
*.stderr.diff
*.stderr.out
*.stdout.diff
*.stdout.out
.deps
aes
allexec
amd64locked
asorep
avx-1
bug127521-64
bug132813-amd64
bug132918
bug137714-amd64
bug156404-amd64
clc
cmpxchg
crc32
faultstatus
fcmovnu
fxtract
insn_basic
insn_basic.c
insn_fpu
insn_fpu.c
insn_mmx
insn_mmx.c
insn_pclmulqdq
insn_pclmulqdq.c
insn_sse
insn_sse.c
insn_sse2
insn_sse2.c
insn_sse3
insn_sse3.c
insn_ssse3
insn_ssse3.c
jrcxz
looper
loopnel
lzcnt64
Makefile
Makefile.in
nan80and64
nibz_bennee_mmap
pcmpstr64
pcmpstr64w
pcmpxstrx64
pcmpxstrx64w
rcl-amd64
redundantRexW
sbbmisc
shrld
slahf-amd64
smc1
sse4-64
ssse3_misaligned
xadd
+ *.dSYM
*.stderr.diff
*.stderr.out
*.stdout.diff
*.stdout.out
.deps
aes
allexec
amd64locked
asorep
avx-1
bug127521-64
bug132813-amd64
bug132918
bug137714-amd64
bug156404-amd64
clc
cmpxchg
crc32
faultstatus
fcmovnu
fxtract
insn_basic
insn_basic.c
insn_fpu
insn_fpu.c
insn_mmx
insn_mmx.c
insn_pclmulqdq
insn_pclmulqdq.c
insn_sse
insn_sse.c
insn_sse2
insn_sse2.c
insn_sse3
insn_sse3.c
insn_ssse3
insn_ssse3.c
jrcxz
looper
loopnel
lzcnt64
Makefile
Makefile.in
movbe
nan80and64
nibz_bennee_mmap
pcmpstr64
pcmpstr64w
pcmpxstrx64
pcmpxstrx64w
rcl-amd64
redundantRexW
sbbmisc
shrld
slahf-amd64
smc1
sse4-64
ssse3_misaligned
xadd
|
|
From: <sv...@va...> - 2012-07-28 12:23:56
|
philippe 2012-07-28 13:23:48 +0100 (Sat, 28 Jul 2012)
New Revision: 12796
Log:
clarify 2 NEWS entries to indicate that these are for tool developpers.
(NB: I am wondering if these entries should be put in NEWS at all.
Is NEWS targetted at end users only ?
Or at "tool developper users also' ?)
Modified files:
trunk/NEWS
Modified: trunk/NEWS (+3 -3)
===================================================================
--- trunk/NEWS 2012-07-28 12:13:47 +01:00 (rev 12795)
+++ trunk/NEWS 2012-07-28 13:23:48 +01:00 (rev 12796)
@@ -64,15 +64,15 @@
* The C++ demangler has been updated so as to work well with C++
compiled by up to at least g++ 4.6.
-* Replacement/wrapping can be made more flexible thanks to the new option
- --soname-synonyms.
+* Tool developpers can make replacement/wrapping more flexible thanks
+ to the new option --soname-synonyms.
* The new option --fair-sched allows to control the locking mechanism
used by Valgrind. The locking mechanism influences the performance
and scheduling of multithreaded applications (in particular
on multiprocessor/multicore systems).
-* Support to run Valgrind on Valgrind has been improved.
+* For tool developpers: support to run Valgrind on Valgrind has been improved.
* gdbserver now shows the float shadow registers as integer
rather than float values, as the shadow values are mostly
|
|
From: <sv...@va...> - 2012-07-28 11:13:56
|
bart 2012-07-28 12:13:47 +0100 (Sat, 28 Jul 2012)
New Revision: 12795
Log:
none/tests/amd64/Makefile.am: Uses not only AVX instructions but PCLMULQDQ too
Modified files:
trunk/none/tests/amd64/Makefile.am
Modified: trunk/none/tests/amd64/Makefile.am (+2 -0)
===================================================================
--- trunk/none/tests/amd64/Makefile.am 2012-07-27 23:35:35 +01:00 (rev 12794)
+++ trunk/none/tests/amd64/Makefile.am 2012-07-28 12:13:47 +01:00 (rev 12795)
@@ -105,8 +105,10 @@
pcmpstr64w pcmpxstrx64w
endif
if BUILD_AVX_TESTS
+if BUILD_PCLMULQDQ_TESTS
check_PROGRAMS += avx-1
endif
+endif
if BUILD_MOVBE_TESTS
check_PROGRAMS += movbe
endif
|
|
From: Philippe W. <phi...@sk...> - 2012-07-28 10:48:54
|
On Fri, 2012-07-27 at 22:26 -0400, Florian Krohm wrote:
> minimal -> at-endof-sb
> atmemaccess -> at-mem-access
> exact -> at-insn
A discussion with Julian converged to:
--vex-iropt-register-updates=unwindregs-at-mem-access
|allregs-at-mem-access
|allregs-at-each-insn [unwindregs-at-mem-access]
> Can we please use symbolic names instead of magic constants 0,1,2 ?
Good idea => enum defined in libvex.h
New patch attached.
Thanks
Philippe
|
|
From: Rich C. <rc...@wi...> - 2012-07-28 04:49:19
|
valgrind revision: 12794 VEX revision: 2451 C compiler: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) Assembler: C library: unknown uname -mrs: Darwin 10.8.0 i386 Vendor version: unknown Nightly build on macx86 ( Darwin 10.8.0 i386 ) Started at 2012-07-27 23:35:00 CDT Ended at 2012-07-27 23:49:10 CDT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... failed Last 20 lines of verbose log follow echo dsymutil $f; \ fi; \ done mkdir -p ../.in_place; \ for f in ; do \ rm -f ../.in_place/$f.dSYM; \ ln -f -s ../none/$f.dSYM ../.in_place; \ done Making check in tests Making check in . make ansi args async-sigs bitfield1 bug129866 closeall coolo_strlen discard exec-sigmask execve faultstatus fcntl_setown fdleak_cmsg fdleak_creat fdleak_dup fdleak_dup2 fdleak_fcntl fdleak_ipv4 fdleak_open fdleak_pipe fdleak_socketpair floored fork fucomip mmap_fcntl_bug munmap_exe map_unaligned map_unmap mq nestedfns pending procfs-cmdline-exe pth_atfork1 pth_blockedsig pth_cancel1 pth_cancel2 pth_cvsimple pth_empty pth_exit pth_exit2 pth_mutexspeed pth_once pth_rwlock pth_stackalign rcrl readline1 require-text-symbol res_search resolv rlimit_nofile selfrun sem semlimit sha1_test shortpush shorts stackgrowth sigstackgrowth syscall-restart1 syscall-restart2 syslog system threaded-fork threadederrno timestamp tls tls.so tls2.so valgrind_cpp_test vgprintf coolo_sigaction gxx304 process_vm_readv_writev manythreads thread-exits gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -ansi -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT ansi-ansi.o -MD -MP -MF .deps/ansi-ansi.Tpo -c -o ansi-ansi.o `test -f 'ansi.c' || echo './'`ansi.c mv -f .deps/ansi-ansi.Tpo .deps/ansi-ansi.Po gcc -Winline -Wall -Wshadow -g -arch i386 -ansi -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o ansi ansi-ansi.o gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT args.o -MD -MP -MF .deps/args.Tpo -c -o args.o args.c make[4]: *** [check-am] Killed make[3]: *** [check-recursive] Error 1 make[2]: *** [check-recursive] Error 1 make[1]: *** [check-recursive] Error 1 make: *** [check] Error 2 ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... failed Last 20 lines of verbose log follow echo mv -f .deps/map_unaligned.Tpo .deps/map_unaligned.Po gcc -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o map_unaligned map_unaligned.o gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT map_unmap.o -MD -MP -MF .deps/map_unmap.Tpo -c -o map_unmap.o map_unmap.c mv -f .deps/map_unmap.Tpo .deps/map_unmap.Po gcc -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o map_unmap map_unmap.o gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT mq.o -MD -MP -MF .deps/mq.Tpo -c -o mq.o mq.c mv -f .deps/mq.Tpo .deps/mq.Po gcc -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o mq mq.o gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -fnested-functions -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT nestedfns-nestedfns.o -MD -MP -MF .deps/nestedfns-nestedfns.Tpo -c -o nestedfns-nestedfns.o `test -f 'nestedfns.c' || echo './'`nestedfns.c mv -f .deps/nestedfns-nestedfns.Tpo .deps/nestedfns-nestedfns.Po gcc -Winline -Wall -Wshadow -g -arch i386 -fnested-functions -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o nestedfns nestedfns-nestedfns.o gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT pending.o -MD -MP -MF .deps/pending.Tpo -c -o pending.o pending.c mv -f .deps/pending.Tpo .deps/pending.Po gcc -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o pending pending.o gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT procfs-cmdline-exe.o -MD -MP -MF .deps/procfs-cmdline-exe.Tpo -c -o procfs-cmdline-exe.o procfs-cmdline-exe.c make[4]: *** [check-am] Killed make[3]: *** [check-recursive] Error 1 make[2]: *** [check-recursive] Error 1 make[1]: *** [check-recursive] Error 1 make: *** [check] Error 2 ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Fri Jul 27 23:43:39 2012 --- new.short Fri Jul 27 23:49:10 2012 *************** *** 6,22 **** Last 20 lines of verbose log follow echo ! mv -f .deps/map_unaligned.Tpo .deps/map_unaligned.Po ! gcc -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o map_unaligned map_unaligned.o ! gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT map_unmap.o -MD -MP -MF .deps/map_unmap.Tpo -c -o map_unmap.o map_unmap.c ! mv -f .deps/map_unmap.Tpo .deps/map_unmap.Po ! gcc -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o map_unmap map_unmap.o ! gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT mq.o -MD -MP -MF .deps/mq.Tpo -c -o mq.o mq.c ! mv -f .deps/mq.Tpo .deps/mq.Po ! gcc -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o mq mq.o ! gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -fnested-functions -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT nestedfns-nestedfns.o -MD -MP -MF .deps/nestedfns-nestedfns.Tpo -c -o nestedfns-nestedfns.o `test -f 'nestedfns.c' || echo './'`nestedfns.c ! mv -f .deps/nestedfns-nestedfns.Tpo .deps/nestedfns-nestedfns.Po ! gcc -Winline -Wall -Wshadow -g -arch i386 -fnested-functions -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o nestedfns nestedfns-nestedfns.o ! gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT pending.o -MD -MP -MF .deps/pending.Tpo -c -o pending.o pending.c ! mv -f .deps/pending.Tpo .deps/pending.Po ! gcc -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o pending pending.o ! gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT procfs-cmdline-exe.o -MD -MP -MF .deps/procfs-cmdline-exe.Tpo -c -o procfs-cmdline-exe.o procfs-cmdline-exe.c make[4]: *** [check-am] Killed --- 6,22 ---- Last 20 lines of verbose log follow echo ! dsymutil $f; \ ! fi; \ ! done ! mkdir -p ../.in_place; \ ! for f in ; do \ ! rm -f ../.in_place/$f.dSYM; \ ! ln -f -s ../none/$f.dSYM ../.in_place; \ ! done ! Making check in tests ! Making check in . ! make ansi args async-sigs bitfield1 bug129866 closeall coolo_strlen discard exec-sigmask execve faultstatus fcntl_setown fdleak_cmsg fdleak_creat fdleak_dup fdleak_dup2 fdleak_fcntl fdleak_ipv4 fdleak_open fdleak_pipe fdleak_socketpair floored fork fucomip mmap_fcntl_bug munmap_exe map_unaligned map_unmap mq nestedfns pending procfs-cmdline-exe pth_atfork1 pth_blockedsig pth_cancel1 pth_cancel2 pth_cvsimple pth_empty pth_exit pth_exit2 pth_mutexspeed pth_once pth_rwlock pth_stackalign rcrl readline1 require-text-symbol res_search resolv rlimit_nofile selfrun sem semlimit sha1_test shortpush shorts stackgrowth sigstackgrowth syscall-restart1 syscall-restart2 syslog system threaded-fork threadederrno timestamp tls tls.so tls2.so valgrind_cpp_test vgprintf coolo_sigaction gxx304 process_vm_readv_writev manythreads thread-exits ! gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -ansi -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT ansi-ansi.o -MD -MP -MF .deps/ansi-ansi.Tpo -c -o ansi-ansi.o `test -f 'ansi.c' || echo './'`ansi.c ! mv -f .deps/ansi-ansi.Tpo .deps/ansi-ansi.Po ! gcc -Winline -Wall -Wshadow -g -arch i386 -ansi -Wno-long-long -Wno-pointer-sign -fno-stack-protector -o ansi ansi-ansi.o ! gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../include -I../../coregrind -I../../include -I../../VEX/pub -DVGA_x86=1 -DVGO_darwin=1 -DVGP_x86_darwin=1 -DVGPV_x86_darwin_vanilla=1 -Winline -Wall -Wshadow -g -arch i386 -Wno-long-long -Wno-pointer-sign -fno-stack-protector -MT args.o -MD -MP -MF .deps/args.Tpo -c -o args.o args.c make[4]: *** [check-am] Killed Congratulations, all tests passed! |
|
From: Philippe W. <phi...@sk...> - 2012-07-28 03:49:00
|
valgrind revision: 12794 VEX revision: 2451 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) Assembler: GNU assembler version 2.21.53.0.1-6.fc16 20110716 C library: GNU C Library development release version 2.14.90 uname -mrs: Linux 3.3.1-3.fc16.ppc64 ppc64 Vendor version: Fedora release 16 (Verne) Nightly build on gcc110 ( Fedora release 16 (Verne), ppc64 ) Started at 2012-07-27 20:00:19 PDT Ended at 2012-07-27 20:47:44 PDT 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 == 528 tests, 6 stderr failures, 2 stdout failures, 1 stderrB failure, 1 stdoutB failure, 2 post failures == gdbserver_tests/mcmain_pic (stdout) gdbserver_tests/mcmain_pic (stderr) gdbserver_tests/mcmain_pic (stdoutB) gdbserver_tests/mcmain_pic (stderrB) memcheck/tests/supp_unknown (stderr) memcheck/tests/varinfo6 (stderr) memcheck/tests/wrap8 (stdout) memcheck/tests/wrap8 (stderr) massif/tests/big-alloc (post) massif/tests/deep-D (post) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) |
|
From: Tom H. <to...@co...> - 2012-07-28 03:03:28
|
valgrind revision: 12794 VEX revision: 2451 C compiler: gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2) Assembler: GNU assembler version 2.19.51.0.14-3.fc11 20090722 C library: GNU C Library stable release version 2.10.2 uname -mrs: Linux 3.4.0-1.fc17.x86_64 x86_64 Vendor version: Fedora release 11 (Leonidas) Nightly build on bristol ( x86_64, Fedora 11 ) Started at 2012-07-28 03:31:52 BST Ended at 2012-07-28 04:03:12 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 605 tests, 2 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) memcheck/tests/long_namespace_xml (stderr) none/tests/amd64/sse4-64 (stdout) |
|
From: Rich C. <rc...@wi...> - 2012-07-28 02:59:14
|
valgrind revision: 12794
VEX revision: 2451
C compiler: gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]
Assembler: GNU assembler (GNU Binutils; openSUSE 11.4) 2.21
C library: GNU C Library stable release version 2.11.3 (20110203)
uname -mrs: Linux 2.6.37.6-0.7-desktop x86_64
Vendor version: Welcome to openSUSE 11.4 "Celadon" - Kernel %r (%t).
Nightly build on ultra ( gcc 4.5.1 Linux 2.6.37.6-0.7-desktop x86_64 )
Started at 2012-07-27 21:30:01 CDT
Ended at 2012-07-27 21:59:01 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
== 613 tests, 2 stderr failures, 0 stdout failures, 6 stderrB failures, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mcbreak (stderrB)
gdbserver_tests/mcclean_after_fork (stderrB)
gdbserver_tests/mcleak (stderrB)
gdbserver_tests/mcmain_pic (stderrB)
gdbserver_tests/mcvabits (stderrB)
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/linux/timerfd-syscall (stderr)
memcheck/tests/origin5-bz2 (stderr)
=================================================
./valgrind-new/gdbserver_tests/mcbreak.stderrB.diff
=================================================
--- mcbreak.stderrB.exp 2012-07-27 21:46:48.549636160 -0500
+++ mcbreak.stderrB.out 2012-07-27 21:50:11.055064846 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
vgdb-error value changed from 999999 to 0
n_errs_found 1 n_errs_shown 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 2012-07-27 21:46:48.549636160 -0500
+++ mcclean_after_fork.stderrB.out 2012-07-27 21:50:12.755261551 -0500
@@ -1,4 +1,6 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-new/gdbserver_tests/mcleak.stderrB.diff
=================================================
--- mcleak.stderrB.exp 2012-07-27 21:46:48.546635812 -0500
+++ mcleak.stderrB.out 2012-07-27 21:50:31.479427843 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
10 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
=================================================
./valgrind-new/gdbserver_tests/mcmain_pic.stderrB.diff
=================================================
--- mcmain_pic.stderrB.exp 2012-07-27 21:46:48.552636505 -0500
+++ mcmain_pic.stderrB.out 2012-07-27 21:50:33.080613093 -0500
@@ -1,3 +1,5 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
Remote connection closed
=================================================
./valgrind-new/gdbserver_tests/mcvabits.stderrB.diff
=================================================
--- mcvabits.stderrB.exp 2012-07-27 21:46:48.553636621 -0500
+++ mcvabits.stderrB.out 2012-07-27 21:50:38.005182843 -0500
@@ -1,5 +1,7 @@
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
=================================================
./valgrind-new/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2012-07-27 21:46:48.552636505 -0500
+++ mssnapshot.stderrB.out 2012-07-27 21:50:41.154547208 -0500
@@ -1,5 +1,9 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=92ec8fe859846a62345f74696ab349721415587a"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-new/memcheck/tests/linux/timerfd-syscall.stderr.diff
=================================================
--- timerfd-syscall.stderr.exp 2012-07-27 21:46:51.398965807 -0500
+++ timerfd-syscall.stderr.out 2012-07-27 21:51:45.191956050 -0500
@@ -33,7 +33,7 @@
got timer ticks (1) after 0.5 s
absolute timer test (at 500 ms) ...
waiting timer ...
-got timer ticks (1) after 0.5 s
+got timer ticks (1) after 0.0 s
sequential timer test (100 ms clock) ...
sleeping one second ...
timerfd_gettime returned:
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2012-07-27 21:46:59.810939016 -0500
+++ origin5-bz2.stderr.out 2012-07-27 21:52:00.601738897 -0500
@@ -75,17 +75,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)
@@ -131,6 +120,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-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2012-07-27 21:46:59.793937049 -0500
+++ origin5-bz2.stderr.out 2012-07-27 21:52:00.601738897 -0500
@@ -120,6 +120,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 2012-07-27 21:46:59.736930454 -0500
+++ origin5-bz2.stderr.out 2012-07-27 21:52:00.601738897 -0500
@@ -120,6 +120,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 2012-07-27 21:46:59.766933926 -0500
+++ origin5-bz2.stderr.out 2012-07-27 21:52:00.601738897 -0500
@@ -12,7 +12,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........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -21,7 +21,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........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -30,7 +30,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........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -41,7 +41,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........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -52,7 +52,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........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -63,7 +63,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........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -74,7 +74,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........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -85,7 +85,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........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -96,7 +96,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)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -107,7 +107,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:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -120,6 +120,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:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2012-07-27 21:46:59.780935545 -0500
+++ origin5-bz2.stderr.out 2012-07-27 21:52:00.601738897 -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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -10,7 +10,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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -19,7 +19,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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -28,7 +28,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)
@@ -39,7 +39,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)
@@ -50,7 +50,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)
@@ -61,7 +61,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)
@@ -72,7 +72,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)
@@ -83,7 +83,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)
@@ -94,7 +94,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)
@@ -105,7 +105,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-old/gdbserver_tests/mcbreak.stderrB.diff
=================================================
--- mcbreak.stderrB.exp 2012-07-27 21:31:13.654461990 -0500
+++ mcbreak.stderrB.out 2012-07-27 21:37:31.927240150 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
vgdb-error value changed from 999999 to 0
n_errs_found 1 n_errs_shown 1 (vgdb-error 0)
vgdb-error value changed from 0 to 0
=================================================
./valgrind-old/gdbserver_tests/mcclean_after_fork.stderrB.diff
=================================================
--- mcclean_after_fork.stderrB.exp 2012-07-27 21:31:13.654461990 -0500
+++ mcclean_after_fork.stderrB.out 2012-07-27 21:37:33.618435802 -0500
@@ -1,4 +1,6 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-old/gdbserver_tests/mcleak.stderrB.diff
=================================================
--- mcleak.stderrB.exp 2012-07-27 21:31:13.651461642 -0500
+++ mcleak.stderrB.out 2012-07-27 21:37:53.008679020 -0500
@@ -1,5 +1,7 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
10 bytes in 1 blocks are still reachable in loss record ... of ...
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: f (leak-delta.c:14)
=================================================
./valgrind-old/gdbserver_tests/mcmain_pic.stderrB.diff
=================================================
--- mcmain_pic.stderrB.exp 2012-07-27 21:31:13.657462337 -0500
+++ mcmain_pic.stderrB.out 2012-07-27 21:37:54.602863450 -0500
@@ -1,3 +1,5 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
Remote connection closed
=================================================
./valgrind-old/gdbserver_tests/mcvabits.stderrB.diff
=================================================
--- mcvabits.stderrB.exp 2012-07-27 21:31:13.659462568 -0500
+++ mcvabits.stderrB.out 2012-07-27 21:37:59.530433511 -0500
@@ -1,5 +1,7 @@
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
=================================================
./valgrind-old/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2012-07-27 21:31:13.657462337 -0500
+++ mssnapshot.stderrB.out 2012-07-27 21:38:02.680797972 -0500
@@ -1,5 +1,9 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
+
+
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=92ec8fe859846a62345f74696ab349721415587a"
general valgrind monitor commands:
help [debug] : monitor command help. With debug: + debugging commands
v.wait [<ms>] : sleep <ms> (default 0) then continue
=================================================
./valgrind-old/memcheck/tests/linux/timerfd-syscall.stderr.diff
=================================================
--- timerfd-syscall.stderr.exp 2012-07-27 21:31:54.871232952 -0500
+++ timerfd-syscall.stderr.out 2012-07-27 21:39:08.329392765 -0500
@@ -33,7 +33,7 @@
got timer ticks (1) after 0.5 s
absolute timer test (at 500 ms) ...
waiting timer ...
-got timer ticks (1) after 0.5 s
+got timer ticks (1) after 0.0 s
sequential timer test (100 ms clock) ...
sleeping one second ...
timerfd_gettime returned:
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2012-07-27 21:32:47.255296547 -0500
+++ origin5-bz2.stderr.out 2012-07-27 21:39:23.440140912 -0500
@@ -75,17 +75,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)
@@ -131,6 +120,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-old/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2012-07-27 21:32:47.238294578 -0500
+++ origin5-bz2.stderr.out 2012-07-27 21:39:23.440140912 -0500
@@ -120,6 +120,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-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2012-07-27 21:32:47.183288211 -0500
+++ origin5-bz2.stderr.out 2012-07-27 21:39:23.440140912 -0500
@@ -120,6 +120,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-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2012-07-27 21:32:47.212291568 -0500
+++ origin5-bz2.stderr.out 2012-07-27 21:39:23.440140912 -0500
@@ -12,7 +12,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........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -21,7 +21,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........: copy_input_until_stop (origin5-bz2.c:4686)
by 0x........: handle_compress (origin5-bz2.c:4750)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -30,7 +30,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........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -41,7 +41,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........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -52,7 +52,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........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -63,7 +63,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........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -74,7 +74,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........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -85,7 +85,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........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -96,7 +96,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)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -107,7 +107,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:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -120,6 +120,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:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2012-07-27 21:32:47.225293073 -0500
+++ origin5-bz2.stderr.out 2012-07-27 21:39:23.440140912 -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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -10,7 +10,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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -19,7 +19,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........: copy_input_until_stop (origin5-bz2.c:4686)
@@ -28,7 +28,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)
@@ -39,7 +39,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)
@@ -50,7 +50,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)
@@ -61,7 +61,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)
@@ -72,7 +72,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)
@@ -83,7 +83,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)
@@ -94,7 +94,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)
@@ -105,7 +105,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>
|
|
From: <br...@ac...> - 2012-07-28 02:57:47
|
valgrind revision: 12794
VEX revision: 2451
C compiler: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
Assembler: GNU assembler 2.15.92.0.2 20040927
C library: GNU C Library stable release version 2.3.4
uname -mrs: Linux 2.6.9-42.EL s390x
Vendor version: Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Nightly build on z10-ec ( s390x build on z10-EC )
Started at 2012-07-27 22:20:06 EDT
Ended at 2012-07-27 22:57:17 EDT
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
== 515 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/manuel3 (stderr)
memcheck/tests/partial_load_ok (stderr)
memcheck/tests/varinfo6 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2012-07-27 22:39:54.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-07-27 22:52:45.000000000 -0400
@@ -42,14 +42,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:49)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
-
---------------------
----------------------------------------------------------------
@@ -110,16 +102,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-----------------------------------------------------------------
-
Thread #x: Exiting thread still holds 1 lock
...
-ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2012-07-27 22:39:54.000000000 -0400
+++ tc18_semabuse.stderr.out 2012-07-27 22:52:53.000000000 -0400
@@ -18,13 +18,5 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc18_semabuse.c:37)
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2012-07-27 22:39:54.000000000 -0400
+++ tc20_verifywrap.stderr.out 2012-07-27 22:53:03.000000000 -0400
@@ -1,7 +1,7 @@
------- This is output for >= glibc 2.4 ------
+------ This is output for < glibc 2.4 ------
---------------- pthread_create/join ----------------
@@ -45,13 +45,6 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:92)
-
-----------------------------------------------------------------
-
Thread #x: pthread_mutex_destroy of a locked mutex
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -63,26 +56,8 @@
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:108)
-
-----------------------------------------------------------------
-Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:116)
-
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:121)
+make pthread_mutex_lock fail: skipped on glibc < 2.4
----------------------------------------------------------------
@@ -90,13 +65,6 @@
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:125)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:125)
-
---------------- pthread_cond_wait et al ----------------
@@ -215,14 +183,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:242)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:245)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -235,4 +195,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 17 errors from 17 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/manuel3.stderr.diff
=================================================
--- manuel3.stderr.exp 2012-07-27 22:40:15.000000000 -0400
+++ manuel3.stderr.out 2012-07-27 22:47:35.000000000 -0400
@@ -1,4 +1,3 @@
Conditional jump or move depends on uninitialised value(s)
- at 0x........: gcc_cant_inline_me (manuel3.c:22)
- by 0x........: main (manuel3.c:14)
+ at 0x........: main (manuel3.c:12)
=================================================
./valgrind-new/memcheck/tests/partial_load_ok.stderr.diff
=================================================
--- partial_load_ok.stderr.exp 2012-07-27 22:40:15.000000000 -0400
+++ partial_load_ok.stderr.out 2012-07-27 22:48:06.000000000 -0400
@@ -1,7 +1,13 @@
-Invalid read of size 4
+Invalid read of size 1
+ at 0x........: main (partial_load.c:16)
+ Address 0x........ is 0 bytes after a block of size 7 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (partial_load.c:14)
+
+Invalid read of size 8
at 0x........: main (partial_load.c:23)
- Address 0x........ is 1 bytes inside a block of size 4 alloc'd
+ Address 0x........ is 1 bytes inside a block of size 8 alloc'd
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:20)
@@ -11,9 +17,9 @@
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:28)
-Invalid read of size 4
+Invalid read of size 8
at 0x........: main (partial_load.c:37)
- Address 0x........ is 0 bytes inside a block of size 4 free'd
+ Address 0x........ is 0 bytes inside a block of size 8 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:36)
@@ -25,4 +31,4 @@
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/partial_load_ok.stderr.diff64
=================================================
--- partial_load_ok.stderr.exp64 2012-07-27 22:40:15.000000000 -0400
+++ partial_load_ok.stderr.out 2012-07-27 22:48:06.000000000 -0400
@@ -1,4 +1,10 @@
+Invalid read of size 1
+ at 0x........: main (partial_load.c:16)
+ Address 0x........ is 0 bytes after a block of size 7 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (partial_load.c:14)
+
Invalid read of size 8
at 0x........: main (partial_load.c:23)
Address 0x........ is 1 bytes inside a block of size 8 alloc'd
@@ -25,4 +31,4 @@
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff
=================================================
--- varinfo6.stderr.exp 2012-07-27 22:40:15.000000000 -0400
+++ varinfo6.stderr.out 2012-07-27 22:49:06.000000000 -0400
@@ -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 2012-07-27 22:40:15.000000000 -0400
+++ varinfo6.stderr.out 2012-07-27 22:49:06.000000000 -0400
@@ -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-old/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2012-07-27 22:20:31.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2012-07-27 22:34:21.000000000 -0400
@@ -42,14 +42,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:49)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
-
---------------------
----------------------------------------------------------------
@@ -110,16 +102,8 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-----------------------------------------------------------------
-
Thread #x: Exiting thread still holds 1 lock
...
-ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 9 errors from 9 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2012-07-27 22:20:31.000000000 -0400
+++ tc18_semabuse.stderr.out 2012-07-27 22:34:29.000000000 -0400
@@ -18,13 +18,5 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc18_semabuse.c:34)
-----------------------------------------------------------------
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc18_semabuse.c:37)
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc20_verifywrap.stderr.diff
=================================================
--- tc20_verifywrap.stderr.exp 2012-07-27 22:20:31.000000000 -0400
+++ tc20_verifywrap.stderr.out 2012-07-27 22:34:39.000000000 -0400
@@ -1,7 +1,7 @@
------- This is output for >= glibc 2.4 ------
+------ This is output for < glibc 2.4 ------
---------------- pthread_create/join ----------------
@@ -45,13 +45,6 @@
----------------------------------------------------------------
-Thread #x's call to pthread_mutex_init failed
- with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:92)
-
-----------------------------------------------------------------
-
Thread #x: pthread_mutex_destroy of a locked mutex
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
@@ -63,26 +56,8 @@
at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:102)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_lock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:108)
-
-----------------------------------------------------------------
-Thread #x's call to pthread_mutex_trylock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:116)
-
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_timedlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:121)
+make pthread_mutex_lock fail: skipped on glibc < 2.4
----------------------------------------------------------------
@@ -90,13 +65,6 @@
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:125)
-----------------------------------------------------------------
-
-Thread #x's call to pthread_mutex_unlock failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:125)
-
---------------- pthread_cond_wait et al ----------------
@@ -215,14 +183,6 @@
by 0x........: sem_wait (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:242)
-----------------------------------------------------------------
-
-Thread #x's call to sem_post failed
- with error code 22 (EINVAL: Invalid argument)
- at 0x........: sem_post_WRK (hg_intercepts.c:...)
- by 0x........: sem_post (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:245)
-
FIXME: can't figure out how to verify wrap of sem_post
@@ -235,4 +195,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 17 errors from 17 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/memcheck/tests/manuel3.stderr.diff
=================================================
--- manuel3.stderr.exp 2012-07-27 22:21:03.000000000 -0400
+++ manuel3.stderr.out 2012-07-27 22:29:09.000000000 -0400
@@ -1,4 +1,3 @@
Conditional jump or move depends on uninitialised value(s)
- at 0x........: gcc_cant_inline_me (manuel3.c:22)
- by 0x........: main (manuel3.c:14)
+ at 0x........: main (manuel3.c:12)
=================================================
./valgrind-old/memcheck/tests/partial_load_ok.stderr.diff
=================================================
--- partial_load_ok.stderr.exp 2012-07-27 22:21:03.000000000 -0400
+++ partial_load_ok.stderr.out 2012-07-27 22:29:41.000000000 -0400
@@ -1,7 +1,13 @@
-Invalid read of size 4
+Invalid read of size 1
+ at 0x........: main (partial_load.c:16)
+ Address 0x........ is 0 bytes after a block of size 7 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (partial_load.c:14)
+
+Invalid read of size 8
at 0x........: main (partial_load.c:23)
- Address 0x........ is 1 bytes inside a block of size 4 alloc'd
+ Address 0x........ is 1 bytes inside a block of size 8 alloc'd
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:20)
@@ -11,9 +17,9 @@
at 0x........: calloc (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:28)
-Invalid read of size 4
+Invalid read of size 8
at 0x........: main (partial_load.c:37)
- Address 0x........ is 0 bytes inside a block of size 4 free'd
+ Address 0x........ is 0 bytes inside a block of size 8 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (partial_load.c:36)
@@ -25,4 +31,4 @@
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/memcheck/tests/partial_load_ok.stderr.diff64
=================================================
--- partial_load_ok.stderr.exp64 2012-07-27 22:21:03.000000000 -0400
+++ partial_load_ok.stderr.out 2012-07-27 22:29:41.000000000 -0400
@@ -1,4 +1,10 @@
+Invalid read of size 1
+ at 0x........: main (partial_load.c:16)
+ Address 0x........ is 0 bytes after a block of size 7 alloc'd
+ at 0x........: calloc (vg_replace_malloc.c:...)
+ by 0x........: main (partial_load.c:14)
+
Invalid read of size 8
at 0x........: main (partial_load.c:23)
Address 0x........ is 1 bytes inside a block of size 8 alloc'd
@@ -25,4 +31,4 @@
For a detailed leak analysis, rerun with: --leak-check=full
For counts of detected and suppressed errors, rerun with: -v
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/memcheck/tests/varinfo6.stderr.diff
=================================================
--- varinfo6.stderr.exp 2012-07-27 22:21:03.000000000 -0400
+++ varinfo6.stderr.out 2012-07-27 22:30:42.000000000 -0400
@@ -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-old/memcheck/tests/varinfo6.stderr.diff-ppc64
=================================================
--- varinfo6.stderr.exp-ppc64 2012-07-27 22:21:03.000000000 -0400
+++ varinfo6.stderr.out 2012-07-27 22:30:42.000000000 -0400
@@ -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)
|
|
From: Tom H. <to...@co...> - 2012-07-28 02:55:17
|
valgrind revision: 12794 VEX revision: 2451 C compiler: gcc (GCC) 4.4.5 20101112 (Red Hat 4.4.5-2) Assembler: GNU assembler version 2.20.51.0.2-20.fc13 20091009 C library: GNU C Library stable release version 2.12.2 uname -mrs: Linux 3.4.0-1.fc17.x86_64 x86_64 Vendor version: Fedora release 13 (Goddard) Nightly build on bristol ( x86_64, Fedora 13 ) Started at 2012-07-28 03:21:44 BST Ended at 2012-07-28 03:55:03 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 605 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/err_disable4 (stderr) helgrind/tests/pth_barrier3 (stderr) |
|
From: Tom H. <to...@co...> - 2012-07-28 02:51:02
|
valgrind revision: 12794 VEX revision: 2451 C compiler: gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) Assembler: GNU assembler version 2.18.50.0.6-2 20080403 C library: GNU C Library stable release version 2.8 uname -mrs: Linux 3.4.0-1.fc17.x86_64 x86_64 Vendor version: Fedora release 9 (Sulphur) Nightly build on bristol ( x86_64, Fedora 9 ) Started at 2012-07-28 03:42:16 BST Ended at 2012-07-28 03:50:48 BST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... failed Last 20 lines of verbose log follow echo avx-1.c:2120: Error: no such instruction: `vpclmulqdq $0x01,%xmm6,%xmm8,%xmm7' avx-1.c:2120: Error: no such instruction: `vpclmulqdq $0x01,(%rax),%xmm8,%xmm7' avx-1.c:2123: Error: no such instruction: `vpclmulqdq $0x10,%xmm6,%xmm8,%xmm7' avx-1.c:2123: Error: no such instruction: `vpclmulqdq $0x10,(%rax),%xmm8,%xmm7' avx-1.c:2126: Error: no such instruction: `vpclmulqdq $0x11,%xmm6,%xmm8,%xmm7' avx-1.c:2126: Error: no such instruction: `vpclmulqdq $0x11,(%rax),%xmm8,%xmm7' avx-1.c:2129: Error: no such instruction: `vpclmulqdq $0xFF,%xmm6,%xmm8,%xmm7' avx-1.c:2129: Error: no such instruction: `vpclmulqdq $0xFF,(%rax),%xmm8,%xmm7' make[5]: *** [avx-1.o] Error 1 rm insn_ssse3.c insn_sse3.c insn_sse.c insn_mmx.c insn_fpu.c insn_pclmulqdq.c insn_sse2.c insn_basic.c make[5]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-new/none/tests/amd64' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-new/none/tests/amd64' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-new/none/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-new/none' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-new' make: *** [check] Error 2 ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... failed Last 20 lines of verbose log follow echo avx-1.c:2120: Error: no such instruction: `vpclmulqdq $0x01,%xmm6,%xmm8,%xmm7' avx-1.c:2120: Error: no such instruction: `vpclmulqdq $0x01,(%rax),%xmm8,%xmm7' avx-1.c:2123: Error: no such instruction: `vpclmulqdq $0x10,%xmm6,%xmm8,%xmm7' avx-1.c:2123: Error: no such instruction: `vpclmulqdq $0x10,(%rax),%xmm8,%xmm7' avx-1.c:2126: Error: no such instruction: `vpclmulqdq $0x11,%xmm6,%xmm8,%xmm7' avx-1.c:2126: Error: no such instruction: `vpclmulqdq $0x11,(%rax),%xmm8,%xmm7' avx-1.c:2129: Error: no such instruction: `vpclmulqdq $0xFF,%xmm6,%xmm8,%xmm7' avx-1.c:2129: Error: no such instruction: `vpclmulqdq $0xFF,(%rax),%xmm8,%xmm7' make[5]: *** [avx-1.o] Error 1 rm insn_ssse3.c insn_sse3.c insn_sse.c insn_mmx.c insn_fpu.c insn_pclmulqdq.c insn_sse2.c insn_basic.c make[5]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-old/none/tests/amd64' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-old/none/tests/amd64' make[3]: *** [check-recursive] Error 1 make[3]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-old/none/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-old/none' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-old' make: *** [check] Error 2 ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2012-07-28 03:46:31.052805896 +0100 --- new.short 2012-07-28 03:50:48.725414260 +0100 *************** *** 16,26 **** rm insn_ssse3.c insn_sse3.c insn_sse.c insn_mmx.c insn_fpu.c insn_pclmulqdq.c insn_sse2.c insn_basic.c ! make[5]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-old/none/tests/amd64' make[4]: *** [check-am] Error 2 ! make[4]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-old/none/tests/amd64' make[3]: *** [check-recursive] Error 1 ! make[3]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-old/none/tests' make[2]: *** [check-recursive] Error 1 ! make[2]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-old/none' make[1]: *** [check-recursive] Error 1 ! make[1]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-old' make: *** [check] Error 2 --- 16,26 ---- rm insn_ssse3.c insn_sse3.c insn_sse.c insn_mmx.c insn_fpu.c insn_pclmulqdq.c insn_sse2.c insn_basic.c ! make[5]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-new/none/tests/amd64' make[4]: *** [check-am] Error 2 ! make[4]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-new/none/tests/amd64' make[3]: *** [check-recursive] Error 1 ! make[3]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-new/none/tests' make[2]: *** [check-recursive] Error 1 ! make[2]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-new/none' make[1]: *** [check-recursive] Error 1 ! make[1]: Leaving directory `/tmp/vgtest-10493/2012-07-28/valgrind-new' make: *** [check] Error 2 |
|
From: Tom H. <to...@co...> - 2012-07-28 02:50:26
|
valgrind revision: 12794 VEX revision: 2451 C compiler: gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4) Assembler: GNU assembler version 2.20.51.0.7-8.fc14 20100318 C library: GNU C Library stable release version 2.13 uname -mrs: Linux 3.4.0-1.fc17.x86_64 x86_64 Vendor version: Fedora release 14 (Laughlin) Nightly build on bristol ( x86_64, Fedora 14 ) Started at 2012-07-28 03:11:35 BST Ended at 2012-07-28 03:50:08 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 620 tests, 2 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) gdbserver_tests/nlpasssigalrm (stdoutB) memcheck/tests/err_disable4 (stderr) memcheck/tests/origin5-bz2 (stderr) |
|
From: Tom H. <to...@co...> - 2012-07-28 02:36:33
|
valgrind revision: 12794 VEX revision: 2451 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) Assembler: GNU assembler version 2.21.51.0.6-6.fc15 20110118 C library: GNU C Library stable release version 2.14.1 uname -mrs: Linux 3.4.0-1.fc17.x86_64 x86_64 Vendor version: Fedora release 15 (Lovelock) Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2012-07-28 03:03:09 BST Ended at 2012-07-28 03:36:17 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 622 tests, 3 stderr failures, 0 stdout failures, 1 stderrB failure, 2 stdoutB failures, 0 post failures == gdbserver_tests/mcinfcallWSRU (stderrB) gdbserver_tests/nlcontrolc (stdoutB) gdbserver_tests/nlpasssigalrm (stdoutB) memcheck/tests/err_disable4 (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) |
|
From: Florian K. <br...@ac...> - 2012-07-28 02:26:43
|
On 07/27/2012 06:23 PM, Philippe Waroquiers wrote:
> Find attached a patch which drops --vex-iropt-precise-memory-exns
> and adds another clo
> --vex-iropt-register-updates=minimal|atmemaccess|exact
>
I like it. The old clo had a sufficiently obscure name that required
consulting the manual to figure out what's happening. And who wants to
do that :)
I would like it even better if we named the choices slightly
differently. How is this:
minimal -> at-endof-sb
atmemaccess -> at-mem-access
exact -> at-insn
I find that clearer.
WRT the implementation...
+ else if VG_XACT_CLO(arg, "--vex-iropt-register-updates=minimal",
+ VG_(clo_vex_control).iropt_register_updates,
+ 0);
Can we please use symbolic names instead of magic constants 0,1,2 ?
enum {
VEX_REG_UPDATE_AT_ENDOF_SB,
VEX_REG_UPDATE_AT_MEM_ACCESS,
VEX_REG_AT_INSN
};
That improves comprehension and nobody get hurt. We already have enough
magic constants. Let's not introduce new ones.
Florian
|