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
(9) |
|
2
(24) |
3
(22) |
4
(16) |
5
(32) |
6
(19) |
7
(22) |
8
(30) |
|
9
(21) |
10
(21) |
11
(20) |
12
(13) |
13
(24) |
14
(23) |
15
(13) |
|
16
(11) |
17
(6) |
18
(12) |
19
(17) |
20
(26) |
21
(25) |
22
(37) |
|
23
(32) |
24
(21) |
25
(30) |
26
(22) |
27
(24) |
28
(19) |
29
(9) |
|
30
(5) |
31
(6) |
|
|
|
|
|
|
From: Christian B. <bor...@de...> - 2011-10-11 20:58:17
|
valgrind revision: 12137 VEX revision: 2215 GCC version: gcc (GCC) 4.5.3 20110121 (Red Hat 4.5.3-3) C library: GNU C Library stable release version 2.12.1, by Roland McGrath et al. uname -mrs: Linux 2.6.38-06555.ga44f99c.48.x.20110321-s390xgit s390x Vendor version: unknown Nightly build on fedora390 ( Fedora 13/14/15 mix with gcc 3.5.3 on z196 (s390x) ) Started at 2011-10-11 21:45:01 CEST Ended at 2011-10-11 22:07:33 CEST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Last 20 lines of verbose log follow echo annotate_hb_race: valgrind --check-stack-var=yes --show-confl-seg=no ./annotate_hb_race annotate_hbefore: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./../../helgrind/tests/annotate_hbefore annotate_ignore_read: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 69 annotate_ignore_rw: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_rw annotate_ignore_rw2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_rw -r annotate_ignore_write: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_write annotate_ignore_write2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_write -r annotate_order_1: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 3 annotate_order_2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 30 annotate_order_3: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 31 annotate_publish_hg: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_publish_hg annotate_rwlock: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_rwlock annotate_rwlock_hg: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./../../helgrind/tests/annotate_rwlock annotate_smart_pointer: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_smart_pointer 50 5 annotate_smart_pointer2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_smart_pointer 1 1 0 annotate_spinlock: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 27 annotate_static: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_static annotate_trace_memory: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no --num-callers=2 ./tsan_unittest 1 vg_regtest: `././filter_xml_and_thread_no' not executable (.) make: *** [regtest] Error 25 ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 498 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/timerfd-syscall (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Oct 11 21:59:32 2011 --- new.short Tue Oct 11 22:07:33 2011 *************** *** 6,15 **** ! Regression test results follow ! ! == 498 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/linux/timerfd-syscall (stderr) ! helgrind/tests/tc18_semabuse (stderr) ! helgrind/tests/tc20_verifywrap (stderr) ! drd/tests/tc04_free_lock (stderr) ! drd/tests/tc09_bad_unlock (stderr) ! --- 6,27 ---- ! Last 20 lines of verbose log follow echo ! annotate_hb_race: valgrind --check-stack-var=yes --show-confl-seg=no ./annotate_hb_race ! annotate_hbefore: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./../../helgrind/tests/annotate_hbefore ! annotate_ignore_read: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 69 ! annotate_ignore_rw: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_rw ! annotate_ignore_rw2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_rw -r ! annotate_ignore_write: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_write ! annotate_ignore_write2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_write -r ! annotate_order_1: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 3 ! annotate_order_2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 30 ! annotate_order_3: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 31 ! annotate_publish_hg: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_publish_hg ! annotate_rwlock: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_rwlock ! annotate_rwlock_hg: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./../../helgrind/tests/annotate_rwlock ! annotate_smart_pointer: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_smart_pointer 50 5 ! annotate_smart_pointer2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_smart_pointer 1 1 0 ! annotate_spinlock: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 27 ! annotate_static: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_static ! annotate_trace_memory: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no --num-callers=2 ./tsan_unittest 1 ! vg_regtest: `././filter_xml_and_thread_no' not executable (.) ! make: *** [regtest] Error 25 |
|
From: Christian B. <bor...@de...> - 2011-10-11 20:10:23
|
valgrind revision: 12137 VEX revision: 2215 GCC version: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] C library: GNU C Library stable release version 2.11.1 (20100118), by Roland McGrath et al. uname -mrs: Linux 2.6.32.45-0.3-default s390x Vendor version: Welcome to SUSE Linux Enterprise Server 11 SP1 (s390x) - Kernel %r (%t). Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP1 gcc 4.3.4 on z196 (s390x) ) Started at 2011-10-11 21:45:01 CEST Ended at 2011-10-11 22:10:08 CEST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Last 20 lines of verbose log follow echo annotate_hb_race: valgrind --check-stack-var=yes --show-confl-seg=no ./annotate_hb_race annotate_hbefore: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./../../helgrind/tests/annotate_hbefore annotate_ignore_read: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 69 annotate_ignore_rw: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_rw annotate_ignore_rw2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_rw -r annotate_ignore_write: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_write annotate_ignore_write2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_write -r annotate_order_1: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 3 annotate_order_2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 30 annotate_order_3: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 31 annotate_publish_hg: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_publish_hg annotate_rwlock: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_rwlock annotate_rwlock_hg: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./../../helgrind/tests/annotate_rwlock annotate_smart_pointer: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_smart_pointer 50 5 annotate_smart_pointer2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_smart_pointer 1 1 0 annotate_spinlock: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 27 annotate_static: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_static annotate_trace_memory: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no --num-callers=2 ./tsan_unittest 1 vg_regtest: `././filter_xml_and_thread_no' not executable (.) make: *** [regtest] Error 9 ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 499 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/timerfd-syscall (stderr) helgrind/tests/tc18_semabuse (stderr) helgrind/tests/tc20_verifywrap (stderr) drd/tests/tc04_free_lock (stderr) drd/tests/tc09_bad_unlock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Oct 11 21:59:42 2011 --- new.short Tue Oct 11 22:10:08 2011 *************** *** 6,15 **** ! Regression test results follow ! ! == 499 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == ! memcheck/tests/linux/timerfd-syscall (stderr) ! helgrind/tests/tc18_semabuse (stderr) ! helgrind/tests/tc20_verifywrap (stderr) ! drd/tests/tc04_free_lock (stderr) ! drd/tests/tc09_bad_unlock (stderr) ! --- 6,27 ---- ! Last 20 lines of verbose log follow echo ! annotate_hb_race: valgrind --check-stack-var=yes --show-confl-seg=no ./annotate_hb_race ! annotate_hbefore: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./../../helgrind/tests/annotate_hbefore ! annotate_ignore_read: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 69 ! annotate_ignore_rw: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_rw ! annotate_ignore_rw2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_rw -r ! annotate_ignore_write: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_write ! annotate_ignore_write2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_ignore_write -r ! annotate_order_1: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 3 ! annotate_order_2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 30 ! annotate_order_3: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 31 ! annotate_publish_hg: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_publish_hg ! annotate_rwlock: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_rwlock ! annotate_rwlock_hg: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./../../helgrind/tests/annotate_rwlock ! annotate_smart_pointer: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_smart_pointer 50 5 ! annotate_smart_pointer2: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_smart_pointer 1 1 0 ! annotate_spinlock: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./tsan_unittest 27 ! annotate_static: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no ./annotate_static ! annotate_trace_memory: valgrind --read-var-info=yes --check-stack-var=yes --show-confl-seg=no --num-callers=2 ./tsan_unittest 1 ! vg_regtest: `././filter_xml_and_thread_no' not executable (.) ! make: *** [regtest] Error 9 |
|
From: Philippe W. <phi...@sk...> - 2011-10-11 19:17:04
|
> mcsignopass now hangs repeatably for me on Ubuntu 10.04.3 64-bit. It > was OK a few days ago. Philippe, any idea what changed? I have followed the recent commits, there were a few changes in vgdb.c or in the regression tests, but nothing that looks like an explanation for a mcsignopass hang. Do you know from which commit it started to fail ? In any case, running the below perl tests/vg_regtest --keep-unfiltered gdbserver_tests/mcsignopass + sending gdbserver_tests/*.unfiltered.out files should allow me to start the investigations. Thanks |
|
From: <sv...@va...> - 2011-10-11 19:13:27
|
Author: bart
Date: 2011-10-11 20:08:39 +0100 (Tue, 11 Oct 2011)
New Revision: 12137
Log:
drd: Enable XML output. See also #282949. To do: document the output format.
Added:
trunk/drd/tests/annotate_barrier_xml.stderr.exp
trunk/drd/tests/annotate_barrier_xml.vgtest
trunk/drd/tests/annotate_trace_memory_xml.stderr.exp
trunk/drd/tests/annotate_trace_memory_xml.vgtest
trunk/drd/tests/bar_bad_xml.stderr.exp
trunk/drd/tests/bar_bad_xml.vgtest
trunk/drd/tests/filter_thread_no
trunk/drd/tests/filter_xml_and_thread_no
trunk/drd/tests/fp_race_xml.stderr.exp
trunk/drd/tests/fp_race_xml.vgtest
trunk/drd/tests/thread_name_xml.stderr.exp
trunk/drd/tests/thread_name_xml.vgtest
Modified:
trunk/drd/drd_error.c
trunk/drd/drd_main.c
trunk/drd/drd_thread.c
trunk/drd/tests/Makefile.am
trunk/drd/tests/filter_stderr_and_thread_no
Modified: trunk/drd/drd_error.c
===================================================================
--- trunk/drd/drd_error.c 2011-10-11 18:50:14 UTC (rev 12136)
+++ trunk/drd/drd_error.c 2011-10-11 19:08:39 UTC (rev 12137)
@@ -42,6 +42,11 @@
#include "pub_tool_tooliface.h" /* VG_(needs_tool_errors)() */
+/* Local function declarations. */
+
+static Char* drd_get_error_name(Error* e);
+
+
/* Local variables. */
static Bool s_show_conflicting_segments = True;
@@ -56,11 +61,32 @@
{
va_list vargs;
va_start(vargs, format);
- VG_(vmessage)(Vg_UserMsg, format, vargs);
+ if (VG_(clo_xml)) {
+ VG_(printf_xml)("<traceline>\n ");
+ VG_(vprintf_xml)(format, vargs);
+ VG_(printf_xml)("</traceline>\n");
+ } else {
+ VG_(vmessage)(Vg_UserMsg, format, vargs);
+ }
va_end(vargs);
}
/**
+ * Emit error message detail in the format requested by the user.
+ */
+static void print_err_detail(const char* format, ...) PRINTF_CHECK(1, 2);
+static void print_err_detail(const char* format, ...)
+{
+ va_list vargs;
+ va_start(vargs, format);
+ if (VG_(clo_xml))
+ VG_(vprintf_xml)(format, vargs);
+ else
+ VG_(vmessage)(Vg_UserMsg, format, vargs);
+ va_end(vargs);
+}
+
+/**
* Describe the client address a as good as possible, putting the result in ai.
*/
static
@@ -89,20 +115,30 @@
DrdClientobj* cl;
cl = DRD_(clientobj_get_any)(obj);
- if (cl)
- {
+ if (cl) {
tl_assert(cl->any.first_observed_at);
- VG_(message)(Vg_UserMsg,
- "%s 0x%lx was first observed at:\n",
- DRD_(clientobj_type_name)(cl->any.type),
- obj);
- VG_(pp_ExeContext)(cl->any.first_observed_at);
+ if (VG_(clo_xml)) {
+ print_err_detail(" <first_observed_at>\n"
+ " <what>%pS</what>\n"
+ " <address>0x%lx</address>\n",
+ DRD_(clientobj_type_name)(cl->any.type), obj);
+ VG_(pp_ExeContext)(cl->any.first_observed_at);
+ print_err_detail(" </first_observed_at>\n");
+ } else {
+ print_err_detail("%s 0x%lx was first observed at:\n",
+ DRD_(clientobj_type_name)(cl->any.type), obj);
+ VG_(pp_ExeContext)(cl->any.first_observed_at);
+ }
}
}
static
void drd_report_data_race(Error* const err, const DataRaceErrInfo* const dri)
{
+ const Bool xml = VG_(clo_xml);
+ const char* const what_prefix = xml ? " <what>" : "";
+ const char* const what_suffix = xml ? "</what>" : "";
+ const char* const indent = xml ? " " : "";
AddrInfo ai;
XArray* /* of HChar */ descr1
@@ -143,45 +179,51 @@
/* No. Do Plan B. */
describe_malloced_addr(dri->addr, &ai);
}
- VG_(message)(Vg_UserMsg,
- "Conflicting %s by thread %d at 0x%08lx size %ld\n",
- dri->access_type == eStore ? "store" : "load",
- dri->tid,
- dri->addr,
- dri->size);
+
+ print_err_detail("%sConflicting %s by thread %d at 0x%08lx size %ld%s\n",
+ what_prefix, dri->access_type == eStore ? "store" : "load",
+ dri->tid, dri->addr, dri->size, what_suffix);
+
VG_(pp_ExeContext)(VG_(get_error_where)(err));
- if (descr1 != NULL)
- {
- VG_(message)(Vg_UserMsg, "%s\n", (HChar*)VG_(indexXA)(descr1, 0));
+ if (descr1 != NULL) {
+ print_err_detail("%s%s\n", indent, (HChar*)VG_(indexXA)(descr1, 0));
if (descr2 != NULL)
- VG_(message)(Vg_UserMsg, "%s\n", (HChar*)VG_(indexXA)(descr2, 0));
- }
- else if (ai.akind == eMallocd && ai.lastchange)
- {
- VG_(message)(Vg_UserMsg,
- "Address 0x%lx is at offset %ld from 0x%lx."
- " Allocation context:\n",
- dri->addr, ai.rwoffset, dri->addr - ai.rwoffset);
+ print_err_detail("%s%s\n", indent, (HChar*)VG_(indexXA)(descr2, 0));
+ } else if (ai.akind == eMallocd && ai.lastchange) {
+ if (xml)
+ print_err_detail(" <auxwhat>\n <text>");
+ print_err_detail("Address 0x%lx is at offset %ld from 0x%lx.",
+ dri->addr, ai.rwoffset, dri->addr - ai.rwoffset);
+ if (xml)
+ print_err_detail("</text>\n");
+ else
+ print_err_detail(" Allocation context:\n");
VG_(pp_ExeContext)(ai.lastchange);
- }
- else
- {
+ if (xml)
+ print_err_detail(" </auxwhat>\n");
+ } else {
char sect_name[64];
VgSectKind sect_kind;
sect_kind = VG_(DebugInfo_sect_kind)(sect_name, sizeof(sect_name),
dri->addr);
- if (sect_kind != Vg_SectUnknown)
- {
- VG_(message)(Vg_UserMsg,
- "Allocation context: %s section of %s\n",
- VG_(pp_SectKind)(sect_kind),
- sect_name);
+ if (xml) {
+ print_err_detail(" <auxwhat><text>");
+ if (sect_kind != Vg_SectUnknown) {
+ print_err_detail(" Allocation context: %pS section of %pS\n",
+ VG_(pp_SectKind)(sect_kind), sect_name);
+ } else {
+ print_err_detail(" Allocation context: unknown.\n");
+ }
+ print_err_detail(" </text><auxwhat>\n");
+ } else {
+ if (sect_kind != Vg_SectUnknown) {
+ print_err_detail("Allocation context: %s section of %s\n",
+ VG_(pp_SectKind)(sect_kind), sect_name);
+ } else {
+ print_err_detail("Allocation context: unknown.\n");
+ }
}
- else
- {
- VG_(message)(Vg_UserMsg, "Allocation context: unknown.\n");
- }
}
if (s_show_conflicting_segments)
{
@@ -238,8 +280,7 @@
err_extra = VG_(get_error_extra)(e);
- if (err_extra && *err_extra != s_last_tid_printed)
- {
+ if (err_extra && *err_extra != s_last_tid_printed && !VG_(clo_xml)) {
VG_(umsg)("%s:\n", DRD_(thread_get_name)(*err_extra));
s_last_tid_printed = *err_extra;
}
@@ -248,6 +289,13 @@
/** Report an error to the user. */
static void drd_tool_error_pp(Error* const e)
{
+ const Bool xml = VG_(clo_xml);
+ const char* const what_prefix = xml ? " <what>" : "";
+ const char* const what_suffix = xml ? "</what>" : "";
+
+ if (xml)
+ VG_(printf_xml)( " <kind>%pS</kind>\n", drd_get_error_name(e));
+
switch (VG_(get_error_kind)(e))
{
case DataRaceErr: {
@@ -257,53 +305,41 @@
case MutexErr: {
MutexErrInfo* p = (MutexErrInfo*)(VG_(get_error_extra)(e));
tl_assert(p);
- if (p->recursion_count >= 0)
- {
- VG_(message)(Vg_UserMsg,
- "%s: mutex 0x%lx, recursion count %d, owner %d.\n",
- VG_(get_error_string)(e),
- p->mutex,
- p->recursion_count,
- p->owner);
+ if (p->recursion_count >= 0) {
+ print_err_detail("%s%s: mutex 0x%lx, recursion count %d, owner %d."
+ "%s\n", what_prefix, VG_(get_error_string)(e),
+ p->mutex, p->recursion_count, p->owner, what_suffix);
+ } else {
+ print_err_detail("%sThe object at address 0x%lx is not a mutex.%s\n",
+ what_prefix, p->mutex, what_suffix);
}
- else
- {
- VG_(message)(Vg_UserMsg,
- "The object at address 0x%lx is not a mutex.\n",
- p->mutex);
- }
VG_(pp_ExeContext)(VG_(get_error_where)(e));
first_observed(p->mutex);
break;
}
case CondErr: {
CondErrInfo* cdei =(CondErrInfo*)(VG_(get_error_extra)(e));
- VG_(message)(Vg_UserMsg,
- "%s: cond 0x%lx\n",
- VG_(get_error_string)(e),
- cdei->cond);
+ print_err_detail("%s%s: cond 0x%lx%s\n", what_prefix,
+ VG_(get_error_string)(e), cdei->cond, what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
first_observed(cdei->cond);
break;
}
case CondDestrErr: {
CondDestrErrInfo* cdi = (CondDestrErrInfo*)(VG_(get_error_extra)(e));
- VG_(message)(Vg_UserMsg,
- "%s: cond 0x%lx, mutex 0x%lx locked by thread %d\n",
- VG_(get_error_string)(e),
- cdi->cond, cdi->mutex,
- cdi->owner);
+ print_err_detail("%s%s: cond 0x%lx, mutex 0x%lx locked by thread %d%s\n",
+ what_prefix, VG_(get_error_string)(e), cdi->cond,
+ cdi->mutex, cdi->owner, what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
first_observed(cdi->mutex);
break;
}
case CondRaceErr: {
CondRaceErrInfo* cei = (CondRaceErrInfo*)(VG_(get_error_extra)(e));
- VG_(message)(Vg_UserMsg,
- "Probably a race condition: condition variable 0x%lx has"
- " been signaled but the associated mutex 0x%lx is not"
- " locked by the signalling thread.\n",
- cei->cond, cei->mutex);
+ print_err_detail("%sProbably a race condition: condition variable 0x%lx"
+ " has been signaled but the associated mutex 0x%lx is"
+ " not locked by the signalling thread.%s\n",
+ what_prefix, cei->cond, cei->mutex, what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
first_observed(cei->cond);
first_observed(cei->mutex);
@@ -311,12 +347,9 @@
}
case CondWaitErr: {
CondWaitErrInfo* cwei = (CondWaitErrInfo*)(VG_(get_error_extra)(e));
- VG_(message)(Vg_UserMsg,
- "%s: condition variable 0x%lx, mutexes 0x%lx and 0x%lx\n",
- VG_(get_error_string)(e),
- cwei->cond,
- cwei->mutex1,
- cwei->mutex2);
+ print_err_detail("%s%s: condition variable 0x%lx, mutexes 0x%lx and"
+ " 0x%lx%s\n", what_prefix, VG_(get_error_string)(e),
+ cwei->cond, cwei->mutex1, cwei->mutex2, what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
first_observed(cwei->cond);
first_observed(cwei->mutex1);
@@ -326,10 +359,8 @@
case SemaphoreErr: {
SemaphoreErrInfo* sei = (SemaphoreErrInfo*)(VG_(get_error_extra)(e));
tl_assert(sei);
- VG_(message)(Vg_UserMsg,
- "%s: semaphore 0x%lx\n",
- VG_(get_error_string)(e),
- sei->semaphore);
+ print_err_detail("%s%s: semaphore 0x%lx%s\n", VG_(get_error_string)(e),
+ what_prefix, sei->semaphore, what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
first_observed(sei->semaphore);
break;
@@ -337,17 +368,17 @@
case BarrierErr: {
BarrierErrInfo* bei = (BarrierErrInfo*)(VG_(get_error_extra)(e));
tl_assert(bei);
- VG_(message)(Vg_UserMsg,
- "%s: barrier 0x%lx\n",
- VG_(get_error_string)(e),
- bei->barrier);
+ print_err_detail("%s%s: barrier 0x%lx%s\n", what_prefix,
+ VG_(get_error_string)(e), bei->barrier, what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
- if (bei->other_context)
- {
- VG_(message)(Vg_UserMsg,
- "Conflicting wait call by thread %d:\n",
- bei->other_tid);
+ if (bei->other_context) {
+ if (xml)
+ print_err_detail(" <confl_wait_call>\n");
+ print_err_detail("%sConflicting wait call by thread %d:%s\n",
+ what_prefix, bei->other_tid, what_suffix);
VG_(pp_ExeContext)(bei->other_context);
+ if (xml)
+ print_err_detail(" </confl_wait_call>\n");
}
first_observed(bei->barrier);
break;
@@ -355,10 +386,8 @@
case RwlockErr: {
RwlockErrInfo* p = (RwlockErrInfo*)(VG_(get_error_extra)(e));
tl_assert(p);
- VG_(message)(Vg_UserMsg,
- "%s: rwlock 0x%lx.\n",
- VG_(get_error_string)(e),
- p->rwlock);
+ print_err_detail("%s%s: rwlock 0x%lx.%s\n", what_prefix,
+ VG_(get_error_string)(e), p->rwlock, what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
first_observed(p->rwlock);
break;
@@ -367,21 +396,25 @@
HoldtimeErrInfo* p =(HoldtimeErrInfo*)(VG_(get_error_extra)(e));
tl_assert(p);
tl_assert(p->acquired_at);
- VG_(message)(Vg_UserMsg, "Acquired at:\n");
+ if (xml)
+ print_err_detail(" <acquired_at>\n");
+ else
+ print_err_detail("Acquired at:\n");
VG_(pp_ExeContext)(p->acquired_at);
- VG_(message)(Vg_UserMsg,
- "Lock on %s 0x%lx was held during %d ms (threshold: %d ms).\n",
- VG_(get_error_string)(e),
- p->synchronization_object,
- p->hold_time_ms,
- p->threshold_ms);
+ print_err_detail("%sLock on %s 0x%lx was held during %d ms"
+ " (threshold: %d ms).%s\n", what_prefix,
+ VG_(get_error_string)(e), p->synchronization_object,
+ p->hold_time_ms, p->threshold_ms, what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
+ if (xml)
+ print_err_detail(" </acquired_at>\n");
first_observed(p->synchronization_object);
break;
}
case GenericErr: {
GenericErrInfo* gei = (GenericErrInfo*)(VG_(get_error_extra)(e));
- VG_(message)(Vg_UserMsg, "%s\n", VG_(get_error_string)(e));
+ print_err_detail("%s%s%s\n", what_prefix, VG_(get_error_string)(e),
+ what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
if (gei->addr)
first_observed(gei->addr);
@@ -389,33 +422,30 @@
}
case InvalidThreadId: {
InvalidThreadIdInfo* iti =(InvalidThreadIdInfo*)(VG_(get_error_extra)(e));
- VG_(message)(Vg_UserMsg,
- "%s 0x%llx\n", VG_(get_error_string)(e), iti->ptid);
+ print_err_detail("%s%s 0x%llx%s\n", what_prefix, VG_(get_error_string)(e),
+ iti->ptid, what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
break;
}
case UnimpHgClReq: {
UnimpClReqInfo* uicr =(UnimpClReqInfo*)(VG_(get_error_extra)(e));
- VG_(message)(Vg_UserMsg,
- "The annotation macro %s has not yet been implemented in"
- " <valgrind/helgrind.h>\n",
- /*VG_(get_error_string)(e),*/ uicr->descr);
+ print_err_detail("%sThe annotation macro %s has not yet been implemented"
+ " in %ps%s\n", what_prefix, uicr->descr,
+ "<valgrind/helgrind.h>", what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
break;
}
case UnimpDrdClReq: {
UnimpClReqInfo* uicr =(UnimpClReqInfo*)(VG_(get_error_extra)(e));
- VG_(message)(Vg_UserMsg,
- "The annotation macro %s has not yet been implemented in"
- " <valgrind/drd.h>\n",
- uicr->descr);
+ print_err_detail("%sThe annotation macro %s has not yet been implemented"
+ " in %ps%s\n", what_prefix, uicr->descr,
+ "<valgrind/drd.h>", what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
break;
}
default:
- VG_(message)(Vg_UserMsg,
- "%s\n",
- VG_(get_error_string)(e));
+ print_err_detail("%s%s%s\n", what_prefix, VG_(get_error_string)(e),
+ what_suffix);
VG_(pp_ExeContext)(VG_(get_error_where)(e));
break;
}
Modified: trunk/drd/drd_main.c
===================================================================
--- trunk/drd/drd_main.c 2011-10-11 18:50:14 UTC (rev 12136)
+++ trunk/drd/drd_main.c 2011-10-11 19:08:39 UTC (rev 12137)
@@ -573,9 +573,8 @@
}
if (DRD_(thread_get_trace_fork_join)())
{
- VG_(message)(Vg_DebugMsg,
- "drd_pre_thread_create creator = %d, created = %d\n",
- drd_creator, created);
+ DRD_(trace_msg)("drd_pre_thread_create creator = %d, created = %d\n",
+ drd_creator, created);
}
}
@@ -592,9 +591,7 @@
drd_created = DRD_(thread_post_create)(vg_created);
if (DRD_(thread_get_trace_fork_join)())
{
- VG_(message)(Vg_DebugMsg,
- "drd_post_thread_create created = %d\n",
- drd_created);
+ DRD_(trace_msg)("drd_post_thread_create created = %d\n", drd_created);
}
if (! DRD_(get_check_stack_accesses)())
{
@@ -615,15 +612,11 @@
drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid);
if (DRD_(thread_get_trace_fork_join)())
{
- VG_(message)(Vg_DebugMsg,
- "drd_thread_finished tid = %d%s\n",
- drd_tid,
- DRD_(thread_get_joinable)(drd_tid)
- ? ""
- : " (which is a detached thread)");
+ DRD_(trace_msg)("drd_thread_finished tid = %d%s\n", drd_tid,
+ DRD_(thread_get_joinable)(drd_tid)
+ ? "" : " (which is a detached thread)");
}
- if (s_show_stack_usage)
- {
+ if (s_show_stack_usage && !VG_(clo_xml)) {
const SizeT stack_size = DRD_(thread_get_stack_size)(drd_tid);
const SizeT used_stack
= (DRD_(thread_get_stack_max)(drd_tid)
@@ -633,11 +626,8 @@
" on its stack. Margin: %ld bytes.\n",
drd_tid,
DRD_(thread_get_joinable)(drd_tid)
- ? ""
- : " (which is a detached thread)",
- used_stack,
- stack_size,
- stack_size - used_stack);
+ ? "" : " (which is a detached thread)",
+ used_stack, stack_size, stack_size - used_stack);
}
drd_stop_using_mem(DRD_(thread_get_stack_min)(drd_tid),
@@ -689,12 +679,11 @@
{
// thread_print_all();
if (VG_(clo_verbosity) == 1 && !VG_(clo_xml)) {
- VG_(message)(Vg_UserMsg,
- "For counts of detected and suppressed errors, "
+ VG_(message)(Vg_UserMsg, "For counts of detected and suppressed errors, "
"rerun with: -v\n");
}
- if (VG_(clo_stats) || s_print_stats)
+ if ((VG_(clo_stats) || s_print_stats) && !VG_(clo_xml))
{
ULong pu = DRD_(thread_get_update_conflict_set_count)();
ULong pu_seg_cr = DRD_(thread_get_update_conflict_set_new_sg_count)();
@@ -706,21 +695,21 @@
DRD_(thread_get_context_switch_count)());
VG_(message)(Vg_UserMsg,
"confl set: %lld full updates and %lld partial updates;\n",
- DRD_(thread_get_compute_conflict_set_count)(),
- pu);
+ DRD_(thread_get_compute_conflict_set_count)(),
+ pu);
VG_(message)(Vg_UserMsg,
" %lld partial updates during segment creation,\n",
- pu_seg_cr);
+ pu_seg_cr);
VG_(message)(Vg_UserMsg,
" %lld because of mutex/sema/cond.var. operations,\n",
- pu_mtx_cv);
+ pu_mtx_cv);
VG_(message)(Vg_UserMsg,
" %lld because of barrier/rwlock operations and\n",
pu - pu_seg_cr - pu_mtx_cv - pu_join);
VG_(message)(Vg_UserMsg,
" %lld partial updates because of thread join"
- " operations.\n",
- pu_join);
+ " operations.\n",
+ pu_join);
VG_(message)(Vg_UserMsg,
" segments: created %lld segments, max %lld alive,\n",
DRD_(sg_get_segments_created_count)(),
@@ -767,6 +756,7 @@
VG_(needs_command_line_options)(DRD_(process_cmd_line_option),
DRD_(print_usage),
DRD_(print_debug_usage));
+ VG_(needs_xml_output) ();
// Error handling.
DRD_(register_error_handlers)();
Modified: trunk/drd/drd_thread.c
===================================================================
--- trunk/drd/drd_thread.c 2011-10-11 18:50:14 UTC (rev 12136)
+++ trunk/drd/drd_thread.c 2011-10-11 19:08:39 UTC (rev 12137)
@@ -390,7 +390,7 @@
", new vc: %s", vc);
VG_(free)(vc);
}
- DRD_(trace_msg)("%s\n", msg);
+ DRD_(trace_msg)("%pS\n", msg);
VG_(free)(msg);
}
@@ -1249,30 +1249,20 @@
}
/** Show a call stack involved in a data race. */
-static void show_call_stack(const DrdThreadId tid,
- const Char* const msg,
- ExeContext* const callstack)
+static void show_call_stack(const DrdThreadId tid, ExeContext* const callstack)
{
const ThreadId vg_tid = DRD_(DrdThreadIdToVgThreadId)(tid);
- VG_(message)(Vg_UserMsg, "%s (thread %d)\n", msg, tid);
-
- if (vg_tid != VG_INVALID_THREADID)
- {
+ if (vg_tid != VG_INVALID_THREADID) {
if (callstack)
- {
VG_(pp_ExeContext)(callstack);
- }
else
- {
VG_(get_and_pp_StackTrace)(vg_tid, VG_(clo_backtrace_size));
- }
+ } else {
+ if (!VG_(clo_xml))
+ VG_(message)(Vg_UserMsg,
+ " (thread finished, call stack no longer available)\n");
}
- else
- {
- VG_(message)(Vg_UserMsg,
- " (thread finished, call stack no longer available)\n");
- }
}
/** Print information about the segments involved in a data race. */
@@ -1310,10 +1300,21 @@
access_type))
{
tl_assert(q->stacktrace);
- show_call_stack(i, "Other segment start",
- q->stacktrace);
- show_call_stack(i, "Other segment end",
- q->next ? q->next->stacktrace : 0);
+ if (VG_(clo_xml))
+ VG_(printf_xml)(" <other_segment_start>\n");
+ else
+ VG_(message)(Vg_UserMsg,
+ "Other segment start (thread %d)\n", i);
+ show_call_stack(i, q->stacktrace);
+ if (VG_(clo_xml))
+ VG_(printf_xml)(" </other_segment_start>\n"
+ " <other_segment_end>\n");
+ else
+ VG_(message)(Vg_UserMsg,
+ "Other segment end (thread %d)\n", i);
+ show_call_stack(i, q->next ? q->next->stacktrace : 0);
+ if (VG_(clo_xml))
+ VG_(printf_xml)(" </other_segment_end>\n");
}
}
}
Modified: trunk/drd/tests/Makefile.am
===================================================================
--- trunk/drd/tests/Makefile.am 2011-10-11 18:50:14 UTC (rev 12136)
+++ trunk/drd/tests/Makefile.am 2011-10-11 19:08:39 UTC (rev 12137)
@@ -8,6 +8,8 @@
filter_stderr \
filter_stderr_and_thread_no \
filter_stderr_and_thread_no_and_offset \
+ filter_thread_no \
+ filter_xml_and_thread_no \
run_openmp_test \
supported_libpthread \
supported_sem_init
@@ -19,6 +21,8 @@
EXTRA_DIST = \
annotate_barrier.stderr.exp \
annotate_barrier.vgtest \
+ annotate_barrier_xml.stderr.exp \
+ annotate_barrier_xml.vgtest \
annotate_hb_err.stderr.exp \
annotate_hb_err.vgtest \
annotate_hb_race.stderr.exp \
@@ -55,12 +59,16 @@
annotate_ignore_write2.vgtest \
annotate_trace_memory.stderr.exp \
annotate_trace_memory.vgtest \
+ annotate_trace_memory_xml.stderr.exp \
+ annotate_trace_memory_xml.vgtest \
annotate_static.stderr.exp \
annotate_static.vgtest \
atomic_var.stderr.exp \
atomic_var.vgtest \
bar_bad.stderr.exp \
bar_bad.vgtest \
+ bar_bad_xml.stderr.exp \
+ bar_bad_xml.vgtest \
bar_trivial.stderr.exp \
bar_trivial.stdout.exp \
bar_trivial.vgtest \
@@ -78,6 +86,8 @@
fp_race.vgtest \
fp_race2.stderr.exp \
fp_race2.vgtest \
+ fp_race_xml.stderr.exp \
+ fp_race_xml.vgtest \
free_is_write.stderr.exp \
free_is_write.vgtest \
free_is_write2.stderr.exp \
@@ -271,6 +281,8 @@
tc24_nonzero_sem.vgtest \
thread_name.stderr.exp \
thread_name.vgtest \
+ thread_name_xml.stderr.exp \
+ thread_name_xml.vgtest \
threaded-fork.stderr.exp \
threaded-fork.vgtest \
trylock.stderr.exp \
Added: trunk/drd/tests/annotate_barrier_xml.stderr.exp
===================================================================
--- trunk/drd/tests/annotate_barrier_xml.stderr.exp (rev 0)
+++ trunk/drd/tests/annotate_barrier_xml.stderr.exp 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,335 @@
+<?xml version="1.0"?>
+
+<valgrindoutput>
+
+<protocolversion>4</protocolversion>
+<protocoltool>drd</protocoltool>
+
+<preamble>
+ <line>...</line>
+ <line>...</line>
+ <line>...</line>
+ <line>...</line>
+</preamble>
+
+<pid>...</pid>
+<ppid>...</ppid>
+<tool>drd</tool>
+
+<args>
+ <vargv>...</vargv>
+ <argv>
+ <exe>./annotate_barrier</exe>
+ <arg>2</arg>
+ <arg>1</arg>
+ <arg>1</arg>
+ </argv>
+</args>
+
+<status>
+ <state>RUNNING</state>
+ <time>...</time>
+</status>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>UnimpDrdClReq</kind>
+ <what>The annotation macro ANNOTATE_BARRIER_INIT has not yet been implemented in <valgrind/drd.h></what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>barrier_init</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>barriers_and_races</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>UnimpDrdClReq</kind>
+ <what>The annotation macro ANNOTATE_BARRIER_WAIT_BEFORE has not yet been implemented in <valgrind/drd.h></what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>barrier_wait</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>threadfunc</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>UnimpDrdClReq</kind>
+ <what>The annotation macro ANNOTATE_BARRIER_WAIT_AFTER has not yet been implemented in <valgrind/drd.h></what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>barrier_wait</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>threadfunc</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>UnimpDrdClReq</kind>
+ <what>The annotation macro ANNOTATE_BARRIER_WAIT_BEFORE has not yet been implemented in <valgrind/drd.h></what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>barrier_wait</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>threadfunc</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 2 at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>threadfunc</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>
+ <text>Address 0x........ is at offset 0 from 0x.........</text>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>malloc</fn>
+ <dir>...</dir>
+ <file>vg_replace_malloc.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>barriers_and_races</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </auxwhat>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>UnimpDrdClReq</kind>
+ <what>The annotation macro ANNOTATE_BARRIER_WAIT_AFTER has not yet been implemented in <valgrind/drd.h></what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>barrier_wait</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>threadfunc</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>UnimpDrdClReq</kind>
+ <what>The annotation macro ANNOTATE_BARRIER_DESTROY has not yet been implemented in <valgrind/drd.h></what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>barrier_destroy</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>barriers_and_races</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>annotate_barrier.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+Done.
+
+<status>
+ <state>FINISHED</state>
+ <time>...</time>
+</status>
+
+<errorcounts>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+</errorcounts>
+
+<suppcounts>...</suppcounts>
+
+</valgrindoutput>
+
Added: trunk/drd/tests/annotate_barrier_xml.vgtest
===================================================================
--- trunk/drd/tests/annotate_barrier_xml.vgtest (rev 0)
+++ trunk/drd/tests/annotate_barrier_xml.vgtest 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,4 @@
+prereq: test -e annotate_barrier && ./supported_libpthread
+vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no --num-callers=3 --xml=yes --xml-fd=2
+prog: annotate_barrier 2 1 1
+stderr_filter: ../../memcheck/tests/filter_xml
Added: trunk/drd/tests/annotate_trace_memory_xml.stderr.exp
===================================================================
--- trunk/drd/tests/annotate_trace_memory_xml.stderr.exp (rev 0)
+++ trunk/drd/tests/annotate_trace_memory_xml.stderr.exp 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,141 @@
+<?xml version="1.0"?>
+
+<valgrindoutput>
+
+<protocolversion>4</protocolversion>
+<protocoltool>drd</protocoltool>
+
+<preamble>
+ <line>...</line>
+ <line>...</line>
+ <line>...</line>
+ <line>...</line>
+</preamble>
+
+<pid>...</pid>
+<ppid>...</ppid>
+<tool>drd</tool>
+
+<args>
+ <vargv>...</vargv>
+ <argv>
+ <exe>./tsan_unittest</exe>
+ <arg>1</arg>
+ </argv>
+</args>
+
+<status>
+ <state>RUNNING</state>
+ <time>...</time>
+</status>
+
+FLAGS [phb=1, fm=0]
+test01: positive
+<traceline>
+ store 0x........ size 4 (thread x / vc ...)
+</traceline>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>test01::Worker()</fn>
+ <dir>...</dir>
+ <file>tsan_unittest.cpp</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>MyThread::ThreadBody(MyThread*)</fn>
+ <dir>...</dir>
+ <file>tsan_thread_wrappers_pthread.h</file>
+ <line>...</line>
+ </frame>
+ </stack>
+<traceline>
+ store 0x........ size 4 (thread x / vc ...)
+</traceline>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>test01::Parent()</fn>
+ <dir>...</dir>
+ <file>tsan_unittest.cpp</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>test01::Run()</fn>
+ <dir>...</dir>
+ <file>tsan_unittest.cpp</file>
+ <line>...</line>
+ </frame>
+ </stack>
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread x at 0x........ size 4</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>test01::Parent()</fn>
+ <dir>...</dir>
+ <file>tsan_unittest.cpp</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>test01::Run()</fn>
+ <dir>...</dir>
+ <file>tsan_unittest.cpp</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat><text> Allocation context: BSS section of tsan_unittest
+ </text><auxwhat>
+</error>
+
+<traceline>
+ load 0x........ size 4 (thread x / vc ...)
+</traceline>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>test01::Run()</fn>
+ <dir>...</dir>
+ <file>tsan_unittest.cpp</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>tsan_unittest.cpp</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ GLOB=2
+
+<status>
+ <state>FINISHED</state>
+ <time>...</time>
+</status>
+
+<errorcounts>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+</errorcounts>
+
+<suppcounts>...</suppcounts>
+
+</valgrindoutput>
+
Added: trunk/drd/tests/annotate_trace_memory_xml.vgtest
===================================================================
--- trunk/drd/tests/annotate_trace_memory_xml.vgtest (rev 0)
+++ trunk/drd/tests/annotate_trace_memory_xml.vgtest 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,5 @@
+prereq: test -e tsan_unittest && ./supported_libpthread
+vgopts: --read-var-info=yes --check-stack-var=yes --show-confl-seg=no --num-callers=2 --xml=yes --xml-fd=2
+prog: tsan_unittest
+args: 1
+stderr_filter: ./filter_xml_and_thread_no
Added: trunk/drd/tests/bar_bad_xml.stderr.exp
===================================================================
--- trunk/drd/tests/bar_bad_xml.stderr.exp (rev 0)
+++ trunk/drd/tests/bar_bad_xml.stderr.exp 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,315 @@
+<?xml version="1.0"?>
+
+<valgrindoutput>
+
+<protocolversion>4</protocolversion>
+<protocoltool>drd</protocoltool>
+
+<preamble>
+ <line>...</line>
+ <line>...</line>
+ <line>...</line>
+ <line>...</line>
+</preamble>
+
+<pid>...</pid>
+<ppid>...</ppid>
+<tool>drd</tool>
+
+<args>
+ <vargv>...</vargv>
+ <argv>
+ <exe>./../../helgrind/tests/bar_bad</exe>
+ </argv>
+</args>
+
+<status>
+ <state>RUNNING</state>
+ <time>...</time>
+</status>
+
+
+initialise a barrier with zero count
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>BarrierErr</kind>
+ <what>pthread_barrier_init: 'count' argument is zero: barrier 0x........</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_init</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+initialise a barrier twice
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>BarrierErr</kind>
+ <what>Barrier reinitialization: barrier 0x........</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_init</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <first_observed_at>
+ <what>barrier</what>
+ <address>0x........</address>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_init</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </first_observed_at>
+</error>
+
+
+initialise a barrier which has threads waiting on it
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>BarrierErr</kind>
+ <what>Barrier reinitialization: barrier 0x........</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_init</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <first_observed_at>
+ <what>barrier</what>
+ <address>0x........</address>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_init</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </first_observed_at>
+</error>
+
+
+destroy a barrier that has waiting threads
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>BarrierErr</kind>
+ <what>Destruction of a barrier with active waiters: barrier 0x........</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_destroy</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <first_observed_at>
+ <what>barrier</what>
+ <address>0x........</address>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_init</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </first_observed_at>
+</error>
+
+
+destroy a barrier that was never initialised
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>GenericErr</kind>
+ <what>Not a barrier</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_destroy</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>BarrierErr</kind>
+ <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>free</fn>
+ <dir>...</dir>
+ <file>vg_replace_malloc.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <first_observed_at>
+ <what>barrier</what>
+ <address>0x........</address>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_init</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ </first_observed_at>
+</error>
+
+
+<status>
+ <state>FINISHED</state>
+ <time>...</time>
+</status>
+
+<errorcounts>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+</errorcounts>
+
+<suppcounts>...</suppcounts>
+
+</valgrindoutput>
+
Added: trunk/drd/tests/bar_bad_xml.vgtest
===================================================================
--- trunk/drd/tests/bar_bad_xml.vgtest (rev 0)
+++ trunk/drd/tests/bar_bad_xml.vgtest 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,4 @@
+prereq: test -e ../../helgrind/tests/bar_bad && ./supported_libpthread
+vgopts: --xml=yes --xml-fd=2
+prog: ../../helgrind/tests/bar_bad
+stderr_filter: ../../memcheck/tests/filter_xml
Modified: trunk/drd/tests/filter_stderr_and_thread_no
===================================================================
--- trunk/drd/tests/filter_stderr_and_thread_no 2011-10-11 18:50:14 UTC (rev 12136)
+++ trunk/drd/tests/filter_stderr_and_thread_no 2011-10-11 19:08:39 UTC (rev 12137)
@@ -1,9 +1,3 @@
#! /bin/sh
-./filter_stderr |
-
-# Get rid of the numbers as these make some tests more scheduling sensitive
-# -- those where there are multiple threads which play interchangeable roles.
-grep -v "^Thread [0-9][0-9]*:$" |
-sed -e "s:hread [0-9][0-9]*:hread x:g" \
- -e "s:of thread [0-9][0-9]*$:of thread x:g"
+./filter_stderr | ./filter_thread_no
Added: trunk/drd/tests/filter_thread_no
===================================================================
--- trunk/drd/tests/filter_thread_no (rev 0)
+++ trunk/drd/tests/filter_thread_no 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,7 @@
+#! /bin/sh
+
+# Get rid of the numbers as these make some tests more scheduling sensitive
+# -- those where there are multiple threads which play interchangeable roles.
+grep -v "^Thread [0-9][0-9]*:$" |
+sed -e "s:hread [0-9][0-9]*:hread x:g" \
+ -e "s:of thread [0-9][0-9]*$:of thread x:g"
Property changes on: trunk/drd/tests/filter_thread_no
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/drd/tests/filter_xml_and_thread_no
===================================================================
--- trunk/drd/tests/filter_xml_and_thread_no (rev 0)
+++ trunk/drd/tests/filter_xml_and_thread_no 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,3 @@
+#! /bin/sh
+
+../../memcheck/tests/filter_xml | ./filter_thread_no
Added: trunk/drd/tests/fp_race_xml.stderr.exp
===================================================================
--- trunk/drd/tests/fp_race_xml.stderr.exp (rev 0)
+++ trunk/drd/tests/fp_race_xml.stderr.exp 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,118 @@
+<?xml version="1.0"?>
+
+<valgrindoutput>
+
+<protocolversion>4</protocolversion>
+<protocoltool>drd</protocoltool>
+
+<preamble>
+ <line>...</line>
+ <line>...</line>
+ <line>...</line>
+ <line>...</line>
+</preamble>
+
+<pid>...</pid>
+<ppid>...</ppid>
+<tool>drd</tool>
+
+<args>
+ <vargv>...</vargv>
+ <argv>
+ <exe>./fp_race</exe>
+ </argv>
+</args>
+
+<status>
+ <state>RUNNING</state>
+ <time>...</time>
+</status>
+
+<traceline>
+ drd_pre_thread_create creator = 0, created = 1
+</traceline>
+<traceline>
+ drd_post_thread_create created = 1
+</traceline>
+<traceline>
+ drd_pre_thread_create creator = 1, created = 2
+</traceline>
+<traceline>
+ drd_post_thread_create created = 2
+</traceline>
+<traceline>
+ drd_thread_finished tid = 2
+</traceline>
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting load by thread 1 at 0x........ size 8</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>fp_race.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Location 0x........ is 0 bytes inside local var "s_d3"</auxwhat>
+ <xauxwhat><text>declared at fp_race.c:24, in frame #? of thread 1</text> <file>fp_race.c</file> <line>...</line> </xauxwhat>
+ <other_segment_start>
+ </other_segment_start>
+ <other_segment_end>
+ </other_segment_end>
+</error>
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>ConflictingAccess</kind>
+ <what>Conflicting store by thread 1 at 0x........ size 8</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>main</fn>
+ <dir>...</dir>
+ <file>fp_race.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+ <auxwhat>Location 0x........ is 0 bytes inside local var "s_d3"</auxwhat>
+ <xauxwhat><text>declared at fp_race.c:24, in frame #? of thread 1</text> <file>fp_race.c</file> <line>...</line> </xauxwhat>
+ <other_segment_start>
+ </other_segment_start>
+ <other_segment_end>
+ </other_segment_end>
+</error>
+
+<traceline>
+ drd_post_thread_join joiner = 1, joinee = 2, new vc: [ 1: 4, 2: 1 ]
+</traceline>
+<traceline>
+ drd_thread_finished tid = 1
+</traceline>
+
+<status>
+ <state>FINISHED</state>
+ <time>...</time>
+</status>
+
+<errorcounts>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+</errorcounts>
+
+<suppcounts>...</suppcounts>
+
+</valgrindoutput>
+
Added: trunk/drd/tests/fp_race_xml.vgtest
===================================================================
--- trunk/drd/tests/fp_race_xml.vgtest (rev 0)
+++ trunk/drd/tests/fp_race_xml.vgtest 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,4 @@
+prereq: ./supported_libpthread
+vgopts: --read-var-info=yes --xml=yes --xml-fd=2 --trace-fork-join=yes
+prog: fp_race
+stderr_filter: ../../memcheck/tests/filter_xml
Added: trunk/drd/tests/thread_name_xml.stderr.exp
===================================================================
--- trunk/drd/tests/thread_name_xml.stderr.exp (rev 0)
+++ trunk/drd/tests/thread_name_xml.stderr.exp 2011-10-11 19:08:39 UTC (rev 12137)
@@ -0,0 +1,443 @@
+<?xml version="1.0"?>
+
+<valgrindoutput>
+
+<protocolversion>4</protocolversion>
+<protocoltool>drd</protocoltool>
+
+<preamble>
+ <line>...</line>
+ <line>...</line>
+ <line>...</line>
+ <line>...</line>
+</preamble>
+
+<pid>...</pid>
+<ppid>...</ppid>
+<tool>drd</tool>
+
+<args>
+ <vargv>...</vargv>
+ <argv>
+ <exe>./thread_name</exe>
+ </argv>
+</args>
+
+<status>
+ <state>RUNNING</state>
+ <time>...</time>
+</status>
+
+
+thread_func instance 1
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>MutexErr</kind>
+ <what>The object at address 0x........ is not a mutex.</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_mutex_unlock</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>thread_func</fn>
+ <dir>...</dir>
+ <file>thread_name.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+thread_func instance 2
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>MutexErr</kind>
+ <what>The object at address 0x........ is not a mutex.</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_mutex_unlock</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>thread_func</fn>
+ <dir>...</dir>
+ <file>thread_name.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+thread_func instance 3
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>MutexErr</kind>
+ <what>The object at address 0x........ is not a mutex.</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_mutex_unlock</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>thread_func</fn>
+ <dir>...</dir>
+ <file>thread_name.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+thread_func instance 4
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>MutexErr</kind>
+ <what>The object at address 0x........ is not a mutex.</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_mutex_unlock</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>thread_func</fn>
+ <dir>...</dir>
+ <file>thread_name.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+thread_func instance 5
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>MutexErr</kind>
+ <what>The object at address 0x........ is not a mutex.</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_mutex_unlock</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>thread_func</fn>
+ <dir>...</dir>
+ <file>thread_name.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+thread_func instance 6
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>MutexErr</kind>
+ <what>The object at address 0x........ is not a mutex.</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_mutex_unlock</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>thread_func</fn>
+ <dir>...</dir>
+ <file>thread_name.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+thread_func instance 7
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>MutexErr</kind>
+ <what>The object at address 0x........ is not a mutex.</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_mutex_unlock</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>thread_func</fn>
+ <dir>...</dir>
+ <file>thread_name.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+thread_func instance 8
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>MutexErr</kind>
+ <what>The object at address 0x........ is not a mutex.</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_mutex_unlock</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>thread_func</fn>
+ <dir>...</dir>
+ <file>thread_name.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+thread_func instance 9
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>MutexErr</kind>
+ <what>The object at address 0x........ is not a mutex.</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_mutex_unlock</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>thread_func</fn>
+ <dir>...</dir>
+ <file>thread_name.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+thread_func instance 10
+
+<error>
+ <unique>0x........</unique>
+ <tid>...</tid>
+ <kind>MutexErr</kind>
+ <what>The object at address 0x........ is not a mutex.</what>
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_mutex_unlock</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>thread_func</fn>
+ <dir>...</dir>
+ <file>thread_name.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+</error>
+
+
+<status>
+ <state>FINISHED</state>
+ <time>...</time>
+</status>
+
+<errorcounts>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+ <pair>
+ <count>...</count>
+ <unique>0x........</unique>
+ </pair>
+</errorcounts>
+
+<suppcounts>...</suppcounts>
+
+</valgrindoutput>
+
Added: trunk/drd/tests/thread_name_xml.vgtest
===================================================================
--- trunk/drd/tests/thread_name_xml.vgtest ...
[truncated message content] |
|
From: Philippe W. <phi...@sk...> - 2011-10-11 19:09:25
|
> I will take a look at this and see if I can propose something which would work > properly for all the tests/files/.... Ignore the above, I saw Bart was quick and proposed something in https://bugs.kde.org/show_bug.cgi?id=283813 I will take a look at the above. Philippe |
|
From: Philippe W. <phi...@sk...> - 2011-10-11 19:07:14
|
>> > Maybe this check could be part of make regtest ? >> > (then nobody can forget anymore) >> >> I for one would welcome the integration of your script in make regtest. > > Yes, me too. Or into make dist. Philippe, can you show the script? The script is very basic (i.e. corresponds to what is in drd/Testing.txt step 3). So, the issue is not the script itself; but rather how to properly integrate this check in the make regtest. I will take a look at this and see if I can propose something which would work properly for all the tests/files/.... Philippe |
|
From: Philippe W. <phi...@sk...> - 2011-10-11 18:59:42
|
>>> gdbserver_tests/mcsignopass (stderr) >>> gdbserver_tests/mcsignopass (stdoutB) >>> gdbserver_tests/mcsigpass (stderr) >>> gdbserver_tests/mcsigpass (stdoutB) >> The above tests are based on none/tests/faultstatus which also fails. >> I think that if faultstatus is fixed, these should also work. > > I opened https://bugs.kde.org/show_bug.cgi?id=283709 to address the faultstatus problem. > This fix also allows mcsignopass and mcsigpass to pass on my ppc64/SLES 11 SP system. That is good news. For what concerns the other problems discussed in the other mail: * For the filtering of the power7 specific lines (cfr other mail), the best is also to attach a patch. * For the remaining failing tests: if this is due to inferior function calls not working, a comparison with a power5 and/or with the "standard" gdbserver might help to understand what is wrong. I currently have no access anymore to a ppc system, so can't investigate much. Philippe |
|
From: <sv...@va...> - 2011-10-11 18:55:02
|
Author: bart
Date: 2011-10-11 19:50:14 +0100 (Tue, 11 Oct 2011)
New Revision: 12136
Log:
Emit <state>RUNNING</state> earlier
Modified:
trunk/coregrind/m_main.c
Modified: trunk/coregrind/m_main.c
===================================================================
--- trunk/coregrind/m_main.c 2011-10-11 18:49:35 UTC (rev 12135)
+++ trunk/coregrind/m_main.c 2011-10-11 18:50:14 UTC (rev 12136)
@@ -1968,6 +1968,17 @@
vg_assert(change_ownership_v_c_OK);
}
+ if (VG_(clo_xml)) {
+ HChar buf[50];
+ VG_(elapsed_wallclock_time)(buf);
+ VG_(printf_xml)( "<status>\n"
+ " <state>RUNNING</state>\n"
+ " <time>%pS</time>\n"
+ "</status>\n",
+ buf );
+ VG_(printf_xml)( "\n" );
+ }
+
//--------------------------------------------------------------
// Initialise the scheduler (phase 1) [generates tid_main]
// p: none, afaics
@@ -2169,17 +2180,6 @@
//--------------------------------------------------------------
// Run!
//--------------------------------------------------------------
- if (VG_(clo_xml)) {
- HChar buf[50];
- VG_(elapsed_wallclock_time)(buf);
- VG_(printf_xml)( "<status>\n"
- " <state>RUNNING</state>\n"
- " <time>%pS</time>\n"
- "</status>\n",
- buf );
- VG_(printf_xml)( "\n" );
- }
-
VG_(debugLog)(1, "main", "Running thread 1\n");
/* As a result of the following call, the last thread standing
|
|
From: <sv...@va...> - 2011-10-11 18:54:20
|
Author: bart
Date: 2011-10-11 19:49:35 +0100 (Tue, 11 Oct 2011)
New Revision: 12135
Log:
Add format specifier %ps: only escape XML-metacharacters for --xml=yes
Modified:
trunk/coregrind/m_debuglog.c
trunk/coregrind/m_main.c
trunk/coregrind/pub_core_debuglog.h
Modified: trunk/coregrind/m_debuglog.c
===================================================================
--- trunk/coregrind/m_debuglog.c 2011-10-11 18:17:48 UTC (rev 12134)
+++ trunk/coregrind/m_debuglog.c 2011-10-11 18:49:35 UTC (rev 12135)
@@ -56,6 +56,13 @@
#include "pub_core_debuglog.h" /* our own iface */
#include "valgrind.h" /* for RUNNING_ON_VALGRIND */
+static Bool clo_xml;
+
+void VG_(debugLog_setXml)(Bool xml)
+{
+ clo_xml = xml;
+}
+
/*------------------------------------------------------------*/
/*--- Stuff to make us completely independent. ---*/
/*------------------------------------------------------------*/
@@ -730,6 +737,17 @@
if (str == (char*) 0)
str = "(null)";
ret += myvprintf_str_XML_simplistic(send, send_arg2, str);
+ } else if (format[i+1] == 's') {
+ i++;
+ /* %ps, synonym for %s with --xml=no / %pS with --xml=yes */
+ char *str = va_arg (vargs, char *);
+ if (str == (char*) 0)
+ str = "(null)";
+ if (clo_xml)
+ ret += myvprintf_str_XML_simplistic(send, send_arg2, str);
+ else
+ ret += myvprintf_str(send, send_arg2, flags, width, str,
+ False);
} else {
/* %p */
ret += 2;
Modified: trunk/coregrind/m_main.c
===================================================================
--- trunk/coregrind/m_main.c 2011-10-11 18:17:48 UTC (rev 12134)
+++ trunk/coregrind/m_main.c 2011-10-11 18:49:35 UTC (rev 12135)
@@ -462,7 +462,9 @@
VG_(clo_verbosity)--;
else if VG_BOOL_CLO(arg, "--stats", VG_(clo_stats)) {}
- else if VG_BOOL_CLO(arg, "--xml", VG_(clo_xml)) {}
+ else if VG_BOOL_CLO(arg, "--xml", VG_(clo_xml))
+ VG_(debugLog_setXml)(VG_(clo_xml));
+
else if VG_XACT_CLO(arg, "--vgdb=no", VG_(clo_vgdb), Vg_VgdbNo) {}
else if VG_XACT_CLO(arg, "--vgdb=yes", VG_(clo_vgdb), Vg_VgdbYes) {}
else if VG_XACT_CLO(arg, "--vgdb=full", VG_(clo_vgdb), Vg_VgdbFull) {}
Modified: trunk/coregrind/pub_core_debuglog.h
===================================================================
--- trunk/coregrind/pub_core_debuglog.h 2011-10-11 18:17:48 UTC (rev 12134)
+++ trunk/coregrind/pub_core_debuglog.h 2011-10-11 18:49:35 UTC (rev 12135)
@@ -59,6 +59,10 @@
void VG_(debugLog_startup) ( Int level, HChar* who );
+/* Whether %ps should escape XML metacharacters. */
+extern void VG_(debugLog_setXml)(Bool xml);
+
+
/* Get the logging threshold level, as set by the most recent call to
VG_(debugLog_startup), or zero if there have been no such calls so
far. */
|
|
From: Bart V. A. <bva...@ac...> - 2011-10-11 18:38:14
|
On Tue, Oct 11, 2011 at 12:41 AM, Florian Krohm <br...@ac...> wrote: > On 10/10/2011 05:18 PM, Julian Seward wrote: >> Also, it seems like filter_memcheck didn't make it into the tarball. > > Likely. There is plenty more that needs fixing, I used Bart scripts from > drd/Testing.txt #4 and #5 and they pointed out quite a few issues. I've converted these scripts into a patch and have uploaded that patch and the current output here: https://bugs.kde.org/show_bug.cgi?id=283813. Feedback is welcome. Bart. |
|
From: <sv...@va...> - 2011-10-11 18:22:38
|
Author: bart
Date: 2011-10-11 19:17:48 +0100 (Tue, 11 Oct 2011)
New Revision: 12134
Log:
Make sure that exp-sgcheck/tests/stackerr passes on openSUSE 11.4 x86
Modified:
trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc27-x86
trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc28-amd64
trunk/exp-sgcheck/tests/stackerr.vgtest
Modified: trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc27-x86
===================================================================
--- trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc27-x86 2011-10-11 10:56:11 UTC (rev 12133)
+++ trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc27-x86 2011-10-11 18:17:48 UTC (rev 12134)
@@ -19,8 +19,6 @@
at 0x........: _IO_default_xsputn (in /...libc...)
by 0x........: ...
by 0x........: ...
- by 0x........: ...
- by 0x........: main (stackerr.c:49)
Address 0x........ expected vs actual:
Expected: stack array "buf" of size 8 in frame 4 back from here
Actual: stack array "beforebuf" of size 8 in frame 4 back from here
Modified: trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc28-amd64
===================================================================
--- trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc28-amd64 2011-10-11 10:56:11 UTC (rev 12133)
+++ trunk/exp-sgcheck/tests/stackerr.stderr.exp-glibc28-amd64 2011-10-11 18:17:48 UTC (rev 12134)
@@ -19,8 +19,6 @@
at 0x........: _IO_default_xsputn (in /...libc...)
by 0x........: ...
by 0x........: ...
- by 0x........: ...
- by 0x........: main (stackerr.c:49)
Address 0x........ expected vs actual:
Expected: stack array "buf" of size 8 in frame 4 back from here
Actual: unknown
Modified: trunk/exp-sgcheck/tests/stackerr.vgtest
===================================================================
--- trunk/exp-sgcheck/tests/stackerr.vgtest 2011-10-11 10:56:11 UTC (rev 12133)
+++ trunk/exp-sgcheck/tests/stackerr.vgtest 2011-10-11 18:17:48 UTC (rev 12134)
@@ -1,2 +1,3 @@
prereq: ./is_arch_supported
+vgopts: --num-callers=3
prog: stackerr
|
|
From: <sv...@va...> - 2011-10-11 11:01:03
|
Author: bart
Date: 2011-10-11 11:56:11 +0100 (Tue, 11 Oct 2011)
New Revision: 12133
Log:
Revert r12128 because it triggers an assertion failure on one of the nightly build systems
Modified:
trunk/memcheck/tests/err_disable4.c
Modified: trunk/memcheck/tests/err_disable4.c
===================================================================
--- trunk/memcheck/tests/err_disable4.c 2011-10-10 06:10:11 UTC (rev 12132)
+++ trunk/memcheck/tests/err_disable4.c 2011-10-11 10:56:11 UTC (rev 12133)
@@ -77,7 +77,7 @@
pthread_attr_t attr;
r = pthread_attr_init(&attr); assert(!r);
- r = pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN + 4096); assert(!r);
+ r = pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN);
// create N threads to do child_fn_1 ...
for (i = 0; i < NTHREADS; i++) {
|
|
From: <br...@ac...> - 2011-10-11 08:25:06
|
valgrind revision: 12132
VEX revision: 2215
GCC version: gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-3)
C library: GNU C Library stable release version 2.3.4, by Roland McGrath et al.
uname -mrs: Linux 2.6.9-42.EL s390x
Vendor version: Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
Nightly build on z900 ( s390x build on z900 )
Started at 2011-10-11 01:42:16 EDT
Ended at 2011-10-11 04:31:41 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
== 465 tests, 9 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/tc14_laog_dinphils (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
drd/tests/tc04_free_lock (stderr)
drd/tests/tc09_bad_unlock (stderr)
=================================================
./valgrind-new/drd/tests/tc04_free_lock.stderr.diff
=================================================
--- tc04_free_lock.stderr.exp 2011-10-11 03:09:06.000000000 -0400
+++ tc04_free_lock.stderr.out 2011-10-11 04:28:50.000000000 -0400
@@ -8,7 +8,8 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:26)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,19 +17,12 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: main (tc04_free_lock.c:27)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2011-10-11 03:09:06.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2011-10-11 04:29:15.000000000 -0400
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8
=================================================
--- tc09_bad_unlock.stderr.exp-glibc2.8 2011-10-11 03:09:06.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2011-10-11 04:29:15.000000000 -0400
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2011-10-11 03:08:13.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2011-10-11 04:09:49.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/tc14_laog_dinphils.stderr.diff
=================================================
--- tc14_laog_dinphils.stderr.exp 2011-10-11 03:08:13.000000000 -0400
+++ tc14_laog_dinphils.stderr.out 2011-10-11 04:10:16.000000000 -0400
@@ -20,5 +20,26 @@
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
+---Thread-Announcement------------------------------------------
-ERROR SUMMARY: 1000 errors from 1 contexts (suppressed: 0 from 0)
+Thread #x was created
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc14_laog_dinphils.c:34)
+
+----------------------------------------------------------------
+
+Thread #x: lock order "0x........ before 0x........" violated
+
+Observed (incorrect) order is: acquisition of lock at 0x........
+ (stack unavailable)
+
+ followed by a later acquisition of lock at 0x........
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ by 0x........: dine (tc14_laog_dinphils.c:19)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+
+ERROR SUMMARY: 1048 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2011-10-11 03:08:13.000000000 -0400
+++ tc18_semabuse.stderr.out 2011-10-11 04:10:38.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 2011-10-11 03:08:13.000000000 -0400
+++ tc20_verifywrap.stderr.out 2011-10-11 04:11:43.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 2011-10-11 03:08:30.000000000 -0400
+++ manuel3.stderr.out 2011-10-11 03:40:05.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 2011-10-11 03:08:30.000000000 -0400
+++ partial_load_ok.stderr.out 2011-10-11 03:44:37.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 2011-10-11 03:08:30.000000000 -0400
+++ partial_load_ok.stderr.out 2011-10-11 03:44:37.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 2011-10-11 03:08:30.000000000 -0400
+++ varinfo6.stderr.out 2011-10-11 03:52:04.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 2011-10-11 03:08:30.000000000 -0400
+++ varinfo6.stderr.out 2011-10-11 03:52:04.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/drd/tests/tc04_free_lock.stderr.diff
=================================================
--- tc04_free_lock.stderr.exp 2011-10-11 01:43:09.000000000 -0400
+++ tc04_free_lock.stderr.out 2011-10-11 03:05:20.000000000 -0400
@@ -8,7 +8,8 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:26)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
@@ -16,19 +17,12 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: foo (tc04_free_lock.c:49)
- by 0x........: main (tc04_free_lock.c:27)
+ by 0x........: process_dl_debug (in /lib64/ld-2.3.4.so)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: bar (tc04_free_lock.c:40)
- by 0x........: main (tc04_free_lock.c:28)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
- by 0x........: bar (tc04_free_lock.c:38)
- by 0x........: main (tc04_free_lock.c:28)
-
-ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 4 errors from 3 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2011-10-11 01:43:09.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2011-10-11 03:05:40.000000000 -0400
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc09_bad_unlock.stderr.diff-glibc2.8
=================================================
--- tc09_bad_unlock.stderr.exp-glibc2.8 2011-10-11 01:43:09.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2011-10-11 03:05:40.000000000 -0400
@@ -26,7 +26,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
+ by 0x........: ???
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
@@ -47,13 +47,5 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: (below main)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
-
-ERROR SUMMARY: 8 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2011-10-11 01:42:27.000000000 -0400
+++ tc09_bad_unlock.stderr.out 2011-10-11 02:42:30.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/tc14_laog_dinphils.stderr.diff
=================================================
--- tc14_laog_dinphils.stderr.exp 2011-10-11 01:42:27.000000000 -0400
+++ tc14_laog_dinphils.stderr.out 2011-10-11 02:42:58.000000000 -0400
@@ -20,5 +20,26 @@
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
+---Thread-Announcement------------------------------------------
-ERROR SUMMARY: 1000 errors from 1 contexts (suppressed: 0 from 0)
+Thread #x was created
+ ...
+ by 0x........: pthread_create_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc14_laog_dinphils.c:34)
+
+----------------------------------------------------------------
+
+Thread #x: lock order "0x........ before 0x........" violated
+
+Observed (incorrect) order is: acquisition of lock at 0x........
+ (stack unavailable)
+
+ followed by a later acquisition of lock at 0x........
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ by 0x........: dine (tc14_laog_dinphils.c:19)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+
+ERROR SUMMARY: 1048 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/helgrind/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2011-10-11 01:42:26.000000000 -0400
+++ tc18_semabuse.stderr.out 2011-10-11 02:43:21.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 2011-10-11 01:42:26.000000000 -0400
+++ tc20_verifywrap.stderr.out 2011-10-11 02:44:25.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 2011-10-11 01:42:40.000000000 -0400
+++ manuel3.stderr.out 2011-10-11 02:13:48.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 2011-10-11 01:42:39.000000000 -0400
+++ partial_load_ok.stderr.out 2011-10-11 02:18:22.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 2011-10-11 01:42:39.000000000 -0400
+++ partial_load_ok.stderr.out 2011-10-11 02:18:22.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 2011-10-11 01:42:39.000000000 -0400
+++ varinfo6.stderr.out 2011-10-11 02:25:47.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 2011-10-11 01:42:39.000000000 -0400
+++ varinfo6.stderr.out 2011-10-11 02:25:47.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: Rich C. <rc...@wi...> - 2011-10-11 05:48:26
|
valgrind revision: 12132
VEX revision: 2215
GCC version: gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
C library: GNU C Library stable release version 2.9 (20081117), by Roland McGrath et al.
uname -mrs: Linux 2.6.27.45-0.1-default ppc
Vendor version: Welcome to openSUSE 11.1 - Kernel %r (%t).
Nightly build on ppc32 ( Linux 2.6.27.45-0.1-default ppc )
Started at 2011-10-10 23:26:01 CDT
Ended at 2011-10-11 00:48:13 CDT
Results differ from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 477 tests, 11 stderr failures, 5 stdout failures, 2 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/mcvabits (stderrB)
memcheck/tests/linux/stack_changes (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo6 (stderr)
massif/tests/big-alloc (post)
massif/tests/deep-D (post)
massif/tests/overloaded-new (post)
none/tests/ppc32/jm-fp (stdout)
none/tests/ppc32/jm-fp (stderr)
none/tests/ppc32/power5+_round (stdout)
none/tests/ppc32/power5+_round (stderr)
none/tests/ppc32/round (stdout)
none/tests/ppc32/round (stderr)
none/tests/ppc32/test_fx (stdout)
none/tests/ppc32/test_fx (stderr)
none/tests/ppc32/test_gx (stdout)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 477 tests, 12 stderr failures, 5 stdout failures, 2 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcinfcallWSRU (stderrB)
gdbserver_tests/mcvabits (stderrB)
memcheck/tests/linux/stack_changes (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo6 (stderr)
massif/tests/big-alloc (post)
massif/tests/deep-D (post)
massif/tests/overloaded-new (post)
none/tests/ppc32/jm-fp (stdout)
none/tests/ppc32/jm-fp (stderr)
none/tests/ppc32/power5+_round (stdout)
none/tests/ppc32/power5+_round (stderr)
none/tests/ppc32/round (stdout)
none/tests/ppc32/round (stderr)
none/tests/ppc32/test_fx (stdout)
none/tests/ppc32/test_fx (stderr)
none/tests/ppc32/test_gx (stdout)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc20_verifywrap (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
drd/tests/tc23_bogus_condwait (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Tue Oct 11 00:07:22 2011
--- new.short Tue Oct 11 00:48:13 2011
***************
*** 8,10 ****
! == 477 tests, 12 stderr failures, 5 stdout failures, 2 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcinfcallWSRU (stderrB)
--- 8,10 ----
! == 477 tests, 11 stderr failures, 5 stdout failures, 2 stderrB failures, 0 stdoutB failures, 3 post failures ==
gdbserver_tests/mcinfcallWSRU (stderrB)
***************
*** 30,32 ****
helgrind/tests/tc23_bogus_condwait (stderr)
- drd/tests/tc23_bogus_condwait (stderr)
--- 30,31 ----
=================================================
./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff
=================================================
--- mcinfcallWSRU.stderrB.exp 2011-10-11 00:07:30.000000000 -0500
+++ mcinfcallWSRU.stderrB.out 2011-10-11 00:23:51.000000000 -0500
@@ -21,35 +21,33 @@
0x........ in do_burn () at sleepers.c:39
39 for (i = 0; i < burn; i++) loopnr++;
[Switching to thread 1 (Thread ....)]
-#0 0x........ in do_burn () at sleepers.c:39
+#0 0x........ in do_burn ()
+ ...
39 for (i = 0; i < burn; i++) loopnr++;
$1 = void
[Switching to thread 2 (Thread ....)]
#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
+Remote failure reply: E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
set pc, calling from gdb a function in the debugged process, ...)
can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
Thread status is VgTs_WaitSys
-'
[Switching to thread 3 (Thread ....)]
#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
+Remote failure reply: E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
set pc, calling from gdb a function in the debugged process, ...)
can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
Thread status is VgTs_WaitSys
-'
[Switching to thread 4 (Thread ....)]
#0 0x........ in syscall ...
-Could not write register "xxx"; remote failure reply 'E.
+Remote failure reply: E.
ERROR changing register xxx regno y
gdb commands changing registers (pc, sp, ...) (e.g. 'jump',
set pc, calling from gdb a function in the debugged process, ...)
can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state
Thread status is VgTs_WaitSys
-'
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-new/gdbserver_tests/mcvabits.stderrB.diff
=================================================
--- mcvabits.stderrB.exp 2011-10-11 00:07:30.000000000 -0500
+++ mcvabits.stderrB.out 2011-10-11 00:24:24.000000000 -0500
@@ -1,55 +1,32 @@
relaying data between gdb and process ....
vgdb-error value changed from 0 to 999999
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 defined
- Address 0x........ is 0 bytes inside data symbol "undefined"
-00000000 00000000 0000
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff00ff00 ff00ff00 ff00
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff000000 0000ff00 ff00
-Address 0x........ len 10 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff00ffff ffffff00 ff00
-Address 0x........ len 2 addressable
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 2 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-ff00
-Address 0x........ len 2 not addressable:
-bad address 0x........
- Address 0x........ is 2 bytes inside data symbol "undefined"
-Address 0x........ len 2 not addressable:
-bad address 0x........
- Address 0x........ is 2 bytes inside data symbol "undefined"
-____
-Address 0x........ len 2 has 2 bytes unaddressable
-Address 0x........ len 6 addressable
- Address 0x........ is 4 bytes inside data symbol "undefined"
-Address 0x........ len 6 not defined:
-Uninitialised value at 0x........
- Address 0x........ is 4 bytes inside data symbol "undefined"
-ffffff00 ff00
-Address 0x........ len 10 not addressable:
-bad address 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-Address 0x........ len 10 not addressable:
-bad address 0x........
- Address 0x........ is 0 bytes inside data symbol "undefined"
-0000____ 00000000 0000
-Address 0x........ len 10 has 2 bytes unaddressable
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
+Undefined command: "eval". Try "help".
monitor command request to kill this process
Remote connection closed
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2011-10-11 00:07:28.000000000 -0500
+++ hg05_race2.stderr.out 2011-10-11 00:37:16.000000000 -0500
@@ -29,9 +29,6 @@
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
-declared at hg05_race2.c:24, in frame #x of thread x
-
----------------------------------------------------------------
Possible data race during write of size 4 at 0x........ by thread #x
@@ -46,8 +43,5 @@
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
-Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
-declared at hg05_race2.c:24, in frame #x of thread x
-
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc18_semabuse.stderr.diff
=================================================
--- tc18_semabuse.stderr.exp 2011-10-11 00:07:28.000000000 -0500
+++ tc18_semabuse.stderr.out 2011-10-11 00:38:33.000000000 -0500
@@ -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 2011-10-11 00:07:28.000000000 -0500
+++ tc20_verifywrap.stderr.out 2011-10-11 00:38:56.000000000 -0500
@@ -215,14 +215,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 +227,4 @@
...
-ERROR SUMMARY: 23 errors from 23 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 22 errors from 22 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc23_bogus_condwait.stderr.diff
=================================================
--- tc23_bogus_condwait.stderr.exp 2011-10-11 00:07:28.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-10-11 00:39:13.000000000 -0500
@@ -26,6 +26,14 @@
----------------------------------------------------------------
+Thread #x's call to pthread_cond_wait failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:72)
+
+----------------------------------------------------------------
+
Thread #x: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t*
at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
@@ -53,4 +61,4 @@
by 0x........: main (tc23_bogus_condwait.c:78)
-ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/massif/tests/big-alloc.post.diff
=================================================
--- big-alloc.post.exp 2011-10-11 00:07:37.000000000 -0500
+++ big-alloc.post.out 2011-10-11 00:33:23.000000000 -0500
@@ -36,19 +36,19 @@
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
- 1 10,489,832 10,489,832 10,485,760 4,072 0
- 2 20,979,664 20,979,664 20,971,520 8,144 0
- 3 31,469,496 31,469,496 31,457,280 12,216 0
- 4 41,959,328 41,959,328 41,943,040 16,288 0
- 5 52,449,160 52,449,160 52,428,800 20,360 0
- 6 62,938,992 62,938,992 62,914,560 24,432 0
- 7 73,428,824 73,428,824 73,400,320 28,504 0
- 8 83,918,656 83,918,656 83,886,080 32,576 0
- 9 94,408,488 94,408,488 94,371,840 36,648 0
+ 1 10,489,816 10,489,816 10,485,760 4,056 0
+ 2 20,979,632 20,979,632 20,971,520 8,112 0
+ 3 31,469,448 31,469,448 31,457,280 12,168 0
+ 4 41,959,264 41,959,264 41,943,040 16,224 0
+ 5 52,449,080 52,449,080 52,428,800 20,280 0
+ 6 62,938,896 62,938,896 62,914,560 24,336 0
+ 7 73,428,712 73,428,712 73,400,320 28,392 0
+ 8 83,918,528 83,918,528 83,886,080 32,448 0
+ 9 94,408,344 94,408,344 94,371,840 36,504 0
99.96% (94,371,840B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.96% (94,371,840B) 0x........: main (big-alloc.c:12)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
- 10 104,898,320 104,898,320 104,857,600 40,720 0
+ 10 104,898,160 104,898,160 104,857,600 40,560 0
=================================================
./valgrind-new/massif/tests/big-alloc.post.diff-64bit
=================================================
--- big-alloc.post.exp-64bit 2011-10-11 00:07:37.000000000 -0500
+++ big-alloc.post.out 2011-10-11 00:33:23.000000000 -0500
@@ -36,19 +36,19 @@
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
0 0 0 0 0 0
- 1 10,489,800 10,489,800 10,485,760 4,040 0
- 2 20,979,600 20,979,600 20,971,520 8,080 0
- 3 31,469,400 31,469,400 31,457,280 12,120 0
- 4 41,959,200 41,959,200 41,943,040 16,160 0
- 5 52,449,000 52,449,000 52,428,800 20,200 0
- 6 62,938,800 62,938,800 62,914,560 24,240 0
- 7 73,428,600 73,428,600 73,400,320 28,280 0
- 8 83,918,400 83,918,400 83,886,080 32,320 0
- 9 94,408,200 94,408,200 94,371,840 36,360 0
+ 1 10,489,816 10,489,816 10,485,760 4,056 0
+ 2 20,979,632 20,979,632 20,971,520 8,112 0
+ 3 31,469,448 31,469,448 31,457,280 12,168 0
+ 4 41,959,264 41,959,264 41,943,040 16,224 0
+ 5 52,449,080 52,449,080 52,428,800 20,280 0
+ 6 62,938,896 62,938,896 62,914,560 24,336 0
+ 7 73,428,712 73,428,712 73,400,320 28,392 0
+ 8 83,918,528 83,918,528 83,886,080 32,448 0
+ 9 94,408,344 94,408,344 94,371,840 36,504 0
99.96% (94,371,840B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
->99.96% (94,371,840B) 0x........: main (big-alloc.c:12)
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
- 10 104,898,000 104,898,000 104,857,600 40,400 0
+ 10 104,898,160 104,898,160 104,857,600 40,560 0
=================================================
./valgrind-new/massif/tests/deep-D.post.diff
=================================================
--- deep-D.post.exp 2011-10-11 00:07:37.000000000 -0500
+++ deep-D.post.out 2011-10-11 00:33:31.000000000 -0500
@@ -46,8 +46,9 @@
8 3,264 3,264 3,200 64 0
9 3,672 3,672 3,600 72 0
98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->98.04% (3,600B) 0x........: (below main)
-
+->98.04% (3,600B) 0x........: ??? (in /...libc...)
+ ->98.04% (3,600B) 0x........: (below main)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
=================================================
./valgrind-new/massif/tests/overloaded-new.post.diff
=================================================
--- overloaded-new.post.exp 2011-10-11 00:07:37.000000000 -0500
+++ overloaded-new.post.out 2011-10-11 00:33:42.000000000 -0500
@@ -42,14 +42,18 @@
4 12,032 12,032 12,000 32 0
5 12,032 12,032 12,000 32 0
99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
-|
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
-|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
-|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
-
+->33.24% (4,000B) 0x........: operator new(unsigned int) (overloaded-new.cpp:19)
+| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
+|
+->33.24% (4,000B) 0x........: operator new(unsigned int, std::nothrow_t const&) (overloaded-new.cpp:24)
+| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
+|
+->16.62% (2,000B) 0x........: operator new[](unsigned int) (overloaded-new.cpp:29)
+| ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
+|
+->16.62% (2,000B) 0x........: operator new[](unsigned int, std::nothrow_t const&) (overloaded-new.cpp:34)
+ ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
=================================================
./valgrind-new/memcheck/tests/linux/stack_changes.stderr.diff
=================================================
--- stack_changes.stderr.exp 2011-10-11 00:07:34.000000000 -0500
+++ stack_changes.stderr.out 2011-10-11 00:27:46.000000000 -0500
@@ -0,0 +1,5 @@
+WARNING: unhandled syscall: 249
+You may be able to write your own handler.
+Read the file README_MISSING_SYSCALL_OR_IOCTL.
+Nevertheless we consider this a bug. Please report
+it at http://valgrind.org/support/bug_reports.html.
=================================================
./valgrind-new/memcheck/tests/supp_unknown.stderr.diff
=================================================
--- supp_unknown.stderr.exp 2011-10-11 00:07:35.000000000 -0500
+++ supp_unknown.stderr.out 2011-10-11 00:31:06.000000000 -0500
@@ -1,8 +1,11 @@
+Jump to the invalid address stated on the next line
+ ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
...
- by 0x........: main (badjump.c:17)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
possible), you can try to increase the size of the
=================================================
./valgrind-new/memcheck/tests/supp_unknown.stderr.diff-kfail
=================================================
--- supp_unknown.stderr.exp-kfail 2011-10-11 00:07:35.000000000 -0500
+++ supp_unknown.stderr.out 2011-10-11 00:31:06.000000000 -0500
@@ -1,3 +1,7 @@
+Jump to the invalid address stated on the next line
+ ...
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff
=================================================
--- varinfo6.stderr.exp 2011-10-11 00:07:35.000000000 -0500
+++ varinfo6.stderr.out 2011-10-11 00:31:48.000000000 -0500
@@ -7,8 +7,7 @@
by 0x........: BZ2_bzCompress (varinfo6.c:4860)
by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667)
by 0x........: main (varinfo6.c:6517)
- Location 0x........ is 2 bytes inside local var "budget"
- declared at varinfo6.c:3115, in frame #2 of thread 1
+ Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo6.c:34)
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff-ppc64
=================================================
--- varinfo6.stderr.exp-ppc64 2011-10-11 00:07:35.000000000 -0500
+++ varinfo6.stderr.out 2011-10-11 00:31:48.000000000 -0500
@@ -1,5 +1,5 @@
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: mainSort (varinfo6.c:2999)
by 0x........: BZ2_blockSort (varinfo6.c:3143)
by 0x........: BZ2_compressBlock (varinfo6.c:4072)
@@ -10,7 +10,7 @@
Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: BZ2_decompress (varinfo6.c:1699)
by 0x........: BZ2_bzDecompress (varinfo6.c:5230)
by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715)
=================================================
./valgrind-new/none/tests/ppc32/jm-fp.stderr.diff
=================================================
--- jm-fp.stderr.exp 2011-10-11 00:07:48.000000000 -0500
+++ jm-fp.stderr.out 2011-10-11 00:35:16.000000000 -0500
@@ -1,2 +1,27 @@
+disInstr(ppc): declined to decode a GeneralPurpose-Optional insn.
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 44(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: test_fsqrt (jm-insns.c:1984)
+ by 0x........: test_float_one_arg (jm-insns.c:5739)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: test_fsqrt (jm-insns.c:1984)
+ by 0x........: test_float_one_arg (jm-insns.c:5739)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
=================================================
./valgrind-new/none/tests/ppc32/jm-fp.stdout.diff
=================================================
--- jm-fp.stdout.exp 2011-10-11 00:07:48.000000000 -0500
+++ jm-fp.stdout.out 2011-10-11 00:35:16.000000000 -0500
@@ -707,8 +707,8 @@
fres 7ff8000000000000 => 7ff8000000000000
fres fff8000000000000 => fff8000000000000
- frsqrte 0010000000000001 => 5fdf000000000000
- frsqrte 00100094e0000359 => 5fdf000000000000
+ frsqrte 0010000000000001 => 5fdf800000000000
+ frsqrte 00100094e0000359 => 5fdf800000000000
frsqrte 3fe0000000000001 => 3ff6000000000000
frsqrte 3fe00094e0000359 => 3ff6000000000000
frsqrte 8010000000000001 => 7ff8000000000000
@@ -794,638 +794,4 @@
fneg 0010000000000001 => 8010000000000001
fneg 00100094e0000359 => 80100094e0000359
- fneg 3fe0000000000001 => bfe0000000000001
- fneg 3fe00094e0000359 => bfe00094e0000359
- fneg 8010000000000001 => 0010000000000001
- fneg 80100094e0000359 => 00100094e0000359
- fneg bfe0000000000001 => 3fe0000000000001
- fneg bfe00094e0000359 => 3fe00094e0000359
- fneg 0000000000000000 => 8000000000000000
- fneg 8000000000000000 => 0000000000000000
- fneg 7ff0000000000000 => fff0000000000000
- fneg fff0000000000000 => 7ff0000000000000
- fneg 7ff7ffffffffffff => fff7ffffffffffff
- fneg fff7ffffffffffff => 7ff7ffffffffffff
- fneg 7ff8000000000000 => fff8000000000000
- fneg fff8000000000000 => 7ff8000000000000
-
- fabs 0010000000000001 => 0010000000000001
- fabs 00100094e0000359 => 00100094e0000359
- fabs 3fe0000000000001 => 3fe0000000000001
- fabs 3fe00094e0000359 => 3fe00094e0000359
- fabs 8010000000000001 => 0010000000000001
- fabs 80100094e0000359 => 00100094e0000359
- fabs bfe0000000000001 => 3fe0000000000001
- fabs bfe00094e0000359 => 3fe00094e0000359
- fabs 0000000000000000 => 0000000000000000
- fabs 8000000000000000 => 0000000000000000
- fabs 7ff0000000000000 => 7ff0000000000000
- fabs fff0000000000000 => 7ff0000000000000
- fabs 7ff7ffffffffffff => 7ff7ffffffffffff
- fabs fff7ffffffffffff => 7ff7ffffffffffff
- fabs 7ff8000000000000 => 7ff8000000000000
- fabs fff8000000000000 => 7ff8000000000000
-
- fnabs 0010000000000001 => 8010000000000001
- fnabs 00100094e0000359 => 80100094e0000359
- fnabs 3fe0000000000001 => bfe0000000000001
- fnabs 3fe00094e0000359 => bfe00094e0000359
- fnabs 8010000000000001 => 8010000000000001
- fnabs 80100094e0000359 => 80100094e0000359
- fnabs bfe0000000000001 => bfe0000000000001
- fnabs bfe00094e0000359 => bfe00094e0000359
- fnabs 0000000000000000 => 8000000000000000
- fnabs 8000000000000000 => 8000000000000000
- fnabs 7ff0000000000000 => fff0000000000000
- fnabs fff0000000000000 => fff0000000000000
- fnabs 7ff7ffffffffffff => fff7ffffffffffff
- fnabs fff7ffffffffffff => fff7ffffffffffff
- fnabs 7ff8000000000000 => fff8000000000000
- fnabs fff8000000000000 => fff8000000000000
-
- fsqrt 0010000000000001 => 2000000000000000
- fsqrt 00100094e0000359 => 2000004a6f52dd4a
- fsqrt 3fe0000000000001 => 3fe6a09e667f3bcd
- fsqrt 3fe00094e0000359 => 3fe6a107aacb50df
- fsqrt 8010000000000001 => 7ff8000000000000
- fsqrt 80100094e0000359 => 7ff8000000000000
- fsqrt bfe0000000000001 => 7ff8000000000000
- fsqrt bfe00094e0000359 => 7ff8000000000000
- fsqrt 0000000000000000 => 0000000000000000
- fsqrt 8000000000000000 => 8000000000000000
- fsqrt 7ff0000000000000 => 7ff0000000000000
- fsqrt fff0000000000000 => 7ff8000000000000
- fsqrt 7ff7ffffffffffff => 7fffffffffffffff
- fsqrt fff7ffffffffffff => ffffffffffffffff
- fsqrt 7ff8000000000000 => 7ff8000000000000
- fsqrt fff8000000000000 => fff8000000000000
-
-PPC floating point arith insns
- with one arg with flags update:
- fres. 0010000000000001 => 7ff0000000000000
- fres. 00100094e0000359 => 7ff0000000000000
- fres. 3fe0000000000001 => 4000000000000000
- fres. 3fe00094e0000359 => 3ffff00000000000
- fres. 8010000000000001 => fff0000000000000
- fres. 80100094e0000359 => fff0000000000000
- fres. bfe0000000000001 => c000000000000000
- fres. bfe00094e0000359 => bffff00000000000
- fres. 0000000000000000 => 7ff0000000000000
- fres. 8000000000000000 => fff0000000000000
- fres. 7ff0000000000000 => 0000000000000000
- fres. fff0000000000000 => 8000000000000000
- fres. 7ff7ffffffffffff => 7ffff00000000000
- fres. fff7ffffffffffff => fffff00000000000
- fres. 7ff8000000000000 => 7ff8000000000000
<truncated beyond 100 lines>
=================================================
./valgrind-new/none/tests/ppc32/power5+_round.stderr.diff
=================================================
--- power5+_round.stderr.exp 2011-10-11 00:07:48.000000000 -0500
+++ power5+_round.stderr.out 2011-10-11 00:35:23.000000000 -0500
@@ -1,2 +1,20 @@
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 784(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: main (power5+_round.c:124)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: main (power5+_round.c:124)
=================================================
./valgrind-new/none/tests/ppc32/power5+_round.stdout.diff
=================================================
--- power5+_round.stdout.exp 2011-10-11 00:07:48.000000000 -0500
+++ power5+_round.stdout.out 2011-10-11 00:35:22.000000000 -0500
@@ -1,60 +0,0 @@
-frin inf inf 0 PASS
-frin 1.9 2 0 PASS
-frin 1.1 1 0 PASS
-frin 0 0 0 PASS
-frin -0 -0 0 PASS
-frin -1.1 -1 0 PASS
-frin -1.9 -2 0 PASS
-frin -inf -inf 0 PASS
-frin nan nan 0 PASS
-frin 0.9 1 0 PASS
-frin 0.1 0 0 PASS
-frin -0.1 -0 0 PASS
-frin -0.9 -1 0 PASS
-frin 1e-40 0 0 PASS
-frin -1e-40 -0 0 PASS
-friz inf inf 0 PASS
-friz 1.9 1 0 PASS
-friz 1.1 1 0 PASS
-friz 0 0 0 PASS
-friz -0 -0 0 PASS
-friz -1.1 -1 0 PASS
-friz -1.9 -1 0 PASS
-friz -inf -inf 0 PASS
-friz nan nan 0 PASS
-friz 0.9 0 0 PASS
-friz 0.1 0 0 PASS
-friz -0.1 -0 0 PASS
-friz -0.9 -0 0 PASS
-friz 1e-40 0 0 PASS
-friz -1e-40 -0 0 PASS
-frip inf inf 0 PASS
-frip 1.9 2 0 PASS
-frip 1.1 2 0 PASS
-frip 0 0 0 PASS
-frip -0 -0 0 PASS
-frip -1.1 -1 0 PASS
-frip -1.9 -1 0 PASS
-frip -inf -inf 0 PASS
-frip nan nan 0 PASS
-frip 0.9 1 0 PASS
-frip 0.1 1 0 PASS
-frip -0.1 -0 0 PASS
-frip -0.9 -0 0 PASS
-frip 1e-40 1 0 PASS
-frip -1e-40 -0 0 PASS
-frim inf inf 0 PASS
-frim 1.9 1 0 PASS
-frim 1.1 1 0 PASS
-frim 0 0 0 PASS
-frim -0 -0 0 PASS
-frim -1.1 -2 0 PASS
-frim -1.9 -2 0 PASS
-frim -inf -inf 0 PASS
-frim nan nan 0 PASS
-frim 0.9 0 0 PASS
-frim 0.1 0 0 PASS
-frim -0.1 -1 0 PASS
-frim -0.9 -1 0 PASS
-frim 1e-40 0 0 PASS
-frim -1e-40 -1 0 PASS
=================================================
./valgrind-new/none/tests/ppc32/round.stderr.diff
=================================================
--- round.stderr.exp 2011-10-11 00:07:48.000000000 -0500
+++ round.stderr.out 2011-10-11 00:35:26.000000000 -0500
@@ -1,2 +1,25 @@
+disInstr(ppc): declined to decode a GeneralPurpose-Optional insn.
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 44(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: check_double_guarded_arithmetic_op (round.c:1116)
+ by 0x........: test_float_arithmetic_ops (round.c:1185)
+ by 0x........: main (round.c:1206)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: check_double_guarded_arithmetic_op (round.c:1116)
+ by 0x........: test_float_arithmetic_ops (round.c:1185)
+ by 0x........: main (round.c:1206)
=================================================
./valgrind-new/none/tests/ppc32/round.stdout.diff
=================================================
--- round.stdout.exp 2011-10-11 00:07:48.000000000 -0500
+++ round.stdout.out 2011-10-11 00:35:25.000000000 -0500
@@ -2259,77 +2259,4 @@
-inf:PASSED:fnmsub(-0x1.000000000000bp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a00000000000dp+0
-inf:PASSED:fnmsub(-0x1.000000000000cp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a00000000000ep+0
-inf:PASSED:fnmsub(-0x1.000000000000dp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a00000000001p+0
--inf:PASSED:fnmsub(-0x1.000000000000ep+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a000000000011p+0
--inf:PASSED:fnmsub(-0x1.000000000000fp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a000000000012p+0
--inf:PASSED:fnmsub(0x1p+0 , 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.ap+0
--inf:PASSED:fnmsub(0x1.0000000000001p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000001p+0
--inf:PASSED:fnmsub(0x1.0000000000002p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000002p+0
--inf:PASSED:fnmsub(0x1.0000000000003p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000003p+0
--inf:PASSED:fnmsub(0x1.0000000000004p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000005p+0
--inf:PASSED:fnmsub(0x1.0000000000005p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000006p+0
--inf:PASSED:fnmsub(0x1.0000000000006p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000007p+0
--inf:PASSED:fnmsub(0x1.0000000000007p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000008p+0
--inf:PASSED:fnmsub(0x1.0000000000008p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000009p+0
--inf:PASSED:fnmsub(0x1.0000000000009p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000ap+0
--inf:PASSED:fnmsub(0x1.000000000000ap+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000bp+0
--inf:PASSED:fnmsub(0x1.000000000000bp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000cp+0
--inf:PASSED:fnmsub(0x1.000000000000cp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000ep+0
--inf:PASSED:fnmsub(0x1.000000000000dp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000fp+0
--inf:PASSED:fnmsub(0x1.000000000000ep+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000001p+0
--inf:PASSED:fnmsub(0x1.000000000000fp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000011p+0
-near:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049ep-1
-near:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6dp+0
-near:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3bfp+0
-near:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0937p-1
-near:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b2p+0
-near:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7483p+0
-near:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7cp-1
-near:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9ep+0
-near:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6cp-1
-near:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0acp-1
-near:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e3p+0
-near:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0b1p-1
-near:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907afp-1
-near:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed828p+0
-zero:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049ep-1
-zero:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6dp+0
-zero:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3bfp+0
-zero:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0937p-1
-zero:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b2p+0
-zero:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7483p+0
-zero:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7cp-1
-zero:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9dp+0
-zero:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6bp-1
-zero:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0abfp-1
-zero:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e2p+0
-zero:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0bp-1
-zero:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907aep-1
-zero:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed827p+0
-+inf:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049fp-1
-+inf:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6ep+0
-+inf:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3cp+0
-+inf:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0938p-1
-+inf:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b3p+0
-+inf:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7484p+0
-+inf:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7dp-1
-+inf:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9ep+0
-+inf:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6cp-1
-+inf:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0acp-1
-+inf:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e3p+0
-+inf:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0b1p-1
-+inf:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907afp-1
-+inf:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed828p+0
--inf:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049ep-1
--inf:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6dp+0
--inf:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3bfp+0
--inf:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0937p-1
--inf:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b2p+0
--inf:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7483p+0
--inf:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7cp-1
--inf:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9dp+0
--inf:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6bp-1
--inf:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0abfp-1
--inf:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e2p+0
--inf:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0bp-1
--inf:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907aep-1
--inf:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed827p+0
+-inf:PASSED:fnmsub(-0x1.000000000000ep+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a000000000
\ No newline at end of file
=================================================
./valgrind-new/none/tests/ppc32/test_fx.stderr.diff
=================================================
--- test_fx.stderr.exp 2011-10-11 00:07:48.000000000 -0500
+++ test_fx.stderr.out 2011-10-11 00:35:26.000000000 -0500
@@ -1,2 +1,25 @@
+disInstr(ppc): declined to decode a GeneralPurpose-Optional insn.
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 44(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+ at 0x........: do_fsqrt (test_fx.c:9)
+ by 0x........: do_one (test_fx.c:48)
+ by 0x........: main (test_fx.c:81)
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: do_fsqrt (test_fx.c:9)
+ by 0x........: do_one (test_fx.c:48)
+ by 0x........: main (test_fx.c:81)
=================================================
./valgrind-new/none/tests/ppc32/test_fx.stdout.diff
=================================================
--- test_fx.stdout.exp 2011-10-11 00:07:48.000000000 -0500
+++ test_fx.stdout.out 2011-10-11 00:35:26.000000000 -0500
@@ -1,40 +0,0 @@
-
-fsqrt 0.000000e+00 -> 0.00000000000000e+00
-fsqrt inf -> inf
-fsqrt -inf -> nan
-fsqrt nan -> nan
-fsqrt nan -> nan
-fsqrt -5.000000e+100 -> nan
-fsqrt -5.000000e+20 -> nan
-fsqrt -5.010000e+02 -> nan
-fsqrt -6.000000e+00 -> nan
-fsqrt -1.000000e+00 -> nan
-fsqrt -2.000000e-20 -> nan
-fsqrt -2.000000e-200 -> nan
-fsqrt 2.000000e-200 -> 1.41421356237310e-100
-fsqrt 2.000000e-20 -> 1.41421356237310e-10
-fsqrt 1.000000e+00 -> 1.00000000000000e+00
-fsqrt 6.000000e+00 -> 2.44948974278318e+00
-fsqrt 5.010000e+02 -> 2.23830292855994e+01
-fsqrt 5.000000e+20 -> 2.23606797749979e+10
-fsqrt 5.000000e+100 -> 2.23606797749979e+50
-
-fsqrts 0.000000e+00 -> 0.000000e+00
-fsqrts inf -> inf
-fsqrts -inf -> nan
-fsqrts nan -> nan
-fsqrts nan -> nan
-fsqrts -5.000000e+100 -> nan
-fsqrts -5.000000e+20 -> nan
-fsqrts -5.010000e+02 -> nan
-fsqrts -6.000000e+00 -> nan
-fsqrts -1.000000e+00 -> nan
-fsqrts -2.000000e-20 -> nan
-fsqrts -2.000000e-200 -> nan
-fsqrts 2.000000e-200 -> 1.414214e-100
-fsqrts 2.000000e-20 -> 1.414214e-10
-fsqrts 1.000000e+00 -> 1.000000e+00
-fsqrts 6.000000e+00 -> 2.449490e+00
-fsqrts 5.010000e+02 -> 2.238303e+01
-fsqrts 5.000000e+20 -> 2.236068e+10
-fsqrts 5.000000e+100 -> 2.236068e+50
=================================================
./valgrind-new/none/tests/ppc32/test_fx.stdout.diff_Minus_nan
=================================================
--- test_fx.stdout.exp_Minus_nan 2011-10-11 00:07:48.000000000 -0500
+++ test_fx.stdout.out 2011-10-11 00:35:26.000000000 -0500
@@ -1,40 +0,0 @@
-
-fsqrt 0.000000e+00 -> 0.00000000000000e+00
-fsqrt inf -> inf
-fsqrt -inf -> nan
-fsqrt nan -> nan
-fsqrt -nan -> -nan
-fsqrt -5.000000e+100 -> nan
-fsqrt -5.000000e+20 -> nan
-fsqrt -5.010000e+02 -> nan
-fsqrt -6.000000e+00 -> nan
-fsqrt -1.000000e+00 -> nan
-fsqrt -2.000000e-20 -> nan
-fsqrt -2.000000e-200 -> nan
-fsqrt 2.000000e-200 -> 1.41421356237310e-100
-fsqrt 2.000000e-20 -> 1.41421356237310e-10
-fsqrt 1.000000e+00 -> 1.00000000000000e+00
-fsqrt 6.000000e+00 -> 2.44948974278318e+00
-fsqrt 5.010000e+02 -> 2.23830292855994e+01
-fsqrt 5.000000e+20 -> 2.23606797749979e+10
-fsqrt 5.000000e+100 -> 2.23606797749979e+50
-
-fsqrts 0.000000e+00 -> 0.000000e+00
-fsqrts inf -> inf
-fsqrts -inf -> nan
-fsqrts nan -> nan
-fsqrts -nan -> -nan
-fsqrts -5.000000e+100 -> nan
-fsqrts -5.000000e+20 -> nan
-fsqrts -5.010000e+02 -> nan
-fsqrts -6.000000e+00 -> nan
-fsqrts -1.000000e+00 -> nan
-fsqrts -2.000000e-20 -> nan
-fsqrts -2.000000e-200 -> nan
-fsqrts 2.000000e-200 -> 1.414214e-100
-fsqrts 2.000000e-20 -> 1.414214e-10
-fsqrts 1.000000e+00 -> 1.000000e+00
-fsqrts 6.000000e+00 -> 2.449490e+00
-fsqrts 5.010000e+02 -> 2.238303e+01
-fsqrts 5.000000e+20 -> 2.236068e+10
-fsqrts 5.000000e+100 -> 2.236068e+50
=================================================
./valgrind-new/none/tests/ppc32/test_gx.stdout.diff
=================================================
--- test_gx.stdout.exp 2011-10-11 00:07:48.000000000 -0500
+++ test_gx.stdout.out 2011-10-11 00:35:27.000000000 -0500
@@ -51,13 +51,13 @@
frsqrte -1.010000e+00 -> nan
frsqrte -2.000000e-20 -> nan
frsqrte -2.000000e-200 -> nan
-frsqrte 2.000000e-200 -> 7.0e+99
+frsqrte 2.000000e-200 -> 7.1e+99
frsqrte 2.000000e-20 -> 7.1e+09
-frsqrte 1.010000e+00 -> 9.7e-01
+frsqrte 1.010000e+00 -> 9.8e-01
frsqrte 6.000000e+00 -> 4.0e-01
-frsqrte 5.010000e+02 -> 4.5e-02
-frsqrte 5.000000e+20 -> 4.5e-11
-frsqrte 5.000000e+100 -> 4.4e-51
+frsqrte 5.010000e+02 -> 4.4e-02
+frsqrte 5.000000e+20 -> 4.4e-11
+frsqrte 5.000000e+100 -> 4.5e-51
frsqrtes 0.000000e+00 -> inf
frsqrtes inf -> 0.0e+00
@@ -71,10 +71,10 @@
frsqrtes -1.010000e+00 -> nan
frsqrtes -2.000000e-20 -> nan
frsqrtes -2.000000e-200 -> nan
-frsqrtes 2.000000e-200 -> 7.0e+99
+frsqrtes 2.000000e-200 -> 7.1e+99
frsqrtes 2.000000e-20 -> 7.1e+09
-frsqrtes 1.010000e+00 -> 9.7e-01
+frsqrtes 1.010000e+00 -> 9.8e-01
frsqrtes 6.000000e+00 -> 4.0e-01
-frsqrtes 5.010000e+02 -> 4.5e-02
-frsqrtes 5.000000e+20 -> 4.5e-11
-frsqrtes 5.000000e+100 -> 4.4e-51
+frsqrtes 5.010000e+02 -> 4.4e-02
+frsqrtes 5.000000e+20 -> 4.4e-11
+frsqrtes 5.000000e+100 -> 4.5e-51
=================================================
./valgrind-new/none/tests/ppc32/test_gx.stdout.diff_Minus_nan
=================================================
--- test_gx.stdout.exp_Minus_nan 2011-10-11 00:07:48.000000000 -0500
+++ test_gx.stdout.out 2011-10-11 00:35:27.000000000 -0500
@@ -3,7 +3,7 @@
fre inf -> 0.0e+00
fre -inf -> -0.0e+00
fre nan -> nan
-fre -nan -> -nan
+fre nan -> nan
fre -5.000000e+100 -> -2.0e-101
fre -5.000000e+20 -> -2.0e-21
fre -5.010000e+02 -> -2.0e-03
@@ -23,7 +23,7 @@
fres inf -> 0.0e+00
fres -inf -> -0.0e+00
fres nan -> nan
-fres -nan -> -nan
+fres nan -> nan
fres -5.000000e+100 -> -0.0e+00
fres -5.000000e+20 -> -2.0e-21
fres -5.010000e+02 -> -2.0e-03
@@ -43,7 +43,7 @@
frsqrte inf -> 0.0e+00
frsqrte -inf -> nan
frsqrte nan -> nan
-frsqrte -nan -> -nan
+frsqrte nan -> nan
frsqrte -5.000000e+100 -> nan
frsqrte -5.000000e+20 -> nan
frsqrte -5.010000e+02 -> nan
@@ -53,17 +53,17 @@
frsqrte -2.000000e-200 -> nan
frsqrte 2.000000e-200 -> 7.1e+99
frsqrte 2.000000e-20 -> 7.1e+09
-frsqrte 1.010000e+00 -> 1.0e+00
-frsqrte 6.000000e+00 -> 4.1e-01
-frsqrte 5.010000e+02 -> 4.5e-02
-frsqrte 5.000000e+20 -> 4.5e-11
+frsqrte 1.010000e+00 -> 9.8e-01
+frsqrte 6.000000e+00 -> 4.0e-01
+frsqrte 5.010000e+02 -> 4.4e-02
+frsqrte 5.000000e+20 -> 4.4e-11
frsqrte 5.000000e+100 -> 4.5e-51
frsqrtes 0.000000e+00 -> inf
frsqrtes inf -> 0.0e+00
frsqrtes -inf -> nan
frsqrtes nan -> nan
-frsqrtes -nan -> -nan
+frsqrtes nan -> nan
frsqrtes -5.000000e+100 -> nan
frsqrtes -5.000000e+20 -> nan
frsqrtes -5.010000e+02 -> nan
@@ -73,8 +73,8 @@
frsqrtes -2.000000e-200 -> nan
frsqrtes 2.000000e-200 -> 7.1e+99
frsqrtes 2.000000e-20 -> 7.1e+09
-frsqrtes 1.010000e+00 -> 1.0e+00
-frsqrtes 6.000000e+00 -> 4.1e-01
-frsqrtes 5.010000e+02 -> 4.5e-02
-frsqrtes 5.000000e+20 -> 4.5e-11
+frsqrtes 1.010000e+00 -> 9.8e-01
+frsqrtes 6.000000e+00 -> 4.0e-01
+frsqrtes 5.010000e+02 -> 4.4e-02
+frsqrtes 5.000000e+20 -> 4.4e-11
frsqrtes 5.000000e+100 -> 4.5e-51
=================================================
./valgrind-old/drd/tests/tc23_bogus_condwait.stderr.diff-darwin-amd64
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin-amd64 2011-10-10 23:26:54.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-10-11 00:07:01.000000000 -0500
@@ -3,13 +3,6 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
@@ -18,11 +11,15 @@
cond 0x........ was first observed at:
at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:56)
+
+Thread 1:
+Mutex not locked: mutex 0x........, recursion count 0, owner 0.
+ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:72)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:51)
-Thread 1:
The object at address 0x........ is not a mutex.
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:75)
@@ -30,6 +27,19 @@
at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:57)
+Thread 3:
+Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:24)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+cond 0x........ was first observed at:
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:56)
+rwlock 0x........ was first observed at:
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:57)
+
+Thread 1:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:78)
@@ -40,7 +50,7 @@
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:28)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
@@ -66,11 +76,5 @@
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:53)
-Assertion failed: (!r), function main, file tc23_bogus_condwait.c, line 86.
-
-Process terminating with default action of signal 6 (SIGABRT)
- at 0x........: __kill (in /...libc...)
- by 0x........: __assert_rtn (in /...libc...)
- by 0x........: main (tc23_bogus_condwait.c:86)
-ERROR SUMMARY: 10 errors from 8 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc23_bogus_condwait.stderr.diff-darwin-x86
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin-x86 2011-10-10 23:26:54.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-10-11 00:07:01.000000000 -0500
@@ -3,13 +3,6 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
@@ -18,11 +11,15 @@
cond 0x........ was first observed at:
at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:56)
+
+Thread 1:
+Mutex not locked: mutex 0x........, recursion count 0, owner 0.
+ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:72)
mutex 0x........ was first observed at:
at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:51)
-Thread 1:
The object at address 0x........ is not a mutex.
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:75)
@@ -30,6 +27,19 @@
at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:57)
+Thread 3:
+Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:24)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+cond 0x........ was first observed at:
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:56)
+rwlock 0x........ was first observed at:
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:57)
+
+Thread 1:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:78)
@@ -40,7 +50,7 @@
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:28)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
@@ -67,4 +77,4 @@
by 0x........: main (tc23_bogus_condwait.c:53)
-ERROR SUMMARY: 10 errors from 8 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/tc23_bogus_condwait.stderr.diff-linux-ppc
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-ppc 2011-10-10 23:26:54.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2011-10-11 00:07:01.000000000 -0500
@@ -3,11 +3,78 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
+Thread 3:
+Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:20)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+cond 0x........ was first observed at:
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:56)
+
+Thread 1:
+Mutex not locked: mutex 0x........, recursion count 0, owner 0.
+ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:72)
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:51)
+
+The object at address 0x........ is not a mutex.
+ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:75)
+rwlock 0x........ was first observed at:
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:57)
+
+Thread 3:
+Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:24)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+cond 0x........ was first observed at:
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:56)
+rwlock 0x........ was first observed at:
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:57)
+
+Thread 1:
+Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
+ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:78)
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:53)
+
+Thread 3:
+Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
+ by 0x........: rescue_me (tc23_bogus_condwait.c:28)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+cond 0x........ was first observed at:
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:56)
+mutex 0x........ was first observed at:
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc23_bogus_condwait.c:53)
+
+Thread 1:
+The impossible happened: mutex is locked ...
[truncated message content] |
|
From: Tom H. <to...@co...> - 2011-10-11 03:19:05
|
valgrind revision: 12132 VEX revision: 2215 GCC version: gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) C library: GNU C Library stable release version 2.8, by Roland McGrath et al. uname -mrs: Linux 2.6.40-4.fc15.x86_64 x86_64 Vendor version: Fedora release 9 (Sulphur) Nightly build on bristol ( x86_64, Fedora 9 ) Started at 2011-10-11 03:41:02 BST Ended at 2011-10-11 04:18:50 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... done Regression test results follow == 574 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == |
|
From: Rich C. <rc...@wi...> - 2011-10-11 03:00:49
|
valgrind revision: 12132
VEX revision: 2215
GCC version: gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-branch revision 167585]
C library: GNU C Library stable release version 2.11.3 (20110203), by Roland McGrath et al.
uname -mrs: Linux 2.6.37.1-1.2-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.1-1.2-desktop x86_64 )
Started at 2011-10-10 21:30:01 CDT
Ended at 2011-10-10 22:00:39 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
== 584 tests, 2 stderr failures, 0 stdout failures, 1 stderrB failure, 0 stdoutB failures, 0 post failures ==
gdbserver_tests/mssnapshot (stderrB)
memcheck/tests/linux/stack_switch (stderr)
memcheck/tests/origin5-bz2 (stderr)
=================================================
./valgrind-new/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2011-10-10 21:44:44.861946141 -0500
+++ mssnapshot.stderrB.out 2011-10-10 21:52:55.807727440 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=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/stack_switch.stderr.diff
=================================================
--- stack_switch.stderr.exp 2011-10-10 21:44:48.574072987 -0500
+++ stack_switch.stderr.out 2011-10-10 21:53:55.017752020 -0500
@@ -0,0 +1,3 @@
+Syscall param clone(child_tidptr) contains uninitialised byte(s)
+ ...
+
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2011-10-10 21:44:49.531105690 -0500
+++ origin5-bz2.stderr.out 2011-10-10 21:54:19.344583874 -0500
@@ -72,17 +72,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
- by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
- by 0x........: handle_compress (origin5-bz2.c:4753)
- by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
- by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
- by 0x........: main (origin5-bz2.c:6484)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
-
-Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -128,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2011-10-10 21:44:49.500104632 -0500
+++ origin5-bz2.stderr.out 2011-10-10 21:54:19.344583874 -0500
@@ -4,8 +4,7 @@
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)
- by 0x........: handle_compress (origin5-bz2.c:4750)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -13,8 +12,7 @@
at 0x........: main (origin5-bz2.c:6479)
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)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -22,8 +20,7 @@
at 0x........: main (origin5-bz2.c:6479)
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)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -120,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2011-10-10 21:44:49.483104050 -0500
+++ origin5-bz2.stderr.out 2011-10-10 21:54:19.344583874 -0500
@@ -117,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2011-10-10 21:44:49.544106134 -0500
+++ origin5-bz2.stderr.out 2011-10-10 21:54:19.344583874 -0500
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,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)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -49,7 +49,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -60,7 +60,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -93,7 +93,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -104,7 +104,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -117,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2011-10-10 21:44:49.480103948 -0500
+++ origin5-bz2.stderr.out 2011-10-10 21:54:19.344583874 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,7 +9,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -17,7 +17,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -25,7 +25,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
@@ -36,7 +36,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
@@ -47,7 +47,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
@@ -58,7 +58,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
@@ -69,7 +69,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
@@ -80,7 +80,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
@@ -91,7 +91,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
@@ -102,7 +102,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
<truncated beyond 100 lines>
=================================================
./valgrind-old/gdbserver_tests/mssnapshot.stderrB.diff
=================================================
--- mssnapshot.stderrB.exp 2011-10-10 21:30:16.120279246 -0500
+++ mssnapshot.stderrB.out 2011-10-10 21:37:03.392182466 -0500
@@ -1,5 +1,11 @@
relaying data between gdb and process ....
+Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
+Try: zypper install -C "debuginfo(build-id)=b1d398a5cb1609e7ac1c51a26588e87fc20f753c"
vgdb-error value changed from 0 to 999999
+Missing separate debuginfo for /lib64/libpthread.so.0
+Try: zypper install -C "debuginfo(build-id)=e23cbc772e670af00bea9874f925e2e61afda713"
+Missing separate debuginfo for /lib64/libc.so.6
+Try: zypper install -C "debuginfo(build-id)=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/stack_switch.stderr.diff
=================================================
--- stack_switch.stderr.exp 2011-10-10 21:30:25.072584757 -0500
+++ stack_switch.stderr.out 2011-10-10 21:38:00.895146180 -0500
@@ -0,0 +1,3 @@
+Syscall param clone(child_tidptr) contains uninitialised byte(s)
+ ...
+
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc212-s390x 2011-10-10 21:30:26.085619328 -0500
+++ origin5-bz2.stderr.out 2011-10-10 21:38:24.409949251 -0500
@@ -72,17 +72,6 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
- at 0x........: mainSort (origin5-bz2.c:2859)
- by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
- by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
- by 0x........: handle_compress (origin5-bz2.c:4753)
- by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
- by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
- by 0x........: main (origin5-bz2.c:6484)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
-
-Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -128,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x
=================================================
--- origin5-bz2.stderr.exp-glibc234-s390x 2011-10-10 21:30:26.054618270 -0500
+++ origin5-bz2.stderr.out 2011-10-10 21:38:24.409949251 -0500
@@ -4,8 +4,7 @@
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)
- by 0x........: handle_compress (origin5-bz2.c:4750)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -13,8 +12,7 @@
at 0x........: main (origin5-bz2.c:6479)
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)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -22,8 +20,7 @@
at 0x........: main (origin5-bz2.c:6479)
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)
+ at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
@@ -120,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2011-10-10 21:30:26.037617690 -0500
+++ origin5-bz2.stderr.out 2011-10-10 21:38:24.409949251 -0500
@@ -117,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: g_serviceFn (origin5-bz2.c:6429)
+ by 0x........: default_bzalloc (origin5-bz2.c:4470)
+ by 0x........: BZ2_decompress (origin5-bz2.c:1578)
+ by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192)
+ by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678)
+ by 0x........: main (origin5-bz2.c:6498)
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2011-10-10 21:30:26.099619806 -0500
+++ origin5-bz2.stderr.out 2011-10-10 21:38:24.409949251 -0500
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 4
+Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,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)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -49,7 +49,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -60,7 +60,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -93,7 +93,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -104,7 +104,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 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)
@@ -117,6 +117,12 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6512)
- Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6479)
+ Uninitialised value was created by a heap allocation
+ at 0x........: malloc (vg_replace_malloc.c:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2011-10-10 21:30:26.034617588 -0500
+++ origin5-bz2.stderr.out 2011-10-10 21:38:24.409949251 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,7 +9,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -17,7 +17,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -25,7 +25,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2820)
@@ -36,7 +36,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2823)
@@ -47,7 +47,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2854)
@@ -58,7 +58,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2858)
@@ -69,7 +69,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2963)
@@ -80,7 +80,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: mainSort (origin5-bz2.c:2964)
@@ -91,7 +91,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
at 0x........: fallbackSort (origin5-bz2.c:2269)
@@ -102,7 +102,7 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 8
<truncated beyond 100 lines>
|
|
From: Tom H. <to...@co...> - 2011-10-11 02:59:05
|
valgrind revision: 12132 VEX revision: 2215 GCC version: gcc (GCC) 4.4.1 20090725 (Red Hat 4.4.1-2) C library: GNU C Library stable release version 2.10.2, by Roland McGrath et al. uname -mrs: Linux 2.6.40-4.fc15.x86_64 x86_64 Vendor version: Fedora release 11 (Leonidas) Nightly build on bristol ( x86_64, Fedora 11 ) Started at 2011-10-11 03:30:53 BST Ended at 2011-10-11 03:58:49 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 == 574 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) memcheck/tests/long_namespace_xml (stderr) |
|
From: Tom H. <to...@co...> - 2011-10-11 02:47:31
|
valgrind revision: 12132 VEX revision: 2215 GCC version: gcc (GCC) 4.4.5 20101112 (Red Hat 4.4.5-2) C library: GNU C Library stable release version 2.12.2, by Roland McGrath et al. uname -mrs: Linux 2.6.40-4.fc15.x86_64 x86_64 Vendor version: Fedora release 13 (Goddard) Nightly build on bristol ( x86_64, Fedora 13 ) Started at 2011-10-11 03:21:17 BST Ended at 2011-10-11 03:47:11 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 == 574 tests, 7 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) helgrind/tests/pth_barrier3 (stderr) exp-sgcheck/tests/bad_percentify (stderr) exp-sgcheck/tests/globalerr (stderr) exp-sgcheck/tests/hackedbz2 (stderr) exp-sgcheck/tests/preen_invars (stderr) exp-sgcheck/tests/stackerr (stderr) |
|
From: Tom H. <to...@co...> - 2011-10-11 02:38:31
|
valgrind revision: 12132 VEX revision: 2215 GCC version: gcc (GCC) 4.5.1 20100924 (Red Hat 4.5.1-4) C library: GNU C Library stable release version 2.13, by Roland McGrath et al. uname -mrs: Linux 2.6.40-4.fc15.x86_64 x86_64 Vendor version: Fedora release 14 (Laughlin) Nightly build on bristol ( x86_64, Fedora 14 ) Started at 2011-10-11 03:11:11 BST Ended at 2011-10-11 03:38:14 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 == 588 tests, 7 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/linux/stack_switch (stderr) memcheck/tests/origin5-bz2 (stderr) exp-sgcheck/tests/bad_percentify (stderr) exp-sgcheck/tests/globalerr (stderr) exp-sgcheck/tests/hackedbz2 (stderr) exp-sgcheck/tests/preen_invars (stderr) exp-sgcheck/tests/stackerr (stderr) |
|
From: Tom H. <to...@co...> - 2011-10-11 02:30:34
|
valgrind revision: 12132 VEX revision: 2215 GCC version: gcc (GCC) 4.6.1 20110908 (Red Hat 4.6.1-9) C library: GNU C Library stable release version 2.14, by Roland McGrath et al. uname -mrs: Linux 2.6.40-4.fc15.x86_64 x86_64 Vendor version: Fedora release 15 (Lovelock) Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2011-10-11 03:01:55 BST Ended at 2011-10-11 03:30:16 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 == 588 tests, 8 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/origin5-bz2 (stderr) memcheck/tests/overlap (stderr) helgrind/tests/hg05_race2 (stderr) exp-sgcheck/tests/bad_percentify (stderr) exp-sgcheck/tests/globalerr (stderr) exp-sgcheck/tests/hackedbz2 (stderr) exp-sgcheck/tests/preen_invars (stderr) exp-sgcheck/tests/stackerr (stderr) |