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
(14) |
2
(12) |
3
(14) |
4
(12) |
5
(15) |
6
(12) |
7
(20) |
|
8
(10) |
9
(2) |
10
(8) |
11
(12) |
12
(20) |
13
(12) |
14
(15) |
|
15
(12) |
16
(17) |
17
(16) |
18
(10) |
19
(7) |
20
(7) |
21
(9) |
|
22
(4) |
23
(8) |
24
(4) |
25
|
26
(8) |
27
(5) |
28
(10) |
|
29
(6) |
30
(20) |
31
(9) |
|
|
|
|
|
From: <sv...@va...> - 2015-03-07 23:01:22
|
Author: florian
Date: Sat Mar 7 23:01:14 2015
New Revision: 14993
Log:
New function VG_(am_mmap_client_heap) which swallows
VG_(am_set_segment_isCH_if_SkAnonC).
Rename VG_(am_set_segment_hasT_if_client_segment) to
VG_(am_set_segment_hasT) passing in an address (because that function
cannot possible take a pointer to a *const* segment). Also assert that
the segment containing the address is a client segment. Everything else
is a bug.
Modified:
trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
trunk/coregrind/m_mallocfree.c
trunk/coregrind/m_translate.c
trunk/coregrind/pub_core_aspacemgr.h
Modified: trunk/coregrind/m_aspacemgr/aspacemgr-linux.c
==============================================================================
--- trunk/coregrind/m_aspacemgr/aspacemgr-linux.c (original)
+++ trunk/coregrind/m_aspacemgr/aspacemgr-linux.c Sat Mar 7 23:01:14 2015
@@ -2568,6 +2568,23 @@
fd, offset );
}
+/* Convenience wrapper around VG_(am_mmap_anon_float_client) which also
+ marks the segment as containing the client heap. This is for the benefit
+ of the leak checker which needs to be able to identify such segments
+ so as not to use them as sources of roots during leak checks. */
+SysRes VG_(am_mmap_client_heap) ( SizeT length, Int prot )
+{
+ SysRes res = VG_(am_mmap_anon_float_client)(length, prot);
+
+ if (! sr_isError(res)) {
+ Addr addr = sr_Res(res);
+ Int ix = find_nsegment_idx(addr);
+
+ nsegments[ix].isCH = True;
+ }
+ return res;
+}
+
/* --- --- munmap helper --- --- */
static
@@ -2684,33 +2701,15 @@
return True;
}
-/* 'seg' must have been obtained from VG_(am_find_nsegment), and still valid.
- If it denotes a SkAnonC (anonymous client mapping) area, set the .isCH
- (is-client-heap) flag for that area. Otherwise do nothing.
- (Bizarre interface so that the same code works for both Linux and
- AIX and does not impose inefficiencies on the Linux version.) */
-void VG_(am_set_segment_isCH_if_SkAnonC)( const NSegment* seg )
-{
- aspacem_assert(seg != NULL);
- Int i = segAddr_to_index( seg );
- if (nsegments[i].kind == SkAnonC) {
- nsegments[i].isCH = True;
- } else {
- aspacem_assert(nsegments[i].isCH == False);
- }
-}
-
-/* Same idea as VG_(am_set_segment_isCH_if_SkAnonC), except set the
- segment's hasT bit (has-cached-code) if this is a client segment,
- i.e. SkFileC, SkAnonC, or SkShmC. */
-void VG_(am_set_segment_hasT_if_client_segment)( const NSegment* seg )
-{
- aspacem_assert(seg != NULL);
- Int i = segAddr_to_index( seg );
- if (nsegments[i].kind == SkAnonC || nsegments[i].kind == SkFileC ||
- nsegments[i].kind == SkShmC) {
- nsegments[i].hasT = True;
- }
+/* Set the 'hasT' bit on the segment containing ADDR indicating that
+ translations have or may have been taken from this segment. ADDR is
+ expected to belong to a client segment. */
+void VG_(am_set_segment_hasT)( Addr addr )
+{
+ Int i = find_nsegment_idx(addr);
+ SegKind kind = nsegments[i].kind;
+ aspacem_assert(kind == SkAnonC || kind == SkFileC || kind == SkShmC);
+ nsegments[i].hasT = True;
}
Modified: trunk/coregrind/m_mallocfree.c
==============================================================================
--- trunk/coregrind/m_mallocfree.c (original)
+++ trunk/coregrind/m_mallocfree.c Sat Mar 7 23:01:14 2015
@@ -853,15 +853,11 @@
if (a->clientmem) {
// client allocation -- return 0 to client if it fails
- sres = VG_(am_mmap_anon_float_client)
+ sres = VG_(am_mmap_client_heap)
( cszB, VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC );
if (sr_isError(sres))
return 0;
sb = (Superblock*)(Addr)sr_Res(sres);
- // Mark this segment as containing client heap. The leak
- // checker needs to be able to identify such segments so as not
- // to use them as sources of roots during leak checks.
- VG_(am_set_segment_isCH_if_SkAnonC)( VG_(am_find_nsegment)( (Addr)sb ) );
} else {
// non-client allocation -- abort if it fails
sres = VG_(am_mmap_anon_float_valgrind)( cszB );
Modified: trunk/coregrind/m_translate.c
==============================================================================
--- trunk/coregrind/m_translate.c (original)
+++ trunk/coregrind/m_translate.c Sat Mar 7 23:01:14 2015
@@ -1765,21 +1765,12 @@
vg_assert(tres.n_sc_extents >= 0 && tres.n_sc_extents <= 3);
vg_assert(tmpbuf_used <= N_TMPBUF);
vg_assert(tmpbuf_used > 0);
-
- /* Tell aspacem of all segments that have had translations taken
- from them. Optimisation: don't re-look up vge.base[0] since seg
- should already point to it. */
-
- vg_assert( vge.base[0] == addr );
- /* set 'translations taken from this segment' flag */
- VG_(am_set_segment_hasT_if_client_segment)( seg );
} /* END new scope specially for 'seg' */
- for (i = 1; i < vge.n_used; i++) {
- NSegment const* seg
- = VG_(am_find_nsegment)( vge.base[i] );
- /* set 'translations taken from this segment' flag */
- VG_(am_set_segment_hasT_if_client_segment)( seg );
+ /* Tell aspacem of all segments that have had translations taken
+ from them. */
+ for (i = 0; i < vge.n_used; i++) {
+ VG_(am_set_segment_hasT)( vge.base[i] );
}
/* Copy data at trans_addr into the translation cache. */
Modified: trunk/coregrind/pub_core_aspacemgr.h
==============================================================================
--- trunk/coregrind/pub_core_aspacemgr.h (original)
+++ trunk/coregrind/pub_core_aspacemgr.h Sat Mar 7 23:01:14 2015
@@ -231,6 +231,10 @@
extern SysRes VG_(am_shared_mmap_file_float_valgrind)
( SizeT length, UInt prot, Int fd, Off64T offset );
+/* Convenience wrapper around VG_(am_mmap_anon_float_client) which also
+ marks the segment as containing the client heap. */
+extern SysRes VG_(am_mmap_client_heap) ( SizeT length, Int prot );
+
/* Unmap the given address range and update the segment array
accordingly. This fails if the range isn't valid for the client.
If *need_discard is True after a successful return, the caller
@@ -245,18 +249,10 @@
suitable segment. */
extern Bool VG_(am_change_ownership_v_to_c)( Addr start, SizeT len );
-/* 'seg' must be NULL or have been obtained from
- VG_(am_find_nsegment), and still valid. If non-NULL, and if it
- denotes a SkAnonC (anonymous client mapping) area, set the .isCH
- (is-client-heap) flag for that area. Otherwise do nothing.
- (Bizarre interface so that the same code works for both Linux and
- AIX and does not impose inefficiencies on the Linux version.) */
-extern void VG_(am_set_segment_isCH_if_SkAnonC)( const NSegment* seg );
-
-/* Same idea as VG_(am_set_segment_isCH_if_SkAnonC), except set the
- segment's hasT bit (has-cached-code) if this is a client segment,
- i.e. SkFileC, SkAnonC, or SkShmC. */
-extern void VG_(am_set_segment_hasT_if_client_segment)( const NSegment* );
+/* Set the 'hasT' bit on the segment containing ADDR indicating that
+ translations have or may have been taken from this segment. ADDR is
+ expected to belong to a client segment. */
+extern void VG_(am_set_segment_hasT)( Addr addr );
/* --- --- --- reservations --- --- --- */
|
Author: philippe
Date: Sat Mar 7 19:20:12 2015
New Revision: 14992
Log:
342353 - Allow dumping full massif output while valgrind is still running
Patch from Andre Goddard Rosa
Modified:
trunk/NEWS
trunk/gdbserver_tests/mssnapshot.stderrB.exp
trunk/gdbserver_tests/mssnapshot.stdinB.gdb
trunk/massif/docs/ms-manual.xml
trunk/massif/ms_main.c
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Mar 7 19:20:12 2015
@@ -11,6 +11,10 @@
* Memcheck:
+* Massif:
+ New monitor command 'all_snapshots <filename>' that dumps all snapshots
+ taken so far.
+
* Helgrind:
* Callgrind:
@@ -84,6 +88,7 @@
342038 Unhandled syscalls on aarch64 (mbind/get/set_mempolicy)
342063 wrong format specifier for test mcblocklistsearch in gdbserver_tests
342221 socket connect false positive uninit memory for unknown af family
+342353 Allow dumping full massif output while valgrind is still running
342603 Add I2C_SMBUS ioctl support
342635 OS X 10.10 (Yosemite) - missing system calls and fcntl code
342795 Internal glibc __GI_mempcpy call should be intercepted
Modified: trunk/gdbserver_tests/mssnapshot.stderrB.exp
==============================================================================
--- trunk/gdbserver_tests/mssnapshot.stderrB.exp (original)
+++ trunk/gdbserver_tests/mssnapshot.stderrB.exp Sat Mar 7 19:20:12 2015
@@ -17,8 +17,11 @@
massif monitor commands:
snapshot [<filename>]
detailed_snapshot [<filename>]
- takes a snapshot (or a detailed snapshot)
- and saves it in <filename>
+ takes a snapshot (or a detailed snapshot)
+ and saves it in <filename>
+ default <filename> is massif.vgdb.out
+ all_snapshots [<filename>]
+ saves all snapshot(s) taken so far in <filename>
default <filename> is massif.vgdb.out
monitor command request to kill this process
Remote connection closed
Modified: trunk/gdbserver_tests/mssnapshot.stdinB.gdb
==============================================================================
--- trunk/gdbserver_tests/mssnapshot.stdinB.gdb (original)
+++ trunk/gdbserver_tests/mssnapshot.stdinB.gdb Sat Mar 7 19:20:12 2015
@@ -16,6 +16,7 @@
# test non detailed and detailed snapshot
monitor snapshot
monitor detailed_snapshot
+monitor all_snapshots
#
#
monitor v.kill
Modified: trunk/massif/docs/ms-manual.xml
==============================================================================
--- trunk/massif/docs/ms-manual.xml (original)
+++ trunk/massif/docs/ms-manual.xml Sat Mar 7 19:20:12 2015
@@ -877,6 +877,12 @@
<filename> (default massif.vgdb.out).
</para>
</listitem>
+ <listitem>
+ <para><varname>all_snapshots [<filename>]</varname>
+ requests to take all captured snapshots so far and save them in the given
+ <filename> (default massif.vgdb.out).
+ </para>
+ </listitem>
</itemizedlist>
</sect1>
Modified: trunk/massif/ms_main.c
==============================================================================
--- trunk/massif/ms_main.c (original)
+++ trunk/massif/ms_main.c Sat Mar 7 19:20:12 2015
@@ -37,10 +37,7 @@
// - preset column widths for stats are not generic
// - preset column headers are not generic
// - "Massif arguments:" line is not generic
-// - do snapshots on client requests
-// - (Michael Meeks): have an interactive way to request a dump
-// (callgrind_control-style)
-// - "profile now"
+// - do snapshots on some specific client requests
// - "show me the extra allocations since the last snapshot"
// - "start/stop logging" (eg. quickly skip boring bits)
// - Add ability to draw multiple graphs, eg. heap-only, stack-only, total.
@@ -1956,8 +1953,11 @@
VG_(gdb_printf) ("massif monitor commands:\n");
VG_(gdb_printf) (" snapshot [<filename>]\n");
VG_(gdb_printf) (" detailed_snapshot [<filename>]\n");
- VG_(gdb_printf) (" takes a snapshot (or a detailed snapshot)\n");
- VG_(gdb_printf) (" and saves it in <filename>\n");
+ VG_(gdb_printf) (" takes a snapshot (or a detailed snapshot)\n");
+ VG_(gdb_printf) (" and saves it in <filename>\n");
+ VG_(gdb_printf) (" default <filename> is massif.vgdb.out\n");
+ VG_(gdb_printf) (" all_snapshots [<filename>]\n");
+ VG_(gdb_printf) (" saves all snapshot(s) taken so far in <filename>\n");
VG_(gdb_printf) (" default <filename> is massif.vgdb.out\n");
VG_(gdb_printf) ("\n");
}
@@ -2337,6 +2337,20 @@
delete_snapshot(&snapshot);
}
+static void handle_all_snapshots_monitor_command (const HChar *filename)
+{
+ if (!clo_pages_as_heap && !have_started_executing_code) {
+ // See comments of variable have_started_executing_code.
+ VG_(gdb_printf)
+ ("error: cannot take snapshot before execution has started\n");
+ return;
+ }
+
+ write_snapshots_to_file ((filename == NULL) ?
+ "massif.vgdb.out" : filename,
+ snapshots, next_snapshot_i);
+}
+
static Bool handle_gdb_monitor_command (ThreadId tid, HChar *req)
{
HChar* wcmd;
@@ -2346,7 +2360,7 @@
VG_(strcpy) (s, req);
wcmd = VG_(strtok_r) (s, " ", &ssaveptr);
- switch (VG_(keyword_id) ("help snapshot detailed_snapshot",
+ switch (VG_(keyword_id) ("help snapshot detailed_snapshot all_snapshots",
wcmd, kwd_report_duplicated_matches)) {
case -2: /* multiple matches */
return True;
@@ -2367,6 +2381,12 @@
handle_snapshot_monitor_command (filename, True /* detailed */);
return True;
}
+ case 3: { /* all_snapshots */
+ HChar* filename;
+ filename = VG_(strtok_r) (NULL, " ", &ssaveptr);
+ handle_all_snapshots_monitor_command (filename);
+ return True;
+ }
default:
tl_assert(0);
return False;
|
|
From: <sv...@va...> - 2015-03-07 17:31:12
|
Author: philippe
Date: Sat Mar 7 17:31:04 2015
New Revision: 14991
Log:
update NEWS to indicate that
335907 segfault when running wine's ddrawex/tests/surface.c under valgrind
is assumed to be fixed either by a previous change in 3.10
and/or by the commit for 343173
Modified:
trunk/NEWS
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Mar 7 17:31:04 2015
@@ -56,6 +56,7 @@
== 307399
== 343175
== 342740
+335907 segfault when running wine's ddrawex/tests/surface.c under valgrind
338731 ppc: Fix testuite build for toolchains not supporting -maltivec
338995 shmat with hugepages (SHM_HUGETLB) fails with EINVAL
339045 Getting valgrind to compile and run on OS X Yosemite (10.10)
|
|
From: <sv...@va...> - 2015-03-07 14:57:46
|
Author: rhyskidd
Date: Sat Mar 7 14:57:39 2015
New Revision: 14990
Log:
n-i-bz: Replace non-POSIX bzero with proper memset. At least for internal-only, Darwin functionality. Picked up by cppcheck. No regressions within test suite.
Modified:
trunk/coregrind/launcher-darwin.c
Modified: trunk/coregrind/launcher-darwin.c
==============================================================================
--- trunk/coregrind/launcher-darwin.c (original)
+++ trunk/coregrind/launcher-darwin.c Sat Mar 7 14:57:39 2015
@@ -291,7 +291,7 @@
asprintf(&vgpreload_core, "%s/vgpreload_core-%s-darwin.so", valgrind_lib, valid_archs[i].valgrind_name);
if (access(vgpreload_core, R_OK|X_OK) != 0) {
VG_(debugLog)(1, "launcher", "arch '%s' IS NOT installed\n", valid_archs[i].valgrind_name);
- bzero(&valid_archs[i], sizeof(valid_archs[i]));
+ memset(&valid_archs[i], 0, sizeof(valid_archs[i]));
} else {
VG_(debugLog)(1, "launcher", "arch '%s' IS installed\n", valid_archs[i].valgrind_name);
}
|
|
From: <sv...@va...> - 2015-03-07 13:34:09
|
Author: rhyskidd
Date: Sat Mar 7 13:34:02 2015
New Revision: 14989
Log:
Fix memcheck/tests/xml1 on OS X 10.10
bz#344939
Before
== 588 tests, 240 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==
After
== 588 tests, 239 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==
Modified:
trunk/NEWS
trunk/darwin14.supp
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Mar 7 13:34:02 2015
@@ -121,6 +121,7 @@
344621 Fix memcheck/tests/err_disable4 test on OS X
344686 Fix suppression for pthread_rwlock_init on OS X 10.10
344702 Fix missing libobjc suppressions on OS X 10.10
+344939 Fix memcheck/tests/xml1 on OS X 10.10
n-i-bz Provide implementations of certain compiler builtins to support
compilers who may not provide those
n-i-bz Old STABS code is still being compiled, but never used. Remove it.
Modified: trunk/darwin14.supp
==============================================================================
--- trunk/darwin14.supp (original)
+++ trunk/darwin14.supp Sat Mar 7 13:34:02 2015
@@ -438,6 +438,13 @@
}
{
+ OSX1010:dyld-2
+ Memcheck:Cond
+ fun:exit
+ obj:*libdyld*dylib*
+}
+
+{
OSX1010:libsystem_kernel-1
Memcheck:Cond
obj:*libsystem_kernel*dylib*
|
|
From: <sv...@va...> - 2015-03-07 12:50:13
|
Author: florian
Date: Sat Mar 7 12:49:32 2015
New Revision: 14988
Log:
Rewritten to use a single line instead of line splicing
to avoid line number differences in the reported error.
Modified:
trunk/none/tests/linux/stack-overflow.c
trunk/none/tests/linux/stack-overflow.stderr.exp
Modified: trunk/none/tests/linux/stack-overflow.c
==============================================================================
--- trunk/none/tests/linux/stack-overflow.c (original)
+++ trunk/none/tests/linux/stack-overflow.c Sat Mar 7 12:49:32 2015
@@ -1,9 +1,5 @@
/* There should be a user message about the overflow.
- Wrtten in a single line so there is no confusion on what line
+ Written in a single line so there is no confusion on what line
the overflow occurs. */
-int main(int argc, char *argv[]) \
-{ \
- volatile int arr[1000]; \
- return main(arr[argc%2], 0); \
-}
+int main(int argc, char *argv[]) { volatile int arr[1000]; return main(arr[argc%2], 0); }
Modified: trunk/none/tests/linux/stack-overflow.stderr.exp
==============================================================================
--- trunk/none/tests/linux/stack-overflow.stderr.exp (original)
+++ trunk/none/tests/linux/stack-overflow.stderr.exp Sat Mar 7 12:49:32 2015
@@ -4,7 +4,7 @@
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
Stack overflow in thread #1: can't grow stack to 0x........
- at 0x........: main (stack-overflow.c:6)
+ at 0x........: main (stack-overflow.c:5)
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
|
|
From: <sv...@va...> - 2015-03-07 08:36:28
|
Author: rhyskidd
Date: Sat Mar 7 08:36:20 2015
New Revision: 14987
Log:
Fix unhandled syscall: unix:348 (__pthread_chdir) and unhandled syscall: unix:349 (__pthread_fchdir) on OS X
bz#344512
- Support these two undocumented syscalls.
- New regression test case added.
Before:
== 588 tests, 239 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==
After:
== 589 tests, 239 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==
Added:
trunk/memcheck/tests/darwin/pth-undocumented.c
trunk/memcheck/tests/darwin/pth-undocumented.stderr.exp
trunk/memcheck/tests/darwin/pth-undocumented.stdout.exp
trunk/memcheck/tests/darwin/pth-undocumented.vgtest
Modified:
trunk/NEWS
trunk/coregrind/m_syswrap/priv_syswrap-darwin.h
trunk/coregrind/m_syswrap/syswrap-darwin.c
trunk/memcheck/tests/darwin/ (props changed)
trunk/memcheck/tests/darwin/Makefile.am
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Mar 7 08:36:20 2015
@@ -115,6 +115,8 @@
344499 Fix compilation for Linux kernel >= 4. With this, also require
a Linux kernel >= 2.6 as 2.4 is mostly untested and might trigger
obvious and non-obvious issues
+344512 Fix unhandled syscall: unix:348 (__pthread_chdir) and unhandled
+ syscall: unix:349 (__pthread_fchdir) on OS X
344560 Fix stack traces missing penultimate frame on OS X
344621 Fix memcheck/tests/err_disable4 test on OS X
344686 Fix suppression for pthread_rwlock_init on OS X 10.10
Modified: trunk/coregrind/m_syswrap/priv_syswrap-darwin.h
==============================================================================
--- trunk/coregrind/m_syswrap/priv_syswrap-darwin.h (original)
+++ trunk/coregrind/m_syswrap/priv_syswrap-darwin.h Sat Mar 7 08:36:20 2015
@@ -416,8 +416,8 @@
DECL_TEMPLATE(darwin, statfs64); // 345
DECL_TEMPLATE(darwin, fstatfs64); // 346
DECL_TEMPLATE(darwin, getfsstat64); // 347
-// NYI __pthread_chdir 348
-// NYI __pthread_fchdir 349
+DECL_TEMPLATE(darwin, __pthread_chdir); // 348
+DECL_TEMPLATE(darwin, __pthread_fchdir); // 349
// NYI audit 350
DECL_TEMPLATE(darwin, auditon); // 351
// 352
Modified: trunk/coregrind/m_syswrap/syswrap-darwin.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-darwin.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-darwin.c Sat Mar 7 08:36:20 2015
@@ -2186,6 +2186,22 @@
}
+PRE(__pthread_chdir)
+{
+ PRINT("__pthread_chdir ( %#lx(%s) )", ARG1, (char*)ARG1);
+ PRE_REG_READ1(long, "__pthread_chdir", const char *, path);
+ PRE_MEM_RASCIIZ( "__pthread_chdir(path)", ARG1 );
+}
+
+
+
+PRE(__pthread_fchdir)
+{
+ PRINT("__pthread_fchdir ( %ld )", ARG1);
+ PRE_REG_READ1(long, "__pthread_fchdir", unsigned int, fd);
+}
+
+
PRE(kdebug_trace)
{
PRINT("kdebug_trace(%ld, %ld, %ld, %ld, %ld, %ld)",
@@ -9671,8 +9687,8 @@
MACXY(__NR_statfs64, statfs64),
MACXY(__NR_fstatfs64, fstatfs64),
MACXY(__NR_getfsstat64, getfsstat64),
-// _____(__NR___pthread_chdir),
-// _____(__NR___pthread_fchdir),
+ MACX_(__NR___pthread_chdir, __pthread_chdir),
+ MACX_(__NR___pthread_fchdir, __pthread_fchdir),
// _____(__NR_audit),
MACXY(__NR_auditon, auditon),
_____(VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(352)), // ???
Modified: trunk/memcheck/tests/darwin/Makefile.am
==============================================================================
--- trunk/memcheck/tests/darwin/Makefile.am (original)
+++ trunk/memcheck/tests/darwin/Makefile.am Sat Mar 7 08:36:20 2015
@@ -10,6 +10,7 @@
deep_badparam.stderr.exp deep_badparam.stdout.exp deep_badparam.vgtest \
env.stderr.exp env.vgtest \
pth-supp.stderr.exp pth-supp.vgtest \
+ pth-undocumented.stderr.exp pth-undocumented.stdout.exp pth-undocumented.vgtest \
scalar.stderr.exp scalar.vgtest \
scalar_fork.stderr.exp scalar_fork.vgtest \
scalar_nocancel.stderr.exp scalar_nocancel.vgtest \
@@ -20,6 +21,7 @@
deep_badparam \
env \
pth-supp \
+ pth-undocumented \
scalar \
scalar_fork \
scalar_nocancel \
Added: trunk/memcheck/tests/darwin/pth-undocumented.c
==============================================================================
--- trunk/memcheck/tests/darwin/pth-undocumented.c (added)
+++ trunk/memcheck/tests/darwin/pth-undocumented.c Sat Mar 7 08:36:20 2015
@@ -0,0 +1,41 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+#include <sys/syscall.h>
+#include <unistd.h>
+#include <fcntl.h>
+
+#ifndef SYS___pthread_chdir
+# define SYS___pthread_chdir 348
+#endif
+
+#ifndef SYS___pthread_fchdir
+# define SYS___pthread_fchdir 349
+#endif
+
+int __pthread_chdir(const char *path)
+{
+ return syscall(SYS___pthread_chdir, path);
+}
+
+int __pthread_fchdir(int dirfd)
+{
+ return syscall(SYS___pthread_fchdir, dirfd);
+}
+
+int main(void)
+{
+ int dirfd;
+
+ dirfd = open("/", O_RDONLY);
+ if (dirfd == -1)
+ perror("open"), exit(1);
+
+ if (__pthread_chdir("/"))
+ perror("__pthread_chdir");
+
+ if (__pthread_fchdir(dirfd))
+ perror("__pthread_fchdir");
+
+ return 0;
+}
Added: trunk/memcheck/tests/darwin/pth-undocumented.stderr.exp
==============================================================================
(empty)
Added: trunk/memcheck/tests/darwin/pth-undocumented.stdout.exp
==============================================================================
(empty)
Added: trunk/memcheck/tests/darwin/pth-undocumented.vgtest
==============================================================================
--- trunk/memcheck/tests/darwin/pth-undocumented.vgtest (added)
+++ trunk/memcheck/tests/darwin/pth-undocumented.vgtest Sat Mar 7 08:36:20 2015
@@ -0,0 +1,2 @@
+prog: pth-undocumented
+vgopts: -q
|
|
From: <sv...@va...> - 2015-03-07 06:11:16
|
Author: rhyskidd
Date: Sat Mar 7 06:11:08 2015
New Revision: 14986
Log:
Tweak test case for bz#344560 from r14985, now includes line numbers
Modified:
trunk/memcheck/tests/darwin/deep_badparam.stderr.exp
Modified: trunk/memcheck/tests/darwin/deep_badparam.stderr.exp
==============================================================================
--- trunk/memcheck/tests/darwin/deep_badparam.stderr.exp (original)
+++ trunk/memcheck/tests/darwin/deep_badparam.stderr.exp Sat Mar 7 06:11:08 2015
@@ -1,12 +1,12 @@
Syscall param write(buf) points to uninitialised byte(s)
...
- by 0x........: func_six (in ./deep_badparam)
- by 0x........: func_five (in ./deep_badparam)
- by 0x........: func_four (in ./deep_badparam)
- by 0x........: func_three (in ./deep_badparam)
- by 0x........: func_two (in ./deep_badparam)
- by 0x........: func_one (in ./deep_badparam)
- by 0x........: main (in ./deep_badparam)
+ by 0x........: func_six (deep_badparam.c:8)
+ by 0x........: func_five (deep_badparam.c:14)
+ by 0x........: func_four (deep_badparam.c:19)
+ by 0x........: func_three (deep_badparam.c:24)
+ by 0x........: func_two (deep_badparam.c:29)
+ by 0x........: func_one (deep_badparam.c:34)
+ by 0x........: main (deep_badparam.c:39)
Address 0x........ is on thread 1's stack
- in frame #1, created by func_six (???:)
+ in frame #1, created by func_six (deep_badparam.c:6)
|
|
From: Rich C. <rc...@wi...> - 2015-03-07 05:39:04
|
valgrind revision: 14984
VEX revision: 3098
C compiler: gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]
GDB: GNU gdb (GDB; openSUSE 13.2) 7.8
Assembler: GNU assembler (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
C library: GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025)
uname -mrs: Linux 3.16.7-7-desktop x86_64
Vendor version: Welcome to openSUSE 13.2 "Harlequin" - Kernel %r (%t).
Nightly build on rodan ( Linux 3.16.7-7-desktop x86_64 )
Started at 2015-03-06 19:22:01 CST
Ended at 2015-03-06 23:38:55 CST
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
== 617 tests, 4 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
--tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old
+ perl perf/vg_perf --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old perf
-- Running tests in perf ----------------------------------------------
-- bigcode1 --
bigcode1 valgrind-new:0.48s no: 7.7s (16.0x, -----) me:15.6s (32.5x, -----) ca:66.2s (137.9x, -----) he: 9.6s (20.0x, -----) ca:18.6s (38.7x, -----) dr: 9.2s (19.1x, -----) ma:12.2s (25.4x, -----)
bigcode1 valgrind-old:0.48s no: 7.7s (16.0x, 0.0%) me:15.6s (32.4x, 0.1%) ca:66.2s (137.9x, 0.0%) he: 9.6s (20.0x, -0.1%) ca:18.6s (38.7x, 0.0%) dr: 9.2s (19.1x, 0.1%) ma:12.2s (25.4x, 0.0%)
-- bigcode2 --
bigcode2 valgrind-new:0.49s no:18.8s (38.4x, -----) me:39.7s (81.1x, -----) ca:106.5s (217.4x, -----) he:24.3s (49.6x, -----) ca:34.4s (70.2x, -----) dr:22.1s (45.2x, -----) ma:21.4s (43.8x, -----)
bigcode2 valgrind-old:0.49s no:18.8s (38.4x, 0.0%) me:39.7s (81.1x, 0.0%) ca:106.5s (217.4x, -0.0%) he:24.3s (49.6x, -0.1%) ca:34.4s (70.2x, 0.0%) dr:22.2s (45.2x, -0.0%) ma:21.4s (43.8x, 0.0%)
-- bz2 --
bz2 valgrind-new:2.32s no: 7.7s ( 3.3x, -----) me:25.3s (10.9x, -----) ca:59.5s (25.7x, -----) he:37.8s (16.3x, -----) ca:50.0s (21.6x, -----) dr:54.1s (23.3x, -----) ma: 9.8s ( 4.2x, -----)
bz2 valgrind-old:2.32s no: 7.7s ( 3.3x, -0.1%) me:25.4s (10.9x, -0.3%) ca:59.5s (25.6x, 0.0%) he:37.8s (16.3x, 0.0%) ca:50.0s (21.6x, 0.0%) dr:54.0s (23.3x, 0.0%) ma: 9.8s ( 4.2x, 0.0%)
-- fbench --
fbench valgrind-new:1.44s no: 5.2s ( 3.6x, -----) me:17.7s (12.3x, -----) ca:28.8s (20.0x, -----) he:13.0s ( 9.0x, -----) ca:16.1s (11.2x, -----) dr:13.5s ( 9.4x, -----) ma: 5.6s ( 3.9x, -----)
fbench valgrind-old:1.44s no: 5.2s ( 3.6x, -0.2%) me:17.7s (12.3x, 0.0%) ca:28.8s (20.0x, 0.0%) he:13.0s ( 9.0x, 0.1%) ca:16.1s (11.2x, -0.2%) dr:13.5s ( 9.4x, 0.1%) ma: 5.6s ( 3.9x, -0.2%)
-- ffbench --
ffbench valgrind-new:1.00s no: 3.5s ( 3.5x, -----) me:12.4s (12.4x, -----) ca: 8.3s ( 8.3x, -----) he:21.1s (21.1x, -----) ca:20.6s (20.6x, -----) dr:17.0s (17.0x, -----) ma: 3.5s ( 3.5x, -----)
ffbench valgrind-old:1.00s no: 3.5s ( 3.5x, -0.3%) me:12.4s (12.4x, -0.1%) ca: 8.3s ( 8.3x, -0.1%) he:21.1s (21.1x, -0.1%) ca:20.6s (20.6x, 0.0%) dr:17.0s (17.0x, 0.0%) ma: 3.5s ( 3.5x, 0.3%)
-- heap --
heap valgrind-new:0.41s no: 3.0s ( 7.3x, -----) me:22.3s (54.5x, -----) ca:33.8s (82.4x, -----) he:30.6s (74.6x, -----) ca:15.1s (36.8x, -----) dr:20.3s (49.6x, -----) ma:21.9s (53.5x, -----)
heap valgrind-old:0.41s no: 3.0s ( 7.3x, 0.3%) me:22.3s (54.5x, -0.0%) ca:33.8s (82.5x, -0.1%) he:30.6s (74.5x, 0.1%) ca:15.1s (36.7x, 0.1%) dr:20.3s (49.5x, 0.1%) ma:22.0s (53.6x, -0.1%)
-- heap_pdb4 --
heap_pdb4 valgrind-new:0.53s no: 3.3s ( 6.2x, -----) me:38.5s (72.7x, -----) ca:35.3s (66.7x, -----) he:34.9s (65.8x, -----) ca:17.4s (32.8x, -----) dr:22.9s (43.2x, -----) ma:22.9s (43.2x, -----)
heap_pdb4 valgrind-old:0.53s no: 3.3s ( 6.2x, 0.3%) me:38.5s (72.7x, -0.1%) ca:35.3s (66.6x, 0.0%) he:34.9s (65.8x, -0.1%) ca:17.4s (32.9x, -0.1%) dr:22.9s (43.2x, -0.1%) ma:22.9s (43.1x, 0.1%)
-- many-loss-records --
many-loss-records valgrind-new:0.05s no: 1.0s (20.8x, -----) me: 6.2s (123.4x, -----) ca: 5.0s (100.6x, -----) he: 5.5s (109.0x, -----) ca: 3.0s (59.8x, -----) dr: 4.9s (98.8x, -----) ma: 4.7s (93.4x, -----)
many-loss-records valgrind-old:0.05s no: 1.0s (20.8x, 0.0%) me: 6.2s (123.2x, 0.2%) ca: 5.0s (100.6x, 0.0%) he: 5.5s (109.2x, -0.2%) ca: 3.0s (59.8x, 0.0%) dr: 5.0s (99.0x, -0.2%) ma: 4.7s (93.4x, 0.0%)
-- many-xpts --
many-xpts valgrind-new:0.16s no: 1.3s ( 8.2x, -----) me: 7.4s (46.0x, -----) ca:13.6s (84.9x, -----) he: 9.9s (62.1x, -----) ca: 4.1s (25.9x, -----) dr: 6.7s (41.8x, -----) ma: 7.0s (43.4x, -----)
many-xpts valgrind-old:0.16s no: 1.3s ( 8.2x, 0.0%) me: 7.4s (46.1x, -0.1%) ca:13.6s (84.8x, 0.1%) he: 9.9s (62.1x, -0.1%) ca: 4.1s (25.8x, 0.5%) dr: 6.7s (41.8x, 0.0%) ma: 6.9s (43.4x, 0.1%)
-- sarp --
sarp valgrind-new:0.11s no: 1.2s (11.4x, -----) me: 9.8s (89.0x, -----) ca: 8.8s (80.4x, -----) he:31.3s (284.7x, -----) ca: 4.5s (40.5x, -----) dr: 4.4s (39.7x, -----) ma: 1.4s (12.5x, -----)
sarp valgrind-old:0.11s no: 1.2s (11.4x, 0.0%) me: 9.8s (89.1x, -0.1%) ca: 8.8s (80.3x, 0.1%) he:31.3s (284.8x, -0.0%) ca: 4.4s (40.3x, 0.4%) dr: 4.4s (39.8x, -0.2%) ma: 1.4s (12.5x, 0.0%)
-- tinycc --
tinycc valgrind-new:0.74s no: 7.3s ( 9.9x, -----) me:38.0s (51.3x, -----) ca:49.8s (67.3x, -----) he:45.0s (60.8x, -----) ca:38.5s (52.0x, -----) dr:37.5s (50.6x, -----) ma:11.7s (15.8x, -----)
tinycc valgrind-old:0.74s no: 7.3s ( 9.9x, 0.1%) me:38.0s (51.3x, 0.0%) ca:49.8s (67.3x, 0.0%) he:45.0s (60.8x, 0.0%) ca:38.5s (52.1x, -0.1%) dr:37.5s (50.7x, -0.0%) ma:11.7s (15.8x, -0.1%)
-- Finished tests in perf ----------------------------------------------
== 11 programs, 154 timings =================
real 154m51.591s
user 153m24.883s
sys 1m21.209s
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-03-06 20:12:48.776730320 -0600
+++ hgtls.stdoutB.out 2015-03-06 20:29:22.644570968 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-new/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-03-06 20:12:49.598739275 -0600
+++ err_disable3.stderr.out 2015-03-06 20:33:46.500441212 -0600
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-new/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-03-06 20:12:50.439748437 -0600
+++ err_disable4.stderr.out 2015-03-06 20:33:50.589484705 -0600
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:46)
- by 0x........: child_fn_2 (err_disable4.c:64)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:81)
=================================================
./valgrind-new/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-03-06 20:12:50.199745823 -0600
+++ threadname.stderr.out 2015-03-06 20:40:39.184835693 -0600
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-new/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-03-06 20:12:49.906742631 -0600
+++ threadname_xml.stderr.out 2015-03-06 20:40:41.528860681 -0600
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
=================================================
./valgrind-old/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-03-06 19:22:21.010163732 -0600
+++ hgtls.stdoutB.out 2015-03-06 19:38:09.793782086 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-old/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-03-06 19:22:24.939207752 -0600
+++ err_disable3.stderr.out 2015-03-06 19:42:28.927678608 -0600
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-old/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-03-06 19:22:28.541248107 -0600
+++ err_disable4.stderr.out 2015-03-06 19:42:33.013724269 -0600
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:46)
- by 0x........: child_fn_2 (err_disable4.c:64)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:81)
=================================================
./valgrind-old/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-03-06 19:22:27.048231380 -0600
+++ threadname.stderr.out 2015-03-06 19:49:21.363285797 -0600
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-old/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-03-06 19:22:26.186221723 -0600
+++ threadname_xml.stderr.out 2015-03-06 19:49:23.708311983 -0600
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
|
|
From: Christian B. <bor...@de...> - 2015-03-07 05:23:17
|
valgrind revision: 14984 VEX revision: 3098 C compiler: gcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973] GDB: GNU gdb (GDB) SUSE (7.5.1-0.7.29) Assembler: GNU assembler (GNU Binutils; SUSE Linux Enterprise 11) 2.23.1 C library: GNU C Library stable release version 2.11.3 (20110527) uname -mrs: Linux 3.0.101-0.42-default s390x Vendor version: Welcome to SUSE Linux Enterprise Server 11 SP3 (s390x) - Kernel %r (%t). Nightly build on sless390 ( SUSE Linux Enterprise Server 11 SP3 gcc 4.3.4 on z196 (s390x) ) Started at 2015-03-07 03:45:01 CET Ended at 2015-03-07 06:23:01 CET 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 == 666 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == memcheck/tests/memcmptest (stderr) memcheck/tests/origin5-bz2 (stderr) helgrind/tests/locked_vs_unlocked2 (stderr) helgrind/tests/pth_cond_destroy_busy (stderr) helgrind/tests/tc20_verifywrap (stderr) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.22s no: 5.1s (23.1x, -----) me: 7.1s (32.1x, -----) ca:27.2s (123.5x, -----) he: 5.6s (25.5x, -----) ca: 9.7s (43.9x, -----) dr: 4.4s (20.1x, -----) ma: 4.9s (22.3x, -----) bigcode1 valgrind-old:0.22s no: 4.9s (22.1x, 4.1%) me: 6.7s (30.6x, 4.7%) ca:27.2s (123.7x, -0.2%) he: 5.6s (25.4x, 0.2%) ca: 9.5s (43.1x, 1.7%) dr: 4.7s (21.3x, -5.9%) ma: 5.1s (23.0x, -3.3%) -- bigcode2 -- bigcode2 valgrind-new:0.23s no: 8.6s (37.3x, -----) me:15.2s (65.9x, -----) ca:41.9s (182.1x, -----) he:11.6s (50.2x, -----) ca:15.4s (67.1x, -----) dr:10.2s (44.6x, -----) ma: 8.6s (37.3x, -----) bigcode2 valgrind-old:0.23s no: 8.3s (36.3x, 2.8%) me:15.2s (66.0x, -0.2%) ca:42.1s (182.9x, -0.4%) he:11.3s (49.3x, 1.8%) ca:15.4s (67.0x, 0.1%) dr: 9.9s (43.0x, 3.5%) ma: 9.0s (39.2x, -5.0%) -- bz2 -- bz2 valgrind-new:0.70s no: 6.4s ( 9.1x, -----) me:13.8s (19.7x, -----) ca:31.5s (45.0x, -----) he:21.1s (30.1x, -----) ca:35.9s (51.3x, -----) dr:30.5s (43.5x, -----) ma: 4.0s ( 5.7x, -----) bz2 valgrind-old:0.70s no: 6.0s ( 8.6x, 5.7%) me:13.8s (19.7x, -0.4%) ca:31.4s (44.9x, 0.2%) he:21.2s (30.3x, -0.6%) ca:36.2s (51.7x, -0.7%) dr:30.4s (43.4x, 0.2%) ma: 4.0s ( 5.7x, 0.5%) -- fbench -- fbench valgrind-new:0.41s no: 1.7s ( 4.1x, -----) me: 4.6s (11.1x, -----) ca: 9.5s (23.3x, -----) he: 6.7s (16.2x, -----) ca: 7.6s (18.5x, -----) dr: 5.9s (14.4x, -----) ma: 1.7s ( 4.1x, -----) fbench valgrind-old:0.41s no: 1.8s ( 4.4x, -6.5%) me: 4.6s (11.1x, -0.2%) ca: 9.5s (23.1x, 0.8%) he: 6.5s (16.0x, 1.5%) ca: 7.4s (18.0x, 2.4%) dr: 5.9s (14.4x, 0.2%) ma: 1.7s ( 4.1x, -1.8%) -- ffbench -- ffbench valgrind-new:0.27s no: 1.2s ( 4.3x, -----) me: 3.4s (12.7x, -----) ca: 3.1s (11.4x, -----) he:46.8s (173.5x, -----) ca: 9.9s (36.7x, -----) dr: 7.6s (28.1x, -----) ma: 1.0s ( 3.7x, -----) ffbench valgrind-old:0.27s no: 1.4s ( 5.0x,-16.4%) me: 3.4s (12.6x, 0.6%) ca: 3.1s (11.4x, 0.0%) he:47.1s (174.4x, -0.5%) ca: 9.6s (35.7x, 2.6%) dr: 7.9s (29.1x, -3.7%) ma: 1.0s ( 3.8x, -1.0%) -- heap -- heap valgrind-new:0.24s no: 2.2s ( 9.4x, -----) me: 9.9s (41.1x, -----) ca:13.7s (57.0x, -----) he:14.2s (59.2x, -----) ca:11.9s (49.4x, -----) dr: 8.7s (36.2x, -----) ma: 8.2s (34.3x, -----) heap valgrind-old:0.24s no: 2.4s ( 9.8x, -4.4%) me: 9.7s (40.3x, 2.0%) ca:13.7s (57.2x, -0.2%) he:14.2s (59.3x, -0.1%) ca:11.8s (49.3x, 0.2%) dr: 8.3s (34.6x, 4.4%) ma: 8.6s (35.9x, -4.7%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.23s no: 2.7s (11.7x, -----) me:14.3s (62.0x, -----) ca:14.9s (64.7x, -----) he:15.6s (67.7x, -----) ca:13.0s (56.6x, -----) dr: 9.1s (39.7x, -----) ma: 8.6s (37.2x, -----) heap_pdb4 valgrind-old:0.23s no: 2.7s (11.7x, -0.7%) me:14.3s (62.1x, -0.1%) ca:14.9s (64.8x, -0.3%) he:15.6s (67.8x, -0.3%) ca:13.1s (56.7x, -0.2%) dr: 9.4s (41.0x, -3.3%) ma: 8.3s (36.1x, 2.9%) -- many-loss-records -- many-loss-records valgrind-new:0.02s no: 0.6s (27.5x, -----) me: 2.5s (123.0x, -----) ca: 1.9s (97.5x, -----) he: 2.4s (122.0x, -----) ca: 1.9s (97.0x, -----) dr: 2.0s (100.0x, -----) ma: 1.7s (85.0x, -----) many-loss-records valgrind-old:0.02s no: 0.6s (28.5x, -3.6%) me: 2.5s (123.5x, -0.4%) ca: 1.9s (97.5x, 0.0%) he: 2.4s (122.0x, 0.0%) ca: 1.9s (97.0x, 0.0%) dr: 2.0s (100.5x, -0.5%) ma: 1.7s (85.0x, 0.0%) -- many-xpts -- many-xpts valgrind-new:0.07s no: 0.7s (10.3x, -----) me: 3.5s (50.4x, -----) ca:394.0s (5628.7x, -----) he: 7.1s (101.9x, -----) ca: 2.8s (40.1x, -----) dr: 2.8s (40.3x, -----) ma: 2.7s (38.9x, -----) many-xpts valgrind-old:0.07s no: 0.8s (11.0x, -6.9%) me: 3.6s (50.9x, -0.8%) ca:399.6s (5709.0x, -1.4%) he: 7.3s (103.9x, -2.0%) ca: 2.8s (40.1x, 0.0%) dr: 2.9s (41.7x, -3.5%) ma: 2.7s (38.3x, 1.5%) -- sarp -- sarp valgrind-new:0.05s no: 0.6s (12.6x, -----) me: 4.1s (82.0x, -----) ca: 3.2s (64.6x, -----) he:18.0s (359.2x, -----) ca: 2.1s (42.0x, -----) dr: 1.6s (32.2x, -----) ma: 0.5s (10.4x, -----) sarp valgrind-old:0.05s no: 0.6s (12.8x, -1.6%) me: 4.1s (81.6x, 0.5%) ca: 3.3s (65.4x, -1.2%) he:18.1s (361.0x, -0.5%) ca: 2.1s (41.4x, 1.4%) dr: 1.7s (33.6x, -4.3%) ma: 0.6s (12.0x,-15.4%) -- tinycc -- tinycc valgrind-new:0.23s no: 3.1s (13.5x, -----) me:15.7s (68.2x, -----) ca:31.3s (136.2x, -----) he:29.6s (128.6x, -----) ca:22.3s (96.8x, -----) dr:21.4s (93.3x, -----) ma: 4.3s (18.8x, -----) tinycc valgrind-old:0.23s no: 3.1s (13.4x, 0.3%) me:15.6s (67.9x, 0.4%) ca:31.5s (137.1x, -0.7%) he:29.5s (128.3x, 0.2%) ca:22.4s (97.4x, -0.6%) dr:21.4s (92.9x, 0.4%) ma: 4.2s (18.4x, 2.1%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 118m59.442s user 118m20.082s sys 0m33.315s |
|
From: <sv...@va...> - 2015-03-07 05:22:21
|
Author: rhyskidd
Date: Sat Mar 7 05:22:12 2015
New Revision: 14985
Log:
Fix stack traces missing penultimate frame
bz#344560
- Also fixes memcheck/tests/badpoll test on OS X
- Problem occurs because the guest stack seen in a system call pre or post
function happens to not have a correct topmost stack frame, as Darwin system
call stubs do not start with the usual function prolog.
- New regression test case added.
- Thanks to Greg Banks for research, patch and test case.
Before:
== 587 tests, 240 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==
After:
== 588 tests, 239 stderr failures, 22 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==
Added:
trunk/memcheck/tests/darwin/deep_badparam.c
trunk/memcheck/tests/darwin/deep_badparam.stderr.exp
trunk/memcheck/tests/darwin/deep_badparam.stdout.exp (with props)
trunk/memcheck/tests/darwin/deep_badparam.vgtest
Modified:
trunk/NEWS
trunk/coregrind/m_stacktrace.c
trunk/coregrind/m_syswrap/syswrap-main.c
trunk/coregrind/pub_core_syswrap.h
trunk/memcheck/tests/darwin/ (props changed)
trunk/memcheck/tests/darwin/Makefile.am
Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS (original)
+++ trunk/NEWS Sat Mar 7 05:22:12 2015
@@ -115,6 +115,7 @@
344499 Fix compilation for Linux kernel >= 4. With this, also require
a Linux kernel >= 2.6 as 2.4 is mostly untested and might trigger
obvious and non-obvious issues
+344560 Fix stack traces missing penultimate frame on OS X
344621 Fix memcheck/tests/err_disable4 test on OS X
344686 Fix suppression for pthread_rwlock_init on OS X 10.10
344702 Fix missing libobjc suppressions on OS X 10.10
Modified: trunk/coregrind/m_stacktrace.c
==============================================================================
--- trunk/coregrind/m_stacktrace.c (original)
+++ trunk/coregrind/m_stacktrace.c Sat Mar 7 05:22:12 2015
@@ -515,6 +515,23 @@
if (fps) fps[0] = uregs.xbp;
i = 1;
+# if defined(VGO_darwin)
+ if (VG_(is_valid_tid)(tid_if_known) &&
+ VG_(is_in_syscall)(tid_if_known) &&
+ i < max_n_ips) {
+ /* On Darwin, all the system call stubs have no function
+ * prolog. So instead of top of the stack being a new
+ * frame comprising a saved BP and a return address, we
+ * just have the return address in the caller's frame.
+ * Adjust for this by recording the return address.
+ */
+ ips[i] = *(Addr *)uregs.xsp - 1;
+ if (sps) sps[i] = uregs.xsp;
+ if (fps) fps[i] = uregs.xbp;
+ i++;
+ }
+# endif
+
/* Loop unwinding the stack. Note that the IP value we get on
* each pass (whether from CFI info or a stack frame) is a
* return address so is actually after the calling instruction
Modified: trunk/coregrind/m_syswrap/syswrap-main.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-main.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-main.c Sat Mar 7 05:22:12 2015
@@ -1377,6 +1377,12 @@
syscallInfo[tid].status.what = SsIdle;
}
+Bool VG_(is_in_syscall) ( Int tid )
+{
+ vg_assert(tid >= 0 && tid < VG_N_THREADS);
+ return (syscallInfo[tid].status.what != SsIdle);
+}
+
static void ensure_initialised ( void )
{
Int i;
Modified: trunk/coregrind/pub_core_syswrap.h
==============================================================================
--- trunk/coregrind/pub_core_syswrap.h (original)
+++ trunk/coregrind/pub_core_syswrap.h Sat Mar 7 05:22:12 2015
@@ -50,6 +50,9 @@
/* Clear this module's private state for thread 'tid' */
extern void VG_(clear_syscallInfo) ( Int tid );
+// Returns True if the given thread is currently in a system call
+extern Bool VG_(is_in_syscall) ( Int tid );
+
// Fix up a thread's state when syscall is interrupted by a signal.
extern void VG_(fixup_guest_state_after_syscall_interrupted)(
ThreadId tid,
Modified: trunk/memcheck/tests/darwin/Makefile.am
==============================================================================
--- trunk/memcheck/tests/darwin/Makefile.am (original)
+++ trunk/memcheck/tests/darwin/Makefile.am Sat Mar 7 05:22:12 2015
@@ -7,6 +7,7 @@
EXTRA_DIST = \
aio.stderr.exp aio.vgtest \
+ deep_badparam.stderr.exp deep_badparam.stdout.exp deep_badparam.vgtest \
env.stderr.exp env.vgtest \
pth-supp.stderr.exp pth-supp.vgtest \
scalar.stderr.exp scalar.vgtest \
@@ -16,6 +17,7 @@
check_PROGRAMS = \
aio \
+ deep_badparam \
env \
pth-supp \
scalar \
Added: trunk/memcheck/tests/darwin/deep_badparam.c
==============================================================================
--- trunk/memcheck/tests/darwin/deep_badparam.c (added)
+++ trunk/memcheck/tests/darwin/deep_badparam.c Sat Mar 7 05:22:12 2015
@@ -0,0 +1,41 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <unistd.h>
+
+int func_six(int x)
+{
+ char b[32];
+ int r = write(1, b, sizeof(b));
+ return x;
+}
+
+int func_five(int x)
+{
+ return func_six(x + 5);
+}
+
+int func_four(int x)
+{
+ return func_five(x + 4);
+}
+
+int func_three(int x)
+{
+ return func_four(x + 3);
+}
+
+int func_two(int x)
+{
+ return func_three(x + 2);
+}
+
+int func_one(int x)
+{
+ return func_two(x + 1);
+}
+
+int main(void)
+{
+ func_one(10);
+ return 0;
+}
Added: trunk/memcheck/tests/darwin/deep_badparam.stderr.exp
==============================================================================
--- trunk/memcheck/tests/darwin/deep_badparam.stderr.exp (added)
+++ trunk/memcheck/tests/darwin/deep_badparam.stderr.exp Sat Mar 7 05:22:12 2015
@@ -0,0 +1,12 @@
+Syscall param write(buf) points to uninitialised byte(s)
+ ...
+ by 0x........: func_six (in ./deep_badparam)
+ by 0x........: func_five (in ./deep_badparam)
+ by 0x........: func_four (in ./deep_badparam)
+ by 0x........: func_three (in ./deep_badparam)
+ by 0x........: func_two (in ./deep_badparam)
+ by 0x........: func_one (in ./deep_badparam)
+ by 0x........: main (in ./deep_badparam)
+ Address 0x........ is on thread 1's stack
+ in frame #1, created by func_six (???:)
+
Added: trunk/memcheck/tests/darwin/deep_badparam.stdout.exp
==============================================================================
Binary file - no diff available.
Added: trunk/memcheck/tests/darwin/deep_badparam.vgtest
==============================================================================
--- trunk/memcheck/tests/darwin/deep_badparam.vgtest (added)
+++ trunk/memcheck/tests/darwin/deep_badparam.vgtest Sat Mar 7 05:22:12 2015
@@ -0,0 +1,2 @@
+prog: deep_badparam
+vgopts: -q
|
|
From: Tom H. <to...@co...> - 2015-03-07 04:13:39
|
valgrind revision: 14984 VEX revision: 3098 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.1-48.fc15) Assembler: GNU assembler version 2.21.51.0.6-6.fc15 20110118 C library: GNU C Library stable release version 2.14.1 uname -mrs: Linux 3.18.7-200.fc21.x86_64 x86_64 Vendor version: Nightly build on bristol ( x86_64, Fedora 15 ) Started at 2015-03-07 03:02:12 GMT Ended at 2015-03-07 04:13:26 GMT 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 == 700 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == helgrind/tests/locked_vs_unlocked2 (stderr) --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.10s no: 1.7s (16.6x, -----) me: 3.4s (33.6x, -----) ca:14.2s (142.1x, -----) he: 2.1s (20.7x, -----) ca: 3.8s (38.3x, -----) dr: 2.0s (20.1x, -----) ma: 2.0s (19.6x, -----) bigcode1 valgrind-old:0.10s no: 1.7s (16.7x, -0.6%) me: 3.3s (33.3x, 0.9%) ca:14.3s (142.7x, -0.4%) he: 2.0s (20.5x, 1.0%) ca: 3.8s (38.3x, 0.0%) dr: 2.0s (20.2x, -0.5%) ma: 2.0s (19.7x, -0.5%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.3x, -----) me: 8.6s (77.9x, -----) ca:25.8s (234.5x, -----) he: 5.0s (45.9x, -----) ca: 7.3s (66.2x, -----) dr: 4.7s (42.6x, -----) ma: 4.6s (42.1x, -----) bigcode2 valgrind-old:0.11s no: 4.0s (36.5x, -0.8%) me: 8.5s (77.1x, 1.1%) ca:25.3s (229.7x, 2.0%) he: 5.0s (45.7x, 0.4%) ca: 7.3s (66.1x, 0.1%) dr: 4.7s (43.0x, -0.9%) ma: 4.7s (42.4x, -0.6%) -- bz2 -- bz2 valgrind-new:0.52s no: 1.6s ( 3.1x, -----) me: 5.8s (11.1x, -----) ca:13.3s (25.5x, -----) he: 8.3s (16.0x, -----) ca:10.9s (20.9x, -----) dr:10.7s (20.5x, -----) ma: 1.6s ( 3.1x, -----) bz2 valgrind-old:0.52s no: 1.6s ( 3.1x, -0.6%) me: 5.7s (11.0x, 0.2%) ca:13.2s (25.5x, 0.2%) he: 8.3s (16.1x, -0.2%) ca:10.9s (20.9x, -0.2%) dr:10.7s (20.5x, -0.1%) ma: 1.6s ( 3.1x, -0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.7s (16.8x, -----) ca: 5.6s (25.4x, -----) he: 2.9s (13.0x, -----) ca: 3.2s (14.4x, -----) dr: 2.6s (11.7x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 0.0%) me: 3.7s (16.7x, 0.5%) ca: 5.6s (25.4x, 0.2%) he: 2.9s (13.0x, 0.0%) ca: 3.2s (14.4x, -0.3%) dr: 2.6s (11.6x, 0.8%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.21s no: 0.9s ( 4.4x, -----) me: 2.9s (13.6x, -----) ca: 1.8s ( 8.6x, -----) he: 5.2s (24.9x, -----) ca: 4.0s (19.2x, -----) dr: 3.2s (15.3x, -----) ma: 0.9s ( 4.1x, -----) ffbench valgrind-old:0.21s no: 0.9s ( 4.3x, 3.2%) me: 2.8s (13.2x, 2.8%) ca: 1.8s ( 8.5x, 0.6%) he: 5.2s (24.7x, 0.8%) ca: 4.0s (19.3x, -0.2%) dr: 3.2s (15.3x, 0.0%) ma: 0.8s ( 4.0x, 1.2%) -- heap -- heap valgrind-new:0.07s no: 0.6s ( 8.1x, -----) me: 5.0s (71.0x, -----) ca: 6.0s (86.0x, -----) he: 6.6s (94.3x, -----) ca: 3.2s (45.6x, -----) dr: 5.1s (72.3x, -----) ma: 4.6s (66.0x, -----) heap valgrind-old:0.07s no: 0.6s ( 8.1x, 0.0%) me: 5.0s (71.0x, 0.0%) ca: 6.0s (86.3x, -0.3%) he: 6.6s (94.4x, -0.2%) ca: 3.1s (44.9x, 1.6%) dr: 5.1s (72.6x, -0.4%) ma: 4.6s (66.1x, -0.2%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.6s ( 6.3x, -----) me: 8.6s (86.0x, -----) ca: 6.6s (65.9x, -----) he: 7.7s (77.2x, -----) ca: 3.5s (34.7x, -----) dr: 4.8s (47.6x, -----) ma: 4.9s (48.6x, -----) heap_pdb4 valgrind-old:0.10s no: 0.6s ( 6.4x, -1.6%) me: 8.6s (85.5x, 0.6%) ca: 6.6s (66.1x, -0.3%) he: 7.7s (77.1x, 0.1%) ca: 3.5s (34.6x, 0.3%) dr: 4.8s (47.6x, 0.0%) ma: 4.9s (48.6x, 0.0%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.2s (24.0x, -----) me: 1.4s (135.0x, -----) ca: 1.0s (99.0x, -----) he: 1.1s (115.0x, -----) ca: 0.6s (64.0x, -----) dr: 1.0s (103.0x, -----) ma: 0.9s (92.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (25.0x, -4.2%) me: 1.4s (144.0x, -6.7%) ca: 1.0s (100.0x, -1.0%) he: 1.2s (116.0x, -0.9%) ca: 0.7s (70.0x, -9.4%) dr: 1.0s (103.0x, 0.0%) ma: 0.9s (93.0x, -1.1%) -- many-xpts -- many-xpts valgrind-new:0.04s no: 0.3s ( 8.0x, -----) me: 2.0s (50.0x, -----) ca: 2.7s (68.2x, -----) he: 2.3s (58.2x, -----) ca: 1.0s (24.2x, -----) dr: 1.5s (38.5x, -----) ma: 1.5s (37.0x, -----) many-xpts valgrind-old:0.04s no: 0.3s ( 8.2x, -3.1%) me: 2.0s (50.2x, -0.5%) ca: 2.8s (68.8x, -0.7%) he: 2.3s (58.0x, 0.4%) ca: 1.0s (24.5x, -1.0%) dr: 1.5s (38.5x, 0.0%) ma: 1.5s (37.0x, 0.0%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.3s (115.5x, -----) ca: 1.8s (91.0x, -----) he: 6.7s (336.5x, -----) ca: 1.0s (48.0x, -----) dr: 1.0s (51.0x, -----) ma: 0.3s (15.5x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 0.0%) me: 2.3s (115.5x, 0.0%) ca: 1.8s (91.0x, 0.0%) he: 6.7s (337.0x, -0.1%) ca: 0.9s (47.5x, 1.0%) dr: 1.0s (51.5x, -1.0%) ma: 0.3s (15.0x, 3.2%) -- tinycc -- tinycc valgrind-new:0.16s no: 1.5s ( 9.2x, -----) me: 9.2s (57.7x, -----) ca:11.3s (70.7x, -----) he:10.0s (62.3x, -----) ca: 8.2s (51.0x, -----) dr: 8.1s (50.6x, -----) ma: 2.5s (15.8x, -----) tinycc valgrind-old:0.16s no: 1.5s ( 9.2x, 0.7%) me: 9.2s (57.6x, 0.2%) ca:11.3s (70.8x, -0.1%) he:10.0s (62.3x, 0.0%) ca: 8.2s (51.1x, -0.1%) dr: 8.1s (50.7x, -0.4%) ma: 2.5s (15.8x, 0.0%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m17.047s user 33m21.336s sys 0m22.439s |
|
From: Rich C. <rc...@wi...> - 2015-03-07 04:10:04
|
valgrind revision: 14984
VEX revision: 3098
C compiler: gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]
GDB: GNU gdb (GDB; openSUSE 13.2) 7.8
Assembler: GNU assembler (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
C library: GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025)
uname -mrs: Linux 3.16.6-2-desktop x86_64
Vendor version: openSUSE 13.2 (Harlequin)
Nightly build on ultra ( gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064] Linux 3.16.6-2-desktop x86_64 )
Started at 2015-03-06 21:30:01 CST
Ended at 2015-03-06 22:09:52 CST
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
== 617 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc09_bad_unlock (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
== 617 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
memcheck/tests/err_disable3 (stderr)
memcheck/tests/err_disable4 (stderr)
memcheck/tests/threadname (stderr)
memcheck/tests/threadname_xml (stderr)
helgrind/tests/hg05_race2 (stderr)
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Fri Mar 6 21:49:28 2015
--- new.short Fri Mar 6 22:09:52 2015
***************
*** 8,10 ****
! == 617 tests, 5 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
--- 8,10 ----
! == 617 tests, 6 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
***************
*** 15,16 ****
--- 15,17 ----
helgrind/tests/hg05_race2 (stderr)
+ helgrind/tests/tc09_bad_unlock (stderr)
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-03-06 21:49:33.614538450 -0600
+++ hgtls.stdoutB.out 2015-03-06 21:57:33.269153034 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2015-03-06 21:50:39.540699080 -0600
+++ hg05_race2.stderr.out 2015-03-06 22:04:17.076879530 -0600
@@ -26,8 +26,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +41,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff
=================================================
--- tc09_bad_unlock.stderr.exp 2015-03-06 21:50:39.563698432 -0600
+++ tc09_bad_unlock.stderr.out 2015-03-06 22:04:46.538056881 -0600
@@ -37,7 +37,6 @@
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
Address 0x........ is on thread #x's stack
- in frame #x, created by nearly_main (tc09_bad_unlock.c:16)
----------------------------------------------------------------
=================================================
./valgrind-new/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-03-06 21:49:39.308379594 -0600
+++ err_disable3.stderr.out 2015-03-06 21:59:24.929036123 -0600
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-new/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-03-06 21:49:46.638175291 -0600
+++ err_disable4.stderr.out 2015-03-06 21:59:26.259998969 -0600
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:46)
- by 0x........: child_fn_2 (err_disable4.c:64)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:81)
=================================================
./valgrind-new/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-03-06 21:49:43.515262222 -0600
+++ threadname.stderr.out 2015-03-06 22:01:29.374561937 -0600
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-new/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-03-06 21:49:41.831309204 -0600
+++ threadname_xml.stderr.out 2015-03-06 22:01:30.035543483 -0600
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
=================================================
./valgrind-old/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2015-03-06 21:30:26.506629107 -0600
+++ hgtls.stdoutB.out 2015-03-06 21:37:08.456362807 -0600
@@ -35,11 +35,11 @@
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
[New Thread ....]
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
=================================================
./valgrind-old/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2015-03-06 21:31:43.438472758 -0600
+++ hg05_race2.stderr.out 2015-03-06 21:43:52.822044792 -0600
@@ -26,8 +26,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +41,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/memcheck/tests/err_disable3.stderr.diff
=================================================
--- err_disable3.stderr.exp 2015-03-06 21:30:35.072389019 -0600
+++ err_disable3.stderr.out 2015-03-06 21:39:00.800213953 -0600
@@ -10,8 +10,6 @@
Thread 2:
Invalid read of size 1
at 0x........: err (err_disable3.c:25)
- by 0x........: child_fn (err_disable3.c:31)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable3.c:42)
=================================================
./valgrind-old/memcheck/tests/err_disable4.stderr.diff
=================================================
--- err_disable4.stderr.exp 2015-03-06 21:30:41.559207012 -0600
+++ err_disable4.stderr.out 2015-03-06 21:39:02.091177769 -0600
@@ -1501,8 +1501,6 @@
Thread x:
Invalid read of size 1
at 0x........: err (err_disable4.c:46)
- by 0x........: child_fn_2 (err_disable4.c:64)
- ...
Address 0x........ is 5 bytes inside a block of size 10 free'd
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (err_disable4.c:81)
=================================================
./valgrind-old/memcheck/tests/threadname.stderr.diff
=================================================
--- threadname.stderr.exp 2015-03-06 21:30:39.179273905 -0600
+++ threadname.stderr.out 2015-03-06 21:41:04.421749024 -0600
@@ -9,36 +9,12 @@
Thread 2:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_0 (threadname.c:61)
- ...
Address 0x........ is 0 bytes after a block of size 2 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: bad_things (threadname.c:15)
by 0x........: child_fn_0 (threadname.c:61)
...
-Thread 3 try1:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
- Address 0x........ is 0 bytes after a block of size 3 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_1 (threadname.c:46)
- ...
-
-Thread 4 012345678901234:
-Invalid write of size 1
- at 0x........: bad_things (threadname.c:16)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
- Address 0x........ is 0 bytes after a block of size 4 alloc'd
- at 0x........: malloc (vg_replace_malloc.c:...)
- by 0x........: bad_things (threadname.c:15)
- by 0x........: child_fn_2 (threadname.c:30)
- ...
-
Thread 1:
Invalid write of size 1
at 0x........: bad_things (threadname.c:16)
=================================================
./valgrind-old/memcheck/tests/threadname_xml.stderr.diff
=================================================
--- threadname_xml.stderr.exp 2015-03-06 21:30:37.668316258 -0600
+++ threadname_xml.stderr.out 2015-03-06 21:41:05.079730581 -0600
@@ -94,14 +94,6 @@
<file>threadname.c</file>
<line>...</line>
</frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_0</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
</stack>
<auxwhat>Address 0x........ is 0 bytes after a block of size 2 alloc'd</auxwhat>
<stack>
@@ -135,112 +127,6 @@
<error>
<unique>0x........</unique>
<tid>...</tid>
- <threadname>try1</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 3 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>malloc</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_1</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
-</error>
-
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <threadname>012345678901234</threadname>
- <kind>InvalidWrite</kind>
- <what>Invalid write of size 1</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>bad_things</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>child_fn_2</fn>
- <dir>...</dir>
- <file>threadname.c</file>
- <line>...</line>
- </frame>
- </stack>
- <auxwhat>Address 0x........ is 0 bytes after a block of size 4 alloc'd</auxwhat>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
<truncated beyond 100 lines>
|
|
From: Tom H. <to...@co...> - 2015-03-07 04:05:27
|
valgrind revision: 14984 VEX revision: 3098 C compiler: gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) GDB: GNU gdb (GDB) Fedora (7.3.50.20110722-16.fc16) Assembler: GNU assembler version 2.21.53.0.1-6.fc16 20110716 C library: GNU C Library development release version 2.14.90 uname -mrs: Linux 3.18.7-200.fc21.x86_64 x86_64 Vendor version: Nightly build on bristol ( x86_64, Fedora 16 ) Started at 2015-03-07 02:51:37 GMT Ended at 2015-03-07 04:05:13 GMT 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 == 700 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.10s no: 1.7s (16.7x, -----) me: 3.4s (33.7x, -----) ca:14.4s (144.4x, -----) he: 2.1s (20.9x, -----) ca: 3.9s (38.7x, -----) dr: 2.1s (20.7x, -----) ma: 2.0s (19.8x, -----) bigcode1 valgrind-old:0.10s no: 1.7s (16.8x, -0.6%) me: 3.4s (34.4x, -2.1%) ca:14.4s (143.6x, 0.6%) he: 2.1s (20.9x, 0.0%) ca: 3.9s (38.5x, 0.5%) dr: 2.1s (20.8x, -0.5%) ma: 2.0s (19.8x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.11s no: 4.0s (36.5x, -----) me: 8.6s (77.7x, -----) ca:26.3s (238.8x, -----) he: 5.0s (45.7x, -----) ca: 7.3s (66.7x, -----) dr: 4.8s (43.4x, -----) ma: 4.7s (42.5x, -----) bigcode2 valgrind-old:0.11s no: 4.1s (36.9x, -1.0%) me: 8.5s (77.5x, 0.4%) ca:25.8s (234.5x, 1.8%) he: 5.0s (45.7x, 0.0%) ca: 7.3s (66.8x, -0.1%) dr: 4.8s (43.9x, -1.3%) ma: 4.6s (42.2x, 0.9%) -- bz2 -- bz2 valgrind-new:0.52s no: 1.6s ( 3.1x, -----) me: 5.8s (11.1x, -----) ca:13.3s (25.5x, -----) he: 8.4s (16.2x, -----) ca:11.0s (21.1x, -----) dr:10.7s (20.5x, -----) ma: 1.6s ( 3.1x, -----) bz2 valgrind-old:0.52s no: 1.6s ( 3.1x, 0.6%) me: 5.8s (11.1x, -0.0%) ca:13.3s (25.6x, -0.3%) he: 8.4s (16.2x, -0.1%) ca:11.0s (21.2x, -0.2%) dr:10.7s (20.6x, -0.3%) ma: 1.6s ( 3.1x, -0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.8s (17.4x, -----) ca: 5.5s (25.2x, -----) he: 2.9s (13.0x, -----) ca: 3.2s (14.6x, -----) dr: 2.6s (11.8x, -----) ma: 1.1s ( 4.9x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 0.0%) me: 3.8s (17.4x, 0.0%) ca: 5.5s (25.2x, 0.2%) he: 2.9s (13.0x, 0.3%) ca: 3.2s (14.5x, 0.9%) dr: 2.6s (11.7x, 1.2%) ma: 1.1s ( 4.9x, 0.0%) -- ffbench -- ffbench valgrind-new:0.21s no: 0.9s ( 4.5x, -----) me: 2.9s (14.0x, -----) ca: 1.9s ( 8.9x, -----) he: 5.8s (27.7x, -----) ca: 4.2s (20.0x, -----) dr: 3.4s (16.1x, -----) ma: 0.9s ( 4.3x, -----) ffbench valgrind-old:0.21s no: 0.9s ( 4.5x, 0.0%) me: 2.9s (14.0x, 0.0%) ca: 1.9s ( 8.9x, 0.0%) he: 5.5s (26.0x, 6.4%) ca: 4.2s (19.9x, 1.0%) dr: 3.4s (16.0x, 0.3%) ma: 0.9s ( 4.2x, 1.1%) -- heap -- heap valgrind-new:0.08s no: 0.6s ( 7.8x, -----) me: 5.4s (67.0x, -----) ca: 6.7s (84.0x, -----) he: 7.0s (86.9x, -----) ca: 3.4s (42.1x, -----) dr: 4.3s (53.8x, -----) ma: 4.8s (60.0x, -----) heap valgrind-old:0.08s no: 0.6s ( 7.8x, 0.0%) me: 5.4s (67.0x, 0.0%) ca: 6.7s (83.2x, 0.9%) he: 6.9s (86.7x, 0.1%) ca: 3.4s (42.2x, -0.3%) dr: 4.3s (53.8x, 0.0%) ma: 4.8s (59.8x, 0.4%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.11s no: 0.7s ( 6.1x, -----) me: 8.8s (80.5x, -----) ca: 7.1s (64.3x, -----) he: 7.9s (71.7x, -----) ca: 3.6s (32.5x, -----) dr: 5.0s (45.9x, -----) ma: 4.9s (44.7x, -----) heap_pdb4 valgrind-old:0.11s no: 0.7s ( 6.2x, -1.5%) me: 8.8s (80.4x, 0.1%) ca: 7.3s (66.1x, -2.8%) he: 7.7s (70.4x, 1.9%) ca: 3.5s (31.6x, 2.5%) dr: 4.9s (44.7x, 2.6%) ma: 4.8s (43.4x, 3.0%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.2s (25.0x, -----) me: 1.4s (142.0x, -----) ca: 1.1s (106.0x, -----) he: 1.2s (118.0x, -----) ca: 0.7s (66.0x, -----) dr: 1.1s (108.0x, -----) ma: 0.9s (95.0x, -----) many-loss-records valgrind-old:0.01s no: 0.2s (25.0x, 0.0%) me: 1.4s (145.0x, -2.1%) ca: 1.1s (106.0x, 0.0%) he: 1.2s (119.0x, -0.8%) ca: 0.7s (66.0x, 0.0%) dr: 1.1s (107.0x, 0.9%) ma: 0.9s (94.0x, 1.1%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.3x, -----) me: 1.9s (64.7x, -----) ca: 2.7s (89.7x, -----) he: 2.2s (74.3x, -----) ca: 0.9s (31.3x, -----) dr: 1.4s (48.3x, -----) ma: 1.4s (47.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.3x, 0.0%) me: 1.9s (64.7x, 0.0%) ca: 2.7s (89.3x, 0.4%) he: 2.2s (74.3x, 0.0%) ca: 0.9s (31.3x, 0.0%) dr: 1.4s (48.3x, 0.0%) ma: 1.4s (47.3x, -0.7%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (13.5x, -----) me: 2.2s (110.5x, -----) ca: 1.7s (84.5x, -----) he: 6.7s (337.0x, -----) ca: 0.9s (46.0x, -----) dr: 1.1s (54.0x, -----) ma: 0.3s (14.5x, -----) sarp valgrind-old:0.02s no: 0.3s (13.5x, 0.0%) me: 2.4s (119.0x, -7.7%) ca: 1.7s (84.0x, 0.6%) he: 6.7s (337.0x, 0.0%) ca: 0.9s (45.0x, 2.2%) dr: 1.1s (54.0x, 0.0%) ma: 0.3s (15.5x, -6.9%) -- tinycc -- tinycc valgrind-new:0.15s no: 1.4s ( 9.4x, -----) me: 8.6s (57.6x, -----) ca:10.7s (71.1x, -----) he: 9.4s (62.7x, -----) ca: 7.7s (51.5x, -----) dr: 7.6s (50.7x, -----) ma: 2.4s (15.9x, -----) tinycc valgrind-old:0.15s no: 1.4s ( 9.1x, 3.5%) me: 8.7s (57.7x, -0.1%) ca:10.6s (70.9x, 0.3%) he: 9.4s (62.9x, -0.3%) ca: 7.7s (51.2x, 0.5%) dr: 7.7s (51.1x, -0.8%) ma: 2.4s (16.1x, -1.3%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m27.346s user 33m29.216s sys 0m23.388s |
|
From: Tom H. <to...@co...> - 2015-03-07 03:56:00
|
valgrind revision: 14984 VEX revision: 3098 C compiler: gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7) GDB: GNU gdb (GDB) Fedora 7.6.1-46.fc19 Assembler: GNU assembler version 2.23.52.0.1-9.fc19 20130226 C library: GNU C Library (GNU libc) stable release version 2.17 uname -mrs: Linux 3.18.7-200.fc21.x86_64 x86_64 Vendor version: Fedora 19 (Schrödingerâs Cat) Nightly build on bristol ( x86_64, Fedora 19 (Schrödingerâs Cat) ) Started at 2015-03-07 02:41:15 GMT Ended at 2015-03-07 03:55:47 GMT 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 == 700 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.7s (15.2x, -----) me: 3.5s (31.7x, -----) ca:13.3s (121.2x, -----) he: 2.1s (19.1x, -----) ca: 3.8s (34.8x, -----) dr: 2.1s (18.7x, -----) ma: 1.9s (17.7x, -----) bigcode1 valgrind-old:0.11s no: 1.7s (15.2x, 0.0%) me: 3.5s (31.6x, 0.3%) ca:13.2s (120.4x, 0.7%) he: 2.1s (19.1x, 0.0%) ca: 3.8s (34.9x, -0.3%) dr: 2.0s (18.6x, 0.5%) ma: 1.9s (17.7x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.10s no: 3.9s (39.4x, -----) me: 8.6s (85.6x, -----) ca:24.6s (246.0x, -----) he: 4.8s (48.5x, -----) ca: 7.1s (71.4x, -----) dr: 4.8s (47.7x, -----) ma: 4.6s (45.6x, -----) bigcode2 valgrind-old:0.10s no: 4.0s (39.5x, -0.3%) me: 8.6s (85.7x, -0.1%) ca:25.0s (249.8x, -1.5%) he: 5.0s (50.1x, -3.3%) ca: 7.2s (71.6x, -0.3%) dr: 4.7s (47.2x, 1.0%) ma: 4.5s (45.4x, 0.4%) -- bz2 -- bz2 valgrind-new:0.49s no: 1.6s ( 3.2x, -----) me: 5.7s (11.6x, -----) ca:12.6s (25.8x, -----) he: 8.7s (17.7x, -----) ca:10.3s (21.0x, -----) dr:11.0s (22.4x, -----) ma: 1.6s ( 3.2x, -----) bz2 valgrind-old:0.49s no: 1.6s ( 3.2x, -0.0%) me: 5.7s (11.6x, -0.2%) ca:12.6s (25.8x, -0.1%) he: 8.7s (17.8x, -0.5%) ca:10.4s (21.1x, -0.5%) dr:11.0s (22.4x, 0.1%) ma: 1.6s ( 3.2x, 0.0%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.7x, -----) me: 3.5s (15.9x, -----) ca: 5.6s (25.3x, -----) he: 2.7s (12.5x, -----) ca: 3.0s (13.8x, -----) dr: 2.9s (13.1x, -----) ma: 1.1s ( 4.9x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 1.0%) me: 3.5s (15.9x, 0.0%) ca: 5.6s (25.3x, 0.0%) he: 2.7s (12.5x, 0.0%) ca: 3.0s (13.8x, 0.3%) dr: 2.9s (13.1x, 0.0%) ma: 1.1s ( 4.8x, 0.9%) -- ffbench -- ffbench valgrind-new:0.22s no: 1.0s ( 4.4x, -----) me: 3.0s (13.6x, -----) ca: 1.9s ( 8.6x, -----) he: 5.3s (24.0x, -----) ca: 4.5s (20.3x, -----) dr: 3.5s (15.9x, -----) ma: 0.9s ( 4.1x, -----) ffbench valgrind-old:0.22s no: 0.9s ( 4.3x, 1.0%) me: 3.0s (13.6x, 0.0%) ca: 1.9s ( 8.5x, 1.1%) he: 5.2s (23.6x, 1.3%) ca: 4.3s (19.5x, 4.0%) dr: 3.5s (15.7x, 0.9%) ma: 0.9s ( 4.1x, -1.1%) -- heap -- heap valgrind-new:0.07s no: 0.6s ( 8.6x, -----) me: 5.5s (77.9x, -----) ca: 6.1s (87.3x, -----) he: 7.0s (99.3x, -----) ca: 3.1s (44.9x, -----) dr: 4.4s (63.1x, -----) ma: 4.8s (68.7x, -----) heap valgrind-old:0.07s no: 0.6s ( 8.7x, -1.7%) me: 5.5s (77.9x, 0.0%) ca: 6.1s (87.4x, -0.2%) he: 7.0s (99.3x, 0.0%) ca: 3.1s (44.9x, 0.0%) dr: 4.4s (63.1x, 0.0%) ma: 4.8s (68.9x, -0.2%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.7x, -----) me: 9.3s (93.4x, -----) ca: 6.8s (68.2x, -----) he: 8.0s (80.1x, -----) ca: 3.4s (34.4x, -----) dr: 5.0s (49.8x, -----) ma: 5.0s (49.6x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.8x, -1.5%) me: 9.3s (93.4x, 0.0%) ca: 6.8s (68.1x, 0.1%) he: 8.0s (80.2x, -0.1%) ca: 3.5s (34.5x, -0.3%) dr: 5.0s (49.7x, 0.2%) ma: 5.0s (49.5x, 0.2%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (142.0x, -----) ca: 1.0s (101.0x, -----) he: 1.3s (131.0x, -----) ca: 0.7s (66.0x, -----) dr: 1.2s (117.0x, -----) ma: 1.0s (103.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.4s (145.0x, -2.1%) ca: 1.0s (100.0x, 1.0%) he: 1.3s (132.0x, -0.8%) ca: 0.7s (67.0x, -1.5%) dr: 1.2s (117.0x, 0.0%) ma: 1.1s (105.0x, -1.9%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 1.7s (55.7x, -----) ca: 2.5s (85.0x, -----) he: 2.3s (75.7x, -----) ca: 1.0s (32.3x, -----) dr: 1.5s (51.3x, -----) ma: 1.6s (52.0x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.7x, 0.0%) me: 1.7s (55.7x, 0.0%) ca: 2.5s (85.0x, 0.0%) he: 2.3s (76.0x, -0.4%) ca: 1.0s (32.7x, -1.0%) dr: 1.6s (51.7x, -0.6%) ma: 1.6s (52.0x, 0.0%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.5s (124.0x, -----) ca: 1.7s (85.5x, -----) he: 6.8s (338.0x, -----) ca: 1.1s (52.5x, -----) dr: 1.1s (55.5x, -----) ma: 0.3s (15.0x, -----) sarp valgrind-old:0.02s no: 0.3s (14.5x, -3.6%) me: 2.5s (124.0x, 0.0%) ca: 1.7s (86.0x, -0.6%) he: 6.8s (337.5x, 0.1%) ca: 1.1s (52.5x, 0.0%) dr: 1.1s (55.0x, 0.9%) ma: 0.3s (15.5x, -3.3%) -- tinycc -- tinycc valgrind-new:0.15s no: 1.4s ( 9.0x, -----) me: 7.9s (52.8x, -----) ca:10.6s (70.6x, -----) he: 9.8s (65.2x, -----) ca: 7.6s (50.9x, -----) dr: 8.0s (53.0x, -----) ma: 2.4s (16.0x, -----) tinycc valgrind-old:0.15s no: 1.4s ( 9.1x, -0.7%) me: 7.9s (52.7x, 0.1%) ca:10.7s (71.1x, -0.7%) he: 9.8s (65.2x, 0.0%) ca: 7.7s (51.2x, -0.7%) dr: 7.9s (52.8x, 0.4%) ma: 2.4s (16.1x, -0.8%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m5.915s user 33m9.358s sys 0m24.098s |
|
From: Tom H. <to...@co...> - 2015-03-07 03:46:57
|
valgrind revision: 14984 VEX revision: 3098 C compiler: gcc (GCC) 4.8.3 20140911 (Red Hat 4.8.3-7) GDB: GNU gdb (GDB) Fedora 7.7.1-21.fc20 Assembler: GNU assembler version 2.23.2 C library: GNU C Library (GNU libc) stable release version 2.18 uname -mrs: Linux 3.18.7-200.fc21.x86_64 x86_64 Vendor version: Fedora 20 (Heisenbug) Nightly build on bristol ( x86_64, Fedora 20 ) Started at 2015-03-07 02:31:16 GMT Ended at 2015-03-07 03:46:40 GMT 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 == 700 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures == --tools=none,memcheck,callgrind,helgrind,cachegrind,drd,massif --reps=3 --vg=../valgrind-new --vg=../valgrind-old -- Running tests in perf ---------------------------------------------- -- bigcode1 -- bigcode1 valgrind-new:0.11s no: 1.6s (14.9x, -----) me: 3.5s (31.6x, -----) ca:13.3s (121.1x, -----) he: 2.1s (19.1x, -----) ca: 3.8s (34.6x, -----) dr: 2.0s (18.5x, -----) ma: 1.9s (17.7x, -----) bigcode1 valgrind-old:0.11s no: 1.6s (14.8x, 0.6%) me: 3.4s (31.2x, 1.4%) ca:13.3s (120.6x, 0.4%) he: 2.1s (19.0x, 0.5%) ca: 3.9s (35.0x, -1.0%) dr: 2.0s (18.6x, -1.0%) ma: 1.9s (17.7x, 0.0%) -- bigcode2 -- bigcode2 valgrind-new:0.10s no: 3.9s (39.3x, -----) me: 8.6s (85.6x, -----) ca:25.6s (256.4x, -----) he: 4.9s (49.2x, -----) ca: 7.2s (71.5x, -----) dr: 4.7s (46.6x, -----) ma: 4.5s (45.4x, -----) bigcode2 valgrind-old:0.10s no: 3.9s (39.3x, 0.0%) me: 8.6s (86.0x, -0.5%) ca:25.3s (253.1x, 1.3%) he: 5.0s (49.8x, -1.2%) ca: 7.2s (72.4x, -1.3%) dr: 4.7s (47.2x, -1.3%) ma: 4.5s (45.2x, 0.4%) -- bz2 -- bz2 valgrind-new:0.49s no: 1.6s ( 3.2x, -----) me: 5.7s (11.7x, -----) ca:12.5s (25.5x, -----) he: 8.7s (17.7x, -----) ca:10.6s (21.6x, -----) dr:10.7s (21.8x, -----) ma: 1.6s ( 3.2x, -----) bz2 valgrind-old:0.49s no: 1.6s ( 3.2x, 0.0%) me: 5.7s (11.7x, 0.2%) ca:12.5s (25.6x, -0.1%) he: 8.6s (17.6x, 0.9%) ca:10.6s (21.6x, -0.2%) dr:10.7s (21.8x, 0.0%) ma: 1.6s ( 3.2x, -0.6%) -- fbench -- fbench valgrind-new:0.22s no: 1.0s ( 4.6x, -----) me: 3.5s (15.9x, -----) ca: 5.5s (24.8x, -----) he: 2.7s (12.1x, -----) ca: 3.0s (13.6x, -----) dr: 2.6s (12.0x, -----) ma: 1.1s ( 4.8x, -----) fbench valgrind-old:0.22s no: 1.0s ( 4.6x, 0.0%) me: 3.5s (15.9x, 0.0%) ca: 5.6s (25.5x, -2.6%) he: 2.7s (12.1x, 0.0%) ca: 3.0s (13.6x, 0.3%) dr: 2.7s (12.2x, -1.5%) ma: 1.1s ( 4.8x, 0.0%) -- ffbench -- ffbench valgrind-new:0.22s no: 1.0s ( 4.4x, -----) me: 3.0s (13.8x, -----) ca: 1.9s ( 8.7x, -----) he: 6.3s (28.6x, -----) ca: 4.4s (19.9x, -----) dr: 3.5s (15.7x, -----) ma: 0.9s ( 4.1x, -----) ffbench valgrind-old:0.22s no: 0.9s ( 4.3x, 1.0%) me: 3.0s (13.7x, 0.7%) ca: 1.9s ( 8.7x, 0.0%) he: 5.6s (25.3x, 11.4%) ca: 4.4s (19.9x, 0.0%) dr: 3.5s (16.0x, -1.4%) ma: 0.9s ( 4.1x, 0.0%) -- heap -- heap valgrind-new:0.07s no: 0.6s ( 8.7x, -----) me: 5.3s (76.0x, -----) ca: 6.1s (87.6x, -----) he: 6.9s (98.6x, -----) ca: 3.2s (45.4x, -----) dr: 4.4s (63.3x, -----) ma: 4.7s (66.7x, -----) heap valgrind-old:0.07s no: 0.6s ( 8.6x, 1.6%) me: 5.3s (75.4x, 0.8%) ca: 6.1s (87.4x, 0.2%) he: 6.9s (98.6x, 0.0%) ca: 3.2s (45.4x, 0.0%) dr: 4.5s (63.7x, -0.7%) ma: 4.6s (66.3x, 0.6%) -- heap_pdb4 -- heap_pdb4 valgrind-new:0.10s no: 0.7s ( 6.7x, -----) me: 9.1s (90.6x, -----) ca: 6.7s (66.8x, -----) he: 8.0s (79.8x, -----) ca: 3.5s (35.2x, -----) dr: 5.0s (49.9x, -----) ma: 5.0s (50.0x, -----) heap_pdb4 valgrind-old:0.10s no: 0.7s ( 6.6x, 1.5%) me: 9.1s (90.9x, -0.3%) ca: 6.7s (66.9x, -0.1%) he: 8.0s (79.6x, 0.3%) ca: 3.5s (35.2x, 0.0%) dr: 5.0s (49.6x, 0.6%) ma: 5.0s (49.9x, 0.2%) -- many-loss-records -- many-loss-records valgrind-new:0.01s no: 0.3s (26.0x, -----) me: 1.4s (145.0x, -----) ca: 1.0s (101.0x, -----) he: 1.3s (128.0x, -----) ca: 0.7s (66.0x, -----) dr: 1.2s (117.0x, -----) ma: 1.0s (104.0x, -----) many-loss-records valgrind-old:0.01s no: 0.3s (26.0x, 0.0%) me: 1.5s (146.0x, -0.7%) ca: 1.0s (101.0x, 0.0%) he: 1.3s (129.0x, -0.8%) ca: 0.7s (67.0x, -1.5%) dr: 1.2s (118.0x, -0.9%) ma: 1.1s (106.0x, -1.9%) -- many-xpts -- many-xpts valgrind-new:0.03s no: 0.3s (10.7x, -----) me: 1.7s (56.3x, -----) ca: 2.5s (85.0x, -----) he: 2.3s (75.3x, -----) ca: 0.9s (31.3x, -----) dr: 1.6s (52.0x, -----) ma: 1.6s (52.3x, -----) many-xpts valgrind-old:0.03s no: 0.3s (10.7x, 0.0%) me: 1.7s (56.3x, 0.0%) ca: 2.5s (84.7x, 0.4%) he: 2.2s (74.3x, 1.3%) ca: 0.9s (31.3x, 0.0%) dr: 1.6s (52.0x, 0.0%) ma: 1.6s (52.3x, 0.0%) -- sarp -- sarp valgrind-new:0.02s no: 0.3s (14.0x, -----) me: 2.4s (121.0x, -----) ca: 1.7s (85.5x, -----) he: 6.8s (338.0x, -----) ca: 0.9s (46.0x, -----) dr: 1.1s (54.5x, -----) ma: 0.3s (15.5x, -----) sarp valgrind-old:0.02s no: 0.3s (14.0x, 0.0%) me: 2.4s (120.5x, 0.4%) ca: 1.7s (85.0x, 0.6%) he: 6.8s (337.5x, 0.1%) ca: 0.9s (46.0x, 0.0%) dr: 1.1s (54.5x, 0.0%) ma: 0.3s (15.0x, 3.2%) -- tinycc -- tinycc valgrind-new:0.17s no: 1.4s ( 7.9x, -----) me: 7.9s (46.5x, -----) ca:10.6s (62.5x, -----) he: 9.8s (57.7x, -----) ca: 7.6s (44.7x, -----) dr: 8.0s (46.8x, -----) ma: 2.4s (14.4x, -----) tinycc valgrind-old:0.17s no: 1.3s ( 7.9x, 0.7%) me: 7.9s (46.5x, 0.0%) ca:10.8s (63.6x, -1.9%) he: 9.8s (57.8x, -0.2%) ca: 7.5s (44.4x, 0.8%) dr: 8.0s (46.8x, 0.0%) ma: 2.5s (14.4x, -0.4%) -- Finished tests in perf ---------------------------------------------- == 11 programs, 154 timings ================= real 34m41.747s user 33m7.650s sys 0m25.078s |
|
From: Mark W. <ma...@bu...> - 2015-03-07 02:11:13
|
valgrind revision: 14983
VEX revision: 3098
C compiler: gcc (Debian 4.7.2-5) 4.7.2
GDB: GNU gdb (GDB) 7.4.1-debian
Assembler: GNU assembler (GNU Binutils for Debian) 2.22
C library: GNU C Library (Debian EGLIBC 2.13-38+deb7u8) stable release version 2.13
uname -mrs: Linux 3.2.0-4-686-pae i686
Vendor version: Debian GNU/Linux 7 (wheezy)
Nightly build on wildebeest32 ( Debian 7.8 wheezy i686 )
Started at 2015-03-07 02:07:02 CET
Ended at 2015-03-07 03:10:39 CET
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
== 633 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
none/tests/linux/stack-overflow (stderr)
helgrind/tests/locked_vs_unlocked2 (stderr)
=================================================
./valgrind-new/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2015-03-07 02:35:11.311703001 +0100
+++ locked_vs_unlocked2.stderr.out 2015-03-07 03:00:15.271703049 +0100
@@ -16,13 +16,13 @@
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:59)
- Address 0x........ is 0 bytes inside data symbol "mx2b"
+ by 0x........: main (locked_vs_unlocked2.c:58)
+ Address 0x........ is 0 bytes inside data symbol "mx2a"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:58)
- Address 0x........ is 0 bytes inside data symbol "mx2a"
+ by 0x........: main (locked_vs_unlocked2.c:59)
+ Address 0x........ is 0 bytes inside data symbol "mx2b"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
=================================================
./valgrind-new/none/tests/linux/stack-overflow.stderr.diff
=================================================
--- stack-overflow.stderr.exp 2015-03-07 02:35:25.835703001 +0100
+++ stack-overflow.stderr.out 2015-03-07 02:57:32.603703001 +0100
@@ -4,7 +4,7 @@
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
Stack overflow in thread #1: can't grow stack to 0x........
- at 0x........: main (stack-overflow.c:6)
+ at 0x........: main (stack-overflow.c:8)
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-old/helgrind/tests/locked_vs_unlocked2.stderr.diff
=================================================
--- locked_vs_unlocked2.stderr.exp 2015-03-07 02:07:28.619703001 +0100
+++ locked_vs_unlocked2.stderr.out 2015-03-07 02:24:30.595701671 +0100
@@ -16,13 +16,13 @@
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:59)
- Address 0x........ is 0 bytes inside data symbol "mx2b"
+ by 0x........: main (locked_vs_unlocked2.c:58)
+ Address 0x........ is 0 bytes inside data symbol "mx2a"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: main (locked_vs_unlocked2.c:58)
- Address 0x........ is 0 bytes inside data symbol "mx2a"
+ by 0x........: main (locked_vs_unlocked2.c:59)
+ Address 0x........ is 0 bytes inside data symbol "mx2b"
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
=================================================
./valgrind-old/none/tests/linux/stack-overflow.stderr.diff
=================================================
--- stack-overflow.stderr.exp 2015-03-07 02:07:36.399703002 +0100
+++ stack-overflow.stderr.out 2015-03-07 02:21:30.543703002 +0100
@@ -4,7 +4,7 @@
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
Stack overflow in thread #1: can't grow stack to 0x........
- at 0x........: main (stack-overflow.c:6)
+ at 0x........: main (stack-overflow.c:8)
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
|
|
From: <sv...@va...> - 2015-03-07 01:21:37
|
Author: rhyskidd
Date: Sat Mar 7 01:21:28 2015
New Revision: 14984
Log:
n-i-bz: Small fixes to r14976 (bz#343173) to add stackteardown to svn:ignore and fix compilation on OS X
Modified:
trunk/helgrind/tests/ (props changed)
trunk/helgrind/tests/stackteardown.c
Modified: trunk/helgrind/tests/stackteardown.c
==============================================================================
--- trunk/helgrind/tests/stackteardown.c (original)
+++ trunk/helgrind/tests/stackteardown.c Sat Mar 7 01:21:28 2015
@@ -93,8 +93,13 @@
pthread_t child;
r = pthread_attr_init(&attr); assert(!r);
+# if !defined(VGO_darwin)
stack = mmap(NULL, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS,
-1, 0);
+# else
+ stack = mmap(NULL, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE | MAP_ANON,
+ -1, 0);
+# endif
assert(stack != (void *)-1);
r = pthread_attr_setstack(&attr, stack, sz);
r = pthread_create(&child, &attr, child_fn, NULL); assert(!r);
|
|
From: <ma...@bu...> - 2015-03-07 00:53:30
|
valgrind revision: 14983
VEX revision: 3098
C compiler: gcc (Debian 4.7.2-5) 4.7.2
GDB: GNU gdb (GDB) 7.4.1-debian
Assembler: GNU assembler (GNU Binutils for Debian) 2.22
C library: GNU C Library (Debian EGLIBC 2.13-38+deb7u8) stable release version 2.13
uname -mrs: Linux 3.2.0-4-amd64 x86_64
Vendor version: Debian GNU/Linux 7 (wheezy)
Nightly build on wildebeest ( Debian 7.8 wheezy x86_64 )
Started at 2015-03-07 00:00:01 UTC
Ended at 2015-03-07 00:53:19 UTC
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
== 689 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
helgrind/tests/pth_destroy_cond (stderr)
=================================================
== Results from 24 hours ago ==
=================================================
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... done
Regression test results follow
== 689 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2015-03-07 00:28:32.503378642 +0000
--- new.short 2015-03-07 00:53:19.046260692 +0000
***************
*** 4,6 ****
Building valgrind ... done
! Running regression tests ... done
--- 4,6 ----
Building valgrind ... done
! Running regression tests ... failed
***************
*** 8,10 ****
! == 689 tests, 0 stderr failures, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
--- 8,11 ----
! == 689 tests, 1 stderr failure, 0 stdout failures, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
! helgrind/tests/pth_destroy_cond (stderr)
=================================================
./valgrind-new/helgrind/tests/pth_destroy_cond.stderr.diff
=================================================
--- pth_destroy_cond.stderr.exp 2015-03-07 00:28:38.507376653 +0000
+++ pth_destroy_cond.stderr.out 2015-03-07 00:44:15.742608711 +0000
@@ -5,6 +5,34 @@
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (pth_destroy_cond.c:29)
+---Thread-Announcement------------------------------------------
+
+Thread #x is the program's root thread
+
+----------------------------------------------------------------
+
+ Lock at 0x........ was first observed
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ by 0x........: main (pth_destroy_cond.c:25)
+ Address 0x........ is 0 bytes inside data symbol "mutex"
+
+Possible data race during read of size 1 at 0x........ by thread #x
+Locks held: 1, at address 0x........
+ at 0x........: my_memcmp (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...)
+ by 0x........: ThreadFunction (pth_destroy_cond.c:18)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ ...
+
+This conflicts with a previous write of size 4 by thread #x
+Locks held: none
+ ...
+ by 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+ by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ by 0x........: main (pth_destroy_cond.c:31)
+ Address 0x........ is 4 bytes inside data symbol "cond"
+
----------------------------------------------------------------
Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon
|