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
(7) |
2
|
|
3
(1) |
4
(16) |
5
(6) |
6
(17) |
7
(18) |
8
(13) |
9
(7) |
|
10
(7) |
11
(15) |
12
(14) |
13
(10) |
14
(9) |
15
(17) |
16
(6) |
|
17
|
18
(18) |
19
(7) |
20
(20) |
21
(10) |
22
(8) |
23
(5) |
|
24
(2) |
25
(2) |
26
(10) |
27
|
28
|
29
|
30
|
|
31
(1) |
|
|
|
|
|
|
|
From: Vince W. <vi...@cs...> - 2010-10-18 15:34:04
|
On Sat, 16 Oct 2010, Julian Seward wrote:
>
> I notice that the compile command doesn't have -marm in it, and
> it should. What happens if you add -marm to AM_CCASFLAGS_ARM_LINUX
> at Makefile.all.am:157, do make distclean, and rebuild?
yes, adding -marm to AM_CCASFLAGS_ARM_LINUX fixes things, and
Valgrind runs properly after the build finishes.
(sorry for the delay in responding, a power outage at work meant I
couldn't access the machine to test this until this morning).
Vince
> On Friday, October 15, 2010, Vince Weaver wrote:
> > On Fri, 15 Oct 2010, Julian Seward wrote:
> > > It should be buildable and usable on the following targets:
> > > {x86,amd64,ppc32,ppc64,arm}-linux, {x86,amd64}-darwin.
> >
> > compiling on an armv7l system I get the following compile failure:
> >
> > This is a Beagle Board running Debian Sid, gcc 4.4.5, binutils 2.20.1
> >
> > make[3]: Entering directory `/arm/vince/valgrind/coregrind'
> > gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_arm=1
> > -DVGO_linux=1 -DVGP_arm_linux=1 -I../coregrind
> > -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -DVG_PLATFORM="\"arm-linux\""
> > -I.. -I../include -I../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1
> > -I../coregrind -DVG_LIBDIR="\"/usr/local/lib/valgrind"\"
> > -DVG_PLATFORM="\"arm-linux\"" -g -Wno-long-long -MT
> > libcoregrind_arm_linux_a-dispatch-arm-linux.o -MD -MP -MF
> > .deps/libcoregrind_arm_linux_a-dispatch-arm-linux.Tpo -c -o
> > libcoregrind_arm_linux_a-dispatch-arm-linux.o `test -f
> > 'm_dispatch/dispatch-arm-linux.S' || echo
> > './'`m_dispatch/dispatch-arm-linux.S m_dispatch/dispatch-arm-linux.S:
> > Assembler messages:
> > m_dispatch/dispatch-arm-linux.S:66: Error: internal_relocation (type:
> > OFFSET_IMM) not fixed up m_dispatch/dispatch-arm-linux.S:90: Error:
> > internal_relocation (type: OFFSET_IMM) not fixed up
> > m_dispatch/dispatch-arm-linux.S:135: Error: internal_relocation (type:
> > OFFSET_IMM) not fixed up m_dispatch/dispatch-arm-linux.S:184: Error:
> > internal_relocation (type: OFFSET_IMM) not fixed up make[3]: ***
> > [libcoregrind_arm_linux_a-dispatch-arm-linux.o] Error 1 make[3]: Leaving
> > directory `/arm/vince/valgrind/coregrind'
> > make[2]: *** [all] Error 2
> > make[2]: Leaving directory `/arm/vince/valgrind/coregrind'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/arm/vince/valgrind'
> > make: *** [all] Error 2
>
>
--
/* Vince Weaver vi...@cs... http://csl.cornell.edu/~vince */
main(){char O,o[66]="|\n\\/_ ",*I=o+7,l[]="B!FhhBHCWE9C?cJFKET$+h'Iq*chT"
,i=0,_;while(_=l[i++])for(O=0;O++<_>>5;)*I=*(I++-(_&31));*I=0;puts(o+5);}
|
|
From: <sv...@va...> - 2010-10-18 14:58:10
|
Author: tom
Date: 2010-10-18 15:57:58 +0100 (Mon, 18 Oct 2010)
New Revision: 11450
Log:
Add support for DW_ATE_UTF from DWARF4 which is needed for char16_t
support in C++0X.
Patch from Christian Borntraeger on bug #254550.
Modified:
trunk/coregrind/m_debuginfo/priv_d3basics.h
trunk/coregrind/m_debuginfo/readdwarf3.c
Modified: trunk/coregrind/m_debuginfo/priv_d3basics.h
===================================================================
--- trunk/coregrind/m_debuginfo/priv_d3basics.h 2010-10-18 13:04:13 UTC (rev 11449)
+++ trunk/coregrind/m_debuginfo/priv_d3basics.h 2010-10-18 14:57:58 UTC (rev 11450)
@@ -372,6 +372,8 @@
DW_ATE_signed_fixed = 0xd,
DW_ATE_unsigned_fixed = 0xe,
DW_ATE_decimal_float = 0xf,
+ /* DWARF 4. */
+ DW_ATE_UTF = 0x10,
/* HP extensions. */
DW_ATE_HP_float80 = 0x80, /* Floating-point (80 bit). */
DW_ATE_HP_complex_float80 = 0x81, /* Complex floating-point (80 bit). */
Modified: trunk/coregrind/m_debuginfo/readdwarf3.c
===================================================================
--- trunk/coregrind/m_debuginfo/readdwarf3.c 2010-10-18 13:04:13 UTC (rev 11449)
+++ trunk/coregrind/m_debuginfo/readdwarf3.c 2010-10-18 14:57:58 UTC (rev 11450)
@@ -2149,6 +2149,7 @@
if (attr == DW_AT_encoding && ctsSzB > 0) {
switch (cts) {
case DW_ATE_unsigned: case DW_ATE_unsigned_char:
+ case DW_ATE_UTF: /* since DWARF4, e.g. char16_t from C++ */
case DW_ATE_boolean:/* FIXME - is this correct? */
typeE.Te.TyBase.enc = 'U'; break;
case DW_ATE_signed: case DW_ATE_signed_char:
|
|
From: Christian B. <bor...@de...> - 2010-10-18 14:32:47
|
Am 18.10.2010 16:27, schrieb Дмитрий Дьяченко: > Thank You, Christian! > > It is https://bugs.kde.org/show_bug.cgi?id=251818 > > Dmitry Oh, I have not seen your bug report. Can you confirm my fix and maybe merge this bug with https://bugs.kde.org/show_bug.cgi?id=254550? Christian |
|
From: Дмитрий Д. <di...@gm...> - 2010-10-18 14:28:37
|
Thank You, Christian! It is https://bugs.kde.org/show_bug.cgi?id=251818 Dmitry 2010/10/18 Christian Borntraeger <bor...@de...>: > With a recent gcc I got: > > parse_type_DIE: confused by: > <1><5214>: DW_TAG_base_type > DW_AT_byte_size : 2 > DW_AT_encoding : 16 > DW_AT_name : (indirect string, offset: 0x46f6): char16_t > > --931-- WARNING: Serious error when reading debug info > --931-- When reading debug info from /usr/lib64/libstdc++.so.6.0.13: > --931-- parse_type_DIE: confused by the above DIE > > This patch implements DW_ARE_UTF (which is used for the C++ type char16_t). > > Christian > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > > |
|
From: Tom H. <to...@co...> - 2010-10-18 14:25:57
|
On 18/10/10 15:15, Christian Borntraeger wrote: > With a recent gcc I got: > > parse_type_DIE: confused by: > <1><5214>: DW_TAG_base_type > DW_AT_byte_size : 2 > DW_AT_encoding : 16 > DW_AT_name : (indirect string, offset: 0x46f6): char16_t > > --931-- WARNING: Serious error when reading debug info > --931-- When reading debug info from /usr/lib64/libstdc++.so.6.0.13: > --931-- parse_type_DIE: confused by the above DIE > > This patch implements DW_ARE_UTF (which is used for the C++ type char16_t). Please open a bug and attach your patch. Tom -- Tom Hughes (to...@co...) http://compton.nu/ |
|
From: Christian B. <bor...@de...> - 2010-10-18 14:16:02
|
With a recent gcc I got:
parse_type_DIE: confused by:
<1><5214>: DW_TAG_base_type
DW_AT_byte_size : 2
DW_AT_encoding : 16
DW_AT_name : (indirect string, offset: 0x46f6): char16_t
--931-- WARNING: Serious error when reading debug info
--931-- When reading debug info from /usr/lib64/libstdc++.so.6.0.13:
--931-- parse_type_DIE: confused by the above DIE
This patch implements DW_ARE_UTF (which is used for the C++ type char16_t).
Christian
|
|
From: <sv...@va...> - 2010-10-18 13:04:24
|
Author: tom
Date: 2010-10-18 14:04:13 +0100 (Mon, 18 Oct 2010)
New Revision: 11449
Log:
Don't look for build-id notes if NT_GNU_BUILD_ID is not defined.
Modified:
trunk/coregrind/m_debuginfo/readelf.c
Modified: trunk/coregrind/m_debuginfo/readelf.c
===================================================================
--- trunk/coregrind/m_debuginfo/readelf.c 2010-10-18 12:38:22 UTC (rev 11448)
+++ trunk/coregrind/m_debuginfo/readelf.c 2010-10-18 13:04:13 UTC (rev 11449)
@@ -867,6 +867,7 @@
Char* buildid = NULL;
ElfXX_Ehdr* ehdr = (ElfXX_Ehdr*)image;
+#ifdef NT_GNU_BUILD_ID
if (n_image >= sizeof(ElfXX_Ehdr) &&
ML_(is_elf_object_file)(ehdr, n_image)) {
Word i;
@@ -899,6 +900,7 @@
}
}
}
+#endif
return buildid;
}
|
|
From: <sv...@va...> - 2010-10-18 12:38:33
|
Author: tom Date: 2010-10-18 13:38:22 +0100 (Mon, 18 Oct 2010) New Revision: 11448 Log: Add support for using build-id to find debugging information as some distributions are starting to drop the old debuglink support now. Fixes #254257. Modified: trunk/coregrind/m_debuginfo/readelf.c Modified: trunk/coregrind/m_debuginfo/readelf.c =================================================================== --- trunk/coregrind/m_debuginfo/readelf.c 2010-10-15 08:52:43 UTC (rev 11447) +++ trunk/coregrind/m_debuginfo/readelf.c 2010-10-18 12:38:22 UTC (rev 11448) @@ -70,7 +70,9 @@ # define ElfXX_Ehdr Elf32_Ehdr # define ElfXX_Shdr Elf32_Shdr # define ElfXX_Phdr Elf32_Phdr +# define ElfXX_Nhdr Elf32_Nhdr # define ElfXX_Sym Elf32_Sym +# define ElfXX_Off Elf32_Off # define ElfXX_Word Elf32_Word # define ElfXX_Addr Elf32_Addr # define ElfXX_Dyn Elf32_Dyn @@ -81,7 +83,9 @@ # define ElfXX_Ehdr Elf64_Ehdr # define ElfXX_Shdr Elf64_Shdr # define ElfXX_Phdr Elf64_Phdr +# define ElfXX_Nhdr Elf64_Nhdr # define ElfXX_Sym Elf64_Sym +# define ElfXX_Off Elf64_Off # define ElfXX_Word Elf64_Word # define ElfXX_Addr Elf64_Addr # define ElfXX_Dyn Elf64_Dyn @@ -852,6 +856,54 @@ /* + * Look for a build-id in an ELF image. The build-id specification + * can be found here: + * + * http://fedoraproject.org/wiki/RolandMcGrath/BuildID + */ +static +Char *find_buildid(Addr image, UWord n_image) +{ + Char* buildid = NULL; + ElfXX_Ehdr* ehdr = (ElfXX_Ehdr*)image; + + if (n_image >= sizeof(ElfXX_Ehdr) && + ML_(is_elf_object_file)(ehdr, n_image)) { + Word i; + + for (i = 0; i < ehdr->e_phnum; i++) { + ElfXX_Phdr* phdr = (ElfXX_Phdr*)(image + ehdr->e_phoff + i * ehdr->e_phentsize); + + if (phdr->p_type == PT_NOTE) { + ElfXX_Off offset = phdr->p_offset; + + while (offset < phdr->p_offset + phdr->p_filesz) { + ElfXX_Nhdr* note = (ElfXX_Nhdr*)(image + offset); + Char* name = (Char *)note + sizeof(ElfXX_Nhdr); + UChar *desc = (UChar *)name + ((note->n_namesz + 3) & ~3); + Word j; + + if (VG_(strcmp)(name, ELF_NOTE_GNU) == 0 && + note->n_type == NT_GNU_BUILD_ID) { + buildid = ML_(dinfo_zalloc)("di.fbi.1", note->n_descsz * 2 + 1); + + for (j = 0; j < note->n_descsz; j++) { + VG_(sprintf)(buildid + VG_(strlen)(buildid), "%02x", desc[j]); + } + } + + offset = offset + sizeof(ElfXX_Nhdr) + + ((note->n_namesz + 3) & ~3) + + ((note->n_descsz + 3) & ~3); + } + } + } + } + + return buildid; +} + +/* * This routine for calculating the CRC for a separate debug file * is GPLed code borrowed from GNU binutils. */ @@ -926,7 +978,7 @@ * not match the value from the main object file. */ static -Addr open_debug_file( Char* name, UInt crc, /*OUT*/UWord* size ) +Addr open_debug_file( Char* name, Char* buildid, UInt crc, /*OUT*/UWord* size ) { SysRes fd, sres; struct vg_stat stat_buf; @@ -943,7 +995,7 @@ if (VG_(clo_verbosity) > 1) VG_(message)(Vg_DebugMsg, " Considering %s ..\n", name); - + *size = stat_buf.size; sres = VG_(am_mmap_file_float_valgrind) @@ -954,18 +1006,35 @@ if (sr_isError(sres)) return 0; - calccrc = calc_gnu_debuglink_crc32(0, (UChar*)sr_Res(sres), *size); - if (calccrc != crc) { - SysRes res = VG_(am_munmap_valgrind)(sr_Res(sres), *size); - vg_assert(!sr_isError(res)); + if (buildid) { + Char* debug_buildid = find_buildid(sr_Res(sres), *size); + if (debug_buildid == NULL || VG_(strcmp)(buildid, debug_buildid) != 0) { + SysRes res = VG_(am_munmap_valgrind)(sr_Res(sres), *size); + vg_assert(!sr_isError(res)); + if (VG_(clo_verbosity) > 1) + VG_(message)(Vg_DebugMsg, + " .. build-id mismatch (found %s wanted %s)\n", debug_buildid, buildid); + ML_(dinfo_free)(debug_buildid); + return 0; + } + ML_(dinfo_free)(debug_buildid); + if (VG_(clo_verbosity) > 1) - VG_(message)(Vg_DebugMsg, - " .. CRC mismatch (computed %08x wanted %08x)\n", calccrc, crc); - return 0; + VG_(message)(Vg_DebugMsg, " .. build-id is valid\n"); + } else { + calccrc = calc_gnu_debuglink_crc32(0, (UChar*)sr_Res(sres), *size); + if (calccrc != crc) { + SysRes res = VG_(am_munmap_valgrind)(sr_Res(sres), *size); + vg_assert(!sr_isError(res)); + if (VG_(clo_verbosity) > 1) + VG_(message)(Vg_DebugMsg, + " .. CRC mismatch (computed %08x wanted %08x)\n", calccrc, crc); + return 0; + } + + if (VG_(clo_verbosity) > 1) + VG_(message)(Vg_DebugMsg, " .. CRC is valid\n"); } - - if (VG_(clo_verbosity) > 1) - VG_(message)(Vg_DebugMsg, " .. CRC is valid\n"); return sr_Res(sres); } @@ -975,39 +1044,57 @@ */ static Addr find_debug_file( struct _DebugInfo* di, - Char* objpath, Char* debugname, - UInt crc, /*OUT*/UWord* size ) + Char* objpath, Char* buildid, + Char* debugname, UInt crc, + /*OUT*/UWord* size ) { - Char *objdir = ML_(dinfo_strdup)("di.fdf.1", objpath); - Char *objdirptr; - Char *debugpath; + Char *debugpath = NULL; Addr addr = 0; - - if ((objdirptr = VG_(strrchr)(objdir, '/')) != NULL) - *objdirptr = '\0'; - debugpath = ML_(dinfo_zalloc)( - "di.fdf.2", - VG_(strlen)(objdir) + VG_(strlen)(debugname) + 32); - - VG_(sprintf)(debugpath, "%s/%s", objdir, debugname); + if (buildid != NULL) { + debugpath = ML_(dinfo_zalloc)( + "di.fdf.1", + VG_(strlen)(buildid) + 33); - if ((addr = open_debug_file(debugpath, crc, size)) == 0) { - VG_(sprintf)(debugpath, "%s/.debug/%s", objdir, debugname); - if ((addr = open_debug_file(debugpath, crc, size)) == 0) { - VG_(sprintf)(debugpath, "/usr/lib/debug%s/%s", objdir, debugname); - addr = open_debug_file(debugpath, crc, size); + VG_(sprintf)(debugpath, "/usr/lib/debug/.build-id/%c%c/%s.debug", + buildid[0], buildid[1], buildid + 2); + + if ((addr = open_debug_file(debugpath, buildid, 0, size)) == 0) { + ML_(dinfo_free)(debugpath); } } + if (addr == 0 && debugname != NULL) { + Char *objdir = ML_(dinfo_strdup)("di.fdf.2", objpath); + Char *objdirptr; + + if ((objdirptr = VG_(strrchr)(objdir, '/')) != NULL) + *objdirptr = '\0'; + + debugpath = ML_(dinfo_zalloc)( + "di.fdf.3", + VG_(strlen)(objdir) + VG_(strlen)(debugname) + 32); + + VG_(sprintf)(debugpath, "%s/%s", objdir, debugname); + + if ((addr = open_debug_file(debugpath, NULL, crc, size)) == 0) { + VG_(sprintf)(debugpath, "%s/.debug/%s", objdir, debugname); + if ((addr = open_debug_file(debugpath, NULL, crc, size)) == 0) { + VG_(sprintf)(debugpath, "/usr/lib/debug%s/%s", objdir, debugname); + addr = open_debug_file(debugpath, NULL, crc, size); + } + } + + ML_(dinfo_free)(objdir); + } + if (addr) { TRACE_SYMTAB("\n"); TRACE_SYMTAB("------ Found a debuginfo file: %s\n", debugpath); } ML_(dinfo_free)(debugpath); - ML_(dinfo_free)(objdir); - + return addr; } @@ -1100,6 +1187,9 @@ Addr rw_svma_limit = 0; PtrdiffT rw_bias = 0; + /* Build ID */ + Char* buildid = NULL; + vg_assert(di); vg_assert(di->have_rx_map == True); vg_assert(di->have_rw_map == True); @@ -1849,21 +1939,32 @@ # undef FIND } - - /* Did we find a debuglink section? */ - if (debuglink_img != NULL) { - UInt crc_offset = VG_ROUNDUP(VG_(strlen)(debuglink_img)+1, 4); - UInt crc; - vg_assert(crc_offset + sizeof(UInt) <= debuglink_sz); + /* Look for a build-id */ + buildid = find_buildid(oimage, n_oimage); - /* Extract the CRC from the debuglink section */ - crc = *(UInt *)(debuglink_img + crc_offset); + /* Look for a debug image */ + if (buildid != NULL || debuglink_img != NULL) { + /* Do have a debuglink section? */ + if (debuglink_img != NULL) { + UInt crc_offset = VG_ROUNDUP(VG_(strlen)(debuglink_img)+1, 4); + UInt crc; - /* See if we can find a matching debug file */ - dimage = find_debug_file( di, di->filename, debuglink_img, - crc, &n_dimage ); + vg_assert(crc_offset + sizeof(UInt) <= debuglink_sz); + /* Extract the CRC from the debuglink section */ + crc = *(UInt *)(debuglink_img + crc_offset); + + /* See if we can find a matching debug file */ + dimage = find_debug_file( di, di->filename, buildid, + debuglink_img, crc, &n_dimage ); + } else { + /* See if we can find a matching debug file */ + dimage = find_debug_file( di, di->filename, buildid, NULL, 0, &n_dimage ); + } + + ML_(dinfo_free)(buildid); + if (dimage != 0 && n_dimage >= sizeof(ElfXX_Ehdr) && ML_(is_elf_object_file)((void*)dimage, n_dimage)) { |
|
From: Bart V. A. <bva...@ac...> - 2010-10-16 07:33:34
|
Nightly build on cellbuzz-native ( cellbuzz, ppc64, Fedora 7, native ) Started at 2010-10-16 02:00:06 EDT Ended at 2010-10-16 03:33:15 EDT 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 == 449 tests, 13 stderr failures, 11 stdout failures, 0 post failures == memcheck/tests/deep_templates (stdout) memcheck/tests/linux-syscalls-2007 (stderr) memcheck/tests/wrap8 (stdout) memcheck/tests/wrap8 (stderr) callgrind/tests/simwork-both (stdout) callgrind/tests/simwork-both (stderr) callgrind/tests/simwork-branch (stdout) callgrind/tests/simwork-branch (stderr) none/tests/empty-exe (stderr) none/tests/linux/mremap (stderr) none/tests/ppc32/jm-fp (stdout) none/tests/ppc32/round (stdout) none/tests/ppc32/test_gx (stdout) none/tests/ppc32/testVMX (stdout) none/tests/ppc32/testVMX (stderr) none/tests/ppc64/jm-fp (stdout) none/tests/ppc64/jm-vmx (stdout) none/tests/ppc64/round (stdout) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) none/tests/shell_zerolength (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc23_bogus_condwait (stderr) |
|
From: Rich C. <rc...@wi...> - 2010-10-16 05:40:25
|
Nightly build on ppc32 ( Linux 2.6.27.45-0.1-default ppc )
Started at 2010-10-15 23:26:01 CDT
Ended at 2010-10-16 00:40:09 CDT
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 443 tests, 18 stderr failures, 6 stdout failures, 2 post failures ==
memcheck/tests/badjump (stderr)
memcheck/tests/badjump2 (stderr)
memcheck/tests/linux/capget (stderr)
memcheck/tests/linux/stack_changes (stderr)
memcheck/tests/linux-syscalls-2007 (stderr)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/supp_unknown (stderr)
memcheck/tests/varinfo6 (stderr)
massif/tests/deep-D (post)
massif/tests/overloaded-new (post)
none/tests/linux/mremap (stderr)
none/tests/ppc32/jm-fp (stdout)
none/tests/ppc32/jm-fp (stderr)
none/tests/ppc32/power5+_round (stdout)
none/tests/ppc32/power5+_round (stderr)
none/tests/ppc32/round (stdout)
none/tests/ppc32/round (stderr)
none/tests/ppc32/test_fx (stdout)
none/tests/ppc32/test_fx (stderr)
none/tests/ppc32/test_gx (stdout)
none/tests/ppc32/testVMX (stdout)
none/tests/ppc32/testVMX (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
drd/tests/tc23_bogus_condwait (stderr)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-darwin
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin 2010-10-16 00:03:27.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2010-10-16 00:39:51.000000000 -0500
@@ -3,61 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-ppc
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-ppc 2010-10-16 00:03:27.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2010-10-16 00:39:51.000000000 -0500
@@ -6,8 +6,8 @@
Process terminating with default action of signal 7 (SIGBUS)
Invalid address alignment at address 0x........
- at 0x........: (within libpthread-?.?.so)
- by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so)
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-x86
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-x86 2010-10-16 00:03:27.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2010-10-16 00:39:51.000000000 -0500
@@ -3,84 +3,11 @@
at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-
-Thread 1:
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:28)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Thread 1:
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:32)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:?)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2010-10-16 00:03:08.000000000 -0500
+++ hg05_race2.stderr.out 2010-10-16 00:29:40.000000000 -0500
@@ -17,8 +17,6 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: th (hg05_race2.c:17)
@@ -28,8 +26,6 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2010-10-16 00:03:08.000000000 -0500
+++ tc06_two_races_xml.stderr.out 2010-10-16 00:30:23.000000000 -0500
@@ -45,11 +45,17 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>do_clone</fn>
+ <dir>...</dir>
+ <file>createthread.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_create@@GLIBC_2.2.5</fn>
+ <fn>pthread_create@@GLIBC_2.1</fn>
+ <dir>...</dir>
+ <file>createthread.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -121,6 +127,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -175,6 +184,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -229,6 +241,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
@@ -283,6 +298,9 @@
<ip>0x........</ip>
<obj>...</obj>
<fn>start_thread</fn>
+ <dir>...</dir>
+ <file>pthread_create.c</file>
+ <line>...</line>
</frame>
<frame>
<ip>0x........</ip>
=================================================
./valgrind-new/helgrind/tests/tc23_bogus_condwait.stderr.diff
=================================================
--- tc23_bogus_condwait.stderr.exp 2010-10-16 00:03:08.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2010-10-16 00:31:42.000000000 -0500
@@ -2,39 +2,24 @@
Thread #x is the program's root thread
Thread #x: pthread_cond_{timed}wait called with invalid mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
by 0x........: main (tc23_bogus_condwait.c:69)
-Thread #x: pthread_cond_{timed}wait called with un-held mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:72)
-
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:72)
-
-Thread #x: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t*
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:75)
-
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:75)
-Thread #x: pthread_cond_{timed}wait called with mutex held by a different thread
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
+Process terminating with default action of signal 7 (SIGBUS)
+ Invalid address alignment at address 0x........
+ at 0x........: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:64)
+ by 0x........: pthread_cond_wait@@GLIBC_2.3.2 (pthread_cond_wait.c:108)
by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:78)
+ by 0x........: main (tc23_bogus_condwait.c:69)
+Thread #x was created
+ ...
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:61)
-Thread #x: pthread_cond_{timed}wait: cond is associated with a different mutex
- at 0x........: pthread_cond_wait_WRK (hg_intercepts.c:...)
- by 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
- by 0x........: main (tc23_bogus_condwait.c:78)
+Thread #x: Exiting thread still holds 1 lock
+ ...
+ ...
-ERROR SUMMARY: 7 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/massif/tests/deep-D.post.diff
=================================================
--- deep-D.post.exp 2010-10-16 00:03:16.000000000 -0500
+++ deep-D.post.out 2010-10-16 00:26:10.000000000 -0500
@@ -46,8 +46,9 @@
8 3,264 3,264 3,200 64 0
9 3,672 3,672 3,600 72 0
98.04% (3,600B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->98.04% (3,600B) 0x........: (below main)
-
+->98.04% (3,600B) 0x........: ??? (in /...libc...)
+ ->98.04% (3,600B) 0x........: (below main)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
=================================================
./valgrind-new/massif/tests/overloaded-new.post.diff
=================================================
--- overloaded-new.post.exp 2010-10-16 00:03:16.000000000 -0500
+++ overloaded-new.post.out 2010-10-16 00:26:20.000000000 -0500
@@ -42,14 +42,18 @@
4 12,032 12,032 12,000 32 0
5 12,032 12,032 12,000 32 0
99.73% (12,000B) (heap allocation functions) malloc/new/new[], --alloc-fns, etc.
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
-|
-->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
-|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
-|
-->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
-
+->33.24% (4,000B) 0x........: operator new(unsigned int) (overloaded-new.cpp:19)
+| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:49)
+|
+->33.24% (4,000B) 0x........: operator new(unsigned int, std::nothrow_t const&) (overloaded-new.cpp:24)
+| ->33.24% (4,000B) 0x........: main (overloaded-new.cpp:50)
+|
+->16.62% (2,000B) 0x........: operator new[](unsigned int) (overloaded-new.cpp:29)
+| ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:51)
+|
+->16.62% (2,000B) 0x........: operator new[](unsigned int, std::nothrow_t const&) (overloaded-new.cpp:34)
+ ->16.62% (2,000B) 0x........: main (overloaded-new.cpp:52)
+
--------------------------------------------------------------------------------
n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
--------------------------------------------------------------------------------
=================================================
./valgrind-new/memcheck/tests/badjump.stderr.diff
=================================================
--- badjump.stderr.exp 2010-10-16 00:03:15.000000000 -0500
+++ badjump.stderr.out 2010-10-16 00:19:19.000000000 -0500
@@ -1,6 +1,7 @@
Jump to the invalid address stated on the next line
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
@@ -8,6 +9,7 @@
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
=================================================
./valgrind-new/memcheck/tests/badjump2.stderr.diff
=================================================
--- badjump2.stderr.exp 2010-10-16 00:03:15.000000000 -0500
+++ badjump2.stderr.out 2010-10-16 00:19:20.000000000 -0500
@@ -1,5 +1,6 @@
Jump to the invalid address stated on the next line
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
Address 0x........ is not stack'd, malloc'd or (recently) free'd
=================================================
./valgrind-new/memcheck/tests/linux-syscalls-2007.stderr.diff
=================================================
--- linux-syscalls-2007.stderr.exp 2010-10-16 00:03:15.000000000 -0500
+++ linux-syscalls-2007.stderr.out 2010-10-16 00:20:57.000000000 -0500
@@ -1,4 +1,9 @@
+WARNING: unhandled syscall: 281
+You may be able to write your own handler.
+Read the file README_MISSING_SYSCALL_OR_IOCTL.
+Nevertheless we consider this a bug. Please report
+it at http://valgrind.org/support/bug_reports.html.
HEAP SUMMARY:
in use at exit: ... bytes in ... blocks
=================================================
./valgrind-new/memcheck/tests/linux/capget.stderr.diff
=================================================
--- capget.stderr.exp 2010-10-16 00:03:14.000000000 -0500
+++ capget.stderr.out 2010-10-16 00:20:21.000000000 -0500
@@ -1,7 +1,7 @@
capget result:
-effective 0
-permitted 0
+effective 0x........
+permitted 0x........
inheritable 0
HEAP SUMMARY:
=================================================
./valgrind-new/memcheck/tests/linux/stack_changes.stderr.diff
=================================================
--- stack_changes.stderr.exp 2010-10-16 00:03:14.000000000 -0500
+++ stack_changes.stderr.out 2010-10-16 00:20:43.000000000 -0500
@@ -0,0 +1,5 @@
+WARNING: unhandled syscall: 249
+You may be able to write your own handler.
+Read the file README_MISSING_SYSCALL_OR_IOCTL.
+Nevertheless we consider this a bug. Please report
+it at http://valgrind.org/support/bug_reports.html.
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64
=================================================
--- origin5-bz2.stderr.exp-glibc25-amd64 2010-10-16 00:03:15.000000000 -0500
+++ origin5-bz2.stderr.out 2010-10-16 00:22:03.000000000 -0500
@@ -11,7 +11,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -19,7 +19,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
@@ -27,7 +27,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -38,7 +38,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -49,7 +49,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -60,7 +60,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -71,7 +71,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -82,7 +82,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2964)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -93,7 +93,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2269)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -104,7 +104,7 @@
Uninitialised value was created by a client request
at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: fallbackSort (origin5-bz2.c:2275)
by 0x........: BZ2_blockSort (origin5-bz2.c:3116)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86
=================================================
--- origin5-bz2.stderr.exp-glibc25-x86 2010-10-16 00:03:15.000000000 -0500
+++ origin5-bz2.stderr.out 2010-10-16 00:22:03.000000000 -0500
@@ -28,7 +28,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2820)
+ at 0x........: mainSort (origin5-bz2.c:2820)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -38,7 +39,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2823)
+ at 0x........: mainSort (origin5-bz2.c:2823)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -48,7 +50,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2855)
+ at 0x........: mainSort (origin5-bz2.c:2854)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -58,7 +61,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2859)
+ at 0x........: mainSort (origin5-bz2.c:2858)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -68,7 +72,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2963)
+ at 0x........: mainSort (origin5-bz2.c:2963)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
@@ -78,7 +83,8 @@
at 0x........: main (origin5-bz2.c:6479)
Use of uninitialised value of size 4
- at 0x........: BZ2_blockSort (origin5-bz2.c:2964)
+ at 0x........: mainSort (origin5-bz2.c:2964)
+ by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
by 0x........: handle_compress (origin5-bz2.c:4753)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
=================================================
./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64
=================================================
--- origin5-bz2.stderr.exp-glibc27-ppc64 2010-10-16 00:03:15.000000000 -0500
+++ origin5-bz2.stderr.out 2010-10-16 00:22:03.000000000 -0500
@@ -1,7 +1,7 @@
Conditional jump or move depends on uninitialised value(s)
at 0x........: main (origin5-bz2.c:6481)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
Conditional jump or move depends on uninitialised value(s)
at 0x........: handle_compress (origin5-bz2.c:4686)
@@ -9,25 +9,25 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: handle_compress (origin5-bz2.c:4686)
by 0x........: BZ2_bzCompress (origin5-bz2.c:4822)
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2820)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -36,9 +36,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2823)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -47,9 +47,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2854)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -58,9 +58,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2858)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -69,9 +69,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
at 0x........: mainSort (origin5-bz2.c:2963)
by 0x........: BZ2_blockSort (origin5-bz2.c:3105)
by 0x........: BZ2_compressBlock (origin5-bz2.c:4034)
@@ -80,9 +80,9 @@
by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630)
by 0x........: main (origin5-bz2.c:6484)
Uninitialised value was created by a client request
- at 0x........: main (origin5-bz2.c:6481)
+ at 0x........: main (origin5-bz2.c:6479)
-Use of uninitialised value of size 8
+Use of uninitialised value of size 4
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/supp_unknown.stderr.diff
=================================================
--- supp_unknown.stderr.exp 2010-10-16 00:03:15.000000000 -0500
+++ supp_unknown.stderr.out 2010-10-16 00:23:52.000000000 -0500
@@ -1,7 +1,14 @@
+Jump to the invalid address stated on the next line
+ at 0x........: ???
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
+ Address 0x........ is not stack'd, malloc'd or (recently) free'd
+
Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x........
at 0x........: ???
+ by 0x........: ??? (in /...libc...)
by 0x........: (below main)
If you believe this happened as a result of a stack
overflow in your program's main thread (unlikely but
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff
=================================================
--- varinfo6.stderr.exp 2010-10-16 00:03:15.000000000 -0500
+++ varinfo6.stderr.out 2010-10-16 00:24:30.000000000 -0500
@@ -7,8 +7,7 @@
by 0x........: BZ2_bzCompress (varinfo6.c:4860)
by 0x........: BZ2_bzBuffToBuffCompress (varinfo6.c:5667)
by 0x........: main (varinfo6.c:6517)
- Location 0x........ is 2 bytes inside local var "budget"
- declared at varinfo6.c:3115, in frame #2 of thread 1
+ Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
at 0x........: croak (varinfo6.c:34)
=================================================
./valgrind-new/memcheck/tests/varinfo6.stderr.diff-ppc64
=================================================
--- varinfo6.stderr.exp-ppc64 2010-10-16 00:03:15.000000000 -0500
+++ varinfo6.stderr.out 2010-10-16 00:24:30.000000000 -0500
@@ -1,5 +1,5 @@
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: mainSort (varinfo6.c:2999)
by 0x........: BZ2_blockSort (varinfo6.c:3143)
by 0x........: BZ2_compressBlock (varinfo6.c:4072)
@@ -10,7 +10,7 @@
Address 0x........ is on thread 1's stack
Uninitialised byte(s) found during client check request
- at 0x........: croak (varinfo6.c:35)
+ at 0x........: croak (varinfo6.c:34)
by 0x........: BZ2_decompress (varinfo6.c:1699)
by 0x........: BZ2_bzDecompress (varinfo6.c:5230)
by 0x........: BZ2_bzBuffToBuffDecompress (varinfo6.c:5715)
=================================================
./valgrind-new/none/tests/linux/mremap.stderr.diff
=================================================
--- mremap.stderr.exp 2010-10-16 00:03:22.000000000 -0500
+++ mremap.stderr.out 2010-10-16 00:27:19.000000000 -0500
@@ -1,3 +1,12 @@
-mremap(grow, nomove, constrained): Cannot allocate memory
+mremap(shrink, fixed): Invalid argument
+shrink, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(shrink, maymove): Invalid argument
+shrink, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, fixed): Invalid argument
+grow, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, maymove): Invalid argument
+grow, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, nomove, constrained): Invalid argument
+mremap(grow, maymove, constrained): Invalid argument
=================================================
./valgrind-new/none/tests/linux/mremap.stderr.diff-glibc27
=================================================
--- mremap.stderr.exp-glibc27 2010-10-16 00:03:22.000000000 -0500
+++ mremap.stderr.out 2010-10-16 00:27:19.000000000 -0500
@@ -1,6 +1,12 @@
-mremap(grow, fixed): Cannot allocate memory
+mremap(shrink, fixed): Invalid argument
+shrink, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(shrink, maymove): Invalid argument
+shrink, maymove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, fixed): Invalid argument
grow, nomove: p=0x........ np=0x........: shrink moved?!
+mremap(grow, maymove): Invalid argument
grow, maymove: p=0x........ np=0x........: shrink moved?!
-mremap(grow, nomove, constrained): Cannot allocate memory
+mremap(grow, nomove, constrained): Invalid argument
+mremap(grow, maymove, constrained): Invalid argument
=================================================
./valgrind-new/none/tests/ppc32/jm-fp.stderr.diff
=================================================
--- jm-fp.stderr.exp 2010-10-16 00:03:21.000000000 -0500
+++ jm-fp.stderr.out 2010-10-16 00:27:52.000000000 -0500
@@ -1,2 +1,23 @@
+disInstr(ppc): declined to decode a GeneralPurpose-Optional insn.
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 44(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: test_fsqrt (jm-insns.c:1986)
+ by 0x........: test_float_one_arg (jm-insns.c:5738)
+ by 0x........: ??? (in /...libc...)
+ by 0x........: (below main)
=================================================
./valgrind-new/none/tests/ppc32/jm-fp.stdout.diff
=================================================
--- jm-fp.stdout.exp 2010-10-16 00:03:21.000000000 -0500
+++ jm-fp.stdout.out 2010-10-16 00:27:52.000000000 -0500
@@ -794,570 +794,4 @@
fnabs 0010000000000001 => 8010000000000001
fnabs 00100094e0000359 => 80100094e0000359
- fnabs 3fe0000000000001 => bfe0000000000001
- fnabs 3fe00094e0000359 => bfe00094e0000359
- fnabs 8010000000000001 => 8010000000000001
- fnabs 80100094e0000359 => 80100094e0000359
- fnabs bfe0000000000001 => bfe0000000000001
- fnabs bfe00094e0000359 => bfe00094e0000359
- fnabs 0000000000000000 => 8000000000000000
- fnabs 8000000000000000 => 8000000000000000
- fnabs 7ff0000000000000 => fff0000000000000
- fnabs fff0000000000000 => fff0000000000000
- fnabs 7ff7ffffffffffff => fff7ffffffffffff
- fnabs fff7ffffffffffff => fff7ffffffffffff
- fnabs 7ff8000000000000 => fff8000000000000
- fnabs fff8000000000000 => fff8000000000000
-
- fsqrt 0010000000000001 => 2000000000000000
- fsqrt 00100094e0000359 => 2000004a6f52dd4a
- fsqrt 3fe0000000000001 => 3fe6a09e667f3bcd
- fsqrt 3fe00094e0000359 => 3fe6a107aacb50df
- fsqrt 8010000000000001 => 7ff8000000000000
- fsqrt 80100094e0000359 => 7ff8000000000000
- fsqrt bfe0000000000001 => 7ff8000000000000
- fsqrt bfe00094e0000359 => 7ff8000000000000
- fsqrt 0000000000000000 => 0000000000000000
- fsqrt 8000000000000000 => 8000000000000000
- fsqrt 7ff0000000000000 => 7ff0000000000000
- fsqrt fff0000000000000 => 7ff8000000000000
- fsqrt 7ff7ffffffffffff => 7fffffffffffffff
- fsqrt fff7ffffffffffff => ffffffffffffffff
- fsqrt 7ff8000000000000 => 7ff8000000000000
- fsqrt fff8000000000000 => fff8000000000000
-
-PPC floating point arith insns
- with one arg with flags update:
- frsp. 0010000000000001 => 0000000000000000
- frsp. 00100094e0000359 => 0000000000000000
- frsp. 3fe0000000000001 => 3fe0000000000000
- frsp. 3fe00094e0000359 => 3fe00094e0000000
- frsp. 8010000000000001 => 8000000000000000
- frsp. 80100094e0000359 => 8000000000000000
- frsp. bfe0000000000001 => bfe0000000000000
- frsp. bfe00094e0000359 => bfe00094e0000000
- frsp. 0000000000000000 => 0000000000000000
- frsp. 8000000000000000 => 8000000000000000
- frsp. 7ff0000000000000 => 7ff0000000000000
- frsp. fff0000000000000 => fff0000000000000
- frsp. 7ff7ffffffffffff => 7fffffffe0000000
- frsp. fff7ffffffffffff => ffffffffe0000000
- frsp. 7ff8000000000000 => 7ff8000000000000
- frsp. fff8000000000000 => fff8000000000000
-
- fctiw. 0010000000000001 => 0000000000000000
- fctiw. 00100094e0000359 => 0000000000000000
- fctiw. 3fe0000000000001 => 0000000000000001
- fctiw. 3fe00094e0000359 => 0000000000000001
- fctiw. 8010000000000001 => 0000000000000000
- fctiw. 80100094e0000359 => 0000000000000000
- fctiw. bfe0000000000001 => 00000000ffffffff
- fctiw. bfe00094e0000359 => 00000000ffffffff
- fctiw. 0000000000000000 => 0000000000000000
- fctiw. 8000000000000000 => 0000000000000000
- fctiw. 7ff0000000000000 => 000000007fffffff
- fctiw. fff0000000000000 => 0000000080000000
- fctiw. 7ff7ffffffffffff => 0000000080000000
- fctiw. fff7ffffffffffff => 0000000080000000
- fctiw. 7ff8000000000000 => 0000000080000000
- fctiw. fff8000000000000 => 0000000080000000
-
- fctiwz. 0010000000000001 => 0000000000000000
- fctiwz. 00100094e0000359 => 0000000000000000
- fctiwz. 3fe0000000000001 => 0000000000000000
- fctiwz. 3fe00094e0000359 => 0000000000000000
- fctiwz. 8010000000000001 => 0000000000000000
- fctiwz. 80100094e0000359 => 0000000000000000
- fctiwz. bfe0000000000001 => 0000000000000000
- fctiwz. bfe00094e0000359 => 0000000000000000
- fctiwz. 0000000000000000 => 0000000000000000
- fctiwz. 8000000000000000 => 0000000000000000
- fctiwz. 7ff0000000000000 => 000000007fffffff
- fctiwz. fff0000000000000 => 0000000080000000
- fctiwz. 7ff7ffffffffffff => 0000000080000000
- fctiwz. fff7ffffffffffff => 0000000080000000
- fctiwz. 7ff8000000000000 => 0000000080000000
- fctiwz. fff8000000000000 => 0000000080000000
-
- fmr. 0010000000000001 => 0010000000000001
- fmr. 00100094e0000359 => 00100094e0000359
- fmr. 3fe0000000000001 => 3fe0000000000001
- fmr. 3fe00094e0000359 => 3fe00094e0000359
- fmr. 8010000000000001 => 8010000000000001
- fmr. 80100094e0000359 => 80100094e0000359
- fmr. bfe0000000000001 => bfe0000000000001
- fmr. bfe00094e0000359 => bfe00094e0000359
- fmr. 0000000000000000 => 0000000000000000
<truncated beyond 100 lines>
=================================================
./valgrind-new/none/tests/ppc32/power5+_round.stderr.diff
=================================================
--- power5+_round.stderr.exp 2010-10-16 00:03:22.000000000 -0500
+++ power5+_round.stderr.out 2010-10-16 00:27:59.000000000 -0500
@@ -1,2 +1,19 @@
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 784(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: main (power5+_round.c:124)
=================================================
./valgrind-new/none/tests/ppc32/power5+_round.stdout.diff
=================================================
--- power5+_round.stdout.exp 2010-10-16 00:03:22.000000000 -0500
+++ power5+_round.stdout.out 2010-10-16 00:27:58.000000000 -0500
@@ -1,60 +0,0 @@
-frin inf inf 0 PASS
-frin 1.9 2 0 PASS
-frin 1.1 1 0 PASS
-frin 0 0 0 PASS
-frin -0 -0 0 PASS
-frin -1.1 -1 0 PASS
-frin -1.9 -2 0 PASS
-frin -inf -inf 0 PASS
-frin nan nan 0 PASS
-frin 0.9 1 0 PASS
-frin 0.1 0 0 PASS
-frin -0.1 -0 0 PASS
-frin -0.9 -1 0 PASS
-frin 1e-40 0 0 PASS
-frin -1e-40 -0 0 PASS
-friz inf inf 0 PASS
-friz 1.9 1 0 PASS
-friz 1.1 1 0 PASS
-friz 0 0 0 PASS
-friz -0 -0 0 PASS
-friz -1.1 -1 0 PASS
-friz -1.9 -1 0 PASS
-friz -inf -inf 0 PASS
-friz nan nan 0 PASS
-friz 0.9 0 0 PASS
-friz 0.1 0 0 PASS
-friz -0.1 -0 0 PASS
-friz -0.9 -0 0 PASS
-friz 1e-40 0 0 PASS
-friz -1e-40 -0 0 PASS
-frip inf inf 0 PASS
-frip 1.9 2 0 PASS
-frip 1.1 2 0 PASS
-frip 0 0 0 PASS
-frip -0 -0 0 PASS
-frip -1.1 -1 0 PASS
-frip -1.9 -1 0 PASS
-frip -inf -inf 0 PASS
-frip nan nan 0 PASS
-frip 0.9 1 0 PASS
-frip 0.1 1 0 PASS
-frip -0.1 -0 0 PASS
-frip -0.9 -0 0 PASS
-frip 1e-40 1 0 PASS
-frip -1e-40 -0 0 PASS
-frim inf inf 0 PASS
-frim 1.9 1 0 PASS
-frim 1.1 1 0 PASS
-frim 0 0 0 PASS
-frim -0 -0 0 PASS
-frim -1.1 -2 0 PASS
-frim -1.9 -2 0 PASS
-frim -inf -inf 0 PASS
-frim nan nan 0 PASS
-frim 0.9 0 0 PASS
-frim 0.1 0 0 PASS
-frim -0.1 -1 0 PASS
-frim -0.9 -1 0 PASS
-frim 1e-40 0 0 PASS
-frim -1e-40 -1 0 PASS
=================================================
./valgrind-new/none/tests/ppc32/round.stderr.diff
=================================================
--- round.stderr.exp 2010-10-16 00:03:22.000000000 -0500
+++ round.stderr.out 2010-10-16 00:28:01.000000000 -0500
@@ -1,2 +1,22 @@
+disInstr(ppc): declined to decode a GeneralPurpose-Optional insn.
+disInstr(ppc): unhandled instruction: 0x........
+ primary 63(0x........), secondary 44(0x........)
+valgrind: Unrecognised instruction at address 0x.........
+Your program just tried to execute an instruction that Valgrind
+did not recognise. There are two possible reasons for this.
+1. Your program has a bug and erroneously jumped to a non-code
+ location. If you are running Memcheck and you just saw a
+ warning about a bad jump, it's probably your program's fault.
+2. The instruction is legitimate but Valgrind doesn't handle it,
+ i.e. it's Valgrind's fault. If you think this is the case or
+ you are not sure, please let us know and we'll try to fix it.
+Either way, Valgrind will now raise a SIGILL signal which will
+probably kill your program.
+
+Process terminating with default action of signal 4 (SIGILL)
+ Illegal opcode at address 0x........
+ at 0x........: check_double_guarded_arithmetic_op (round.c:1116)
+ by 0x........: test_float_arithmetic_ops (round.c:1185)
+ by 0x........: main (round.c:1206)
=================================================
./valgrind-new/none/tests/ppc32/round.stdout.diff
=================================================
--- round.stdout.exp 2010-10-16 00:03:22.000000000 -0500
+++ round.stdout.out 2010-10-16 00:28:01.000000000 -0500
@@ -2259,77 +2259,4 @@
-inf:PASSED:fnmsub(-0x1.000000000000bp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a00000000000dp+0
-inf:PASSED:fnmsub(-0x1.000000000000cp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a00000000000ep+0
-inf:PASSED:fnmsub(-0x1.000000000000dp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a00000000001p+0
--inf:PASSED:fnmsub(-0x1.000000000000ep+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a000000000011p+0
--inf:PASSED:fnmsub(-0x1.000000000000fp+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a000000000012p+0
--inf:PASSED:fnmsub(0x1p+0 , 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.ap+0
--inf:PASSED:fnmsub(0x1.0000000000001p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000001p+0
--inf:PASSED:fnmsub(0x1.0000000000002p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000002p+0
--inf:PASSED:fnmsub(0x1.0000000000003p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000003p+0
--inf:PASSED:fnmsub(0x1.0000000000004p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000005p+0
--inf:PASSED:fnmsub(0x1.0000000000005p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000006p+0
--inf:PASSED:fnmsub(0x1.0000000000006p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000007p+0
--inf:PASSED:fnmsub(0x1.0000000000007p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000008p+0
--inf:PASSED:fnmsub(0x1.0000000000008p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000009p+0
--inf:PASSED:fnmsub(0x1.0000000000009p+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000ap+0
--inf:PASSED:fnmsub(0x1.000000000000ap+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000bp+0
--inf:PASSED:fnmsub(0x1.000000000000bp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000cp+0
--inf:PASSED:fnmsub(0x1.000000000000cp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000ep+0
--inf:PASSED:fnmsub(0x1.000000000000dp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000000fp+0
--inf:PASSED:fnmsub(0x1.000000000000ep+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a00000000001p+0
--inf:PASSED:fnmsub(0x1.000000000000fp+0, 0x1.2p+0 , -0x1.0000000000001p-1) = -0x1.a000000000011p+0
-near:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049ep-1
-near:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6dp+0
-near:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3bfp+0
-near:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0937p-1
-near:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b2p+0
-near:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7483p+0
-near:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7cp-1
-near:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9ep+0
-near:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6cp-1
-near:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0acp-1
-near:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e3p+0
-near:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0b1p-1
-near:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907afp-1
-near:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed828p+0
-zero:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049ep-1
-zero:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6dp+0
-zero:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3bfp+0
-zero:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0937p-1
-zero:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b2p+0
-zero:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7483p+0
-zero:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7cp-1
-zero:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9dp+0
-zero:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6bp-1
-zero:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0abfp-1
-zero:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e2p+0
-zero:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0bp-1
-zero:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907aep-1
-zero:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed827p+0
-+inf:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049fp-1
-+inf:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6ep+0
-+inf:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3cp+0
-+inf:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0938p-1
-+inf:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b3p+0
-+inf:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7484p+0
-+inf:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7dp-1
-+inf:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9ep+0
-+inf:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6cp-1
-+inf:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0acp-1
-+inf:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e3p+0
-+inf:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0b1p-1
-+inf:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907afp-1
-+inf:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed828p+0
--inf:PASSED:fsqrt(0x1.a44p-1 ) = 0x1.cfdcaf353049ep-1
--inf:PASSED:fsqrt(0x1.a822p+0 ) = 0x1.498302b49cd6dp+0
--inf:PASSED:fsqrt(0x1.05a2p+0 ) = 0x1.02cd13b44f3bfp+0
--inf:PASSED:fsqrt(0x1.9504p-1 ) = 0x1.c76073cec0937p-1
--inf:PASSED:fsqrt(0x1.dca2p+0 ) = 0x1.5d4f8d4e4c2b2p+0
--inf:PASSED:fsqrt(0x1.02c8p+0 ) = 0x1.016309cde7483p+0
--inf:PASSED:fsqrt(0x1.b9p-1 ) = 0x1.db2cfe686fe7cp-1
--inf:PASSED:fsqrt(0x1.1d02p+0 ) = 0x1.0e1d62e78ed9dp+0
--inf:PASSED:fsqrt(0x1.c39p-1 ) = 0x1.e0d526020fb6bp-1
--inf:PASSED:fsqrt(0x1.9p-1 ) = 0x1.c48c6001f0abfp-1
--inf:PASSED:fsqrt(0x1.4852p+0 ) = 0x1.21e9ed813e2e2p+0
--inf:PASSED:fsqrt(0x1.e984p-1 ) = 0x1.f4a1b09bbf0bp-1
--inf:PASSED:fsqrt(0x1.9a1p-1 ) = 0x1.ca34879b907aep-1
--inf:PASSED:fsqrt(0x1.76b2p+0 ) = 0x1.35b6781aed827p+0
+-inf:PASSED:fnmsub(-0x1.000000000000ep+0, 0x1.2p+0 , 0x1.0000000000001p-1) = 0x1.a000000000
\ No newline at end of file
=================================================
./valgrind-new/none/tests/ppc32/testVMX.stderr.diff
=================================================
--- testVMX.stderr.exp 2010-10-16 00:03:22.000000000 -0500
+++ testVMX.stderr.out 2010-10-16 00:28:04.000000000 -0500
@@ -1,2 +1,43 @@
+iselVecExpr(ppc) (subarch = ppc32-int-flt-vmx-GX): can't reduce
+V128{0x........}
+vex: the `impossible' happened:
+ iselVecExpr_wrk(ppc)
+vex storage: T total 67427452 bytes allocated
+vex storage: P total 144 bytes allocated
+
+valgrind: the 'impossible' happened:
+ LibVEX called failure_exit().
+ at 0x........: report_and_quit (m_libcassert.c:193)
+ by 0x........: panic (m_libcassert.c:277)
+ by 0x........: vgPlain_core_panic_at (m_libcassert.c:282)
+ by 0x........: vgPlain_core_panic (m_libcassert.c:287)
+ by 0x........: failure_exit (m_translate.c:674)
+ by 0x........: vpanic (main_util.c:226)
+ by 0x........: iselVecExpr (host_ppc_isel.c:3720)
+ by 0x........: iselSB_PPC (host_ppc_isel.c:3830)
+ by 0x........: LibVEX_Translate (main_main.c:591)
+ by 0x........: vgPlain_translate (m_translate.c:1518)
+ by 0x........: vgPlain_scheduler (scheduler.c:867)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:94)
+
+sched status:
+ running_tid=1
+
+Thread 1: status = VgTs_Runnable
+ at 0x........: part5 (testVMX.c:6525)
+ by 0x........: main (testVMX.c:1661)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
=================================================
./valgrind-new/none/tests/ppc32/testVMX.stdout.diff
=================================================
--- testVMX.stdout.exp 2010-10-16 00:03:22.000000000 -0500
+++ testVMX.stdout.out 2010-10-16 00:28:04.000000000 -0500
@@ -317,191 +317,3 @@
Function vec_splat_u32 [type unsig. int] ===> OK
:::::::::::::::::::::::::::::::::::::::
-Function vec_sr [type char] ===> OK
-Function vec_sr [type unsigned char] ===> OK
-Function vec_sr [type short] ===> OK
-Function vec_sr [type unsigned short] ===> OK
-Function vec_sr [type integer] ===> OK
-Function vec_sr [type unsigned int] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_sra [type char] ===> OK
-Function vec_sra [type unsigned char] ===> OK
-Function vec_sra [type short] ===> OK
-Function vec_sra [type unsigned short] ===> OK
-Function vec_sra [type integer] ===> OK
-Function vec_sra [type unsigned int] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_srl [type char] ===> OK
-Function vec_srl [type unsigned char] ===> OK
-Function vec_srl [type short] ===> OK
-Function vec_srl [type unsigned short] ===> OK
-Function vec_srl [type integer] ===> OK
-Function vec_srl [type unsigned int] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_sro [type char] ===> OK
-Function vec_sro [type unsigned char] ===> OK
-Function vec_sro [type short] ===> OK
-Function vec_sro [type unsigned short] ===> OK
-Function vec_sro [type integer] ===> OK
-Function vec_sro [type unsigned int] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_st [type unsigned char] ===> OK
-Function vec_st [type char] ===> OK
-Function vec_st [type unsigned short] ===> OK
-Function vec_st [type short] ===> OK
-Function vec_st [type unsigned int] ===> OK
-Function vec_st [type int] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_ste [type unsigned char] ===> OK
-Function vec_ste [type char] ===> OK
-Function vec_ste [type unsigned short] ===> OK
-Function vec_ste [type short] ===> OK
-Function vec_ste [type unsigned int] ===> OK
-Function vec_ste [type int] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_sub [type char] ===> OK
-Function vec_sub [type unsigned char] ===> OK
-Function vec_sub [type short] ===> OK
-Function vec_sub [type unsigned short] ===> OK
-Function vec_sub [type integer] ===> OK
-Function vec_sub [type unsigned int] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_subc [type unsigned int] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_subs [type char] ===> OK
-Function vec_subs [type unsigned char] ===> OK
-Function vec_subs [type short] ===> OK
-Function vec_subs [type unsigned short] ===> OK
-Function vec_subs [type integer] ===> OK
-Function vec_subs [type unsigned int] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_sum4s [type char] ===> OK
-Function vec_sum4s [type unsigned char] ===> OK
-Function vec_sum4s [type short] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_sum2s [type integer] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_sums [type integer] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_unpackh [type short-char] ===> OK
-Function vec_unpackh [type int-short] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_unpackl [type short-char] ===> OK
-Function vec_unpackl [type int-short] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
-Function vec_xor [type unsigned char] ===> OK
-Function vec_xor [type char] ===> OK
-Function vec_xor [type unsigned short] ===> OK
-Function vec_xor [type short] ===> OK
-Function vec_xor [type unsigned int] ===> OK
-Function vec_xor [type int] ===> OK
-
-:::::::::::::::::::::::::::::::::::::::
<truncated beyond ...
[truncated message content] |
|
From: Rich C. <rc...@wi...> - 2010-10-16 04:38:40
|
Nightly build on macbook ( Darwin 9.8.0 i386 )
Started at 2010-10-15 23:05:00 CDT
Ended at 2010-10-15 23:38:14 CDT
Results unchanged from 24 hours ago
Checking out valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 434 tests, 70 stderr failures, 14 stdout failures, 9 post failures ==
memcheck/tests/darwin/scalar (stderr)
memcheck/tests/null_socket (stdout)
memcheck/tests/origin5-bz2 (stderr)
memcheck/tests/signal2 (stdout)
memcheck/tests/signal2 (stderr)
memcheck/tests/varinfo3 (stderr)
memcheck/tests/varinfo5 (stderr)
massif/tests/peak (stderr)
massif/tests/peak (post)
massif/tests/peak2 (stderr)
massif/tests/peak2 (post)
massif/tests/realloc (stderr)
massif/tests/realloc (post)
massif/tests/thresholds_0_0 (stderr)
massif/tests/thresholds_0_0 (post)
massif/tests/thresholds_0_10 (stderr)
massif/tests/thresholds_0_10 (post)
massif/tests/thresholds_10_0 (stderr)
massif/tests/thresholds_10_0 (post)
massif/tests/thresholds_10_10 (stderr)
massif/tests/thresholds_10_10 (post)
massif/tests/thresholds_5_0 (stderr)
massif/tests/thresholds_5_0 (post)
massif/tests/thresholds_5_10 (stderr)
massif/tests/thresholds_5_10 (post)
none/tests/async-sigs (stderr)
none/tests/coolo_sigaction (stdout)
none/tests/coolo_sigaction (stderr)
none/tests/faultstatus (stderr)
none/tests/pending (stdout)
none/tests/pending (stderr)
none/tests/pth_blockedsig (stdout)
none/tests/pth_blockedsig (stderr)
none/tests/require-text-symbol-2 (stderr)
none/tests/sigstackgrowth (stdout)
none/tests/sigstackgrowth (stderr)
none/tests/x86/badseg (stdout)
none/tests/x86/badseg (stderr)
none/tests/x86/fxtract (stdout)
helgrind/tests/annotate_hbefore (stderr)
helgrind/tests/hg01_all_ok (stderr)
helgrind/tests/hg02_deadlock (stderr)
helgrind/tests/hg03_inherit (stderr)
helgrind/tests/hg04_race (stderr)
helgrind/tests/hg05_race2 (stderr)
helgrind/tests/hg06_readshared (stderr)
helgrind/tests/rwlock_race (stderr)
helgrind/tests/rwlock_test (stderr)
helgrind/tests/tc01_simple_race (stderr)
helgrind/tests/tc02_simple_tls (stderr)
helgrind/tests/tc03_re_excl (stderr)
helgrind/tests/tc05_simple_race (stderr)
helgrind/tests/tc06_two_races (stderr)
helgrind/tests/tc06_two_races_xml (stderr)
helgrind/tests/tc07_hbl1 (stdout)
helgrind/tests/tc07_hbl1 (stderr)
helgrind/tests/tc08_hbl2 (stdout)
helgrind/tests/tc08_hbl2 (stderr)
helgrind/tests/tc09_bad_unlock (stderr)
helgrind/tests/tc11_XCHG (stdout)
helgrind/tests/tc11_XCHG (stderr)
helgrind/tests/tc12_rwl_trivial (stderr)
helgrind/tests/tc14_laog_dinphils (stderr)
helgrind/tests/tc16_byterace (stderr)
helgrind/tests/tc17_sembar (stderr)
helgrind/tests/tc18_semabuse (stderr)
helgrind/tests/tc19_shadowmem (stderr)
helgrind/tests/tc21_pthonce (stdout)
helgrind/tests/tc21_pthonce (stderr)
helgrind/tests/tc23_bogus_condwait (stderr)
helgrind/tests/tc24_nonzero_sem (stderr)
drd/tests/bug-235681 (stderr)
drd/tests/hold_lock_1 (stderr)
drd/tests/hold_lock_2 (stderr)
drd/tests/monitor_example (stderr)
drd/tests/pth_broadcast (stderr)
drd/tests/pth_cancel_locked (stderr)
drd/tests/pth_cond_race (stderr)
drd/tests/pth_cond_race2 (stderr)
drd/tests/pth_cond_race3 (stderr)
drd/tests/pth_detached (stdout)
drd/tests/pth_detached (stderr)
drd/tests/pth_detached2 (stdout)
drd/tests/pth_detached2 (stderr)
drd/tests/pth_inconsistent_cond_wait (stderr)
drd/tests/pth_uninitialized_cond (stderr)
drd/tests/rwlock_race (stderr)
drd/tests/rwlock_test (stderr)
drd/tests/rwlock_type_checking (stderr)
drd/tests/tc12_rwl_trivial (stderr)
drd/tests/tc17_sembar (stderr)
drd/tests/tc23_bogus_condwait (stderr)
drd/tests/trylock (stderr)
=================================================
./valgrind-new/drd/tests/bug-235681.stderr.diff
=================================================
--- bug-235681.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ bug-235681.stderr.out 2010-10-15 23:37:03.000000000 -0500
@@ -1,4 +1,9 @@
-Done.
+
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_mutex_lock (in /...libc...)
+ by 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/hold_lock_1.stderr.diff
=================================================
--- hold_lock_1.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ hold_lock_1.stderr.out 2010-10-15 23:37:18.000000000 -0500
@@ -11,17 +11,12 @@
by 0x........: main (hold_lock.c:?)
Locking rwlock exclusively ...
-Acquired at:
- at 0x........: pthread_rwlock_wrlock (drd_pthread_intercepts.c:?)
- by 0x........: main (hold_lock.c:?)
-Lock on rwlock 0x........ was held during ... ms (threshold: 500 ms).
- at 0x........: pthread_rwlock_unlock (drd_pthread_intercepts.c:?)
- by 0x........: main (hold_lock.c:?)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (hold_lock.c:?)
-Locking rwlock shared ...
-Done.
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (hold_lock.c:?)
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/hold_lock_2.stderr.diff
=================================================
--- hold_lock_2.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ hold_lock_2.stderr.out 2010-10-15 23:37:20.000000000 -0500
@@ -1,17 +1,12 @@
Locking mutex ...
Locking rwlock exclusively ...
-Locking rwlock shared ...
-Acquired at:
- at 0x........: pthread_rwlock_rdlock (drd_pthread_intercepts.c:?)
- by 0x........: main (hold_lock.c:?)
-Lock on rwlock 0x........ was held during ... ms (threshold: 500 ms).
- at 0x........: pthread_rwlock_unlock (drd_pthread_intercepts.c:?)
- by 0x........: main (hold_lock.c:?)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (hold_lock.c:?)
-Done.
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (hold_lock.c:?)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/monitor_example.stderr.diff
=================================================
--- monitor_example.stderr.exp 2010-10-15 23:25:23.000000000 -0500
+++ monitor_example.stderr.out 2010-10-15 23:37:30.000000000 -0500
@@ -1,4 +1,10 @@
-Finished successfully.
+
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_mutex_lock (in /...libc...)
+ by 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+ by 0x........: main (monitor_example.cpp:?)
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_broadcast.stderr.diff
=================================================
--- pth_broadcast.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ pth_broadcast.stderr.out 2010-10-15 23:37:31.000000000 -0500
@@ -1,4 +1,14 @@
-Done.
+
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_cond_signal (in /...libc...)
+ by 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
+ by 0x........: csema_v (pth_broadcast.c:?)
+ by 0x........: thread_func (pth_broadcast.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: thread_start (in /...libc...)
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_cancel_locked.stderr.diff
=================================================
--- pth_cancel_locked.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ pth_cancel_locked.stderr.out 2010-10-15 23:37:32.000000000 -0500
@@ -1,11 +1,14 @@
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-Test finished.
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_mutex_lock (in /...libc...)
+ by 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+ by 0x........: thread (pth_cancel_locked.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: thread_start (in /...libc...)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_cancel_locked.stderr.diff-darwin
=================================================
--- pth_cancel_locked.stderr.exp-darwin 2010-10-15 23:25:22.000000000 -0500
+++ pth_cancel_locked.stderr.out 2010-10-15 23:37:32.000000000 -0500
@@ -1,18 +1,14 @@
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cancel_locked.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_mutex_lock (in /...libc...)
+ by 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+ by 0x........: thread (pth_cancel_locked.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: thread_start (in /...libc...)
-Test finished.
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_cond_race.stderr.diff
=================================================
--- pth_cond_race.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ pth_cond_race.stderr.out 2010-10-15 23:37:33.000000000 -0500
@@ -1,15 +1,9 @@
-Thread 2:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: thread_func (pth_cond_race.c:?)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cond_race.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_cond_race.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_mutex_lock (in /...libc...)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_cond_race2.stderr.diff
=================================================
--- pth_cond_race2.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ pth_cond_race2.stderr.out 2010-10-15 23:37:34.000000000 -0500
@@ -1,3 +1,14 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_mutex_lock (in /...libc...)
+ by 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+ by 0x........: thread_func (pth_cond_race.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: thread_start (in /...libc...)
+
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_cond_race3.stderr.diff
=================================================
--- pth_cond_race3.stderr.exp 2010-10-15 23:25:23.000000000 -0500
+++ pth_cond_race3.stderr.out 2010-10-15 23:37:34.000000000 -0500
@@ -1,3 +1,14 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: new_sem_from_pool (in /...libc...)
+ by 0x........: pthread_mutex_lock (in /...libc...)
+ by 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+ by 0x........: thread_func (pth_cond_race.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: thread_start (in /...libc...)
+
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_detached.stderr.diff
=================================================
--- pth_detached.stderr.exp 2010-10-15 23:25:23.000000000 -0500
+++ pth_detached.stderr.out 2010-10-15 23:37:36.000000000 -0500
@@ -1,3 +1,13 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_detach (in /...libc...)
+ by 0x........: pthread_detach (drd_pthread_intercepts.c:?)
+ by 0x........: thread_func2 (pth_detached.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: thread_start (in /...libc...)
+
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_detached.stdout.diff
=================================================
--- pth_detached.stdout.exp 2010-10-15 23:25:22.000000000 -0500
+++ pth_detached.stdout.out 2010-10-15 23:37:36.000000000 -0500
@@ -1 +1 @@
-..
+.
\ No newline at end of file
=================================================
./valgrind-new/drd/tests/pth_detached2.stderr.diff
=================================================
--- pth_detached2.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ pth_detached2.stderr.out 2010-10-15 23:37:37.000000000 -0500
@@ -1,3 +1,13 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_detach (in /...libc...)
+ by 0x........: pthread_detach (drd_pthread_intercepts.c:?)
+ by 0x........: thread_func2 (pth_detached.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: thread_start (in /...libc...)
+
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_detached2.stdout.diff
=================================================
--- pth_detached2.stdout.exp 2010-10-15 23:25:22.000000000 -0500
+++ pth_detached2.stdout.out 2010-10-15 23:37:36.000000000 -0500
@@ -1 +1 @@
-....................
+..........
\ No newline at end of file
=================================================
./valgrind-new/drd/tests/pth_inconsistent_cond_wait.stderr.diff1
=================================================
--- pth_inconsistent_cond_wait.stderr.exp1 2010-10-15 23:25:22.000000000 -0500
+++ pth_inconsistent_cond_wait.stderr.out 2010-10-15 23:37:37.000000000 -0500
@@ -1,39 +1,9 @@
-Thread 3:
-Inconsistent association of condition variable and mutex: condition variable 0x........, mutexes 0x........ and 0x........
- at 0x........: pthread_cond_timedwait (drd_pthread_intercepts.c:?)
- by 0x........: thread_func (pth_inconsistent_cond_wait.c:?)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-Thread 1:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: _pthread_cond_wait (in /...libc...)
+ by 0x........: pthread_cond_timedwait$UNIX2003 (in /...libc...)
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_inconsistent_cond_wait.stderr.diff2
=================================================
--- pth_inconsistent_cond_wait.stderr.exp2 2010-10-15 23:25:22.000000000 -0500
+++ pth_inconsistent_cond_wait.stderr.out 2010-10-15 23:37:37.000000000 -0500
@@ -1,39 +1,9 @@
-Thread 2:
-Inconsistent association of condition variable and mutex: condition variable 0x........, mutexes 0x........ and 0x........
- at 0x........: pthread_cond_timedwait (drd_pthread_intercepts.c:?)
- by 0x........: thread_func (pth_inconsistent_cond_wait.c:?)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-Thread 1:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: _pthread_cond_wait (in /...libc...)
+ by 0x........: pthread_cond_timedwait$UNIX2003 (in /...libc...)
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_inconsistent_cond_wait.c:?)
-
-
-ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/pth_uninitialized_cond.stderr.diff
=================================================
--- pth_uninitialized_cond.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ pth_uninitialized_cond.stderr.out 2010-10-15 23:37:39.000000000 -0500
@@ -1,10 +1,11 @@
Statically initialized condition variable.
-Uninitialized condition variable.
-condition variable has not been initialized: cond 0x........
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: main (pth_uninitialized_cond.c:?)
-Done.
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_cond_signal (in /...libc...)
+ by 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
+ by 0x........: main (pth_uninitialized_cond.c:?)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/rwlock_race.stderr.diff
=================================================
--- rwlock_race.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ rwlock_race.stderr.out 2010-10-15 23:37:41.000000000 -0500
@@ -1,17 +1,8 @@
-Thread 3:
-Conflicting load by thread 3 at 0x........ size 4
- at 0x........: thread_func (rwlock_race.c:?)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-Location 0x........ is 0 bytes inside local var "s_racy"
-declared at rwlock_race.c:18, in frame #? of thread 3
-Conflicting store by thread 3 at 0x........ size 4
- at 0x........: thread_func (rwlock_race.c:?)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-Location 0x........ is 0 bytes inside local var "s_racy"
-declared at rwlock_race.c:18, in frame #? of thread 3
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
-Result: 2
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/rwlock_race.stderr.diff2
=================================================
--- rwlock_race.stderr.exp2 2010-10-15 23:25:23.000000000 -0500
+++ rwlock_race.stderr.out 2010-10-15 23:37:41.000000000 -0500
@@ -1,17 +1,8 @@
-Thread 3:
-Conflicting load by thread 3 at 0x........ size 4
- at 0x........: thread (rwlock_race.c:?)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-Location 0x........ is 0 bytes inside local var "s_racy"
-declared at rwlock_race.c:17, in frame #? of thread 3
-Conflicting store by thread 3 at 0x........ size 4
- at 0x........: thread (rwlock_race.c:?)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-Location 0x........ is 0 bytes inside local var "s_racy"
-declared at rwlock_race.c:17, in frame #? of thread 3
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
-Result: 2
-
-ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/rwlock_test.stderr.diff
=================================================
--- rwlock_test.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ rwlock_test.stderr.out 2010-10-15 23:37:42.000000000 -0500
@@ -1,6 +1,10 @@
-s_counter - expected_counter = 0
-s_grand_sum - expected_grand_sum = 0
-Finished.
+
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (rwlock_test.c:?)
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/rwlock_type_checking.stderr.diff
=================================================
--- rwlock_type_checking.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ rwlock_type_checking.stderr.out 2010-10-15 23:37:43.000000000 -0500
@@ -1,16 +1,10 @@
-Attempt to use a user-defined rwlock as a POSIX rwlock: rwlock 0x.........
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (rwlock_type_checking.c:?)
-rwlock 0x........ was first observed at:
- at 0x........: main (rwlock_type_checking.c:?)
-Attempt to use a POSIX rwlock as a user-defined rwlock: rwlock 0x.........
- at 0x........: main (rwlock_type_checking.c:?)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (rwlock_type_checking.c:?)
-Finished.
-
-ERROR SUMMARY: 4 errors from 2 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc12_rwl_trivial.stderr.diff
=================================================
--- tc12_rwl_trivial.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ tc12_rwl_trivial.stderr.out 2010-10-15 23:38:00.000000000 -0500
@@ -1,10 +1,10 @@
-Reader-writer lock not locked by calling thread: rwlock 0x.........
- at 0x........: pthread_rwlock_unlock (drd_pthread_intercepts.c:?)
- by 0x........: main (tc12_rwl_trivial.c:35)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc12_rwl_trivial.c:24)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (tc12_rwl_trivial.c:24)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc17_sembar.stderr.diff
=================================================
--- tc17_sembar.stderr.exp 2010-10-15 23:25:23.000000000 -0500
+++ tc17_sembar.stderr.out 2010-10-15 23:38:03.000000000 -0500
@@ -1,5 +1,15 @@
starting
-done, result is 88, should be 88
+
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_mutex_lock (in /...libc...)
+ by 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+ by 0x........: gomp_barrier_wait (tc17_sembar.c:82)
+ by 0x........: child (tc17_sembar.c:171)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: thread_start (in /...libc...)
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-darwin
=================================================
--- tc23_bogus_condwait.stderr.exp-darwin 2010-10-15 23:25:22.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2010-10-15 23:38:10.000000000 -0500
@@ -1,63 +1,9 @@
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:69)
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-
-ERROR SUMMARY: 9 errors from 7 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-ppc
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-ppc 2010-10-15 23:25:22.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2010-10-15 23:38:10.000000000 -0500
@@ -1,13 +1,9 @@
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:69)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
-Process terminating with default action of signal 7 (SIGBUS)
- Invalid address alignment at address 0x........
- at 0x........: (within libpthread-?.?.so)
- by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so)
- by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
-
-ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/tc23_bogus_condwait.stderr.diff-linux-x86
=================================================
--- tc23_bogus_condwait.stderr.exp-linux-x86 2010-10-15 23:25:22.000000000 -0500
+++ tc23_bogus_condwait.stderr.out 2010-10-15 23:38:10.000000000 -0500
@@ -1,86 +1,9 @@
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:69)
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:20)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
-Thread 1:
-Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:72)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:24)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:51)
-
-Thread 1:
-The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:75)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:28)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:57)
-
-Thread 1:
-Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:78)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-Thread 3:
-Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
- by 0x........: rescue_me (tc23_bogus_condwait.c:32)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-cond 0x........ was first observed at:
- at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:56)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
-Thread 2:
-Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
- by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
- by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
-mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
- by 0x........: main (tc23_bogus_condwait.c:53)
-
-
-ERROR SUMMARY: 11 errors from 9 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/drd/tests/trylock.stderr.diff
=================================================
--- trylock.stderr.exp 2010-10-15 23:25:22.000000000 -0500
+++ trylock.stderr.out 2010-10-15 23:38:11.000000000 -0500
@@ -1,20 +1,10 @@
-Locking rwlock via pthread_rwlock_wrlock().
-Locking rwlock via pthread_rwlock_trywrlock().
-Locking rwlock via pthread_rwlock_timedwrlock().
-Locking rwlock via pthread_rwlock_rdlock().
-Locking rwlock via pthread_rwlock_tryrdlock().
-Locking rwlock via pthread_rwlock_timedrdlock().
-Attempt to lock for writing recursively (not allowed).
-Recursive writer locking not allowed: rwlock 0x.........
- at 0x........: pthread_rwlock_wrlock (drd_pthread_intercepts.c:?)
- by 0x........: main (trylock.c:?)
-rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
- by 0x........: main (trylock.c:?)
-Locking mutex via pthread_mutex_trylock().
-Locking mutex via pthread_mutex_lock().
-Locking mutex via pthread_mutex_timedlock().
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
+ by 0x........: main (trylock.c:?)
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/annotate_hbefore.stderr.diff
=================================================
--- annotate_hbefore.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ annotate_hbefore.stderr.out 2010-10-15 23:36:19.000000000 -0500
@@ -0,0 +1,7 @@
+
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (annotate_hbefore.c:277)
=================================================
./valgrind-new/helgrind/tests/hg01_all_ok.stderr.diff
=================================================
--- hg01_all_ok.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ hg01_all_ok.stderr.out 2010-10-15 23:36:19.000000000 -0500
@@ -1,3 +1,10 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (hg01_all_ok.c:28)
+
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/hg02_deadlock.stderr.diff
=================================================
--- hg02_deadlock.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ hg02_deadlock.stderr.out 2010-10-15 23:36:20.000000000 -0500
@@ -21,4 +21,11 @@
...
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (hg02_deadlock.c:38)
+
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/hg03_inherit.stderr.diff
=================================================
--- hg03_inherit.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ hg03_inherit.stderr.out 2010-10-15 23:36:21.000000000 -0500
@@ -1,19 +1,10 @@
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (hg03_inherit.c:46)
-Thread #x is the program's root thread
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (hg03_inherit.c:49)
-Possible data race during write of size 4 at 0x........ by thread #x
- at 0x........: t2 (hg03_inherit.c:28)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- This conflicts with a previous read of size 4 by thread #x
- at 0x........: main (hg03_inherit.c:60)
- Location 0x........ is 0 bytes inside shared[1],
- declared at hg03_inherit.c:11, in frame #x of thread x
-
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/hg04_race.stderr.diff
=================================================
--- hg04_race.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ hg04_race.stderr.out 2010-10-15 23:36:23.000000000 -0500
@@ -32,4 +32,11 @@
declared at hg04_race.c:6, in frame #x of thread x
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (hg04_race.c:23)
+
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ hg05_race2.stderr.out 2010-10-15 23:36:25.000000000 -0500
@@ -32,4 +32,11 @@
declared at hg05_race2.c:24, in frame #x of thread x
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (hg05_race2.c:31)
+
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/hg06_readshared.stderr.diff
=================================================
--- hg06_readshared.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ hg06_readshared.stderr.out 2010-10-15 23:36:26.000000000 -0500
@@ -1,3 +1,10 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (hg06_readshared.c:27)
+
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/rwlock_race.stderr.diff
=================================================
--- rwlock_race.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ rwlock_race.stderr.out 2010-10-15 23:36:27.000000000 -0500
@@ -1,25 +1,10 @@
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (rwlock_race.c:48)
-Thread #x was created
- ...
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (rwlock_race.c:47)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init* (hg_intercepts.c:...)
+ by 0x........: main (rwlock_race.c:46)
-Possible data race during write of size 4 at 0x........ by thread #x
- at 0x........: thread_func (rwlock_race.c:29)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- This conflicts with a previous write of size 4 by thread #x
- at 0x........: thread_func (rwlock_race.c:29)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- ...
- Location 0x........ is 0 bytes inside local var "s_racy"
- declared at rwlock_race.c:18, in frame #x of thread x
-
-Result: 2
-
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/rwlock_test.stderr.diff
=================================================
--- rwlock_test.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ rwlock_test.stderr.out 2010-10-15 23:36:28.000000000 -0500
@@ -1,6 +1,10 @@
-s_counter - expected_counter = 0
-s_grand_sum - expected_grand_sum = 0
-Finished.
+
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_rwlock_init$UNIX2003 (in /...libc...)
+ by 0x........: pthread_rwlock_init* (hg_intercepts.c:...)
+ by 0x........: main (rwlock_test.c:80)
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc01_simple_race.stderr.diff
=================================================
--- tc01_simple_race.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ tc01_simple_race.stderr.out 2010-10-15 23:36:29.000000000 -0500
@@ -25,4 +25,11 @@
declared at tc01_simple_race.c:9
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (tc01_simple_race.c:30)
+
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc02_simple_tls.stderr.diff
=================================================
--- tc02_simple_tls.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ tc02_simple_tls.stderr.out 2010-10-15 23:36:29.000000000 -0500
@@ -1,3 +1,10 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (tc02_simple_tls.c:30)
+
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc03_re_excl.stderr.diff
=================================================
--- tc03_re_excl.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ tc03_re_excl.stderr.out 2010-10-15 23:36:30.000000000 -0500
@@ -1,3 +1,10 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (tc03_re_excl.c:36)
+
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc05_simple_race.stderr.diff
=================================================
--- tc05_simple_race.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ tc05_simple_race.stderr.out 2010-10-15 23:36:32.000000000 -0500
@@ -25,4 +25,11 @@
declared at tc05_simple_race.c:10
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (tc05_simple_race.c:38)
+
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc06_two_races.stderr.diff
=================================================
--- tc06_two_races.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ tc06_two_races.stderr.out 2010-10-15 23:36:33.000000000 -0500
@@ -43,4 +43,11 @@
declared at tc06_two_races.c:9
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (tc06_two_races.c:37)
+
ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc06_two_races_xml.stderr.diff
=================================================
--- tc06_two_races_xml.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ tc06_two_races_xml.stderr.out 2010-10-15 23:36:33.000000000 -0500
@@ -39,17 +39,7 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>clone</fn>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>do_clone</fn>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_create@@GLIBC_2.2.5</fn>
+ <fn>__bsdthread_create</fn>
</frame>
<frame>
<ip>0x........</ip>
@@ -62,7 +52,7 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_create@*</fn>
+ <fn>pthread_create</fn>
<dir>...</dir>
<file>hg_intercepts.c</file>
<line>...</line>
@@ -120,12 +110,12 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>start_thread</fn>
+ <fn>_pthread_start</fn>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>clone</fn>
+ <fn>thread_start</fn>
</frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot1"</auxwhat>
@@ -174,12 +164,12 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>start_thread</fn>
+ <fn>_pthread_start</fn>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>clone</fn>
+ <fn>thread_start</fn>
</frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot1"</auxwhat>
@@ -228,12 +218,12 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>start_thread</fn>
+ <fn>_pthread_start</fn>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>clone</fn>
+ <fn>thread_start</fn>
</frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot2"</auxwhat>
@@ -282,12 +272,12 @@
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>start_thread</fn>
+ <fn>_pthread_start</fn>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>clone</fn>
+ <fn>thread_start</fn>
</frame>
</stack>
<auxwhat>Location 0x........ is 0 bytes inside global var "unprot2"</auxwhat>
=================================================
./valgrind-new/helgrind/tests/tc07_hbl1.stderr.diff
=================================================
--- tc07_hbl1.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ tc07_hbl1.stderr.out 2010-10-15 23:36:34.000000000 -0500
@@ -1,3 +1,10 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (tc07_hbl1.c:92)
+
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc07_hbl1.stdout.diff
=================================================
--- tc07_hbl1.stdout.exp 2010-10-15 23:24:56.000000000 -0500
+++ tc07_hbl1.stdout.out 2010-10-15 23:36:33.000000000 -0500
@@ -1 +0,0 @@
-x = 2
=================================================
./valgrind-new/helgrind/tests/tc08_hbl2.stderr.diff
=================================================
--- tc08_hbl2.stderr.exp 2010-10-15 23:24:56.000000000 -0500
+++ tc08_hbl2.stderr.out 2010-10-15 23:36:36.000000000 -0500
@@ -1,3 +1,10 @@
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: main (tc08_hbl2.c:131)
+
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
=================================================
./valgrind-new/helgrind/tests/tc08_hbl2.stdout.diff
=================================================
--- tc08_hbl2.stdout.exp 2010-10-15 23:24:56.000000000 -0500
+++ tc08_hbl2.stdout.out 2010-10-15 23:36:36.000000000 -0500
@@ -1,3 +1 @@
child: new value 6
-child: new value 10
-done, x = 10
=================================================
./valgrind-new/helgrind/tests/tc09_bad_unlock.stderr.diff-glibc23-amd64
=================================================
--- tc09_bad_unlock.stderr.exp-glibc23-amd64 2010-10-15 23:24:56.000000000 -0500
+++ tc09_bad_unlock.stderr.out 2010-10-15 23:36:37.000000000 -0500
@@ -26,56 +26,16 @@
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
-Thread #x unlocked an invalid lock at 0x........
- at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:41)
- by 0x........: main (tc09_bad_unlock.c:49)
-Thread #x deallocated location 0x........ containing a locked lock
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
- Lock at 0x........ was first observed
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
+Process terminating with default action of signal 11 (SIGSEGV)
+ General Protection Fault
+ at 0x........: misaligned_stack_error (in /usr/lib/dyld)
+ by 0x........: pthread_join$UNIX2003 (in /...libc...)
+ by 0x........: pthread_join* (hg_intercepts.c:...)
+ by 0x........: nearly_main (tc09_bad_unlock.c:38)
by 0x........: main (tc09_bad_unlock.c:49)
-
-Thread #x unlocked a not-locked lock at 0x........
- ...
[truncated message content] |
|
From: Tom H. <th...@cy...> - 2010-10-16 03:05:35
|
Nightly build on vauxhall ( x86_64, Fedora 13 ) Started at 2010-10-16 03:20:06 BST Ended at 2010-10-16 04:05:09 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 547 tests, 7 stderr failures, 0 stdout failures, 0 post failures == memcheck/tests/linux/stack_switch (stderr) helgrind/tests/tc06_two_races_xml (stderr) drd/tests/qt4_atomic (stderr) drd/tests/qt4_mutex (stderr) drd/tests/qt4_rwlock (stderr) drd/tests/qt4_semaphore (stderr) exp-ptrcheck/tests/bad_percentify (stderr) |
|
From: Tom H. <th...@cy...> - 2010-10-16 02:53:20
|
Nightly build on lloyd ( x86_64, Fedora 7 ) Started at 2010-10-16 03:05:07 BST Ended at 2010-10-16 03:53:06 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 551 tests, 2 stderr failures, 3 stdout failures, 0 post failures == none/tests/amd64/bug132918 (stdout) none/tests/amd64/fxtract (stdout) none/tests/x86/fxtract (stdout) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc23_bogus_condwait (stderr) |
|
From: Tom H. <th...@cy...> - 2010-10-16 02:38:13
|
Nightly build on mg ( x86_64, Fedora 9 ) Started at 2010-10-16 03:10:05 BST Ended at 2010-10-16 03:37:54 BST Results unchanged from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 558 tests, 3 stderr failures, 3 stdout failures, 0 post failures == none/tests/amd64/bug132918 (stdout) none/tests/amd64/fxtract (stdout) none/tests/x86/fxtract (stdout) helgrind/tests/tc06_two_races_xml (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc23_bogus_condwait (stderr) |
|
From: Julian S. <js...@ac...> - 2010-10-15 23:28:18
|
I notice that the compile command doesn't have -marm in it, and
it should. What happens if you add -marm to AM_CCASFLAGS_ARM_LINUX
at Makefile.all.am:157, do make distclean, and rebuild?
J
On Friday, October 15, 2010, Vince Weaver wrote:
> On Fri, 15 Oct 2010, Julian Seward wrote:
> > It should be buildable and usable on the following targets:
> > {x86,amd64,ppc32,ppc64,arm}-linux, {x86,amd64}-darwin.
>
> compiling on an armv7l system I get the following compile failure:
>
> This is a Beagle Board running Debian Sid, gcc 4.4.5, binutils 2.20.1
>
> make[3]: Entering directory `/arm/vince/valgrind/coregrind'
> gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_arm=1
> -DVGO_linux=1 -DVGP_arm_linux=1 -I../coregrind
> -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -DVG_PLATFORM="\"arm-linux\""
> -I.. -I../include -I../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1
> -I../coregrind -DVG_LIBDIR="\"/usr/local/lib/valgrind"\"
> -DVG_PLATFORM="\"arm-linux\"" -g -Wno-long-long -MT
> libcoregrind_arm_linux_a-dispatch-arm-linux.o -MD -MP -MF
> .deps/libcoregrind_arm_linux_a-dispatch-arm-linux.Tpo -c -o
> libcoregrind_arm_linux_a-dispatch-arm-linux.o `test -f
> 'm_dispatch/dispatch-arm-linux.S' || echo
> './'`m_dispatch/dispatch-arm-linux.S m_dispatch/dispatch-arm-linux.S:
> Assembler messages:
> m_dispatch/dispatch-arm-linux.S:66: Error: internal_relocation (type:
> OFFSET_IMM) not fixed up m_dispatch/dispatch-arm-linux.S:90: Error:
> internal_relocation (type: OFFSET_IMM) not fixed up
> m_dispatch/dispatch-arm-linux.S:135: Error: internal_relocation (type:
> OFFSET_IMM) not fixed up m_dispatch/dispatch-arm-linux.S:184: Error:
> internal_relocation (type: OFFSET_IMM) not fixed up make[3]: ***
> [libcoregrind_arm_linux_a-dispatch-arm-linux.o] Error 1 make[3]: Leaving
> directory `/arm/vince/valgrind/coregrind'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/arm/vince/valgrind/coregrind'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/arm/vince/valgrind'
> make: *** [all] Error 2
|
|
From: Vince W. <vi...@cs...> - 2010-10-15 19:17:30
|
On Fri, 15 Oct 2010, Julian Seward wrote:
>
> It should be buildable and usable on the following targets:
>
> {x86,amd64,ppc32,ppc64,arm}-linux, {x86,amd64}-darwin.
compiling on an armv7l system I get the following compile failure:
This is a Beagle Board running Debian Sid, gcc 4.4.5, binutils 2.20.1
make[3]: Entering directory `/arm/vince/valgrind/coregrind'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1 -I../coregrind -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -DVG_PLATFORM="\"arm-linux\"" -I.. -I../include -I../VEX/pub -DVGA_arm=1 -DVGO_linux=1 -DVGP_arm_linux=1 -I../coregrind -DVG_LIBDIR="\"/usr/local/lib/valgrind"\" -DVG_PLATFORM="\"arm-linux\"" -g -Wno-long-long -MT libcoregrind_arm_linux_a-dispatch-arm-linux.o -MD -MP -MF .deps/libcoregrind_arm_linux_a-dispatch-arm-linux.Tpo -c -o libcoregrind_arm_linux_a-dispatch-arm-linux.o `test -f 'm_dispatch/dispatch-arm-linux.S' || echo './'`m_dispatch/dispatch-arm-linux.S
m_dispatch/dispatch-arm-linux.S: Assembler messages:
m_dispatch/dispatch-arm-linux.S:66: Error: internal_relocation (type: OFFSET_IMM) not fixed up
m_dispatch/dispatch-arm-linux.S:90: Error: internal_relocation (type: OFFSET_IMM) not fixed up
m_dispatch/dispatch-arm-linux.S:135: Error: internal_relocation (type: OFFSET_IMM) not fixed up
m_dispatch/dispatch-arm-linux.S:184: Error: internal_relocation (type: OFFSET_IMM) not fixed up
make[3]: *** [libcoregrind_arm_linux_a-dispatch-arm-linux.o] Error 1
make[3]: Leaving directory `/arm/vince/valgrind/coregrind'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/arm/vince/valgrind/coregrind'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/arm/vince/valgrind'
make: *** [all] Error 2
|
|
From: Dmitry Z. <zh...@is...> - 2010-10-15 18:59:56
|
On 10/15/2010 06:15 PM, Julian Seward wrote:
> Hmm, I wonder if this is a C library issue. For me, on Ubuntu 10.04
> it works just fine:
>
> $ perl tests/vg_regtest none/tests/arm
> -- Running tests in none/tests/arm ------------------------------------
> neon128: valgrind -q ./neon128
> neon64: valgrind -q ./neon64
> v6intARM: valgrind -q ./v6intARM
> v6intThumb: valgrind -q ./v6intThumb
> v6media: valgrind -q ./v6media
> vfp: valgrind -q ./vfp
> -- Finished tests in none/tests/arm ------------------------------------
>
> == 6 tests, 0 stderr failures, 0 stdout failures, 0 post failures ==
>
> If the programs produce the same result with and without Valgrind
> then Valgrind is not a problem, but rather it is with libc printing
> differences. What libc and distro are you using?
>
We are using a soon-to-be LiMo distro with 2.8 Glibc. Personally I
doubt that it is connected with a different printing - the output values
are taken from the memory and are different sometimes in just several
bits. This is probably to different compilation or assembly generation
(I just checked and I am getting the same output for most VMLS
instruction tests as you if I substitute VMLS with VMLA; and I am
puzzled by this) - can you please send us your compiled test?
Regards,
Dmitry
> J
>
> On Friday, October 15, 2010, Kirill Batuzov wrote:
>
>> Hello, Julian.
>>
>> I tried to build a 3.6 branch from SVN and run ARM-specific tests from none
>> testsuite on ARMv7 target. Looks like vfp.stdout.exp file is not correct.
>> VNMLA/VMLS/VNMLS produce the same result with and without Valgrind on my
>> hardware but it differs from the one specified in .exp file. I checked
>> manually some of the tests and it turns out that .exp file is not
>> correct. For example
>> VMLS<some number>, -Inf, NaN should produce -NaN as a result, not +NaN.
>> VMLS<some very little number>, 456.2489562, -7.2945676 should produce
>> 3328.138916, not -3328.138916
>>
>> ----
>> Kirill
>>
>> On Fri, 15 Oct 2010, Julian Seward wrote:
>>
>>> I just created the stable branch for the 3.6.x line. Please try it
>>> out on platforms and configurations that are important to you.
>>> Unless there are reports of serious breakage, I will release 3.6.0
>>> final on Monday.
>>>
>>> To check out the branch, do
>>>
>>> svn co svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH
>>> branch36
>>>
>>> or alternatively a test tarball of it is available at
>>>
>>> http://www.valgrind.org/downloads/valgrind-3.6.0-test2.tar.bz2
>>>
>>> It should be buildable and usable on the following targets:
>>> {x86,amd64,ppc32,ppc64,arm}-linux, {x86,amd64}-darwin.
>>>
>>> J
>>>
>>> -------------------------------------------------------------------------
>>> ----- Download new Adobe(R) Flash(R) Builder(TM) 4
>>> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
>>> Flex(R) Builder(TM)) enable the development of rich applications that run
>>> across multiple browsers and platforms. Download your free trials today!
>>> http://p.sf.net/sfu/adobe-dev2dev
>>> _______________________________________________
>>> Valgrind-developers mailing list
>>> Val...@li...
>>> https://lists.sourceforge.net/lists/listinfo/valgrind-developers
>>>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Valgrind-developers mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-developers
>
>
|
|
From: Maynard J. <may...@us...> - 2010-10-15 15:15:28
|
Julian Seward wrote: > > I just created the stable branch for the 3.6.x line. Please try it > out on platforms and configurations that are important to you. > Unless there are reports of serious breakage, I will release 3.6.0 > final on Monday. > > To check out the branch, do > > svn co svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH branch36 > > or alternatively a test tarball of it is available at > > http://www.valgrind.org/downloads/valgrind-3.6.0-test2.tar.bz2 > > It should be buildable and usable on the following targets: > > {x86,amd64,ppc32,ppc64,arm}-linux, {x86,amd64}-darwin. I tested this branch on POWER6 SLES 10 SP2, SLES 11 SP1, and RHEL 6 beta. Test results all seem pretty reasonable, aside from some known issues and a few (apparently) distro-specific issues that I'll need to investigate -- probably not worth holding up a release for. There is the problem with the ppc64 VMX test failure (bug 250038) that I really would like to fix before the release. But I doubt I'll have a breakthrough on debugging this before Monday. -Maynard > > J > > ------------------------------------------------------------------------------ > Download new Adobe(R) Flash(R) Builder(TM) 4 > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > Flex(R) Builder(TM)) enable the development of rich applications that run > across multiple browsers and platforms. Download your free trials today! > http://p.sf.net/sfu/adobe-dev2dev > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |
|
From: Julian S. <js...@ac...> - 2010-10-15 14:18:46
|
Hmm, I wonder if this is a C library issue. For me, on Ubuntu 10.04 it works just fine: $ perl tests/vg_regtest none/tests/arm -- Running tests in none/tests/arm ------------------------------------ neon128: valgrind -q ./neon128 neon64: valgrind -q ./neon64 v6intARM: valgrind -q ./v6intARM v6intThumb: valgrind -q ./v6intThumb v6media: valgrind -q ./v6media vfp: valgrind -q ./vfp -- Finished tests in none/tests/arm ------------------------------------ == 6 tests, 0 stderr failures, 0 stdout failures, 0 post failures == If the programs produce the same result with and without Valgrind then Valgrind is not a problem, but rather it is with libc printing differences. What libc and distro are you using? J On Friday, October 15, 2010, Kirill Batuzov wrote: > Hello, Julian. > > I tried to build a 3.6 branch from SVN and run ARM-specific tests from none > testsuite on ARMv7 target. Looks like vfp.stdout.exp file is not correct. > VNMLA/VMLS/VNMLS produce the same result with and without Valgrind on my > hardware but it differs from the one specified in .exp file. I checked > manually some of the tests and it turns out that .exp file is not > correct. For example > VMLS <some number>, -Inf, NaN should produce -NaN as a result, not +NaN. > VMLS <some very little number>, 456.2489562, -7.2945676 should produce > 3328.138916, not -3328.138916 > > ---- > Kirill > > On Fri, 15 Oct 2010, Julian Seward wrote: > > I just created the stable branch for the 3.6.x line. Please try it > > out on platforms and configurations that are important to you. > > Unless there are reports of serious breakage, I will release 3.6.0 > > final on Monday. > > > > To check out the branch, do > > > > svn co svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH > > branch36 > > > > or alternatively a test tarball of it is available at > > > > http://www.valgrind.org/downloads/valgrind-3.6.0-test2.tar.bz2 > > > > It should be buildable and usable on the following targets: > > {x86,amd64,ppc32,ppc64,arm}-linux, {x86,amd64}-darwin. > > > > J > > > > ------------------------------------------------------------------------- > > ----- Download new Adobe(R) Flash(R) Builder(TM) 4 > > The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly > > Flex(R) Builder(TM)) enable the development of rich applications that run > > across multiple browsers and platforms. Download your free trials today! > > http://p.sf.net/sfu/adobe-dev2dev > > _______________________________________________ > > Valgrind-developers mailing list > > Val...@li... > > https://lists.sourceforge.net/lists/listinfo/valgrind-developers |
|
From: Kirill B. <bat...@is...> - 2010-10-15 13:48:38
|
Hello, Julian.
I tried to build a 3.6 branch from SVN and run ARM-specific tests from none
testsuite on ARMv7 target. Looks like vfp.stdout.exp file is not correct.
VNMLA/VMLS/VNMLS produce the same result with and without Valgrind on my
hardware but it differs from the one specified in .exp file. I checked
manually some of the tests and it turns out that .exp file is not
correct. For example
VMLS <some number>, -Inf, NaN should produce -NaN as a result, not +NaN.
VMLS <some very little number>, 456.2489562, -7.2945676 should produce
3328.138916, not -3328.138916
----
Kirill
On Fri, 15 Oct 2010, Julian Seward wrote:
>
> I just created the stable branch for the 3.6.x line. Please try it
> out on platforms and configurations that are important to you.
> Unless there are reports of serious breakage, I will release 3.6.0
> final on Monday.
>
> To check out the branch, do
>
> svn co svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH branch36
>
> or alternatively a test tarball of it is available at
>
> http://www.valgrind.org/downloads/valgrind-3.6.0-test2.tar.bz2
>
> It should be buildable and usable on the following targets:
>
> {x86,amd64,ppc32,ppc64,arm}-linux, {x86,amd64}-darwin.
>
> J
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Valgrind-developers mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-developers
> |
|
From: Julian S. <js...@ac...> - 2010-10-15 10:06:57
|
I just created the stable branch for the 3.6.x line. Please try it out on platforms and configurations that are important to you. Unless there are reports of serious breakage, I will release 3.6.0 final on Monday. To check out the branch, do svn co svn://svn.valgrind.org/valgrind/branches/VALGRIND_3_6_BRANCH branch36 or alternatively a test tarball of it is available at http://www.valgrind.org/downloads/valgrind-3.6.0-test2.tar.bz2 It should be buildable and usable on the following targets: {x86,amd64,ppc32,ppc64,arm}-linux, {x86,amd64}-darwin. J |
|
From: <sv...@va...> - 2010-10-15 08:52:51
|
Author: sewardj Date: 2010-10-15 09:52:43 +0100 (Fri, 15 Oct 2010) New Revision: 11447 Log: Bump version number on the trunk. Modified: trunk/configure.in Modified: trunk/configure.in =================================================================== --- trunk/configure.in 2010-10-15 08:50:26 UTC (rev 11446) +++ trunk/configure.in 2010-10-15 08:52:43 UTC (rev 11447) @@ -8,7 +8,7 @@ ##------------------------------------------------------------## # Process this file with autoconf to produce a configure script. -AC_INIT(Valgrind, 3.6.0.SVN, val...@li...) +AC_INIT(Valgrind, 3.7.0.SVN, val...@li...) AC_CONFIG_SRCDIR(coregrind/m_main.c) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE([foreign]) |
|
From: <sv...@va...> - 2010-10-15 08:50:33
|
Author: sewardj Date: 2010-10-15 09:50:26 +0100 (Fri, 15 Oct 2010) New Revision: 11446 Log: Swizzle external. Modified: branches/VALGRIND_3_6_BRANCH/ Property changes on: branches/VALGRIND_3_6_BRANCH ___________________________________________________________________ Name: svn:externals - VEX svn://svn.valgrind.org/vex/trunk + VEX svn://svn.valgrind.org/vex/branches/VEX_3_6_BRANCH |
|
From: <sv...@va...> - 2010-10-15 08:48:09
|
Author: sewardj Date: 2010-10-15 09:48:02 +0100 (Fri, 15 Oct 2010) New Revision: 2066 Log: Create VEX_3_6_BRANCH as a copy of trunk r2065. Added: branches/VEX_3_6_BRANCH/ Copied: branches/VEX_3_6_BRANCH (from rev 2065, trunk) |
|
From: <sv...@va...> - 2010-10-15 08:46:43
|
Author: sewardj Date: 2010-10-15 09:46:33 +0100 (Fri, 15 Oct 2010) New Revision: 11445 Log: Create VALGRIND_3_6_BRANCH as a copy of trunk r11444. Added: branches/VALGRIND_3_6_BRANCH/ Copied: branches/VALGRIND_3_6_BRANCH (from rev 11444, trunk) |