You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(32) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
1
(6) |
2
(7) |
|
3
(12) |
4
(9) |
5
(12) |
6
(9) |
7
(18) |
8
(10) |
9
(17) |
|
10
(15) |
11
(22) |
12
(16) |
13
(18) |
14
(9) |
15
(14) |
16
(18) |
|
17
(24) |
18
(11) |
19
(15) |
20
(29) |
21
(19) |
22
(20) |
23
(9) |
|
24
(25) |
25
(25) |
26
(38) |
27
(22) |
28
(16) |
29
(17) |
|
|
From: Julian S. <js...@ac...> - 2008-02-26 12:02:42
|
> > I assume you will ask for the containing > > function name and then not instrument it according to some criteria. > > Right? > > Right. Most likely I will just have a command line with a list of C++ > functions and namespaces to skip. See 'VG_(string_match)' in pub_tool_libcbase.h. > > VG_(clo_vex_control).guest_chase_thresh = 0; > > What is the expected slowdown from limiting superblocks to one BB? Minimal. Nothing to worry about. J |
|
From: Konstantin S. <kon...@gm...> - 2008-02-26 11:46:50
|
> > I can see that you would want to instrument some functions and not > others, eg, FOO but not BAR. But why do you care about knowing > if some block is the entry point for a function or not? In fact, I don't. :) > > So there's probably some function you can call in the tool-visible > interface to m_debuginfo (that is, in include/pub_tool_debuginfo.h) > to find out the name of a function containing a given code address. > VG_(get_fnname), it looks like. Cool! > I assume you will ask for the containing > function name and then not instrument it according to some criteria. Right? Right. Most likely I will just have a command line with a list of C++ functions and namespaces to skip. > Uh, that's a bit dangerous because the JIT will create superblocks > which go across function calls. Eg if BAR calls XYZZY then there > can be a block starting in BAR and ending in XYZZY, and if you > say that BAR is not to be instrumented, then you also miss > instrumentation for the part of the block in XYZZY. No problem, you > just need to disable superblock formation. Put this in the post_clo_init > function: > > VG_(clo_vex_control).guest_chase_thresh = 0; What is the expected slowdown from limiting superblocks to one BB? --kcc |
|
From: Julian S. <js...@ac...> - 2008-02-26 11:26:27
|
> why is that? does the loop unroller confuse Callgrind's profile somehow? duh. s/profile/instrumentation-function/g J |
|
From: Julian S. <js...@ac...> - 2008-02-26 11:23:54
|
> > Consider we have function FOO and BAR. (and for simplicity FOO calls BAR) > > We want to instrument everything in FOO and not instrument BAR. > > > > We enter FOO for the first time and instrument it's first superblock. > > Than we enter BAR and do not instrument it. > > Than we exit BAR and we are in FOO again, and we need to instrument a > > new portion of FOO, which is not the first in FOO. > > So, 'check if a given instruction is the first of a function according > > to debug information' is not sufficient. Do I miss something? > > You can always request the function any instruction is part of at > instrumentation time. The check whether it is the first is about catching > the function entry event. I can see that you would want to instrument some functions and not others, eg, FOO but not BAR. But why do you care about knowing if some block is the entry point for a function or not? So there's probably some function you can call in the tool-visible interface to m_debuginfo (that is, in include/pub_tool_debuginfo.h) to find out the name of a function containing a given code address. VG_(get_fnname), it looks like. I assume you will ask for the containing function name and then not instrument it according to some criteria. Right? Uh, that's a bit dangerous because the JIT will create superblocks which go across function calls. Eg if BAR calls XYZZY then there can be a block starting in BAR and ending in XYZZY, and if you say that BAR is not to be instrumented, then you also miss instrumentation for the part of the block in XYZZY. No problem, you just need to disable superblock formation. Put this in the post_clo_init function: VG_(clo_vex_control).guest_chase_thresh = 0; btw, Josef, I see you also have VG_(clo_vex_control).iropt_unroll_thresh = 0; why is that? does the loop unroller confuse Callgrind's profile somehow? J |
|
From: Konstantin S. <kon...@gm...> - 2008-02-26 11:05:37
|
> You can always request the function any instruction is part of at > instrumentation time. How? > The check whether it is the first is about catching > the function entry event. Ah, I see. --kcc |
|
From: Josef W. <Jos...@gm...> - 2008-02-26 10:44:59
|
On Tuesday 26 February 2008, Konstantin Serebryany wrote: > On Tue, Feb 26, 2008 at 12:58 PM, Josef Weidendorfer > <Jos...@gm...> wrote: > > On Tuesday 26 February 2008, Konstantin Serebryany wrote: > > > Does valgrind instrument each routine completely before starting > > > another routine (I beg my pardon for my ignorance here). > > > Why is this needed? > > Consider we have function FOO and BAR. (and for simplicity FOO calls BAR) > We want to instrument everything in FOO and not instrument BAR. > > We enter FOO for the first time and instrument it's first superblock. > Than we enter BAR and do not instrument it. > Than we exit BAR and we are in FOO again, and we need to instrument a > new portion of FOO, which is not the first in FOO. > So, 'check if a given instruction is the first of a function according > to debug information' is not sufficient. Do I miss something? You can always request the function any instruction is part of at instrumentation time. The check whether it is the first is about catching the function entry event. Josef |
|
From: Konstantin S. <kon...@gm...> - 2008-02-26 10:12:12
|
On Tue, Feb 26, 2008 at 12:58 PM, Josef Weidendorfer <Jos...@gm...> wrote: > On Tuesday 26 February 2008, Konstantin Serebryany wrote: > > >> At instrumentation time, check if a given instruction is the first > > of a function according to debug information. > > Is that reliable? > > Does valgrind instrument each routine completely before starting > > another routine (I beg my pardon for my ignorance here). > > No. That's what I though. > Why is this needed? Consider we have function FOO and BAR. (and for simplicity FOO calls BAR) We want to instrument everything in FOO and not instrument BAR. We enter FOO for the first time and instrument it's first superblock. Than we enter BAR and do not instrument it. Than we exit BAR and we are in FOO again, and we need to instrument a new portion of FOO, which is not the first in FOO. So, 'check if a given instruction is the first of a function according to debug information' is not sufficient. Do I miss something? --kcc > Only the parts which are to be executed are instrument before, at the > granularity of superblocks. This means that the function context can > change multiple times for one code piece to instrument. This can be > switched off to work on basic blocks instead (which Callgrind is doing). > > Josef > |
|
From: Josef W. <Jos...@gm...> - 2008-02-26 09:58:28
|
On Tuesday 26 February 2008, Konstantin Serebryany wrote: > >> At instrumentation time, check if a given instruction is the first > of a function according to debug information. > Is that reliable? > Does valgrind instrument each routine completely before starting > another routine (I beg my pardon for my ignorance here). No. Why is this needed? Only the parts which are to be executed are instrument before, at the granularity of superblocks. This means that the function context can change multiple times for one code piece to instrument. This can be switched off to work on basic blocks instead (which Callgrind is doing). Josef |
|
From: Konstantin S. <kon...@gm...> - 2008-02-26 09:39:23
|
When I asked this question I thought about detecting context-change during execuction, not instrumentation. But now I think I need this at instrumentation time. :) I implemented a mode in helgrind such that all instrumentation is performed, but no shadow value management (cache and state machine) is done. The difference in performance between this variation of helgrind and nulgrind is about 3x. So, I suppose that these 3x are due to the instrumentation code. Meanwhile there are cases when we can avoid instrumenting large portions of code because it is either trustworthy or we don't care about it and memory locations accessed there. >> At instrumentation time, check if a given instruction is the first of a function according to debug information. Is that reliable? Does valgrind instrument each routine completely before starting another routine (I beg my pardon for my ignorance here). Ideally, I would need to know the name of the instrumented routine inside helgrind's hg_instrument. Is that possible? >> In general, as VG is running machine code, and you probably define "context change" as C/C++/... function changes... What we see in the machine code is enough for me. If one wants more-or-less precise mapping to C/C++ functions he will need to disable all compiler optimizations. Thanks, --kcc On Fri, Feb 22, 2008 at 9:26 PM, Josef Weidendorfer <Jos...@gm...> wrote: > > On Friday 22 February 2008, Konstantin Serebryany wrote: > > Hi, > > > > A question similar to the one discussed in 'thread-change callback' thread. > > How can I see context change events (i.e. when some thread enters or > > exits a function)? > > Possibilities: > > * At instrumentation time, check if a given instruction is the first of > a function according to debug information. This way, you get "enter function" > events, but not "exit" events. Instrumenting also every exit can get complex, > and you probably end with something similar to part of Callgrinds functionality. > > * Extract the according functionality from Callgrind into a core module to > make it usable by every tool. There is a shadow callstack which is > resynchronized with the real one, making this approach quite robust. E.g. > it works with recursion, longjmps etc. > Drawback aside from not-existing module: slowdown because of an > instrumented callback at beginning of every basic block (could be optimized > to do the callback at end of BBs instead at beginning, and only when > changing the context). > > * For specific functions, functions wrappers can be installed. This redirects > jumps to the given function to another one you provide in a shared lib which > will be loaded by valgrind dependent on the tool. Function exits work this > way, as the wrapper has its stack frame on the client stack. Callbacks into > your tool have to be done via client requests from the wrapper. AFAIK, this > has problems with recursion and longjmps. > > In general, as VG is running machine code, and you probably define "context change" > as C/C++/... function changes, there is not always an exact relation among them, > and thus sometimes difficult whether a given execution should really trigger a > context change or not (e.g. with end recursion optimization). > > Josef > > > > |
|
From: Tom H. <th...@cy...> - 2008-02-26 06:11:03
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2008-02-26 03:15:03 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 362 tests, 98 stderr failures, 1 stdout failure, 29 post failures == memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-pool-0 (stderr) memcheck/tests/leak-pool-1 (stderr) memcheck/tests/leak-pool-2 (stderr) memcheck/tests/leak-pool-3 (stderr) memcheck/tests/leak-pool-4 (stderr) memcheck/tests/leak-pool-5 (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/lsframe1 (stderr) memcheck/tests/lsframe2 (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/noisy_child (stderr) memcheck/tests/partial_load_dflt (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/x86/bug152022 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/xor-undef-x86 (stderr) memcheck/tests/xml1 (stderr) massif/tests/alloc-fns-A (post) massif/tests/alloc-fns-B (post) massif/tests/basic (post) massif/tests/basic2 (post) massif/tests/big-alloc (post) massif/tests/culling1 (stderr) massif/tests/culling2 (stderr) massif/tests/custom_alloc (post) massif/tests/deep-A (post) massif/tests/deep-B (stderr) massif/tests/deep-B (post) massif/tests/deep-C (stderr) massif/tests/deep-C (post) massif/tests/deep-D (post) massif/tests/ignoring (post) massif/tests/insig (post) massif/tests/long-names (post) massif/tests/long-time (post) massif/tests/new-cpp (post) massif/tests/null (post) massif/tests/one (post) massif/tests/overloaded-new (post) 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 (post) massif/tests/thresholds_0_10 (post) massif/tests/thresholds_10_0 (post) massif/tests/thresholds_10_10 (post) massif/tests/thresholds_5_0 (post) massif/tests/thresholds_5_10 (post) massif/tests/zero1 (post) massif/tests/zero2 (post) none/tests/blockfault (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) 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/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/tc07_hbl1 (stderr) helgrind/tests/tc08_hbl2 (stderr) helgrind/tests/tc09_bad_unlock (stderr) 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/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) helgrind/tests/tc24_nonzero_sem (stderr) exp-drd/tests/fp_race (stderr) exp-drd/tests/fp_race2 (stderr) exp-drd/tests/hg01_all_ok (stderr) exp-drd/tests/hg02_deadlock (stderr) exp-drd/tests/hg03_inherit (stderr) exp-drd/tests/hg04_race (stderr) exp-drd/tests/hg05_race2 (stderr) exp-drd/tests/hg06_readshared (stderr) exp-drd/tests/matinv (stderr) exp-drd/tests/pth_barrier (stderr) exp-drd/tests/pth_broadcast (stderr) exp-drd/tests/pth_cond_race (stderr) exp-drd/tests/pth_cond_race2 (stderr) exp-drd/tests/pth_create_chain (stderr) exp-drd/tests/pth_detached (stderr) exp-drd/tests/pth_detached2 (stderr) exp-drd/tests/sem_as_mutex (stderr) exp-drd/tests/sem_as_mutex2 (stderr) exp-drd/tests/sigalrm (stderr) exp-drd/tests/tc01_simple_race (stderr) exp-drd/tests/tc02_simple_tls (stderr) exp-drd/tests/tc03_re_excl (stderr) exp-drd/tests/tc07_hbl1 (stderr) exp-drd/tests/tc09_bad_unlock (stderr) exp-drd/tests/tc11_XCHG (stderr) exp-drd/tests/tc12_rwl_trivial (stderr) exp-drd/tests/tc16_byterace (stderr) exp-drd/tests/tc17_sembar (stderr) exp-drd/tests/tc18_semabuse (stderr) exp-drd/tests/tc20_verifywrap (stderr) exp-drd/tests/tc21_pthonce (stderr) exp-drd/tests/tc22_exit_w_lock (stderr) exp-drd/tests/tc23_bogus_condwait (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 338 tests, 80 stderr failures, 1 stdout failure, 29 post failures == memcheck/tests/addressable (stderr) memcheck/tests/badjump (stderr) memcheck/tests/describe-block (stderr) memcheck/tests/erringfds (stderr) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-pool-0 (stderr) memcheck/tests/leak-pool-1 (stderr) memcheck/tests/leak-pool-2 (stderr) memcheck/tests/leak-pool-3 (stderr) memcheck/tests/leak-pool-4 (stderr) memcheck/tests/leak-pool-5 (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/lsframe1 (stderr) memcheck/tests/lsframe2 (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/match-overrun (stderr) memcheck/tests/noisy_child (stderr) memcheck/tests/partial_load_dflt (stderr) memcheck/tests/partial_load_ok (stderr) memcheck/tests/partiallydefinedeq (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/sigkill (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/x86/bug152022 (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) memcheck/tests/x86/xor-undef-x86 (stderr) memcheck/tests/xml1 (stderr) massif/tests/alloc-fns-A (post) massif/tests/alloc-fns-B (post) massif/tests/basic (post) massif/tests/basic2 (post) massif/tests/big-alloc (post) massif/tests/culling1 (stderr) massif/tests/culling2 (stderr) massif/tests/custom_alloc (post) massif/tests/deep-A (post) massif/tests/deep-B (stderr) massif/tests/deep-B (post) massif/tests/deep-C (stderr) massif/tests/deep-C (post) massif/tests/deep-D (post) massif/tests/ignoring (post) massif/tests/insig (post) massif/tests/long-names (post) massif/tests/long-time (post) massif/tests/new-cpp (post) massif/tests/null (post) massif/tests/one (post) massif/tests/overloaded-new (post) 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 (post) massif/tests/thresholds_0_10 (post) massif/tests/thresholds_10_0 (post) massif/tests/thresholds_10_10 (post) massif/tests/thresholds_5_0 (post) massif/tests/thresholds_5_10 (post) massif/tests/zero1 (post) massif/tests/zero2 (post) none/tests/blockfault (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) 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/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/tc07_hbl1 (stderr) helgrind/tests/tc08_hbl2 (stderr) helgrind/tests/tc09_bad_unlock (stderr) 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/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) helgrind/tests/tc24_nonzero_sem (stderr) exp-drd/tests/fp_race (stderr) exp-drd/tests/fp_race2 (stderr) exp-drd/tests/matinv (stderr) exp-drd/tests/pth_barrier (stderr) exp-drd/tests/pth_broadcast (stderr) exp-drd/tests/pth_cond_race (stderr) exp-drd/tests/pth_cond_race2 (stderr) exp-drd/tests/pth_create_chain (stderr) exp-drd/tests/pth_detached (stderr) exp-drd/tests/pth_detached2 (stderr) exp-drd/tests/sem_as_mutex (stderr) exp-drd/tests/sem_as_mutex2 (stderr) exp-drd/tests/sigalrm (stderr) exp-drd/tests/tc17_sembar (stderr) exp-drd/tests/tc18_semabuse (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Feb 26 04:48:11 2008 --- new.short Tue Feb 26 06:11:09 2008 *************** *** 8,10 **** ! == 338 tests, 80 stderr failures, 1 stdout failure, 29 post failures == memcheck/tests/addressable (stderr) --- 8,10 ---- ! == 362 tests, 98 stderr failures, 1 stdout failure, 29 post failures == memcheck/tests/addressable (stderr) *************** *** 106,107 **** --- 106,113 ---- exp-drd/tests/fp_race2 (stderr) + exp-drd/tests/hg01_all_ok (stderr) + exp-drd/tests/hg02_deadlock (stderr) + exp-drd/tests/hg03_inherit (stderr) + exp-drd/tests/hg04_race (stderr) + exp-drd/tests/hg05_race2 (stderr) + exp-drd/tests/hg06_readshared (stderr) exp-drd/tests/matinv (stderr) *************** *** 117,120 **** --- 123,138 ---- exp-drd/tests/sigalrm (stderr) + exp-drd/tests/tc01_simple_race (stderr) + exp-drd/tests/tc02_simple_tls (stderr) + exp-drd/tests/tc03_re_excl (stderr) + exp-drd/tests/tc07_hbl1 (stderr) + exp-drd/tests/tc09_bad_unlock (stderr) + exp-drd/tests/tc11_XCHG (stderr) + exp-drd/tests/tc12_rwl_trivial (stderr) + exp-drd/tests/tc16_byterace (stderr) exp-drd/tests/tc17_sembar (stderr) exp-drd/tests/tc18_semabuse (stderr) + exp-drd/tests/tc20_verifywrap (stderr) + exp-drd/tests/tc21_pthonce (stderr) + exp-drd/tests/tc22_exit_w_lock (stderr) + exp-drd/tests/tc23_bogus_condwait (stderr) |
|
From: Tom H. <th...@cy...> - 2008-02-26 04:08:15
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2008-02-26 03:05:09 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 396 tests, 9 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) memcheck/tests/xml1 (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) exp-drd/tests/hg03_inherit (stderr) exp-drd/tests/tc22_exit_w_lock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 372 tests, 8 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/scalar (stderr) memcheck/tests/xml1 (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) exp-drd/tests/pth_barrier (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Feb 26 03:35:58 2008 --- new.short Tue Feb 26 04:08:17 2008 *************** *** 8,10 **** ! == 372 tests, 8 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) --- 8,10 ---- ! == 396 tests, 9 stderr failures, 2 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) *************** *** 18,20 **** helgrind/tests/tc22_exit_w_lock (stderr) ! exp-drd/tests/pth_barrier (stderr) --- 18,21 ---- helgrind/tests/tc22_exit_w_lock (stderr) ! exp-drd/tests/hg03_inherit (stderr) ! exp-drd/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-02-26 03:50:43
|
Nightly build on aston ( x86_64, Fedora Core 5 ) started at 2008-02-26 03:20:07 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 402 tests, 11 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/xml1 (stderr) none/tests/blockfault (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) exp-drd/tests/hg03_inherit (stderr) exp-drd/tests/pth_barrier (stderr) exp-drd/tests/tc22_exit_w_lock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 378 tests, 9 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/xml1 (stderr) none/tests/blockfault (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) exp-drd/tests/pth_barrier (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Feb 26 03:33:50 2008 --- new.short Tue Feb 26 03:50:46 2008 *************** *** 8,10 **** ! == 378 tests, 9 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/malloc_free_fill (stderr) --- 8,10 ---- ! == 402 tests, 11 stderr failures, 1 stdout failure, 0 post failures == memcheck/tests/malloc_free_fill (stderr) *************** *** 18,20 **** --- 18,22 ---- helgrind/tests/tc22_exit_w_lock (stderr) + exp-drd/tests/hg03_inherit (stderr) exp-drd/tests/pth_barrier (stderr) + exp-drd/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-02-26 03:43:34
|
Nightly build on trojan ( x86_64, Fedora Core 6 ) started at 2008-02-26 03:25:05 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 400 tests, 8 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/bug133694 (stdout) memcheck/tests/x86/bug133694 (stderr) memcheck/tests/x86/scalar (stderr) none/tests/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) exp-drd/tests/tc22_exit_w_lock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 376 tests, 7 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) memcheck/tests/vcpu_fnfns (stdout) memcheck/tests/x86/bug133694 (stdout) memcheck/tests/x86/bug133694 (stderr) memcheck/tests/x86/scalar (stderr) none/tests/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap (stderr) none/tests/mremap2 (stdout) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc22_exit_w_lock (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Feb 26 03:31:40 2008 --- new.short Tue Feb 26 03:43:36 2008 *************** *** 8,10 **** ! == 376 tests, 7 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) --- 8,10 ---- ! == 400 tests, 8 stderr failures, 5 stdout failures, 0 post failures == memcheck/tests/pointer-trace (stderr) *************** *** 21,22 **** --- 21,23 ---- helgrind/tests/tc22_exit_w_lock (stderr) + exp-drd/tests/tc22_exit_w_lock (stderr) |
|
From: Tom H. <th...@cy...> - 2008-02-26 03:15:17
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-02-26 03:00:05 GMT Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 402 tests, 32 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/amd64/insn_ssse3 (stdout) none/tests/amd64/insn_ssse3 (stderr) none/tests/amd64/ssse3_misaligned (stderr) none/tests/blockfault (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/x86/insn_ssse3 (stdout) none/tests/x86/insn_ssse3 (stderr) none/tests/x86/ssse3_misaligned (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/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) exp-drd/tests/pth_barrier (stderr) exp-drd/tests/tc20_verifywrap (stderr) exp-drd/tests/tc22_exit_w_lock (stderr) ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... done Running regression tests ... failed Regression test results follow == 378 tests, 30 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/x86/scalar (stderr) memcheck/tests/x86/scalar_supp (stderr) none/tests/amd64/insn_ssse3 (stdout) none/tests/amd64/insn_ssse3 (stderr) none/tests/amd64/ssse3_misaligned (stderr) none/tests/blockfault (stderr) none/tests/fdleak_fcntl (stderr) none/tests/mremap (stderr) none/tests/mremap2 (stdout) none/tests/x86/insn_ssse3 (stdout) none/tests/x86/insn_ssse3 (stderr) none/tests/x86/ssse3_misaligned (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/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) helgrind/tests/tc06_two_races (stderr) helgrind/tests/tc09_bad_unlock (stderr) helgrind/tests/tc14_laog_dinphils (stderr) helgrind/tests/tc16_byterace (stderr) helgrind/tests/tc17_sembar (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) helgrind/tests/tc23_bogus_condwait (stderr) exp-drd/tests/pth_barrier (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Tue Feb 26 03:07:38 2008 --- new.short Tue Feb 26 03:15:16 2008 *************** *** 8,10 **** ! == 378 tests, 30 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) --- 8,10 ---- ! == 402 tests, 32 stderr failures, 3 stdout failures, 0 post failures == memcheck/tests/malloc_free_fill (stderr) *************** *** 42,43 **** --- 42,45 ---- exp-drd/tests/pth_barrier (stderr) + exp-drd/tests/tc20_verifywrap (stderr) + exp-drd/tests/tc22_exit_w_lock (stderr) |
|
From: <sv...@va...> - 2008-02-26 01:10:05
|
Author: sewardj
Date: 2008-02-26 01:10:07 +0000 (Tue, 26 Feb 2008)
New Revision: 7471
Log:
Comment-only change.
Modified:
branches/DATASYMS/coregrind/m_debuginfo/readdwarf3.c
Modified: branches/DATASYMS/coregrind/m_debuginfo/readdwarf3.c
===================================================================
--- branches/DATASYMS/coregrind/m_debuginfo/readdwarf3.c 2008-02-26 01:09:37 UTC (rev 7470)
+++ branches/DATASYMS/coregrind/m_debuginfo/readdwarf3.c 2008-02-26 01:10:07 UTC (rev 7471)
@@ -105,6 +105,11 @@
whether or not they advanced the DIE cursor, and only if they
didn't should read_DIE itself read through the DIE.
+ ML_(addVar) and add_var_to_arange: quite a lot of DiAddrRanges have
+ zero variables in their .vars XArray. Rather than have an XArray
+ with zero elements (which uses 2 malloc'd blocks), allow the .vars
+ pointer to be NULL in this case.
+
More generally, reduce the amount of memory allocated and freed
while reading Dwarf3 type/variable information. Even modest (20MB)
objects cause this module to allocate and free hundreds of
|
|
From: <sv...@va...> - 2008-02-26 01:09:34
|
Author: sewardj
Date: 2008-02-26 01:09:37 +0000 (Tue, 26 Feb 2008)
New Revision: 7470
Log:
ML_(describe_type): fill in missing cases
Modified:
branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h
branches/DATASYMS/coregrind/m_debuginfo/tytypes.c
Modified: branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h
===================================================================
--- branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h 2008-02-26 00:38:38 UTC (rev 7469)
+++ branches/DATASYMS/coregrind/m_debuginfo/priv_tytypes.h 2008-02-26 01:09:37 UTC (rev 7470)
@@ -83,7 +83,7 @@
};
struct _Type {
- enum { Ty_Base=30, Ty_PorR, Ty_Ref, Ty_TyDef, Ty_StOrUn,
+ enum { Ty_Base=30, Ty_PorR, Ty_TyDef, Ty_StOrUn,
Ty_Enum, Ty_Array, Ty_Fn, Ty_Qual, Ty_Void } tag;
union {
struct {
Modified: branches/DATASYMS/coregrind/m_debuginfo/tytypes.c
===================================================================
--- branches/DATASYMS/coregrind/m_debuginfo/tytypes.c 2008-02-26 00:38:38 UTC (rev 7469)
+++ branches/DATASYMS/coregrind/m_debuginfo/tytypes.c 2008-02-26 01:09:37 UTC (rev 7470)
@@ -442,6 +442,12 @@
switch (ty->tag) {
+ /* These are all atomic types; there is nothing useful we can
+ do. */
+ case Ty_Enum:
+ case Ty_Fn:
+ case Ty_Void:
+ case Ty_PorR:
case Ty_Base:
goto done;
@@ -546,6 +552,7 @@
VG_(printf)("\n");
vg_assert(0);
}
+
}
}
|
|
From: <sv...@va...> - 2008-02-26 00:38:35
|
Author: sewardj
Date: 2008-02-26 00:38:38 +0000 (Tue, 26 Feb 2008)
New Revision: 7469
Log:
Tolerate (by ignoring) DW_AT_data_member_location in a DW_TAG_member
which is part of a DW_TAG_union_type.
Modified:
branches/DATASYMS/coregrind/m_debuginfo/readdwarf3.c
Modified: branches/DATASYMS/coregrind/m_debuginfo/readdwarf3.c
===================================================================
--- branches/DATASYMS/coregrind/m_debuginfo/readdwarf3.c 2008-02-26 00:37:24 UTC (rev 7468)
+++ branches/DATASYMS/coregrind/m_debuginfo/readdwarf3.c 2008-02-26 00:38:38 UTC (rev 7469)
@@ -2132,7 +2132,10 @@
if (parser->qparent[parser->sp]->tag != Ty_StOrUn) goto bad_DIE;
/* Do we have something that looks sane? If this a member of a
struct, we must have a location expression; but if a member
- of a union that is irrelevant and so we reject it. */
+ of a union that is irrelevant (D3 spec sec 5.6.6). We ought
+ to reject in the latter case, but some compilers have been
+ observed to emit constant-zero expressions. So just ignore
+ them. */
parent_is_struct
= parser->qparent[parser->sp]->Ty.StOrUn.isStruct;
if (!field->name)
@@ -2141,8 +2144,12 @@
goto bad_DIE;
if (parent_is_struct && (!expr))
goto bad_DIE;
- if ((!parent_is_struct) && expr)
- goto bad_DIE;
+ if ((!parent_is_struct) && expr) {
+ /* If this is a union type, pretend we haven't seen the data
+ member location expression, as it is by definition
+ redundant (it must be zero). */
+ expr = NULL;
+ }
/* Record this child in the parent */
field->isStruct = parent_is_struct;
if (expr)
|
|
From: <sv...@va...> - 2008-02-26 00:37:21
|
Author: sewardj
Date: 2008-02-26 00:37:24 +0000 (Tue, 26 Feb 2008)
New Revision: 7468
Log:
Accept .eh_frame mapped in a rw- area, if it isn't mapped in an r-x area.
Modified:
branches/DATASYMS/coregrind/m_debuginfo/readelf.c
Modified: branches/DATASYMS/coregrind/m_debuginfo/readelf.c
===================================================================
--- branches/DATASYMS/coregrind/m_debuginfo/readelf.c 2008-02-25 20:41:07 UTC (rev 7467)
+++ branches/DATASYMS/coregrind/m_debuginfo/readelf.c 2008-02-26 00:37:24 UTC (rev 7468)
@@ -1246,9 +1246,11 @@
TRACE_SYMTAB("\n");
TRACE_SYMTAB("------ Examining the section headers "
"and program headers ------\n");
- TRACE_SYMTAB("rx: foffsets %ld .. %ld\n",
+ TRACE_SYMTAB("rx: at %p are mapped foffsets %ld .. %ld\n",
+ di->rx_map_avma,
di->rx_map_foff, di->rx_map_foff + di->rx_map_size - 1 );
- TRACE_SYMTAB("rw: foffsets %ld .. %ld\n",
+ TRACE_SYMTAB("rw: at %p are mapped foffsets %ld .. %ld\n",
+ di->rw_map_avma,
di->rw_map_foff, di->rw_map_foff + di->rw_map_size - 1 );
for (i = 0; i < shdr_nent; i++) {
@@ -1494,13 +1496,21 @@
}
}
- /* Accept .eh_frame where mapped as rx (code) (?!) */
+ /* Accept .eh_frame where mapped as rx (code). This seems to be
+ the common case. However, if that doesn't pan out, try for
+ rw (data) instead. */
if (0 == VG_(strcmp)(name, ".eh_frame")) {
if (inrx && size > 0 && !di->ehframe_present) {
di->ehframe_present = True;
di->ehframe_avma = di->rx_map_avma + foff - di->rx_map_foff;
di->ehframe_size = size;
TRACE_SYMTAB("acquiring .eh_frame avma = %p\n", di->ehframe_avma);
+ } else
+ if (inrw && size > 0 && !di->ehframe_present) {
+ di->ehframe_present = True;
+ di->ehframe_avma = di->rw_map_avma + foff - di->rw_map_foff;
+ di->ehframe_size = size;
+ TRACE_SYMTAB("acquiring .eh_frame avma = %p\n", di->ehframe_avma);
} else {
BAD(".eh_frame");
}
|
|
From: Nicholas N. <nj...@cs...> - 2008-02-25 21:31:29
|
On Mon, 25 Feb 2008, Bart Van Assche wrote: > While all exp-drd regression tests ran fine on my development system, > the pth_barrier regression test failed on all systems the nightly > build ran on. The result of this regression test must be that a single > data race is be reported. Depending on how the Valgrind core scheduled > the threads of this test, the data race is either reported in thread 2 > or in thread 3. Furthermore, the details of the call stacks printed > depend on the glibc library used during the test. So I would like to > change this test such that only the number of errors is compared > during the regression tests instead of the full output. I would like > to have a facility to suppress the output of the error messages > generated by a tool while keeping the error count summary. Should I > implement such functionality in the Valgrind core or in the exp-drd > tool ? For this specific problem, it would be easier to use a filter script for the test output, to remove the information you don't want. See the comment at the top of tests/vg_regtest, particular the stuff about "stderr_filter"/"stdout_filter". Nick |
|
From: <sv...@va...> - 2008-02-25 20:41:06
|
Author: bart Date: 2008-02-25 20:41:07 +0000 (Mon, 25 Feb 2008) New Revision: 7467 Log: Added to repository. Added: trunk/exp-drd/tests/tc11_XCHG.stdout.exp Added: trunk/exp-drd/tests/tc11_XCHG.stdout.exp =================================================================== --- trunk/exp-drd/tests/tc11_XCHG.stdout.exp (rev 0) +++ trunk/exp-drd/tests/tc11_XCHG.stdout.exp 2008-02-25 20:41:07 UTC (rev 7467) @@ -0,0 +1 @@ +success |
|
From: <sv...@va...> - 2008-02-25 20:40:49
|
Author: bart
Date: 2008-02-25 20:40:52 +0000 (Mon, 25 Feb 2008)
New Revision: 7466
Log:
Fixed typo.
Modified:
trunk/exp-drd/tests/Makefile.am
Modified: trunk/exp-drd/tests/Makefile.am
===================================================================
--- trunk/exp-drd/tests/Makefile.am 2008-02-25 20:34:15 UTC (rev 7465)
+++ trunk/exp-drd/tests/Makefile.am 2008-02-25 20:40:52 UTC (rev 7466)
@@ -62,7 +62,7 @@
tc10_rec_lock.vgtest \
tc10_rec_lock.stderr.exp \
tc11_XCHG.vgtest \
- tc11_XCHG.stderr.exp tc11_XCHG.stderr.exp \
+ tc11_XCHG.stderr.exp tc11_XCHG.stdout.exp \
tc12_rwl_trivial.vgtest \
tc12_rwl_trivial.stderr.exp \
tc13_laog1.vgtest \
|
|
From: <sv...@va...> - 2008-02-25 20:34:15
|
Author: bart
Date: 2008-02-25 20:34:15 +0000 (Mon, 25 Feb 2008)
New Revision: 7465
Log:
Fixed more Fedora 8 regression test failures.
Added:
trunk/exp-drd/tests/tc07_hbl1.stdout.exp
trunk/exp-drd/tests/tc21_pthonce.stdout.exp
Modified:
trunk/exp-drd/tests/Makefile.am
Modified: trunk/exp-drd/tests/Makefile.am
===================================================================
--- trunk/exp-drd/tests/Makefile.am 2008-02-25 20:25:41 UTC (rev 7464)
+++ trunk/exp-drd/tests/Makefile.am 2008-02-25 20:34:15 UTC (rev 7465)
@@ -56,13 +56,13 @@
tc04_free_lock.vgtest \
tc04_free_lock.stderr.exp \
tc07_hbl1.vgtest \
- tc07_hbl1.stderr.exp \
+ tc07_hbl1.stderr.exp tc07_hbl1.stdout.exp \
tc09_bad_unlock.vgtest \
tc09_bad_unlock.stderr.exp \
tc10_rec_lock.vgtest \
tc10_rec_lock.stderr.exp \
tc11_XCHG.vgtest \
- tc11_XCHG.stderr.exp \
+ tc11_XCHG.stderr.exp tc11_XCHG.stderr.exp \
tc12_rwl_trivial.vgtest \
tc12_rwl_trivial.stderr.exp \
tc13_laog1.vgtest \
@@ -80,7 +80,7 @@
tc20_verifywrap.vgtest \
tc20_verifywrap.stderr.exp \
tc21_pthonce.vgtest \
- tc21_pthonce.stderr.exp \
+ tc21_pthonce.stderr.exp tc21_pthonce.stdout.exp \
tc22_exit_w_lock.vgtest \
tc22_exit_w_lock.stderr.exp \
tc23_bogus_condwait.vgtest \
Added: trunk/exp-drd/tests/tc07_hbl1.stdout.exp
===================================================================
--- trunk/exp-drd/tests/tc07_hbl1.stdout.exp (rev 0)
+++ trunk/exp-drd/tests/tc07_hbl1.stdout.exp 2008-02-25 20:34:15 UTC (rev 7465)
@@ -0,0 +1 @@
+x = 2
Added: trunk/exp-drd/tests/tc21_pthonce.stdout.exp
===================================================================
--- trunk/exp-drd/tests/tc21_pthonce.stdout.exp (rev 0)
+++ trunk/exp-drd/tests/tc21_pthonce.stdout.exp 2008-02-25 20:34:15 UTC (rev 7465)
@@ -0,0 +1,4 @@
+welcome: Welcome
+child: Hi, I'm thread 0
+child: Hi, I'm thread 1
+main: Goodbye
|
|
From: <sv...@va...> - 2008-02-25 20:25:45
|
Author: bart
Date: 2008-02-25 20:25:41 +0000 (Mon, 25 Feb 2008)
New Revision: 7464
Log:
Fixed most Fedora 8 regression test failures.
Added:
trunk/exp-drd/tests/hg03_inherit.stderr.exp2
trunk/exp-drd/tests/hg04_race.stderr.exp2
trunk/exp-drd/tests/pth_barrier.stderr.exp-thread2b
trunk/exp-drd/tests/tc01_simple_race.stderr.exp2
trunk/exp-drd/tests/tc07_hbl1.stderr.exp2
trunk/exp-drd/tests/tc11_XCHG.stderr.exp2
trunk/exp-drd/tests/tc16_byterace.stderr.exp2
trunk/exp-drd/tests/tc22_exit_w_lock.stderr.exp-32bit
Modified:
trunk/exp-drd/tests/hg03_inherit.stderr.exp
trunk/exp-drd/tests/hg04_race.stderr.exp
trunk/exp-drd/tests/hg05_race2.stderr.exp
trunk/exp-drd/tests/tc01_simple_race.stderr.exp
trunk/exp-drd/tests/tc07_hbl1.stderr.exp
trunk/exp-drd/tests/tc11_XCHG.stderr.exp
trunk/exp-drd/tests/tc16_byterace.stderr.exp
Modified: trunk/exp-drd/tests/hg03_inherit.stderr.exp
===================================================================
--- trunk/exp-drd/tests/hg03_inherit.stderr.exp 2008-02-25 20:25:10 UTC (rev 7463)
+++ trunk/exp-drd/tests/hg03_inherit.stderr.exp 2008-02-25 20:25:41 UTC (rev 7464)
@@ -5,7 +5,7 @@
by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
by 0x........: start_thread (in libpthread-?.?.so)
by 0x........: clone (in /...libc...)
-Allocation context: unknown
+Allocation context: shared (offset 4, size 8) in hg03_inherit, NONE:BSS
Other segment start (thread 1)
at 0x........: pthread_join (drd_intercepts.c:?)
by 0x........: main (hg03_inherit.c:49)
@@ -19,7 +19,7 @@
by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
by 0x........: start_thread (in libpthread-?.?.so)
by 0x........: clone (in /...libc...)
-Allocation context: unknown
+Allocation context: shared (offset 4, size 8) in hg03_inherit, NONE:BSS
Other segment start (thread 1)
at 0x........: pthread_join (drd_intercepts.c:?)
by 0x........: main (hg03_inherit.c:49)
Added: trunk/exp-drd/tests/hg03_inherit.stderr.exp2
===================================================================
--- trunk/exp-drd/tests/hg03_inherit.stderr.exp2 (rev 0)
+++ trunk/exp-drd/tests/hg03_inherit.stderr.exp2 2008-02-25 20:25:41 UTC (rev 7464)
@@ -0,0 +1,31 @@
+
+Thread 3:
+Conflicting store by thread 3 at 0x........ size 4
+ at 0x........: t2 (hg03_inherit.c:28)
+ by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+ by 0x........: start_thread (in libpthread-?.?.so)
+ by 0x........: clone (in /...libc...)
+Allocation context: unknown
+Other segment start (thread 1)
+ at 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (hg03_inherit.c:49)
+Other segment end (thread 1)
+ at 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (hg03_inherit.c:63)
+
+Conflicting store by thread 3 at 0x........ size 4
+ at 0x........: t2 (hg03_inherit.c:29)
+ by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+ by 0x........: start_thread (in libpthread-?.?.so)
+ by 0x........: clone (in /...libc...)
+Allocation context: unknown
+Other segment start (thread 1)
+ at 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (hg03_inherit.c:49)
+Other segment end (thread 1)
+ at 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (hg03_inherit.c:63)
+
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Modified: trunk/exp-drd/tests/hg04_race.stderr.exp
===================================================================
--- trunk/exp-drd/tests/hg04_race.stderr.exp 2008-02-25 20:25:10 UTC (rev 7463)
+++ trunk/exp-drd/tests/hg04_race.stderr.exp 2008-02-25 20:25:41 UTC (rev 7464)
@@ -5,7 +5,7 @@
by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
by 0x........: start_thread (in libpthread-?.?.so)
by 0x........: clone (in /...libc...)
-Allocation context: unknown
+Allocation context: shared (offset 0, size 4) in hg04_race, NONE:BSS
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
@@ -16,7 +16,7 @@
by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
by 0x........: start_thread (in libpthread-?.?.so)
by 0x........: clone (in /...libc...)
-Allocation context: unknown
+Allocation context: shared (offset 0, size 4) in hg04_race, NONE:BSS
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
Added: trunk/exp-drd/tests/hg04_race.stderr.exp2
===================================================================
--- trunk/exp-drd/tests/hg04_race.stderr.exp2 (rev 0)
+++ trunk/exp-drd/tests/hg04_race.stderr.exp2 2008-02-25 20:25:41 UTC (rev 7464)
@@ -0,0 +1,25 @@
+
+Thread 2:
+Conflicting load by thread 2 at 0x........ size 4
+ at 0x........: th (hg04_race.c:10)
+ by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+ by 0x........: start_thread (in libpthread-?.?.so)
+ by 0x........: clone (in /...libc...)
+Allocation context: unknown
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 2 at 0x........ size 4
+ at 0x........: th (hg04_race.c:10)
+ by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+ by 0x........: start_thread (in libpthread-?.?.so)
+ by 0x........: clone (in /...libc...)
+Allocation context: unknown
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Modified: trunk/exp-drd/tests/hg05_race2.stderr.exp
===================================================================
--- trunk/exp-drd/tests/hg05_race2.stderr.exp 2008-02-25 20:25:10 UTC (rev 7463)
+++ trunk/exp-drd/tests/hg05_race2.stderr.exp 2008-02-25 20:25:41 UTC (rev 7464)
@@ -5,7 +5,7 @@
by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
by 0x........: start_thread (in libpthread-?.?.so)
by 0x........: clone (in /...libc...)
-Allocation context: stack of thread 1, offset -5584
+Allocation context: stack of thread 1, offset ...
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
@@ -16,7 +16,7 @@
by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
by 0x........: start_thread (in libpthread-?.?.so)
by 0x........: clone (in /...libc...)
-Allocation context: stack of thread 1, offset -5584
+Allocation context: stack of thread 1, offset ...
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
Added: trunk/exp-drd/tests/pth_barrier.stderr.exp-thread2b
===================================================================
--- trunk/exp-drd/tests/pth_barrier.stderr.exp-thread2b (rev 0)
+++ trunk/exp-drd/tests/pth_barrier.stderr.exp-thread2b 2008-02-25 20:25:41 UTC (rev 7464)
@@ -0,0 +1,25 @@
+
+Thread 2:
+Conflicting store by thread 2 at 0x........ size 4
+ at 0x........: threadfunc (pth_barrier.c:?)
+ by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+ by 0x........: start_thread (in libpthread-?.?.so)
+ by 0x........: clone (in /...libc...)
+Allocation context: heap, offset 0 in block at 0x........ of size 4
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: barriers_and_races (pth_barrier.c:?)
+ by 0x........: main (pth_barrier.c:?)
+Other segment start (thread 3)
+ at 0x........: pthread_barrier_wait (drd_intercepts.c:?)
+ by 0x........: threadfunc (pth_barrier.c:?)
+ by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+ by 0x........: start_thread (in libpthread-?.?.so)
+ by 0x........: clone (in /...libc...)
+Other segment end (thread 3)
+ at 0x........: __lll_lock_wait (in libpthread-?.?.so)
+ by 0x........: threadfunc (pth_barrier.c:?)
+ by 0x........: vg_thread_wrapper (drd_intercepts.c:?)
+ by 0x........: start_thread (in libpthread-?.?.so)
+ by 0x........: clone (in /...libc...)
+
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Modified: trunk/exp-drd/tests/tc01_simple_race.stderr.exp
===================================================================
--- trunk/exp-drd/tests/tc01_simple_race.stderr.exp 2008-02-25 20:25:10 UTC (rev 7463)
+++ trunk/exp-drd/tests/tc01_simple_race.stderr.exp 2008-02-25 20:25:41 UTC (rev 7464)
@@ -1,7 +1,7 @@
Conflicting load by thread 1 at 0x........ size 4
at 0x........: main (tc01_simple_race.c:28)
-Allocation context: unknown
+Allocation context: x (offset 0, size 4) in tc01_simple_race, NONE:BSS
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
@@ -9,7 +9,7 @@
Conflicting store by thread 1 at 0x........ size 4
at 0x........: main (tc01_simple_race.c:28)
-Allocation context: unknown
+Allocation context: x (offset 0, size 4) in tc01_simple_race, NONE:BSS
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
Added: trunk/exp-drd/tests/tc01_simple_race.stderr.exp2
===================================================================
--- trunk/exp-drd/tests/tc01_simple_race.stderr.exp2 (rev 0)
+++ trunk/exp-drd/tests/tc01_simple_race.stderr.exp2 2008-02-25 20:25:41 UTC (rev 7464)
@@ -0,0 +1,18 @@
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main (tc01_simple_race.c:28)
+Allocation context: unknown
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: main (tc01_simple_race.c:28)
+Allocation context: unknown
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Modified: trunk/exp-drd/tests/tc07_hbl1.stderr.exp
===================================================================
--- trunk/exp-drd/tests/tc07_hbl1.stderr.exp 2008-02-25 20:25:10 UTC (rev 7463)
+++ trunk/exp-drd/tests/tc07_hbl1.stderr.exp 2008-02-25 20:25:41 UTC (rev 7464)
@@ -1,7 +1,7 @@
Conflicting load by thread 1 at 0x........ size 4
at 0x........: main (tc07_hbl1.c:68)
-Allocation context: unknown
+Allocation context: x (offset 0, size 4) in tc07_hbl1, NONE:BSS
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
@@ -9,7 +9,7 @@
Conflicting store by thread 1 at 0x........ size 4
at 0x........: main (tc07_hbl1.c:68)
-Allocation context: unknown
+Allocation context: x (offset 0, size 4) in tc07_hbl1, NONE:BSS
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
Added: trunk/exp-drd/tests/tc07_hbl1.stderr.exp2
===================================================================
--- trunk/exp-drd/tests/tc07_hbl1.stderr.exp2 (rev 0)
+++ trunk/exp-drd/tests/tc07_hbl1.stderr.exp2 2008-02-25 20:25:41 UTC (rev 7464)
@@ -0,0 +1,18 @@
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main (tc07_hbl1.c:68)
+Allocation context: unknown
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: main (tc07_hbl1.c:68)
+Allocation context: unknown
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Modified: trunk/exp-drd/tests/tc11_XCHG.stderr.exp
===================================================================
--- trunk/exp-drd/tests/tc11_XCHG.stderr.exp 2008-02-25 20:25:10 UTC (rev 7463)
+++ trunk/exp-drd/tests/tc11_XCHG.stderr.exp 2008-02-25 20:25:41 UTC (rev 7464)
@@ -1,7 +1,7 @@
Conflicting load by thread 1 at 0x........ size 4
at 0x........: main (tc11_XCHG.c:78)
-Allocation context: unknown
+Allocation context: x (offset 0, size 4) in tc11_XCHG, NONE:BSS
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
@@ -9,7 +9,7 @@
Conflicting store by thread 1 at 0x........ size 4
at 0x........: main (tc11_XCHG.c:78)
-Allocation context: unknown
+Allocation context: x (offset 0, size 4) in tc11_XCHG, NONE:BSS
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
Added: trunk/exp-drd/tests/tc11_XCHG.stderr.exp2
===================================================================
--- trunk/exp-drd/tests/tc11_XCHG.stderr.exp2 (rev 0)
+++ trunk/exp-drd/tests/tc11_XCHG.stderr.exp2 2008-02-25 20:25:41 UTC (rev 7464)
@@ -0,0 +1,18 @@
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: main (tc11_XCHG.c:78)
+Allocation context: unknown
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: main (tc11_XCHG.c:78)
+Allocation context: unknown
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Modified: trunk/exp-drd/tests/tc16_byterace.stderr.exp
===================================================================
--- trunk/exp-drd/tests/tc16_byterace.stderr.exp 2008-02-25 20:25:10 UTC (rev 7463)
+++ trunk/exp-drd/tests/tc16_byterace.stderr.exp 2008-02-25 20:25:41 UTC (rev 7464)
@@ -1,7 +1,7 @@
Conflicting load by thread 1 at 0x........ size 1
at 0x........: main (tc16_byterace.c:34)
-Allocation context: unknown
+Allocation context: bytes (offset 4, size 10) in tc16_byterace, NONE:BSS
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
@@ -9,7 +9,7 @@
Conflicting store by thread 1 at 0x........ size 1
at 0x........: main (tc16_byterace.c:34)
-Allocation context: unknown
+Allocation context: bytes (offset 4, size 10) in tc16_byterace, NONE:BSS
Other segment start (thread 2)
(thread finished, call stack no longer available)
Other segment end (thread 2)
Added: trunk/exp-drd/tests/tc16_byterace.stderr.exp2
===================================================================
--- trunk/exp-drd/tests/tc16_byterace.stderr.exp2 (rev 0)
+++ trunk/exp-drd/tests/tc16_byterace.stderr.exp2 2008-02-25 20:25:41 UTC (rev 7464)
@@ -0,0 +1,18 @@
+
+Conflicting load by thread 1 at 0x........ size 1
+ at 0x........: main (tc16_byterace.c:34)
+Allocation context: unknown
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 1
+ at 0x........: main (tc16_byterace.c:34)
+Allocation context: unknown
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Added: trunk/exp-drd/tests/tc22_exit_w_lock.stderr.exp-32bit
===================================================================
--- trunk/exp-drd/tests/tc22_exit_w_lock.stderr.exp-32bit (rev 0)
+++ trunk/exp-drd/tests/tc22_exit_w_lock.stderr.exp-32bit 2008-02-25 20:25:41 UTC (rev 7464)
@@ -0,0 +1,134 @@
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_cache_lock (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_cache_lock (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_used (offset 4, size 8) in libpthread-?.?.so, libpthread.so.0:Data
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_used (offset 0, size 8) in libpthread-?.?.so, libpthread.so.0:Data
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_cache (offset 0, size 8) in libpthread-?.?.so, libpthread.so.0:Data
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_cache (offset 4, size 8) in libpthread-?.?.so, libpthread.so.0:Data
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_cache_actsize (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_cache (offset 0, size 8) in libpthread-?.?.so, libpthread.so.0:Data
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_cache_actsize (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting load by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_cache_lock (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+Conflicting store by thread 1 at 0x........ size 4
+ at 0x........: __deallocate_stack (in libpthread-?.?.so)
+ by 0x........: __free_tcb (in libpthread-?.?.so)
+ by 0x........: pthread_join (in libpthread-?.?.so)
+ by 0x........: pthread_join (drd_intercepts.c:?)
+ by 0x........: main (tc22_exit_w_lock.c:43)
+Allocation context: stack_cache_lock (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS
+Other segment start (thread 2)
+ (thread finished, call stack no longer available)
+Other segment end (thread 2)
+ (thread finished, call stack no longer available)
+
+ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
|
|
From: <sv...@va...> - 2008-02-25 20:25:21
|
Author: bart Date: 2008-02-25 20:25:10 +0000 (Mon, 25 Feb 2008) New Revision: 7463 Log: Filter out stack offset of stack variables. Modified: trunk/exp-drd/tests/filter_stderr Modified: trunk/exp-drd/tests/filter_stderr =================================================================== --- trunk/exp-drd/tests/filter_stderr 2008-02-25 19:58:25 UTC (rev 7462) +++ trunk/exp-drd/tests/filter_stderr 2008-02-25 20:25:10 UTC (rev 7463) @@ -10,6 +10,7 @@ # Remove line numbers from stack traces. sed \ -e "/^exp-drd, a data race detector\.$/d" \ +-e "s/^Allocation context: stack of thread \([0-9]*\), offset -[0-9]*$/Allocation context: stack of thread \1, offset .../" \ -e "/^NOTE: This is an Experimental-Class Valgrind Tool.$/d" \ -e "/^Copyright (C) 2006-200., and GNU GPL'd, by Bart Van Assche.$/d" \ -e "s/\(pthread_create.c:[0-9]*\)/in libpthread-?.?.so/" \ |
|
From: <sv...@va...> - 2008-02-25 19:58:23
|
Author: bart Date: 2008-02-25 19:58:25 +0000 (Mon, 25 Feb 2008) New Revision: 7462 Log: Added more of Helgrind's regression tests. Added: trunk/exp-drd/tests/hg01_all_ok.stderr.exp trunk/exp-drd/tests/hg01_all_ok.vgtest trunk/exp-drd/tests/hg02_deadlock.stderr.exp trunk/exp-drd/tests/hg02_deadlock.vgtest trunk/exp-drd/tests/hg03_inherit.stderr.exp trunk/exp-drd/tests/hg03_inherit.vgtest trunk/exp-drd/tests/hg04_race.stderr.exp trunk/exp-drd/tests/hg04_race.vgtest trunk/exp-drd/tests/hg05_race2.stderr.exp trunk/exp-drd/tests/hg05_race2.vgtest trunk/exp-drd/tests/hg06_readshared.stderr.exp trunk/exp-drd/tests/hg06_readshared.vgtest trunk/exp-drd/tests/tc01_simple_race.stderr.exp trunk/exp-drd/tests/tc01_simple_race.vgtest trunk/exp-drd/tests/tc02_simple_tls.stderr.exp trunk/exp-drd/tests/tc02_simple_tls.vgtest trunk/exp-drd/tests/tc03_re_excl.stderr.exp trunk/exp-drd/tests/tc03_re_excl.vgtest trunk/exp-drd/tests/tc04_free_lock.stderr.exp trunk/exp-drd/tests/tc04_free_lock.vgtest trunk/exp-drd/tests/tc07_hbl1.stderr.exp trunk/exp-drd/tests/tc07_hbl1.vgtest trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp trunk/exp-drd/tests/tc09_bad_unlock.vgtest trunk/exp-drd/tests/tc10_rec_lock.stderr.exp trunk/exp-drd/tests/tc10_rec_lock.vgtest trunk/exp-drd/tests/tc11_XCHG.stderr.exp trunk/exp-drd/tests/tc11_XCHG.vgtest trunk/exp-drd/tests/tc12_rwl_trivial.stderr.exp trunk/exp-drd/tests/tc12_rwl_trivial.vgtest trunk/exp-drd/tests/tc13_laog1.stderr.exp trunk/exp-drd/tests/tc13_laog1.vgtest trunk/exp-drd/tests/tc15_laog_lockdel.stderr.exp trunk/exp-drd/tests/tc15_laog_lockdel.vgtest trunk/exp-drd/tests/tc16_byterace.stderr.exp trunk/exp-drd/tests/tc16_byterace.vgtest trunk/exp-drd/tests/tc19_shadowmem.stderr.exp trunk/exp-drd/tests/tc19_shadowmem.vgtest trunk/exp-drd/tests/tc20_verifywrap.stderr.exp trunk/exp-drd/tests/tc20_verifywrap.vgtest trunk/exp-drd/tests/tc21_pthonce.stderr.exp trunk/exp-drd/tests/tc21_pthonce.vgtest trunk/exp-drd/tests/tc22_exit_w_lock.stderr.exp trunk/exp-drd/tests/tc22_exit_w_lock.vgtest trunk/exp-drd/tests/tc23_bogus_condwait.stderr.exp trunk/exp-drd/tests/tc23_bogus_condwait.vgtest trunk/exp-drd/tests/tc24_nonzero_sem.stderr.exp trunk/exp-drd/tests/tc24_nonzero_sem.vgtest Modified: trunk/exp-drd/tests/Makefile.am Modified: trunk/exp-drd/tests/Makefile.am =================================================================== --- trunk/exp-drd/tests/Makefile.am 2008-02-25 19:46:14 UTC (rev 7461) +++ trunk/exp-drd/tests/Makefile.am 2008-02-25 19:58:25 UTC (rev 7462) @@ -15,6 +15,18 @@ fp_race.stderr.exp2 \ fp_race2.vgtest \ fp_race2.stdout.exp fp_race2.stderr.exp \ + hg01_all_ok.vgtest \ + hg01_all_ok.stderr.exp \ + hg02_deadlock.vgtest \ + hg02_deadlock.stderr.exp \ + hg03_inherit.vgtest \ + hg03_inherit.stderr.exp \ + hg04_race.vgtest \ + hg04_race.stderr.exp \ + hg05_race2.vgtest \ + hg05_race2.stderr.exp \ + hg06_readshared.vgtest \ + hg06_readshared.stderr.exp \ matinv.vgtest \ matinv.stdout.exp matinv.stderr.exp \ pth_barrier.vgtest \ @@ -35,10 +47,46 @@ sem_as_mutex.stderr.exp sem_as_mutex.stderr.exp2 \ sem_as_mutex2.vgtest \ sem_as_mutex2.stderr.exp \ - tc17_sembar.vgtest \ - tc17_sembar.stderr.exp \ - tc18_semabuse.vgtest \ - tc18_semabuse.stderr.exp \ + tc01_simple_race.vgtest \ + tc01_simple_race.stderr.exp \ + tc02_simple_tls.vgtest \ + tc02_simple_tls.stderr.exp \ + tc03_re_excl.vgtest \ + tc03_re_excl.stderr.exp \ + tc04_free_lock.vgtest \ + tc04_free_lock.stderr.exp \ + tc07_hbl1.vgtest \ + tc07_hbl1.stderr.exp \ + tc09_bad_unlock.vgtest \ + tc09_bad_unlock.stderr.exp \ + tc10_rec_lock.vgtest \ + tc10_rec_lock.stderr.exp \ + tc11_XCHG.vgtest \ + tc11_XCHG.stderr.exp \ + tc12_rwl_trivial.vgtest \ + tc12_rwl_trivial.stderr.exp \ + tc13_laog1.vgtest \ + tc13_laog1.stderr.exp \ + tc15_laog_lockdel.vgtest \ + tc15_laog_lockdel.stderr.exp \ + tc16_byterace.vgtest \ + tc16_byterace.stderr.exp \ + tc17_sembar.vgtest \ + tc17_sembar.stderr.exp \ + tc18_semabuse.vgtest \ + tc18_semabuse.stderr.exp \ + tc19_shadowmem.vgtest \ + tc19_shadowmem.stderr.exp \ + tc20_verifywrap.vgtest \ + tc20_verifywrap.stderr.exp \ + tc21_pthonce.vgtest \ + tc21_pthonce.stderr.exp \ + tc22_exit_w_lock.vgtest \ + tc22_exit_w_lock.stderr.exp \ + tc23_bogus_condwait.vgtest \ + tc23_bogus_condwait.stderr.exp \ + tc24_nonzero_sem.vgtest \ + tc24_nonzero_sem.stderr.exp \ sigalrm.vgtest \ sigalrm.stdout.exp sigalrm.stderr.exp @@ -46,48 +94,150 @@ AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -I$(top_builddir)/include AM_CXXFLAGS = $(AM_CFLAGS) -check_PROGRAMS = \ - fp_race \ - matinv \ - pth_barrier \ - pth_broadcast \ - pth_cond_race \ - pth_create_chain \ - pth_detached \ - sem_as_mutex \ - sigalrm \ - tc17_sembar \ - tc18_semabuse +check_PROGRAMS = \ + fp_race \ + hg01_all_ok \ + hg02_deadlock \ + hg03_inherit \ + hg04_race \ + hg05_race2 \ + hg06_readshared \ + matinv \ + pth_barrier \ + pth_broadcast \ + pth_cond_race \ + pth_create_chain \ + pth_detached \ + sem_as_mutex \ + sigalrm \ + tc01_simple_race \ + tc02_simple_tls \ + tc03_re_excl \ + tc04_free_lock \ + tc07_hbl1 \ + tc09_bad_unlock \ + tc10_rec_lock \ + tc11_XCHG \ + tc12_rwl_trivial \ + tc13_laog1 \ + tc15_laog_lockdel \ + tc16_byterace \ + tc17_sembar \ + tc18_semabuse \ + tc19_shadowmem \ + tc20_verifywrap \ + tc21_pthonce \ + tc22_exit_w_lock \ + tc23_bogus_condwait \ + tc24_nonzero_sem -fp_race_SOURCES = fp_race.c -fp_race_LDADD = -lpthread +# tc05_simple_race -- result depends on scheduler. +# tc06_two_races -- result depends on scheduler. +# tc08_hbl2 -- result depends on scheduler. +# tc14_laog_dinphils -- hangs. -matinv_SOURCES = matinv.c -matinv_LDADD = -lpthread -lm -pth_barrier_SOURCES = pth_barrier.c -pth_barrier_LDADD = -lpthread +fp_race_SOURCES = fp_race.c +fp_race_LDADD = -lpthread -pth_broadcast_SOURCES = pth_broadcast.c -pth_broadcast_LDADD = -lpthread +hg01_all_ok_SOURCES = ../../helgrind/tests/hg01_all_ok.c +hg01_all_ok_LDADD = -lpthread -pth_cond_race_SOURCES = pth_cond_race.c -pth_cond_race_LDADD = -lpthread +hg02_deadlock_SOURCES = ../../helgrind/tests/hg02_deadlock.c +hg02_deadlock_LDADD = -lpthread -pth_create_chain_SOURCES = pth_create_chain.c -pth_create_chain_LDADD = -lpthread +hg03_inherit_SOURCES = ../../helgrind/tests/hg03_inherit.c +hg03_inherit_LDADD = -lpthread -pth_detached_SOURCES = pth_detached.c -pth_detached_LDADD = -lpthread +hg04_race_SOURCES = ../../helgrind/tests/hg04_race.c +hg04_race_LDADD = -lpthread -sem_as_mutex_SOURCES = sem_as_mutex.c -sem_as_mutex_LDADD = -lpthread +hg05_race2_SOURCES = ../../helgrind/tests/hg05_race2.c +hg05_race2_LDADD = -lpthread -sigalrm_SOURCES = sigalrm.c -sigalrm_LDADD = -lpthread +hg06_readshared_SOURCES = ../../helgrind/tests/hg06_readshared.c +hg06_readshared_LDADD = -lpthread -tc17_sembar_SOURCES = ../../helgrind/tests/tc17_sembar.c -tc17_sembar_LDADD = -lpthread +matinv_SOURCES = matinv.c +matinv_LDADD = -lpthread -lm -tc18_semabuse_SOURCES = ../../helgrind/tests/tc18_semabuse.c -tc18_semabuse_LDADD = -lpthread +pth_barrier_SOURCES = pth_barrier.c +pth_barrier_LDADD = -lpthread + +pth_broadcast_SOURCES = pth_broadcast.c +pth_broadcast_LDADD = -lpthread + +pth_cond_race_SOURCES = pth_cond_race.c +pth_cond_race_LDADD = -lpthread + +pth_create_chain_SOURCES = pth_create_chain.c +pth_create_chain_LDADD = -lpthread + +pth_detached_SOURCES = pth_detached.c +pth_detached_LDADD = -lpthread + +sem_as_mutex_SOURCES = sem_as_mutex.c +sem_as_mutex_LDADD = -lpthread + +sigalrm_SOURCES = sigalrm.c +sigalrm_LDADD = -lpthread + +tc01_simple_race_SOURCES = ../../helgrind/tests/tc01_simple_race.c +tc01_simple_race_LDADD = -lpthread + +tc02_simple_tls_SOURCES = ../../helgrind/tests/tc02_simple_tls.c +tc02_simple_tls_LDADD = -lpthread + +tc03_re_excl_SOURCES = ../../helgrind/tests/tc03_re_excl.c +tc03_re_excl_LDADD = -lpthread + +tc04_free_lock_SOURCES = ../../helgrind/tests/tc04_free_lock.c +tc04_free_lock_LDADD = -lpthread + +tc07_hbl1_SOURCES = ../../helgrind/tests/tc07_hbl1.c +tc07_hbl1_LDADD = -lpthread + +tc09_bad_unlock_SOURCES = ../../helgrind/tests/tc09_bad_unlock.c +tc09_bad_unlock_LDADD = -lpthread + +tc10_rec_lock_SOURCES = ../../helgrind/tests/tc10_rec_lock.c +tc10_rec_lock_LDADD = -lpthread + +tc11_XCHG_SOURCES = ../../helgrind/tests/tc11_XCHG.c +tc11_XCHG_LDADD = -lpthread + +tc12_rwl_trivial_SOURCES = ../../helgrind/tests/tc12_rwl_trivial.c +tc12_rwl_trivial_LDADD = -lpthread + +tc13_laog1_SOURCES = ../../helgrind/tests/tc13_laog1.c +tc13_laog1_LDADD = -lpthread + +tc15_laog_lockdel_SOURCES = ../../helgrind/tests/tc15_laog_lockdel.c +tc15_laog_lockdel_LDADD = -lpthread + +tc16_byterace_SOURCES = ../../helgrind/tests/tc16_byterace.c +tc16_byterace_LDADD = -lpthread + +tc17_sembar_SOURCES = ../../helgrind/tests/tc17_sembar.c +tc17_sembar_LDADD = -lpthread + +tc18_semabuse_SOURCES = ../../helgrind/tests/tc18_semabuse.c +tc18_semabuse_LDADD = -lpthread + +tc19_shadowmem_SOURCES = ../../helgrind/tests/tc19_shadowmem.c +tc19_shadowmem_LDADD = -lpthread + +tc20_verifywrap_SOURCES = ../../helgrind/tests/tc20_verifywrap.c +tc20_verifywrap_LDADD = -lpthread + +tc21_pthonce_SOURCES = ../../helgrind/tests/tc21_pthonce.c +tc21_pthonce_LDADD = -lpthread + +tc22_exit_w_lock_SOURCES = ../../helgrind/tests/tc22_exit_w_lock.c +tc22_exit_w_lock_LDADD = -lpthread + +tc23_bogus_condwait_SOURCES = ../../helgrind/tests/tc23_bogus_condwait.c +tc23_bogus_condwait_LDADD = -lpthread + +tc24_nonzero_sem_SOURCES = ../../helgrind/tests/tc24_nonzero_sem.c +tc24_nonzero_sem_LDADD = -lpthread Added: trunk/exp-drd/tests/hg01_all_ok.stderr.exp =================================================================== --- trunk/exp-drd/tests/hg01_all_ok.stderr.exp (rev 0) +++ trunk/exp-drd/tests/hg01_all_ok.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,3 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/hg01_all_ok.vgtest =================================================================== --- trunk/exp-drd/tests/hg01_all_ok.vgtest (rev 0) +++ trunk/exp-drd/tests/hg01_all_ok.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: hg01_all_ok Added: trunk/exp-drd/tests/hg02_deadlock.stderr.exp =================================================================== --- trunk/exp-drd/tests/hg02_deadlock.stderr.exp (rev 0) +++ trunk/exp-drd/tests/hg02_deadlock.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,3 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/hg02_deadlock.vgtest =================================================================== --- trunk/exp-drd/tests/hg02_deadlock.vgtest (rev 0) +++ trunk/exp-drd/tests/hg02_deadlock.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: hg02_deadlock Added: trunk/exp-drd/tests/hg03_inherit.stderr.exp =================================================================== --- trunk/exp-drd/tests/hg03_inherit.stderr.exp (rev 0) +++ trunk/exp-drd/tests/hg03_inherit.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,31 @@ + +Thread 3: +Conflicting store by thread 3 at 0x........ size 4 + at 0x........: t2 (hg03_inherit.c:28) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Allocation context: unknown +Other segment start (thread 1) + at 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (hg03_inherit.c:49) +Other segment end (thread 1) + at 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (hg03_inherit.c:63) + +Conflicting store by thread 3 at 0x........ size 4 + at 0x........: t2 (hg03_inherit.c:29) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Allocation context: unknown +Other segment start (thread 1) + at 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (hg03_inherit.c:49) +Other segment end (thread 1) + at 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (hg03_inherit.c:63) + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/hg03_inherit.vgtest =================================================================== --- trunk/exp-drd/tests/hg03_inherit.vgtest (rev 0) +++ trunk/exp-drd/tests/hg03_inherit.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: hg03_inherit Added: trunk/exp-drd/tests/hg04_race.stderr.exp =================================================================== --- trunk/exp-drd/tests/hg04_race.stderr.exp (rev 0) +++ trunk/exp-drd/tests/hg04_race.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,25 @@ + +Thread 2: +Conflicting load by thread 2 at 0x........ size 4 + at 0x........: th (hg04_race.c:10) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 2 at 0x........ size 4 + at 0x........: th (hg04_race.c:10) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/hg04_race.vgtest =================================================================== --- trunk/exp-drd/tests/hg04_race.vgtest (rev 0) +++ trunk/exp-drd/tests/hg04_race.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: hg04_race Added: trunk/exp-drd/tests/hg05_race2.stderr.exp =================================================================== --- trunk/exp-drd/tests/hg05_race2.stderr.exp (rev 0) +++ trunk/exp-drd/tests/hg05_race2.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,25 @@ + +Thread 2: +Conflicting load by thread 2 at 0x........ size 4 + at 0x........: th (hg05_race2.c:17) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Allocation context: stack of thread 1, offset -5584 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 2 at 0x........ size 4 + at 0x........: th (hg05_race2.c:17) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) +Allocation context: stack of thread 1, offset -5584 +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/hg05_race2.vgtest =================================================================== --- trunk/exp-drd/tests/hg05_race2.vgtest (rev 0) +++ trunk/exp-drd/tests/hg05_race2.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: hg05_race2 Added: trunk/exp-drd/tests/hg06_readshared.stderr.exp =================================================================== --- trunk/exp-drd/tests/hg06_readshared.stderr.exp (rev 0) +++ trunk/exp-drd/tests/hg06_readshared.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,3 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/hg06_readshared.vgtest =================================================================== --- trunk/exp-drd/tests/hg06_readshared.vgtest (rev 0) +++ trunk/exp-drd/tests/hg06_readshared.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: hg06_readshared Added: trunk/exp-drd/tests/tc01_simple_race.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc01_simple_race.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc01_simple_race.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,18 @@ + +Conflicting load by thread 1 at 0x........ size 4 + at 0x........: main (tc01_simple_race.c:28) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 4 + at 0x........: main (tc01_simple_race.c:28) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc01_simple_race.vgtest =================================================================== --- trunk/exp-drd/tests/tc01_simple_race.vgtest (rev 0) +++ trunk/exp-drd/tests/tc01_simple_race.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc01_simple_race Added: trunk/exp-drd/tests/tc02_simple_tls.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc02_simple_tls.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc02_simple_tls.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,3 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc02_simple_tls.vgtest =================================================================== --- trunk/exp-drd/tests/tc02_simple_tls.vgtest (rev 0) +++ trunk/exp-drd/tests/tc02_simple_tls.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc02_simple_tls Added: trunk/exp-drd/tests/tc03_re_excl.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc03_re_excl.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc03_re_excl.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,3 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc03_re_excl.vgtest =================================================================== --- trunk/exp-drd/tests/tc03_re_excl.vgtest (rev 0) +++ trunk/exp-drd/tests/tc03_re_excl.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc03_re_excl Added: trunk/exp-drd/tests/tc04_free_lock.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc04_free_lock.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc04_free_lock.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,3 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc04_free_lock.vgtest =================================================================== --- trunk/exp-drd/tests/tc04_free_lock.vgtest (rev 0) +++ trunk/exp-drd/tests/tc04_free_lock.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc04_free_lock Added: trunk/exp-drd/tests/tc07_hbl1.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc07_hbl1.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc07_hbl1.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,18 @@ + +Conflicting load by thread 1 at 0x........ size 4 + at 0x........: main (tc07_hbl1.c:68) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 4 + at 0x........: main (tc07_hbl1.c:68) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc07_hbl1.vgtest =================================================================== --- trunk/exp-drd/tests/tc07_hbl1.vgtest (rev 0) +++ trunk/exp-drd/tests/tc07_hbl1.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc07_hbl1 Added: trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc09_bad_unlock.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,40 @@ + +Attempt to unlock a mutex that is not locked / mutex 0x........ (recursion count -1, owner 1) + at 0x........: pthread_mutex_unlock (drd_intercepts.c:?) + by 0x........: nearly_main (tc09_bad_unlock.c:27) + by 0x........: main (tc09_bad_unlock.c:49) + +Thread 2: +Mutex not unlocked by owner thread / mutex 0x........ (recursion count 1, owner 1) + at 0x........: pthread_mutex_unlock (drd_intercepts.c:?) + by 0x........: child_fn (tc09_bad_unlock.c:11) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 1: +Not a mutex / mutex 0x........ (recursion count 0, owner 0) + at 0x........: pthread_mutex_unlock (drd_intercepts.c:?) + by 0x........: nearly_main (tc09_bad_unlock.c:41) + by 0x........: main (tc09_bad_unlock.c:49) + +Attempt to unlock a mutex that is not locked / mutex 0x........ (recursion count -1, owner 1) + at 0x........: pthread_mutex_unlock (drd_intercepts.c:?) + by 0x........: nearly_main (tc09_bad_unlock.c:27) + by 0x........: main (tc09_bad_unlock.c:50) + +Thread 2: +Mutex not unlocked by owner thread / mutex 0x........ (recursion count 1, owner 1) + at 0x........: pthread_mutex_unlock (drd_intercepts.c:?) + by 0x........: child_fn (tc09_bad_unlock.c:11) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 1: +Not a mutex / mutex 0x........ (recursion count 0, owner 0) + at 0x........: pthread_mutex_unlock (drd_intercepts.c:?) + by 0x........: nearly_main (tc09_bad_unlock.c:41) + by 0x........: main (tc09_bad_unlock.c:50) + +ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc09_bad_unlock.vgtest =================================================================== --- trunk/exp-drd/tests/tc09_bad_unlock.vgtest (rev 0) +++ trunk/exp-drd/tests/tc09_bad_unlock.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc09_bad_unlock Added: trunk/exp-drd/tests/tc10_rec_lock.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc10_rec_lock.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc10_rec_lock.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,14 @@ + +before lock #1 +before lock #2 +before lock #3 +before unlock #1 +before unlock #2 +before unlock #3 +before unlock #4 +Attempt to unlock a mutex that is not locked / mutex 0x........ (recursion count -1, owner 1) + at 0x........: pthread_mutex_unlock (drd_intercepts.c:?) + by 0x........: nearly_main (tc10_rec_lock.c:42) + by 0x........: main (tc10_rec_lock.c:47) + +ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc10_rec_lock.vgtest =================================================================== --- trunk/exp-drd/tests/tc10_rec_lock.vgtest (rev 0) +++ trunk/exp-drd/tests/tc10_rec_lock.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc10_rec_lock Added: trunk/exp-drd/tests/tc11_XCHG.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc11_XCHG.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc11_XCHG.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,18 @@ + +Conflicting load by thread 1 at 0x........ size 4 + at 0x........: main (tc11_XCHG.c:78) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 4 + at 0x........: main (tc11_XCHG.c:78) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc11_XCHG.vgtest =================================================================== --- trunk/exp-drd/tests/tc11_XCHG.vgtest (rev 0) +++ trunk/exp-drd/tests/tc11_XCHG.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc11_XCHG Added: trunk/exp-drd/tests/tc12_rwl_trivial.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc12_rwl_trivial.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc12_rwl_trivial.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,3 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc12_rwl_trivial.vgtest =================================================================== --- trunk/exp-drd/tests/tc12_rwl_trivial.vgtest (rev 0) +++ trunk/exp-drd/tests/tc12_rwl_trivial.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc12_rwl_trivial Added: trunk/exp-drd/tests/tc13_laog1.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc13_laog1.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc13_laog1.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,3 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc13_laog1.vgtest =================================================================== --- trunk/exp-drd/tests/tc13_laog1.vgtest (rev 0) +++ trunk/exp-drd/tests/tc13_laog1.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc13_laog1 Added: trunk/exp-drd/tests/tc15_laog_lockdel.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc15_laog_lockdel.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc15_laog_lockdel.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,8 @@ + +Establish order 1 -> 2 +Try order 2 -> 1. This gives an error. +Free 2 and re-allocate it. This gives it a new identity, +so a second locking sequence 2 -> 1 should now be OK. +done + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc15_laog_lockdel.vgtest =================================================================== --- trunk/exp-drd/tests/tc15_laog_lockdel.vgtest (rev 0) +++ trunk/exp-drd/tests/tc15_laog_lockdel.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc15_laog_lockdel Added: trunk/exp-drd/tests/tc16_byterace.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc16_byterace.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc16_byterace.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,18 @@ + +Conflicting load by thread 1 at 0x........ size 1 + at 0x........: main (tc16_byterace.c:34) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 1 + at 0x........: main (tc16_byterace.c:34) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc16_byterace.vgtest =================================================================== --- trunk/exp-drd/tests/tc16_byterace.vgtest (rev 0) +++ trunk/exp-drd/tests/tc16_byterace.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc16_byterace Added: trunk/exp-drd/tests/tc19_shadowmem.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc19_shadowmem.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc19_shadowmem.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,2 @@ +valgrind: Bad option '--cmp-race-err-addrs=yes'; aborting. +valgrind: Use --help for more information. Added: trunk/exp-drd/tests/tc19_shadowmem.vgtest =================================================================== --- trunk/exp-drd/tests/tc19_shadowmem.vgtest (rev 0) +++ trunk/exp-drd/tests/tc19_shadowmem.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,2 @@ +prog: tc19_shadowmem +vgopts: --cmp-race-err-addrs=yes --error-limit=no Added: trunk/exp-drd/tests/tc20_verifywrap.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc20_verifywrap.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc20_verifywrap.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,63 @@ + + + +------ This is output for >= glibc 2.4 ------ + +---------------- pthread_create/join ---------------- + +Conflicting store by thread 1 at 0x........ size 2 + at 0x........: main (tc20_verifywrap.c:78) +Allocation context: unknown +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +---------------- pthread_mutex_lock et al ---------------- + + +Destroying locked mutex / mutex 0x........ (recursion count 1, owner 1) + at 0x........: pthread_mutex_destroy (drd_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:102) + +Not a mutex / mutex 0x........ (recursion count 0, owner 0) + at 0x........: pthread_mutex_unlock (drd_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:125) + +---------------- pthread_cond_wait et al ---------------- + + +Not a mutex / mutex 0x........ (recursion count 0, owner 0) + at 0x........: pthread_cond_wait* (drd_intercepts.c:?) + by 0x........: main (tc20_verifywrap.c:147) + +FIXME: can't figure out how to verify wrap of pthread_cond_signal + + +FIXME: can't figure out how to verify wrap of pthread_broadcast_signal + + +---------------- pthread_rwlock_* ---------------- + +(1) no error on next line +(2) no error on next line +(3) ERROR on next line +(4) no error on next line +(5) no error on next line +(6) no error on next line +(7) no error on next line +(8) ERROR on next line + +---------------- sem_* ---------------- + + +FIXME: can't figure out how to verify wrap of sem_destroy + + +FIXME: can't figure out how to verify wrap of sem_post + + +------------ dealloc of mem holding locks ------------ + + +ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc20_verifywrap.vgtest =================================================================== --- trunk/exp-drd/tests/tc20_verifywrap.vgtest (rev 0) +++ trunk/exp-drd/tests/tc20_verifywrap.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc20_verifywrap Added: trunk/exp-drd/tests/tc21_pthonce.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc21_pthonce.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc21_pthonce.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,3 @@ + + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc21_pthonce.vgtest =================================================================== --- trunk/exp-drd/tests/tc21_pthonce.vgtest (rev 0) +++ trunk/exp-drd/tests/tc21_pthonce.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc21_pthonce Added: trunk/exp-drd/tests/tc22_exit_w_lock.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc22_exit_w_lock.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc22_exit_w_lock.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,123 @@ + +Conflicting load by thread 1 at 0x........ size 4 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_cache_lock (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 4 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_cache_lock (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_used (offset 8, size 16) in libpthread-?.?.so, libpthread.so.0:Data +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_used (offset 0, size 16) in libpthread-?.?.so, libpthread.so.0:Data +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 1 at 0x........ size 8 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_cache (offset 0, size 16) in libpthread-?.?.so, libpthread.so.0:Data +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_cache (offset 8, size 16) in libpthread-?.?.so, libpthread.so.0:Data +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_cache (offset 0, size 16) in libpthread-?.?.so, libpthread.so.0:Data +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 1 at 0x........ size 8 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_cache_actsize (offset 0, size 8) in libpthread-?.?.so, libpthread.so.0:BSS +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 8 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_cache_actsize (offset 0, size 8) in libpthread-?.?.so, libpthread.so.0:BSS +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting load by thread 1 at 0x........ size 4 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_cache_lock (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +Conflicting store by thread 1 at 0x........ size 4 + at 0x........: __deallocate_stack (in libpthread-?.?.so) + by 0x........: pthread_join (in libpthread-?.?.so) + by 0x........: pthread_join (drd_intercepts.c:?) + by 0x........: main (tc22_exit_w_lock.c:43) +Allocation context: stack_cache_lock (offset 0, size 4) in libpthread-?.?.so, libpthread.so.0:BSS +Other segment start (thread 2) + (thread finished, call stack no longer available) +Other segment end (thread 2) + (thread finished, call stack no longer available) + +ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc22_exit_w_lock.vgtest =================================================================== --- trunk/exp-drd/tests/tc22_exit_w_lock.vgtest (rev 0) +++ trunk/exp-drd/tests/tc22_exit_w_lock.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc22_exit_w_lock Added: trunk/exp-drd/tests/tc23_bogus_condwait.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc23_bogus_condwait.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc23_bogus_condwait.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,69 @@ + +Not a mutex / mutex 0x........ (recursion count 0, owner 0) + at 0x........: pthread_cond_wait* (drd_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:69) + +Thread 3: +Race condition: condition variable 0x........ has been signalled but the associated mutex 0x........ is not locked by the signalling thread + at 0x........: pthread_cond_signal* (drd_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:20) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 1: +Not a mutex / mutex 0x........ (recursion count 0, owner 0) + at 0x........: pthread_cond_wait* (drd_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:69) + +Not a mutex / mutex 0x........ (recursion count 0, owner 0) + at 0x........: pthread_cond_wait* (drd_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:69) + +Not a mutex / mutex 0x........ (recursion count 0, owner 0) + at 0x........: pthread_cond_wait* (drd_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:72) + +Thread 3: +Race condition: condition variable 0x........ has been signalled but the associated mutex 0x........ is not locked by the signalling thread + at 0x........: pthread_cond_signal* (drd_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:24) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 1: +Not a mutex / mutex 0x........ (recursion count 0, owner 0) + at 0x........: pthread_cond_wait* (drd_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:75) + +Thread 3: +Race condition: condition variable 0x........ has been signalled but the associated mutex 0x........ is not locked by the signalling thread + at 0x........: pthread_cond_signal* (drd_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:28) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 1: +Mutex not unlocked by owner thread / mutex 0x........ (recursion count 1, owner 2) + at 0x........: pthread_cond_wait* (drd_intercepts.c:?) + by 0x........: main (tc23_bogus_condwait.c:78) + +Thread 3: +Race condition: condition variable 0x........ has been signalled but the associated mutex 0x........ is not locked by the signalling thread + at 0x........: pthread_cond_signal* (drd_intercepts.c:?) + by 0x........: rescue_me (tc23_bogus_condwait.c:32) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +Thread 2: +Mutex not unlocked by owner thread / mutex 0x........ (recursion count 1, owner 1) + at 0x........: pthread_mutex_unlock (drd_intercepts.c:?) + by 0x........: grab_the_lock (tc23_bogus_condwait.c:42) + by 0x........: vg_thread_wrapper (drd_intercepts.c:?) + by 0x........: start_thread (in libpthread-?.?.so) + by 0x........: clone (in /...libc...) + +ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0) Added: trunk/exp-drd/tests/tc23_bogus_condwait.vgtest =================================================================== --- trunk/exp-drd/tests/tc23_bogus_condwait.vgtest (rev 0) +++ trunk/exp-drd/tests/tc23_bogus_condwait.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1 @@ +prog: tc23_bogus_condwait Added: trunk/exp-drd/tests/tc24_nonzero_sem.stderr.exp =================================================================== --- trunk/exp-drd/tests/tc24_nonzero_sem.stderr.exp (rev 0) +++ trunk/exp-drd/tests/tc24_nonzero_sem.stderr.exp 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,2 @@ +valgrind: Bad option '--hg-sanity-flags=111111'; aborting. +valgrind: Use --help for more information. Added: trunk/exp-drd/tests/tc24_nonzero_sem.vgtest =================================================================== --- trunk/exp-drd/tests/tc24_nonzero_sem.vgtest (rev 0) +++ trunk/exp-drd/tests/tc24_nonzero_sem.vgtest 2008-02-25 19:58:25 UTC (rev 7462) @@ -0,0 +1,2 @@ +prog: tc24_nonzero_sem +vgopts: --hg-sanity-flags=111111 |