You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
(2) |
2
(9) |
3
(11) |
4
(12) |
5
(6) |
|
6
|
7
|
8
(3) |
9
(10) |
10
(18) |
11
(10) |
12
(5) |
|
13
(4) |
14
(40) |
15
(12) |
16
(8) |
17
(9) |
18
(6) |
19
|
|
20
|
21
|
22
|
23
(4) |
24
(6) |
25
(6) |
26
(1) |
|
27
(3) |
28
(10) |
|
|
|
|
|
|
From: Rich C. <rc...@wi...> - 2011-02-13 19:50:52
|
Nightly build on darwin ( Darwin 10.6.0 i386 ) Started at 2011-02-13 13:14:15 CST Ended at 2011-02-13 13:43:52 CST Results differ from 24 hours ago Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... failed Last 20 lines of verbose log follow echo /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:204:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:204:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:206:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:206:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:208:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:208:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:210:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:210:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:212:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:212:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:214:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:214:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:216:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:216:cannot do signed 4 byte relocation make[5]: *** [fxsave-amd64.o] Error 1 make[4]: *** [check-am] Error 2 make[3]: *** [check-recursive] Error 1 make[2]: *** [check-recursive] Error 1 make[1]: *** [check-recursive] Error 1 make: *** [check] Error 2 ================================================= == Results from 24 hours ago == ================================================= Checking out valgrind source tree ... done Configuring valgrind ... done Building valgrind ... failed Last 20 lines of verbose log follow echo /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:204:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:204:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:206:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:206:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:208:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:208:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:210:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:210:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:212:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:212:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:214:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:214:cannot do signed 4 byte relocation /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:216:32-bit absolute addressing is not supported for x86-64 /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:216:cannot do signed 4 byte relocation make[5]: *** [fxsave-amd64.o] Error 1 make[4]: *** [check-am] Error 2 make[3]: *** [check-recursive] Error 1 make[2]: *** [check-recursive] Error 1 make[1]: *** [check-recursive] Error 1 make: *** [check] Error 2 ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short 2011-02-13 13:29:33.000000000 -0600 --- new.short 2011-02-13 13:43:52.000000000 -0600 *************** *** 6,21 **** Last 20 lines of verbose log follow echo ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:204:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:204:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:206:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:206:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:208:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:208:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:210:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:210:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:212:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:212:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:214:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:214:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:216:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//cc2UgOEW.s:216:cannot do signed 4 byte relocation make[5]: *** [fxsave-amd64.o] Error 1 --- 6,21 ---- Last 20 lines of verbose log follow echo ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:204:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:204:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:206:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:206:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:208:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:208:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:210:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:210:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:212:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:212:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:214:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:214:cannot do signed 4 byte relocation ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:216:32-bit absolute addressing is not supported for x86-64 ! /var/folders/mN/mN41OfPjE50e5Lnv4RgPyE+++TI/-Tmp-//ccm1vKU3.s:216:cannot do signed 4 byte relocation make[5]: *** [fxsave-amd64.o] Error 1 Congratulations, all tests passed! -- Rich Coe rc...@wi... |
|
From: Rich C. <rc...@wi...> - 2011-02-13 18:19:57
|
On darwin OSX 10.6, the build of 'make regtest' is currently broken because
of code in (at least these, there may be others):
none/tests/amd64/cmpxchg.c
none/tests/amd64/fxsave-amd64.c
The problems stem from
- cannot do signed 4 byte relocation
- 32-bit absolute addressing is not supported for x86-64
I researched the second issue, and darwin only supports relative RIP
addressing for 64bit builds.
Rich
On Fri, 11 Feb 2011 12:32:22 +0100
Bart Van Assche <bva...@ac...> wrote:
> On Thu, Feb 10, 2011 at 12:13 PM, Bart Van Assche <bva...@ac...>wrote:
>
> > On Thu, Feb 10, 2011 at 10:55 AM, Julian Seward <js...@ac...> wrote:
> >
> >> On Thursday, February 10, 2011, Tom Hughes wrote:
> >> > On 10/02/11 09:09, sv...@va... wrote:
> >> > > Author: tom
> >> > > Date: 2011-02-10 09:09:09 +0000 (Thu, 10 Feb 2011)
> >> > > New Revision: 11534
> >> > >
> >> > > Log:
> >> > > Add glibc 2.13 support. Patch from Dmitry Djachenko in bug #265964.
> >> >
> >> > This is another one that should probably be pulled into the release.
> >>
> >> Noted, thx. I'll start merging fixes into 3_6_BRANCH sometime tomorrow
> >> or the weekend.
> >>
> >
> > I've just noticed that DRD is broken on Darwin (which has been made worse
> > by r11461). Please wait until that has been fixed.
> >
>
> Since I don't have access anymore to an OS/X system, it would be appreciated
> if someone who has access to such a system could verify the following:
> - Whether running the DRD regression tests with the code on the 3.6.1 branch
> triggers any misaligned_stack_error messages.
> - If so, whether merging r11536 from the trunk makes these
> misaligned_stack_error messages go away.
>
> Thanks,
>
> Bart.
--
Rich Coe rc...@wi...
|
|
From: <sv...@va...> - 2011-02-13 07:55:49
|
Author: bart
Date: 2011-02-13 07:55:36 +0000 (Sun, 13 Feb 2011)
New Revision: 11539
Log:
Reverted r11536 because it didn't have the desired effect - changing the behavior of DRD on Darwin.
Modified:
trunk/drd/drd_pthread_intercepts.c
trunk/drd/tests/annotate_hb_err.stderr.exp
trunk/drd/tests/bar_bad.stderr.exp
trunk/drd/tests/hold_lock_1.stderr.exp
trunk/drd/tests/hold_lock_2.stderr.exp
trunk/drd/tests/pth_barrier_race.stderr.exp
trunk/drd/tests/pth_barrier_reinit.stderr.exp
trunk/drd/tests/pth_cancel_locked.stderr.exp
trunk/drd/tests/pth_cancel_locked.stderr.exp-darwin
trunk/drd/tests/pth_cond_race.stderr.exp
trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp1
trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp2
trunk/drd/tests/pth_mutex_reinit.stderr.exp
trunk/drd/tests/pth_uninitialized_cond.stderr.exp
trunk/drd/tests/recursive_mutex.stderr.exp-darwin
trunk/drd/tests/recursive_mutex.stderr.exp-linux
trunk/drd/tests/rwlock_type_checking.stderr.exp
trunk/drd/tests/tc04_free_lock.stderr.exp
trunk/drd/tests/tc09_bad_unlock.stderr.exp
trunk/drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8
trunk/drd/tests/tc10_rec_lock.stderr.exp
trunk/drd/tests/tc12_rwl_trivial.stderr.exp
trunk/drd/tests/tc18_semabuse.stderr.exp
trunk/drd/tests/tc22_exit_w_lock.stderr.exp-64bit
trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc
trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86
trunk/drd/tests/thread_name.stderr.exp
trunk/drd/tests/trylock.stderr.exp
Modified: trunk/drd/drd_pthread_intercepts.c
===================================================================
--- trunk/drd/drd_pthread_intercepts.c 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/drd_pthread_intercepts.c 2011-02-13 07:55:36 UTC (rev 11539)
@@ -105,8 +105,10 @@
PTH_FUNC(ret_ty, zf ## ZDZa, implf, argl_decl, argl);
/*
- * Macros for controlling inlining explicitly such that call stacks in
- * regression tests do not depend on compiler optimization options.
+ * Not inlining one of the intercept functions will cause the regression
+ * tests to fail because this would cause an additional stackfram to appear
+ * in the output. The __always_inline macro guarantees that inlining will
+ * happen, even when compiling with optimization disabled.
*/
#undef __always_inline /* since already defined in <cdefs.h> */
#if __GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ >= 2
@@ -114,11 +116,6 @@
#else
#define __always_inline __inline__
#endif
-#if __GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ >= 2
-#define __never_inline __attribute__((noinline))
-#else
-#define __never_inline
-#endif
/* Local data structures. */
@@ -371,7 +368,7 @@
* glibc-2.9/nptl/pthread_create.c.
*/
-static __never_inline
+static __always_inline
int pthread_create_intercept(pthread_t* thread, const pthread_attr_t* attr,
void* (*start)(void*), void* arg)
{
@@ -451,7 +448,7 @@
void *(*start) (void *), void *arg),
(thread, attr, start, arg));
-static __never_inline
+static __always_inline
int pthread_join_intercept(pthread_t pt_joinee, void **thread_return)
{
int ret;
@@ -472,7 +469,7 @@
(pthread_t pt_joinee, void **thread_return),
(pt_joinee, thread_return));
-static __never_inline
+static __always_inline
int pthread_detach_intercept(pthread_t pt_thread)
{
int ret;
@@ -494,7 +491,7 @@
// NOTE: be careful to intercept only pthread_cancel() and not
// pthread_cancel_init() on Linux.
-static __never_inline
+static __always_inline
int pthread_cancel_intercept(pthread_t pt_thread)
{
int res;
@@ -512,7 +509,7 @@
PTH_FUNCS(int, pthreadZucancel, pthread_cancel_intercept,
(pthread_t thread), (thread))
-static __never_inline
+static __always_inline
int pthread_once_intercept(pthread_once_t *once_control,
void (*init_routine)(void))
{
@@ -534,7 +531,7 @@
(pthread_once_t *once_control, void (*init_routine)(void)),
(once_control, init_routine));
-static __never_inline
+static __always_inline
int pthread_mutex_init_intercept(pthread_mutex_t *mutex,
const pthread_mutexattr_t* attr)
{
@@ -559,7 +556,7 @@
(pthread_mutex_t *mutex, const pthread_mutexattr_t* attr),
(mutex, attr));
-static __never_inline
+static __always_inline
int pthread_mutex_destroy_intercept(pthread_mutex_t* mutex)
{
int ret;
@@ -577,7 +574,7 @@
PTH_FUNCS(int, pthreadZumutexZudestroy, pthread_mutex_destroy_intercept,
(pthread_mutex_t *mutex), (mutex));
-static __never_inline
+static __always_inline
int pthread_mutex_lock_intercept(pthread_mutex_t* mutex)
{
int ret;
@@ -595,7 +592,7 @@
PTH_FUNCS(int, pthreadZumutexZulock, pthread_mutex_lock_intercept,
(pthread_mutex_t *mutex), (mutex));
-static __never_inline
+static __always_inline
int pthread_mutex_trylock_intercept(pthread_mutex_t* mutex)
{
int ret;
@@ -613,7 +610,7 @@
PTH_FUNCS(int, pthreadZumutexZutrylock, pthread_mutex_trylock_intercept,
(pthread_mutex_t *mutex), (mutex));
-static __never_inline
+static __always_inline
int pthread_mutex_timedlock_intercept(pthread_mutex_t *mutex,
const struct timespec *abs_timeout)
{
@@ -633,7 +630,7 @@
(pthread_mutex_t *mutex, const struct timespec *abs_timeout),
(mutex, abs_timeout));
-static __never_inline
+static __always_inline
int pthread_mutex_unlock_intercept(pthread_mutex_t *mutex)
{
int ret;
@@ -653,7 +650,7 @@
PTH_FUNCS(int, pthreadZumutexZuunlock, pthread_mutex_unlock_intercept,
(pthread_mutex_t *mutex), (mutex));
-static __never_inline
+static __always_inline
int pthread_cond_init_intercept(pthread_cond_t* cond,
const pthread_condattr_t* attr)
{
@@ -673,7 +670,7 @@
(pthread_cond_t* cond, const pthread_condattr_t* attr),
(cond, attr));
-static __never_inline
+static __always_inline
int pthread_cond_destroy_intercept(pthread_cond_t* cond)
{
int ret;
@@ -691,7 +688,7 @@
PTH_FUNCS(int, pthreadZucondZudestroy, pthread_cond_destroy_intercept,
(pthread_cond_t* cond), (cond));
-static __never_inline
+static __always_inline
int pthread_cond_wait_intercept(pthread_cond_t *cond, pthread_mutex_t *mutex)
{
int ret;
@@ -710,7 +707,7 @@
(pthread_cond_t *cond, pthread_mutex_t *mutex),
(cond, mutex));
-static __never_inline
+static __always_inline
int pthread_cond_timedwait_intercept(pthread_cond_t *cond,
pthread_mutex_t *mutex,
const struct timespec* abstime)
@@ -738,7 +735,7 @@
// argument to be passed to pthread_cond_signal_np() and hence will cause this
// last function to crash.
-static __never_inline
+static __always_inline
int pthread_cond_signal_intercept(pthread_cond_t* cond)
{
int ret;
@@ -756,7 +753,7 @@
PTH_FUNCS(int, pthreadZucondZusignal, pthread_cond_signal_intercept,
(pthread_cond_t* cond), (cond));
-static __never_inline
+static __always_inline
int pthread_cond_broadcast_intercept(pthread_cond_t* cond)
{
int ret;
@@ -775,7 +772,7 @@
(pthread_cond_t* cond), (cond));
#if defined(HAVE_PTHREAD_SPIN_LOCK)
-static __never_inline
+static __always_inline
int pthread_spin_init_intercept(pthread_spinlock_t *spinlock, int pshared)
{
int ret;
@@ -793,7 +790,7 @@
PTH_FUNCS(int, pthreadZuspinZuinit, pthread_spin_init_intercept,
(pthread_spinlock_t *spinlock, int pshared), (spinlock, pshared));
-static __never_inline
+static __always_inline
int pthread_spin_destroy_intercept(pthread_spinlock_t *spinlock)
{
int ret;
@@ -811,7 +808,7 @@
PTH_FUNCS(int, pthreadZuspinZudestroy, pthread_spin_destroy_intercept,
(pthread_spinlock_t *spinlock), (spinlock));
-static __never_inline
+static __always_inline
int pthread_spin_lock_intercept(pthread_spinlock_t *spinlock)
{
int ret;
@@ -829,7 +826,7 @@
PTH_FUNCS(int, pthreadZuspinZulock, pthread_spin_lock_intercept,
(pthread_spinlock_t *spinlock), (spinlock));
-static __never_inline
+static __always_inline
int pthread_spin_trylock_intercept(pthread_spinlock_t *spinlock)
{
int ret;
@@ -847,7 +844,7 @@
PTH_FUNCS(int, pthreadZuspinZutrylock, pthread_spin_trylock_intercept,
(pthread_spinlock_t *spinlock), (spinlock));
-static __never_inline
+static __always_inline
int pthread_spin_unlock_intercept(pthread_spinlock_t *spinlock)
{
int ret;
@@ -868,7 +865,7 @@
#if defined(HAVE_PTHREAD_BARRIER_INIT)
-static __never_inline
+static __always_inline
int pthread_barrier_init_intercept(pthread_barrier_t* barrier,
const pthread_barrierattr_t* attr,
unsigned count)
@@ -889,7 +886,7 @@
(pthread_barrier_t* barrier, const pthread_barrierattr_t* attr,
unsigned count), (barrier, attr, count));
-static __never_inline
+static __always_inline
int pthread_barrier_destroy_intercept(pthread_barrier_t* barrier)
{
int ret;
@@ -907,7 +904,7 @@
PTH_FUNCS(int, pthreadZubarrierZudestroy, pthread_barrier_destroy_intercept,
(pthread_barrier_t* barrier), (barrier));
-static __never_inline
+static __always_inline
int pthread_barrier_wait_intercept(pthread_barrier_t* barrier)
{
int ret;
@@ -929,7 +926,7 @@
#endif // HAVE_PTHREAD_BARRIER_INIT
-static __never_inline
+static __always_inline
int sem_init_intercept(sem_t *sem, int pshared, unsigned int value)
{
int ret;
@@ -947,7 +944,7 @@
PTH_FUNCS(int, semZuinit, sem_init_intercept,
(sem_t *sem, int pshared, unsigned int value), (sem, pshared, value));
-static __never_inline
+static __always_inline
int sem_destroy_intercept(sem_t *sem)
{
int ret;
@@ -964,7 +961,7 @@
PTH_FUNCS(int, semZudestroy, sem_destroy_intercept, (sem_t *sem), (sem));
-static __never_inline
+static __always_inline
sem_t* sem_open_intercept(const char *name, int oflag, mode_t mode,
unsigned int value)
{
@@ -985,7 +982,7 @@
(const char *name, int oflag, mode_t mode, unsigned int value),
(name, oflag, mode, value));
-static __never_inline int sem_close_intercept(sem_t *sem)
+static __always_inline int sem_close_intercept(sem_t *sem)
{
int ret;
int res;
@@ -1001,7 +998,7 @@
PTH_FUNCS(int, semZuclose, sem_close_intercept, (sem_t *sem), (sem));
-static __never_inline int sem_wait_intercept(sem_t *sem)
+static __always_inline int sem_wait_intercept(sem_t *sem)
{
int ret;
int res;
@@ -1017,7 +1014,7 @@
PTH_FUNCS(int, semZuwait, sem_wait_intercept, (sem_t *sem), (sem));
-static __never_inline int sem_trywait_intercept(sem_t *sem)
+static __always_inline int sem_trywait_intercept(sem_t *sem)
{
int ret;
int res;
@@ -1033,7 +1030,7 @@
PTH_FUNCS(int, semZutrywait, sem_trywait_intercept, (sem_t *sem), (sem));
-static __never_inline
+static __always_inline
int sem_timedwait_intercept(sem_t *sem, const struct timespec *abs_timeout)
{
int ret;
@@ -1052,7 +1049,7 @@
(sem_t *sem, const struct timespec *abs_timeout),
(sem, abs_timeout));
-static __never_inline int sem_post_intercept(sem_t *sem)
+static __always_inline int sem_post_intercept(sem_t *sem)
{
int ret;
int res;
@@ -1068,7 +1065,7 @@
PTH_FUNCS(int, semZupost, sem_post_intercept, (sem_t *sem), (sem));
-static __never_inline
+static __always_inline
int pthread_rwlock_init_intercept(pthread_rwlock_t* rwlock,
const pthread_rwlockattr_t* attr)
{
@@ -1087,7 +1084,7 @@
(pthread_rwlock_t* rwlock, const pthread_rwlockattr_t* attr),
(rwlock, attr));
-static __never_inline
+static __always_inline
int pthread_rwlock_destroy_intercept(pthread_rwlock_t* rwlock)
{
int ret;
@@ -1104,7 +1101,7 @@
pthreadZurwlockZudestroy, pthread_rwlock_destroy_intercept,
(pthread_rwlock_t* rwlock), (rwlock));
-static __never_inline
+static __always_inline
int pthread_rwlock_rdlock_intercept(pthread_rwlock_t* rwlock)
{
int ret;
@@ -1123,7 +1120,7 @@
pthreadZurwlockZurdlock, pthread_rwlock_rdlock_intercept,
(pthread_rwlock_t* rwlock), (rwlock));
-static __never_inline
+static __always_inline
int pthread_rwlock_wrlock_intercept(pthread_rwlock_t* rwlock)
{
int ret;
@@ -1142,7 +1139,7 @@
pthreadZurwlockZuwrlock, pthread_rwlock_wrlock_intercept,
(pthread_rwlock_t* rwlock), (rwlock));
-static __never_inline
+static __always_inline
int pthread_rwlock_timedrdlock_intercept(pthread_rwlock_t* rwlock)
{
int ret;
@@ -1161,7 +1158,7 @@
pthreadZurwlockZutimedrdlock, pthread_rwlock_timedrdlock_intercept,
(pthread_rwlock_t* rwlock), (rwlock));
-static __never_inline
+static __always_inline
int pthread_rwlock_timedwrlock_intercept(pthread_rwlock_t* rwlock)
{
int ret;
@@ -1180,7 +1177,7 @@
pthreadZurwlockZutimedwrlock, pthread_rwlock_timedwrlock_intercept,
(pthread_rwlock_t* rwlock), (rwlock));
-static __never_inline
+static __always_inline
int pthread_rwlock_tryrdlock_intercept(pthread_rwlock_t* rwlock)
{
int ret;
@@ -1199,7 +1196,7 @@
pthreadZurwlockZutryrdlock, pthread_rwlock_tryrdlock_intercept,
(pthread_rwlock_t* rwlock), (rwlock));
-static __never_inline
+static __always_inline
int pthread_rwlock_trywrlock_intercept(pthread_rwlock_t* rwlock)
{
int ret;
@@ -1218,7 +1215,7 @@
pthreadZurwlockZutrywrlock, pthread_rwlock_trywrlock_intercept,
(pthread_rwlock_t* rwlock), (rwlock));
-static __never_inline
+static __always_inline
int pthread_rwlock_unlock_intercept(pthread_rwlock_t* rwlock)
{
int ret;
Modified: trunk/drd/tests/annotate_hb_err.stderr.exp
===================================================================
--- trunk/drd/tests/annotate_hb_err.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/annotate_hb_err.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -3,18 +3,18 @@
at 0x........: U_AnnotateHappensBefore (unified_annotations.h:?)
by 0x........: main (annotate_hb_err.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (annotate_hb_err.c:?)
wrong type of synchronization object
at 0x........: U_AnnotateHappensBefore (unified_annotations.h:?)
by 0x........: main (annotate_hb_err.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (annotate_hb_err.c:?)
wrong type of synchronization object
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (annotate_hb_err.c:?)
order annotation 0x........ was first observed at:
at 0x........: U_AnnotateHappensAfter (unified_annotations.h:?)
Modified: trunk/drd/tests/bar_bad.stderr.exp
===================================================================
--- trunk/drd/tests/bar_bad.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/bar_bad.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -2,47 +2,47 @@
initialise a barrier with zero count
pthread_barrier_init: 'count' argument is zero: barrier 0x........
- at 0x........: pthread_barrier_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
initialise a barrier twice
Barrier reinitialization: barrier 0x........
- at 0x........: pthread_barrier_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
initialise a barrier which has threads waiting on it
Barrier reinitialization: barrier 0x........
- at 0x........: pthread_barrier_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
destroy a barrier that has waiting threads
Destruction of a barrier with active waiters: barrier 0x........
- at 0x........: pthread_barrier_destroy_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
destroy a barrier that was never initialised
Not a barrier
- at 0x........: pthread_barrier_destroy_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
Destruction of barrier that is being waited upon: barrier 0x........
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (bar_bad.c:?)
barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
Modified: trunk/drd/tests/hold_lock_1.stderr.exp
===================================================================
--- trunk/drd/tests/hold_lock_1.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/hold_lock_1.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,24 +1,24 @@
Locking mutex ...
Acquired at:
- at 0x........: pthread_mutex_lock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: main (hold_lock.c:?)
Lock on mutex 0x........ was held during ... ms (threshold: 500 ms).
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: main (hold_lock.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (hold_lock.c:?)
Locking rwlock exclusively ...
Acquired at:
- at 0x........: pthread_rwlock_wrlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_wrlock (drd_pthread_intercepts.c:?)
by 0x........: main (hold_lock.c:?)
Lock on rwlock 0x........ was held during ... ms (threshold: 500 ms).
- at 0x........: pthread_rwlock_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_unlock (drd_pthread_intercepts.c:?)
by 0x........: main (hold_lock.c:?)
rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (hold_lock.c:?)
Locking rwlock shared ...
Modified: trunk/drd/tests/hold_lock_2.stderr.exp
===================================================================
--- trunk/drd/tests/hold_lock_2.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/hold_lock_2.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -3,13 +3,13 @@
Locking rwlock exclusively ...
Locking rwlock shared ...
Acquired at:
- at 0x........: pthread_rwlock_rdlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_rdlock (drd_pthread_intercepts.c:?)
by 0x........: main (hold_lock.c:?)
Lock on rwlock 0x........ was held during ... ms (threshold: 500 ms).
- at 0x........: pthread_rwlock_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_unlock (drd_pthread_intercepts.c:?)
by 0x........: main (hold_lock.c:?)
rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (hold_lock.c:?)
Done.
Modified: trunk/drd/tests/pth_barrier_race.stderr.exp
===================================================================
--- trunk/drd/tests/pth_barrier_race.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/pth_barrier_race.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,13 +1,13 @@
Destruction of barrier not synchronized with barrier wait call: barrier 0x........
- at 0x........: pthread_barrier_destroy_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (pth_barrier_race.c:?)
Conflicting wait call by thread 2:
- at 0x........: pthread_barrier_wait_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
by 0x........: thread (pth_barrier_race.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_barrier_race.c:?)
Modified: trunk/drd/tests/pth_barrier_reinit.stderr.exp
===================================================================
--- trunk/drd/tests/pth_barrier_reinit.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/pth_barrier_reinit.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,9 +1,9 @@
Barrier reinitialization: barrier 0x........
- at 0x........: pthread_barrier_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_barrier_reinit.c:?)
barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_barrier_reinit.c:?)
Modified: trunk/drd/tests/pth_cancel_locked.stderr.exp
===================================================================
--- trunk/drd/tests/pth_cancel_locked.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/pth_cancel_locked.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,9 +1,9 @@
Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_join (drd_pthread_intercepts.c:?)
by 0x........: main (pth_cancel_locked.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_cancel_locked.c:?)
Test finished.
Modified: trunk/drd/tests/pth_cancel_locked.stderr.exp-darwin
===================================================================
--- trunk/drd/tests/pth_cancel_locked.stderr.exp-darwin 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/pth_cancel_locked.stderr.exp-darwin 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,9 +1,9 @@
Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_join_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_join (drd_pthread_intercepts.c:?)
by 0x........: main (pth_cancel_locked.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_cancel_locked.c:?)
Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2.
Modified: trunk/drd/tests/pth_cond_race.stderr.exp
===================================================================
--- trunk/drd/tests/pth_cond_race.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/pth_cond_race.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,14 +1,14 @@
Thread 2:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
by 0x........: thread_func (pth_cond_race.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_cond_race.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_cond_race.c:?)
Modified: trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp1
===================================================================
--- trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp1 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp1 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,38 +1,38 @@
Thread 3:
Inconsistent association of condition variable and mutex: condition variable 0x........, mutexes 0x........ and 0x........
- at 0x........: pthread_cond_timedwait_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_timedwait (drd_pthread_intercepts.c:?)
by 0x........: thread_func (pth_inconsistent_cond_wait.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
Thread 1:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
Modified: trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp2
===================================================================
--- trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp2 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/pth_inconsistent_cond_wait.stderr.exp2 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,38 +1,38 @@
Thread 2:
Inconsistent association of condition variable and mutex: condition variable 0x........, mutexes 0x........ and 0x........
- at 0x........: pthread_cond_timedwait_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_timedwait (drd_pthread_intercepts.c:?)
by 0x........: thread_func (pth_inconsistent_cond_wait.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
Thread 1:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_inconsistent_cond_wait.c:?)
Modified: trunk/drd/tests/pth_mutex_reinit.stderr.exp
===================================================================
--- trunk/drd/tests/pth_mutex_reinit.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/pth_mutex_reinit.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,9 +1,9 @@
Mutex reinitialization: mutex 0x........, recursion count 0, owner 1.
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_mutex_reinit.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (pth_mutex_reinit.c:?)
Done.
Modified: trunk/drd/tests/pth_uninitialized_cond.stderr.exp
===================================================================
--- trunk/drd/tests/pth_uninitialized_cond.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/pth_uninitialized_cond.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -2,7 +2,7 @@
Statically initialized condition variable.
Uninitialized condition variable.
condition variable has not been initialized: cond 0x........
- at 0x........: pthread_cond_signal_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
by 0x........: main (pth_uninitialized_cond.c:?)
Done.
Modified: trunk/drd/tests/recursive_mutex.stderr.exp-darwin
===================================================================
--- trunk/drd/tests/recursive_mutex.stderr.exp-darwin 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/recursive_mutex.stderr.exp-darwin 2011-02-13 07:55:36 UTC (rev 11539)
@@ -3,11 +3,11 @@
Non-recursive mutex.
second lock call failed !
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: lock_twice (recursive_mutex.c:?)
by 0x........: main (recursive_mutex.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_trylock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?)
by 0x........: lock_twice (recursive_mutex.c:?)
by 0x........: main (recursive_mutex.c:?)
Modified: trunk/drd/tests/recursive_mutex.stderr.exp-linux
===================================================================
--- trunk/drd/tests/recursive_mutex.stderr.exp-linux 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/recursive_mutex.stderr.exp-linux 2011-02-13 07:55:36 UTC (rev 11539)
@@ -6,11 +6,11 @@
Error checking mutex.
second lock call failed !
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: lock_twice (recursive_mutex.c:?)
by 0x........: main (recursive_mutex.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (recursive_mutex.c:?)
second unlock call failed !
@@ -18,11 +18,11 @@
Non-recursive mutex.
second lock call failed !
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: lock_twice (recursive_mutex.c:?)
by 0x........: main (recursive_mutex.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_trylock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?)
by 0x........: lock_twice (recursive_mutex.c:?)
by 0x........: main (recursive_mutex.c:?)
Modified: trunk/drd/tests/rwlock_type_checking.stderr.exp
===================================================================
--- trunk/drd/tests/rwlock_type_checking.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/rwlock_type_checking.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,6 +1,6 @@
Attempt to use a user-defined rwlock as a POSIX rwlock: rwlock 0x.........
- at 0x........: pthread_rwlock_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (rwlock_type_checking.c:?)
rwlock 0x........ was first observed at:
at 0x........: main (rwlock_type_checking.c:?)
@@ -8,7 +8,7 @@
Attempt to use a POSIX rwlock as a user-defined rwlock: rwlock 0x.........
at 0x........: main (rwlock_type_checking.c:?)
rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (rwlock_type_checking.c:?)
Finished.
Modified: trunk/drd/tests/tc04_free_lock.stderr.exp
===================================================================
--- trunk/drd/tests/tc04_free_lock.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/tc04_free_lock.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -3,14 +3,14 @@
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (tc04_free_lock.c:24)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc04_free_lock.c:20)
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: bar (tc04_free_lock.c:40)
by 0x........: main (tc04_free_lock.c:26)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
by 0x........: main (tc04_free_lock.c:26)
@@ -18,7 +18,7 @@
at 0x........: foo (tc04_free_lock.c:49)
by 0x........: main (tc04_free_lock.c:27)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: foo (tc04_free_lock.c:46)
by 0x........: main (tc04_free_lock.c:27)
@@ -26,7 +26,7 @@
at 0x........: bar (tc04_free_lock.c:40)
by 0x........: main (tc04_free_lock.c:28)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: bar (tc04_free_lock.c:38)
by 0x........: main (tc04_free_lock.c:28)
Modified: trunk/drd/tests/tc09_bad_unlock.stderr.exp
===================================================================
--- trunk/drd/tests/tc09_bad_unlock.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/tc09_bad_unlock.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,26 +1,26 @@
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:27)
by 0x........: main (tc09_bad_unlock.c:49)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
by 0x........: main (tc09_bad_unlock.c:49)
Thread 2:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: child_fn (tc09_bad_unlock.c:11)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
Thread 1:
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:49)
@@ -28,22 +28,22 @@
at 0x........: nearly_main (tc09_bad_unlock.c:45)
by 0x........: main (tc09_bad_unlock.c:49)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
---------------------
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:27)
by 0x........: main (tc09_bad_unlock.c:50)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
by 0x........: main (tc09_bad_unlock.c:50)
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
@@ -51,7 +51,7 @@
at 0x........: nearly_main (tc09_bad_unlock.c:45)
by 0x........: main (tc09_bad_unlock.c:50)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:50)
Modified: trunk/drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8
===================================================================
--- trunk/drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,26 +1,26 @@
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:27)
by 0x........: main (tc09_bad_unlock.c:49)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
by 0x........: main (tc09_bad_unlock.c:49)
Thread 2:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: child_fn (tc09_bad_unlock.c:11)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
Thread 1:
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:49)
@@ -28,22 +28,22 @@
at 0x........: nearly_main (tc09_bad_unlock.c:45)
by 0x........: (below main)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:49)
---------------------
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:27)
by 0x........: main (tc09_bad_unlock.c:50)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
by 0x........: main (tc09_bad_unlock.c:50)
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
@@ -51,7 +51,7 @@
at 0x........: nearly_main (tc09_bad_unlock.c:45)
by 0x........: (below main)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
by 0x........: main (tc09_bad_unlock.c:50)
Modified: trunk/drd/tests/tc10_rec_lock.stderr.exp
===================================================================
--- trunk/drd/tests/tc10_rec_lock.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/tc10_rec_lock.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -7,11 +7,11 @@
before unlock #3
before unlock #4
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc10_rec_lock.c:42)
by 0x........: main (tc10_rec_lock.c:47)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: nearly_main (tc10_rec_lock.c:24)
by 0x........: main (tc10_rec_lock.c:47)
Modified: trunk/drd/tests/tc12_rwl_trivial.stderr.exp
===================================================================
--- trunk/drd/tests/tc12_rwl_trivial.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/tc12_rwl_trivial.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,9 +1,9 @@
Reader-writer lock not locked by calling thread: rwlock 0x.........
- at 0x........: pthread_rwlock_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_unlock (drd_pthread_intercepts.c:?)
by 0x........: main (tc12_rwl_trivial.c:35)
rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc12_rwl_trivial.c:24)
Modified: trunk/drd/tests/tc18_semabuse.stderr.exp
===================================================================
--- trunk/drd/tests/tc18_semabuse.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/tc18_semabuse.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,16 +1,16 @@
Semaphore reinitialization: semaphore 0x........
- at 0x........: sem_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: sem_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc18_semabuse.c:26)
semaphore 0x........ was first observed at:
- at 0x........: sem_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: sem_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc18_semabuse.c:23)
Invalid semaphore: semaphore 0x........
- at 0x........: sem_wait_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: sem_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc18_semabuse.c:34)
semaphore 0x........ was first observed at:
- at 0x........: sem_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: sem_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc18_semabuse.c:23)
Modified: trunk/drd/tests/tc22_exit_w_lock.stderr.exp-64bit
===================================================================
--- trunk/drd/tests/tc22_exit_w_lock.stderr.exp-64bit 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/tc22_exit_w_lock.stderr.exp-64bit 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,9 +1,9 @@
Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 3.
- at 0x........: pthread_join_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_join (drd_pthread_intercepts.c:?)
by 0x........: main (tc22_exit_w_lock.c:43)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_lock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
by 0x........: child_fn1 (tc22_exit_w_lock.c:18)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
Modified: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc
===================================================================
--- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-ppc 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,6 +1,6 @@
The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
@@ -8,6 +8,6 @@
Invalid address alignment at address 0x........
at 0x........: (within libpthread-?.?.so)
by 0x........: pthread_cond_wait@@GLIBC_2.3.2(within libpthread-?.?.so)
- by 0x........: pthread_cond_wait_intercept (drd_pthread_intercepts.c:?)
+ by 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
ERROR SUMMARY: 2 errors from 1 contexts (suppressed: 0 from 0)
Modified: trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86
===================================================================
--- trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/tc23_bogus_condwait.stderr.exp-linux-x86 2011-02-13 07:55:36 UTC (rev 11539)
@@ -1,85 +1,85 @@
The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:69)
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
by 0x........: rescue_me (tc23_bogus_condwait.c:20)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:56)
Thread 1:
Mutex not locked: mutex 0x........, recursion count 0, owner 0.
- at 0x........: pthread_cond_wait_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:72)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:51)
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
by 0x........: rescue_me (tc23_bogus_condwait.c:24)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:56)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:51)
Thread 1:
The object at address 0x........ is not a mutex.
- at 0x........: pthread_cond_wait_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:75)
rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:57)
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
by 0x........: rescue_me (tc23_bogus_condwait.c:28)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:56)
rwlock 0x........ was first observed at:
- at 0x........: pthread_rwlock_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:57)
Thread 1:
Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2.
- at 0x........: pthread_cond_wait_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:78)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:53)
Thread 3:
Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread.
- at 0x........: pthread_cond_signal_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?)
by 0x........: rescue_me (tc23_bogus_condwait.c:32)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
cond 0x........ was first observed at:
- at 0x........: pthread_cond_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:56)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:53)
The impossible happened: mutex 0x........ is locked simultaneously by two threads (recursion count 1, owners 2 and 1) !
Thread 2:
Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: grab_the_lock (tc23_bogus_condwait.c:42)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
mutex 0x........ was first observed at:
- at 0x........: pthread_mutex_init_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?)
by 0x........: main (tc23_bogus_condwait.c:53)
Modified: trunk/drd/tests/thread_name.stderr.exp
===================================================================
--- trunk/drd/tests/thread_name.stderr.exp 2011-02-11 16:47:03 UTC (rev 11538)
+++ trunk/drd/tests/thread_name.stderr.exp 2011-02-13 07:55:36 UTC (rev 11539)
@@ -4,7 +4,7 @@
Thread 2 (thread_func instance 1):
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: thread_func (thread_name.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
@@ -13,7 +13,7 @@
Thread 3 (thread_func instance 2):
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: thread_func (thread_name.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
@@ -22,7 +22,7 @@
Thread 4 (thread_func instance 3):
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: thread_func (thread_name.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
@@ -31,7 +31,7 @@
Thread 5 (thread_func instance 4):
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: thread_func (thread_name.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
@@ -40,7 +40,7 @@
Thread 6 (thread_func instance 5):
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: thread_func (thread_name.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
@@ -49,7 +49,7 @@
Thread 7 (thread_func instance 6):
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: thread_func (thread_name.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
@@ -58,7 +58,7 @@
Thread 8 (thread_func instance 7):
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_intercepts.c:?)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
by 0x........: thread_func (thread_name.c:?)
by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
@@ -67,7 +67,7 @@
Thread 9 (thread_func instance 8):
The object at address 0x........ is not a mutex.
- at 0x........: pthread_mutex_unlock_intercept (drd_pthread_i...
[truncated message content] |
|
From: Bart V. A. <bva...@ac...> - 2011-02-13 07:44:24
|
2011/2/11 Julian Seward <js...@ac...> > On Friday, February 11, 2011, Bart Van Assche wrote: > > following: - Whether running the DRD regression tests with the code on > the > > 3.6.1 branch triggers any misaligned_stack_error messages. > > - If so, whether merging r11536 from the trunk makes these > > misaligned_stack_error messages go away. > > Both 11535 and 11536 fail the same way for me (for drd running /bin/ls > on OSX 10.6.whatever). none, memcheck etc run it without problems. > > r11535 > > ==40776== Process terminating with default action of signal 11 (SIGSEGV) > ==40776== General Protection Fault > ==40776== at 0x10018E299: dyld_stub_binder (in > /usr/lib/libSystem.B.dylib) > ==40776== by 0x100247007: ??? (in /usr/lib/libSystem.B.dylib) > ==40776== by 0x10001B4A9: pthread_once (drd_pthread_intercepts.c:525) > ==40776== by 0x1000DA18E: compat_mode (in /usr/lib/libSystem.B.dylib) > ==40776== by 0x1000022FD: ??? (in /bin/ls) > ==40776== by 0x100002E53: ??? (in /bin/ls) > ==40776== by 0x1000014AB: ??? (in /bin/ls) > > r11536 > > ==42993== Process terminating with default action of signal 11 (SIGSEGV) > ==42993== General Protection Fault > ==42993== at 0x10018A299: dyld_stub_binder (in > /usr/lib/libSystem.B.dylib) > ==42993== by 0x100243007: ??? (in /usr/lib/libSystem.B.dylib) > ==42993== by 0x100018469: pthread_once_intercept > (drd_pthread_intercepts.c:528) > ==42993== by 0x1000D618E: compat_mode (in /usr/lib/libSystem.B.dylib) > ==42993== by 0x1000022FD: ??? (in /bin/ls) > ==42993== by 0x100002E53: ??? (in /bin/ls) > ==42993== by 0x1000014AB: ??? (in /bin/ls) > Hi Julian, Thanks to a kind soul I have been able to run a few quick tests on Darwin. What I learned is: - Disabling the pthread_once() intercept in DRD is sufficient to let /bin/ls run fine under DRD. - Changing the pthread_once() intercept in DRD to a trivial intercept (just invoke pthread_once()) didn't help. - Disabling optimization (-O2 -> -O0) for drd_pthread_intercepts.c didn't help either. So it looks like the only alternative left to find out what is causing these GPFs (probably stack misalignment) is to analyze the assembler code generated by gcc for the DRD intercepts manually. Sorry but I won't have the time to do that before the 3.6.1 release. Bart. |