You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(19) |
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(9) |
|
2
(5) |
3
(8) |
4
(9) |
5
(9) |
6
(8) |
7
(4) |
8
(18) |
|
9
(9) |
10
(15) |
11
(4) |
12
(9) |
13
(9) |
14
(5) |
15
(4) |
|
16
(7) |
17
(15) |
18
(7) |
19
(13) |
20
(10) |
21
(10) |
22
(8) |
|
23
(4) |
24
(4) |
25
(6) |
26
(6) |
27
(5) |
28
(4) |
29
(4) |
|
30
(4) |
|
|
|
|
|
|
|
From: <sv...@va...> - 2008-11-10 18:54:51
|
Author: bart
Date: 2008-11-10 18:54:46 +0000 (Mon, 10 Nov 2008)
New Revision: 8763
Log:
Added regression test for Boost.Threads.
Added:
trunk/drd/tests/boost_threads.cpp
trunk/drd/tests/boost_threads.stderr.exp
trunk/drd/tests/boost_threads.vgtest
Modified:
trunk/drd/tests/
trunk/drd/tests/Makefile.am
Property changes on: trunk/drd/tests
___________________________________________________________________
Name: svn:ignore
- *.stderr.diff*
*.stderr.out
*.stdout.diff*
*.stdout.out
.deps
atomic_var
drd_bitmap_test
fp_race
hg01_all_ok
hg02_deadlock
hg03_inherit
hg04_race
hg05_race2
hg06_readshared
hold_lock
linuxthreads_det
Makefile
Makefile.in
matinv
memory_allocation
monitor_example
new_delete
omp_matinv
omp_prime
omp_printf
pth_barrier
pth_barrier_reinit
pth_broadcast
pth_cancel_locked
pth_cond_race
pth_create_chain
pth_detached
pth_detached_sem
pth_inconsistent_cond_wait
pth_spinlock
qt4_mutex
qt4_rwlock
qt4_semaphore
recursive_mutex
rwlock_race
rwlock_test
sem_as_mutex
sigalrm
tc01_simple_race
tc02_simple_tls
tc03_re_excl
tc04_free_lock
tc05_simple_race
tc06_two_races
tc07_hbl1
tc08_hbl2
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
trylock
vg_regtest.tmp*
+ *.stderr.diff*
*.stderr.out
*.stdout.diff*
*.stdout.out
.deps
atomic_var
boost_threads
drd_bitmap_test
fp_race
hg01_all_ok
hg02_deadlock
hg03_inherit
hg04_race
hg05_race2
hg06_readshared
hold_lock
linuxthreads_det
Makefile
Makefile.in
matinv
memory_allocation
monitor_example
new_delete
omp_matinv
omp_prime
omp_printf
pth_barrier
pth_barrier_reinit
pth_broadcast
pth_cancel_locked
pth_cond_race
pth_create_chain
pth_detached
pth_detached_sem
pth_inconsistent_cond_wait
pth_spinlock
qt4_mutex
qt4_rwlock
qt4_semaphore
recursive_mutex
rwlock_race
rwlock_test
sem_as_mutex
sigalrm
tc01_simple_race
tc02_simple_tls
tc03_re_excl
tc04_free_lock
tc05_simple_race
tc06_two_races
tc07_hbl1
tc08_hbl2
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
trylock
vg_regtest.tmp*
Modified: trunk/drd/tests/Makefile.am
===================================================================
--- trunk/drd/tests/Makefile.am 2008-11-10 18:53:42 UTC (rev 8762)
+++ trunk/drd/tests/Makefile.am 2008-11-10 18:54:46 UTC (rev 8763)
@@ -20,6 +20,8 @@
atomic_var.stderr.exp-with-atomic-builtins \
atomic_var.stderr.exp-without-atomic-builtins \
atomic_var.vgtest \
+ boost_threads.stderr.exp \
+ boost_threads.vgtest \
drd_bitmap_test.stderr.exp \
drd_bitmap_test.stdout.exp \
drd_bitmap_test.vgtest \
@@ -247,15 +249,19 @@
tc24_nonzero_sem \
trylock
-if HAVE_QTCORE
-check_PROGRAMS += qt4_mutex qt4_rwlock qt4_semaphore
+if HAVE_BOOST_1_35
+check_PROGRAMS += boost_threads
endif
if HAVE_OPENMP
check_PROGRAMS += omp_matinv omp_prime omp_printf
endif
+if HAVE_QTCORE
+check_PROGRAMS += qt4_mutex qt4_rwlock qt4_semaphore
+endif
+
atomic_var_SOURCES = atomic_var.c
atomic_var_LDADD = -lpthread
@@ -331,20 +337,6 @@
pth_spinlock_SOURCES = pth_spinlock.c
pth_spinlock_LDADD = -lpthread
-if HAVE_QTCORE
-qt4_mutex_SOURCES = qt4_mutex.cpp
-qt4_mutex_CXXFLAGS = $(AM_CXXFLAGS) $(QTCORE_CFLAGS)
-qt4_mutex_LDADD = $(QTCORE_LIBS)
-
-qt4_rwlock_SOURCES = qt4_rwlock.cpp
-qt4_rwlock_CXXFLAGS = $(AM_CXXFLAGS) $(QTCORE_CFLAGS)
-qt4_rwlock_LDADD = $(QTCORE_LIBS)
-
-qt4_semaphore_SOURCES = qt4_semaphore.cpp
-qt4_semaphore_CXXFLAGS = $(AM_CXXFLAGS) $(QTCORE_CFLAGS)
-qt4_semaphore_LDADD = $(QTCORE_LIBS)
-endif
-
recursive_mutex_SOURCES = recursive_mutex.c
recursive_mutex_LDADD = -lpthread
@@ -432,6 +424,12 @@
trylock_SOURCES = trylock.c
trylock_LDADD = -lpthread -lrt
+if HAVE_BOOST_1_35
+boost_threads_SOURCES = boost_threads.cpp
+boost_threads_CXXFLAGS = $(AM_CXXFLAGS) $(BOOST_CFLAGS)
+boost_threads_LDADD = $(BOOST_LIBS)
+endif
+
if HAVE_OPENMP
omp_matinv_SOURCES = omp_matinv.c
omp_matinv_CFLAGS = $(AM_CFLAGS) -fopenmp
@@ -448,3 +446,17 @@
omp_printf_LDFLAGS = -fopenmp
omp_printf_LDADD = -lm
endif
+
+if HAVE_QTCORE
+qt4_mutex_SOURCES = qt4_mutex.cpp
+qt4_mutex_CXXFLAGS = $(AM_CXXFLAGS) $(QTCORE_CFLAGS)
+qt4_mutex_LDADD = $(QTCORE_LIBS)
+
+qt4_rwlock_SOURCES = qt4_rwlock.cpp
+qt4_rwlock_CXXFLAGS = $(AM_CXXFLAGS) $(QTCORE_CFLAGS)
+qt4_rwlock_LDADD = $(QTCORE_LIBS)
+
+qt4_semaphore_SOURCES = qt4_semaphore.cpp
+qt4_semaphore_CXXFLAGS = $(AM_CXXFLAGS) $(QTCORE_CFLAGS)
+qt4_semaphore_LDADD = $(QTCORE_LIBS)
+endif
Added: trunk/drd/tests/boost_threads.cpp
===================================================================
--- trunk/drd/tests/boost_threads.cpp (rev 0)
+++ trunk/drd/tests/boost_threads.cpp 2008-11-10 18:54:46 UTC (rev 8763)
@@ -0,0 +1,30 @@
+#include <boost/thread/condition.hpp>
+#include <boost/thread/mutex.hpp>
+#include <boost/thread/thread.hpp>
+#include <iostream>
+
+
+static boost::condition s_cva;
+static boost::mutex s_m;
+
+
+static void thread_func(void)
+{
+ std::cerr << "Thread 2.\n";
+ boost::mutex::scoped_lock sl(s_m);
+ s_cva.notify_all();
+ s_cva.wait(sl);
+}
+
+int main(int argc, char** argv)
+{
+ std::cerr << "Thread 1.\n";
+ boost::mutex::scoped_lock sl(s_m);
+ boost::thread t(thread_func);
+ s_cva.wait(sl);
+ s_cva.notify_all();
+ sl.unlock();
+ t.join();
+ std::cerr << "Finished.\n";
+ return 0;
+}
Added: trunk/drd/tests/boost_threads.stderr.exp
===================================================================
--- trunk/drd/tests/boost_threads.stderr.exp (rev 0)
+++ trunk/drd/tests/boost_threads.stderr.exp 2008-11-10 18:54:46 UTC (rev 8763)
@@ -0,0 +1,6 @@
+
+Thread 1.
+Thread 2.
+Finished.
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Added: trunk/drd/tests/boost_threads.vgtest
===================================================================
--- trunk/drd/tests/boost_threads.vgtest (rev 0)
+++ trunk/drd/tests/boost_threads.vgtest 2008-11-10 18:54:46 UTC (rev 8763)
@@ -0,0 +1,3 @@
+prereq: test -e boost_threads
+vgopts: --var-info=yes
+prog: boost_threads
|
|
From: <sv...@va...> - 2008-11-10 18:53:47
|
Author: bart
Date: 2008-11-10 18:53:42 +0000 (Mon, 10 Nov 2008)
New Revision: 8762
Log:
Added configure test for Boost.Threads.
Modified:
trunk/configure.in
Modified: trunk/configure.in
===================================================================
--- trunk/configure.in 2008-11-10 16:33:29 UTC (rev 8761)
+++ trunk/configure.in 2008-11-10 18:53:42 UTC (rev 8762)
@@ -769,6 +769,42 @@
])
+# Check whether the boost library 1.35 or later has been installed.
+# The Boost.Threads library has undergone a major rewrite in version 1.35.0.
+
+AC_MSG_CHECKING([for boost])
+
+AC_LANG(C++)
+safe_CXXFLAGS=$CXXFLAGS
+CXXFLAGS="-lboost_thread-mt"
+
+AC_LINK_IFELSE(
+[
+#include <boost/thread.hpp>
+static void thread_func(void)
+{ }
+int main(int argc, char** argv)
+{
+ boost::thread t(thread_func);
+ return 0;
+}
+],
+[
+ac_have_boost_1_35=yes
+AC_SUBST([BOOST_CFLAGS], [])
+AC_SUBST([BOOST_LIBS], ["${CXXFLAGS}"])
+AC_MSG_RESULT([yes])
+], [
+ac_have_boost_1_35=no
+AC_MSG_RESULT([no])
+])
+
+CXXFLAGS=$safe_CXXFLAGS
+AC_LANG(C)
+
+AM_CONDITIONAL([HAVE_BOOST_1_35], [test x$ac_have_boost_1_35 = xyes])
+
+
# does this compiler support -fopenmp, does it have the include file
# <omp.h> and does it have libgomp ?
|
|
From: <sv...@va...> - 2008-11-10 16:33:39
|
Author: sewardj
Date: 2008-11-10 16:33:29 +0000 (Mon, 10 Nov 2008)
New Revision: 8761
Log:
Update this test a bit. It's basically flawed though.
Modified:
trunk/helgrind/tests/tc15_laog_lockdel.c
Modified: trunk/helgrind/tests/tc15_laog_lockdel.c
===================================================================
--- trunk/helgrind/tests/tc15_laog_lockdel.c 2008-11-10 16:19:21 UTC (rev 8760)
+++ trunk/helgrind/tests/tc15_laog_lockdel.c 2008-11-10 16:33:29 UTC (rev 8761)
@@ -5,8 +5,8 @@
#include <assert.h>
/* Test that locks, having entered the lock acquisition tracking
- machinery, are forgotten by it when the memory they reside in
- becomes inaccessible. */
+ machinery, are forgotten by it when the client does
+ pthread_{mutex,rwlock}_destroy. 2008-Nov-10: see comments below. */
int main ( void )
{
@@ -38,19 +38,19 @@
r = pthread_mutex_unlock( mx1 ); assert(r==0);
r = pthread_mutex_unlock( mx2 ); assert(r==0);
- /* Free 2 and re-allocate it. This gives it a new identity,
- so a second locking sequence 2 -> 1 should now be OK. */
+ /* De-initialise 2 and re-initialise it. This gives it a new
+ identity, so a second locking sequence 2 -> 1 should now be OK. */
fprintf(stderr,
"Free 2 and re-allocate it. This gives it a new identity,\n");
fprintf(stderr, "so a second locking sequence 2 -> 1 should now be OK.\n");
pthread_mutex_destroy( mx2 );
- free(mx2);
- mx2 = malloc(sizeof(pthread_mutex_t));
- assert(mx2);
+
+
+
r = pthread_mutex_init( mx2, NULL ); assert(r==0);
- r = pthread_mutex_lock( mx2 ); assert(r==0); /* error */
- r = pthread_mutex_lock( mx1 ); assert(r==0);
+ r = pthread_mutex_lock( mx2 ); assert(r==0);
+ r = pthread_mutex_lock( mx1 ); assert(r==0); /* no error */
r = pthread_mutex_unlock( mx1 ); assert(r==0);
r = pthread_mutex_unlock( mx2 ); assert(r==0);
@@ -66,3 +66,12 @@
return 0;
}
+
+/* 2008-Nov-10: I believe this test is flawed and requires further
+ investigation. I don't think it really tests what it claims to
+ test. In particular, it still gives the right results if
+ "pthread_mutex_destroy( mx2 );" at line 46 is commented out. In
+ other words, laog somehow forgets about mx2 so that 2->1 lock
+ sequence at lines 52/3 does not produce a complaint, EVEN WHEN the
+ preceding "pthread_mutex_destroy( mx2 );" is not observed. I don't
+ know why this is, but it seems highly suspicious to me. */
|
|
From: <sv...@va...> - 2008-11-10 16:19:29
|
Author: sewardj
Date: 2008-11-10 16:19:21 +0000 (Mon, 10 Nov 2008)
New Revision: 8760
Log:
Handle EvM GC messaging properly.
Modified:
trunk/helgrind/libhb_core.c
Modified: trunk/helgrind/libhb_core.c
===================================================================
--- trunk/helgrind/libhb_core.c 2008-11-10 16:16:46 UTC (rev 8759)
+++ trunk/helgrind/libhb_core.c 2008-11-10 16:19:21 UTC (rev 8760)
@@ -3065,10 +3065,12 @@
}
VG_(doneIterFM)( genMap );
- VG_(printf)(
- "libhb: EvM GC: delete generations %lu and below, "
- "retaining %lu entries\n",
- maxGen, retained );
+ if (VG_(clo_verbosity) > 1) {
+ VG_(message)(Vg_DebugMsg,
+ "libhb: EvM GC: delete generations %lu and below, "
+ "retaining %lu entries",
+ maxGen, retained );
+ }
VG_(deleteFM)( genMap, NULL, NULL );
|
|
From: <sv...@va...> - 2008-11-10 16:16:53
|
Author: sewardj
Date: 2008-11-10 16:16:46 +0000 (Mon, 10 Nov 2008)
New Revision: 8759
Log:
Make sure laog__handle_one_lock_deletion actually gets called as a
result of the client doing pthread_mutex_destroy() or
pthread_rwlock_destroy().
Modified:
trunk/helgrind/hg_main.c
Modified: trunk/helgrind/hg_main.c
===================================================================
--- trunk/helgrind/hg_main.c 2008-11-10 15:05:30 UTC (rev 8758)
+++ trunk/helgrind/hg_main.c 2008-11-10 16:16:46 UTC (rev 8759)
@@ -1040,8 +1040,10 @@
/*----------------------------------------------------------------*/
static void laog__pre_thread_acquires_lock ( Thread*, Lock* ); /* fwds */
-static void laog__handle_lock_deletions ( WordSetID ); /* fwds */
+//static void laog__handle_lock_deletions ( WordSetID ); /* fwds */
static inline Thread* get_current_Thread ( void ); /* fwds */
+__attribute__((noinline))
+static void laog__handle_one_lock_deletion ( Lock* lk ); /* fwds */
/* Block-copy states (needed for implementing realloc()). */
@@ -1870,6 +1872,7 @@
tl_assert( !lk->heldBy );
tl_assert( HG_(is_sane_LockN)(lk) );
+ laog__handle_one_lock_deletion(lk);
map_locks_delete( lk->guestaddr );
del_LockN( lk );
}
@@ -2185,6 +2188,7 @@
tl_assert( !lk->heldBy );
tl_assert( HG_(is_sane_LockN)(lk) );
+ laog__handle_one_lock_deletion(lk);
map_locks_delete( lk->guestaddr );
del_LockN( lk );
}
@@ -2943,29 +2947,29 @@
}
}
-__attribute__((noinline))
-static void laog__handle_lock_deletions (
- WordSetID /* in univ_laog */ locksToDelete
- )
-{
- Word i, ws_size;
- UWord* ws_words;
+//__attribute__((noinline))
+//static void laog__handle_lock_deletions (
+// WordSetID /* in univ_laog */ locksToDelete
+// )
+//{
+// Word i, ws_size;
+// UWord* ws_words;
+//
+// if (!laog)
+// laog = VG_(newFM)( HG_(zalloc), "hg.lhld.1", HG_(free), NULL/*unboxedcmp*/ );
+// if (!laog_exposition)
+// laog_exposition = VG_(newFM)( HG_(zalloc), "hg.lhld.2", HG_(free),
+// cmp_LAOGLinkExposition );
+//
+// HG_(getPayloadWS)( &ws_words, &ws_size, univ_lsets, locksToDelete );
+// for (i = 0; i < ws_size; i++)
+// laog__handle_one_lock_deletion( (Lock*)ws_words[i] );
+//
+// if (HG_(clo_sanity_flags) & SCE_LAOG)
+// all__sanity_check("laog__handle_lock_deletions-post");
+//}
- if (!laog)
- laog = VG_(newFM)( HG_(zalloc), "hg.lhld.1", HG_(free), NULL/*unboxedcmp*/ );
- if (!laog_exposition)
- laog_exposition = VG_(newFM)( HG_(zalloc), "hg.lhld.2", HG_(free),
- cmp_LAOGLinkExposition );
- HG_(getPayloadWS)( &ws_words, &ws_size, univ_lsets, locksToDelete );
- for (i = 0; i < ws_size; i++)
- laog__handle_one_lock_deletion( (Lock*)ws_words[i] );
-
- if (HG_(clo_sanity_flags) & SCE_LAOG)
- all__sanity_check("laog__handle_lock_deletions-post");
-}
-
-
/*--------------------------------------------------------------*/
/*--- Malloc/free replacements ---*/
/*--------------------------------------------------------------*/
|
|
From: <sv...@va...> - 2008-11-10 15:05:43
|
Author: sewardj Date: 2008-11-10 15:05:30 +0000 (Mon, 10 Nov 2008) New Revision: 8758 Log: Adjust sed scripts used to generate the linker scripts on Linux, so as to delete everything after the trailing ======. This apparently makes the system buildable with icc 9.1. (patch from Philip Blakely). Fixes #173099. Modified: trunk/Makefile.am Modified: trunk/Makefile.am =================================================================== --- trunk/Makefile.am 2008-11-10 02:01:17 UTC (rev 8757) +++ trunk/Makefile.am 2008-11-10 15:05:30 UTC (rev 8758) @@ -207,27 +207,27 @@ valt_load_address_x86_linux.lds: Makefile $(CC) @FLAG_M32@ -Wl,--verbose -nostdlib 2>&1 | sed \ -e '1,/^=====\+$$/d' \ - -e '/^=====\+$$/d' \ + -e '/^=====\+$$/,/.\*/d' \ -e '/\. = 0x[0-9A-Fa-f]\+ + SIZEOF_HEADERS/s/0x[0-9A-Fa-f]\+/valt_load_address/g' > $@ \ || rm -f $@ valt_load_address_amd64_linux.lds: Makefile $(CC) -m64 -Wl,--verbose -nostdlib 2>&1 | sed \ -e '1,/^=====\+$$/d' \ - -e '/^=====\+$$/d' \ + -e '/^=====\+$$/,/.\*/d' \ -e '/\. = 0x[0-9A-Fa-f]\+ + SIZEOF_HEADERS/s/0x[0-9A-Fa-f]\+/valt_load_address/g' > $@ \ || rm -f $@ valt_load_address_ppc32_linux.lds: Makefile $(CC) @FLAG_M32@ -Wl,--verbose -nostdlib 2>&1 | sed \ -e '1,/^=====\+$$/d' \ - -e '/^=====\+$$/d' \ + -e '/^=====\+$$/,/.\*/d' \ -e '/\. = 0x[0-9A-Fa-f]\+ + SIZEOF_HEADERS/s/0x[0-9A-Fa-f]\+/valt_load_address/g' > $@ \ || rm -f $@ valt_load_address_ppc64_linux.lds: Makefile $(CC) -m64 -Wl,--verbose -nostdlib 2>&1 | sed \ -e '1,/^=====\+$$/d' \ - -e '/^=====\+$$/d' \ + -e '/^=====\+$$/,/.\*/d' \ -e '/\. = 0x[0-9A-Fa-f]\+ + SIZEOF_HEADERS/s/0x[0-9A-Fa-f]\+/valt_load_address/g' > $@ \ || rm -f $@ |
|
From: Tom H. <th...@cy...> - 2008-11-10 04:13:33
|
Nightly build on lloyd ( x86_64, Fedora 7 ) started at 2008-11-10 03:05: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 == 464 tests, 20 stderr failures, 0 stdout failures, 0 post failures == exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/rwlock_race (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/tc16_byterace (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (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 == 462 tests, 22 stderr failures, 1 stdout failure, 0 post failures == exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc04_free_lock (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) memcheck/tests/leakotron (stdout) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Nov 10 03:34:19 2008 --- new.short Mon Nov 10 04:13:26 2008 *************** *** 8,10 **** ! == 462 tests, 22 stderr failures, 1 stdout failure, 0 post failures == exp-ptrcheck/tests/base (stderr) --- 8,10 ---- ! == 464 tests, 20 stderr failures, 0 stdout failures, 0 post failures == exp-ptrcheck/tests/base (stderr) *************** *** 17,20 **** helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) - helgrind/tests/tc04_free_lock (stderr) helgrind/tests/tc05_simple_race (stderr) --- 17,20 ---- helgrind/tests/hg05_race2 (stderr) + helgrind/tests/rwlock_race (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) *************** *** 22,26 **** 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) --- 22,24 ---- *************** *** 29,31 **** helgrind/tests/tc22_exit_w_lock (stderr) - memcheck/tests/leakotron (stdout) memcheck/tests/x86/scalar (stderr) --- 27,28 ---- |
|
From: Tom H. <th...@cy...> - 2008-11-10 04:12:07
|
Nightly build on alvis ( i686, Red Hat 7.3 ) started at 2008-11-10 03:15:02 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 == 369 tests, 84 stderr failures, 1 stdout failure, 29 post failures == exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/hg06_readshared (stderr) helgrind/tests/rwlock_race (stderr) helgrind/tests/rwlock_test (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc02_simple_tls (stderr) helgrind/tests/tc03_re_excl (stderr) helgrind/tests/tc04_free_lock (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) 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) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/mismatches (stderr) memcheck/tests/origin1-yes (stderr) memcheck/tests/origin4-many (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (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) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (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 == 367 tests, 82 stderr failures, 1 stdout failure, 29 post failures == exp-ptrcheck/tests/bad_percentify (stderr) exp-ptrcheck/tests/base (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/fp (stderr) exp-ptrcheck/tests/globalerr (stderr) exp-ptrcheck/tests/hackedbz2 (stderr) exp-ptrcheck/tests/hp_bounds (stderr) exp-ptrcheck/tests/hp_dangle (stderr) exp-ptrcheck/tests/justify (stderr) exp-ptrcheck/tests/partial_bad (stderr) exp-ptrcheck/tests/partial_good (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) exp-ptrcheck/tests/realloc (stderr) exp-ptrcheck/tests/stackerr (stderr) exp-ptrcheck/tests/strcpy (stderr) exp-ptrcheck/tests/supp (stderr) exp-ptrcheck/tests/tricky (stderr) exp-ptrcheck/tests/unaligned (stderr) exp-ptrcheck/tests/zero (stderr) helgrind/tests/hg01_all_ok (stderr) helgrind/tests/hg02_deadlock (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/hg06_readshared (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc02_simple_tls (stderr) helgrind/tests/tc03_re_excl (stderr) helgrind/tests/tc04_free_lock (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) 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) memcheck/tests/leak-0 (stderr) memcheck/tests/leak-cycle (stderr) memcheck/tests/leak-regroot (stderr) memcheck/tests/leak-tree (stderr) memcheck/tests/long_namespace_xml (stderr) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/mismatches (stderr) memcheck/tests/origin1-yes (stderr) memcheck/tests/origin4-many (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/pointer-trace (stderr) memcheck/tests/stack_changes (stderr) memcheck/tests/varinfo1 (stderr) memcheck/tests/varinfo2 (stderr) memcheck/tests/varinfo3 (stderr) memcheck/tests/varinfo4 (stderr) memcheck/tests/varinfo5 (stderr) memcheck/tests/varinfo6 (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) none/tests/blockfault (stderr) none/tests/mremap2 (stdout) none/tests/shell (stderr) none/tests/shell_valid1 (stderr) none/tests/shell_valid2 (stderr) none/tests/shell_valid3 (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Nov 10 03:41:26 2008 --- new.short Mon Nov 10 04:11:57 2008 *************** *** 8,10 **** ! == 367 tests, 82 stderr failures, 1 stdout failure, 29 post failures == exp-ptrcheck/tests/bad_percentify (stderr) --- 8,10 ---- ! == 369 tests, 84 stderr failures, 1 stdout failure, 29 post failures == exp-ptrcheck/tests/bad_percentify (stderr) *************** *** 36,37 **** --- 36,39 ---- helgrind/tests/hg06_readshared (stderr) + helgrind/tests/rwlock_race (stderr) + helgrind/tests/rwlock_test (stderr) helgrind/tests/tc01_simple_race (stderr) |
|
From: Tom H. <th...@cy...> - 2008-11-10 03:50:28
|
Nightly build on trojan ( x86_64, Fedora Core 6 ) started at 2008-11-10 03:25:08 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 == 468 tests, 20 stderr failures, 4 stdout failures, 0 post failures == exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/rwlock_race (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/tc16_byterace (stderr) helgrind/tests/tc19_shadowmem (stderr) helgrind/tests/tc20_verifywrap (stderr) helgrind/tests/tc21_pthonce (stderr) helgrind/tests/tc22_exit_w_lock (stderr) memcheck/tests/x86/bug133694 (stdout) memcheck/tests/x86/bug133694 (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) ================================================= == 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 == 466 tests, 22 stderr failures, 4 stdout failures, 0 post failures == exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/preen_invars (stderr) exp-ptrcheck/tests/pth_create (stderr) exp-ptrcheck/tests/pth_specific (stderr) helgrind/tests/hg03_inherit (stderr) helgrind/tests/hg04_race (stderr) helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc04_free_lock (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) memcheck/tests/x86/bug133694 (stdout) memcheck/tests/x86/bug133694 (stderr) memcheck/tests/x86/scalar (stderr) none/tests/blockfault (stderr) none/tests/cmdline1 (stdout) none/tests/cmdline2 (stdout) none/tests/mremap2 (stdout) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Nov 10 03:38:34 2008 --- new.short Mon Nov 10 03:50:20 2008 *************** *** 8,10 **** ! == 466 tests, 22 stderr failures, 4 stdout failures, 0 post failures == exp-ptrcheck/tests/ccc (stderr) --- 8,10 ---- ! == 468 tests, 20 stderr failures, 4 stdout failures, 0 post failures == exp-ptrcheck/tests/ccc (stderr) *************** *** 16,19 **** helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) - helgrind/tests/tc04_free_lock (stderr) helgrind/tests/tc05_simple_race (stderr) --- 16,19 ---- helgrind/tests/hg05_race2 (stderr) + helgrind/tests/rwlock_race (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) *************** *** 21,25 **** 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) --- 21,23 ---- |
|
From: Tom H. <th...@cy...> - 2008-11-10 03:33:11
|
Nightly build on gill ( x86_64, Fedora Core 2 ) started at 2008-11-10 03:00:06 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 == 470 tests, 34 stderr failures, 3 stdout failures, 0 post failures == drd/tests/pth_cancel_locked (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/hackedbz2 (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/rwlock_race (stderr) helgrind/tests/rwlock_test (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) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/varinfo6 (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/mremap2 (stdout) none/tests/x86/insn_ssse3 (stdout) none/tests/x86/insn_ssse3 (stderr) none/tests/x86/ssse3_misaligned (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 == 468 tests, 33 stderr failures, 3 stdout failures, 0 post failures == drd/tests/pth_cancel_locked (stderr) exp-ptrcheck/tests/ccc (stderr) exp-ptrcheck/tests/hackedbz2 (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/tc04_free_lock (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) memcheck/tests/malloc_free_fill (stderr) memcheck/tests/origin5-bz2 (stderr) memcheck/tests/stack_switch (stderr) memcheck/tests/varinfo6 (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/mremap2 (stdout) none/tests/x86/insn_ssse3 (stdout) none/tests/x86/insn_ssse3 (stderr) none/tests/x86/ssse3_misaligned (stderr) ================================================= == Difference between 24 hours ago and now == ================================================= *** old.short Mon Nov 10 03:14:16 2008 --- new.short Mon Nov 10 03:32:57 2008 *************** *** 8,10 **** ! == 468 tests, 33 stderr failures, 3 stdout failures, 0 post failures == drd/tests/pth_cancel_locked (stderr) --- 8,10 ---- ! == 470 tests, 34 stderr failures, 3 stdout failures, 0 post failures == drd/tests/pth_cancel_locked (stderr) *************** *** 17,20 **** helgrind/tests/hg05_race2 (stderr) helgrind/tests/tc01_simple_race (stderr) - helgrind/tests/tc04_free_lock (stderr) helgrind/tests/tc05_simple_race (stderr) --- 17,21 ---- helgrind/tests/hg05_race2 (stderr) + helgrind/tests/rwlock_race (stderr) + helgrind/tests/rwlock_test (stderr) helgrind/tests/tc01_simple_race (stderr) helgrind/tests/tc05_simple_race (stderr) |
|
From: <sv...@va...> - 2008-11-10 02:01:25
|
Author: sewardj Date: 2008-11-10 02:01:17 +0000 (Mon, 10 Nov 2008) New Revision: 8757 Log: Use a couple of reader-writer-lock tests from drd. Added: trunk/helgrind/tests/rwlock_race.stderr.exp-glibc25-amd64 trunk/helgrind/tests/rwlock_race.stdout.exp trunk/helgrind/tests/rwlock_race.vgtest trunk/helgrind/tests/rwlock_test.stderr.exp-glibc25-amd64 trunk/helgrind/tests/rwlock_test.stdout.exp trunk/helgrind/tests/rwlock_test.vgtest Modified: trunk/helgrind/tests/Makefile.am Modified: trunk/helgrind/tests/Makefile.am =================================================================== --- trunk/helgrind/tests/Makefile.am 2008-11-10 01:16:46 UTC (rev 8756) +++ trunk/helgrind/tests/Makefile.am 2008-11-10 02:01:17 UTC (rev 8757) @@ -21,6 +21,10 @@ hg05_race2.stderr.exp-glibc25-x86 \ hg06_readshared.vgtest hg06_readshared.stdout.exp \ hg06_readshared.stderr.exp-glibc25-amd64 \ + rwlock_race.vgtest rwlock_race.stdout.exp \ + rwlock_race.stderr.exp-glibc25-amd64 \ + rwlock_test.vgtest rwlock_test.stdout.exp \ + rwlock_test.stderr.exp-glibc25-amd64 \ tc01_simple_race.vgtest tc01_simple_race.stdout.exp \ tc01_simple_race.stderr.exp-glibc25-amd64 \ tc01_simple_race.stderr.exp-glibc25-x86 \ @@ -95,6 +99,8 @@ hg04_race \ hg05_race2 \ hg06_readshared \ + rwlock_race \ + rwlock_test \ tc01_simple_race \ tc02_simple_tls \ tc03_re_excl \ @@ -126,5 +132,8 @@ # are these necessary? AM_CFLAGS = $(WERROR) -Winline -Wall -Wshadow -g $(AM_FLAG_M3264_PRI) +LDADD = -lpthread -LDADD = -lpthread +# only needed because of referencing sources in drd/tests +rwlock_race_SOURCES = ../../drd/tests/rwlock_race.c +rwlock_test_SOURCES = ../../drd/tests/rwlock_test.c Added: trunk/helgrind/tests/rwlock_race.stderr.exp-glibc25-amd64 =================================================================== --- trunk/helgrind/tests/rwlock_race.stderr.exp-glibc25-amd64 (rev 0) +++ trunk/helgrind/tests/rwlock_race.stderr.exp-glibc25-amd64 2008-11-10 02:01:17 UTC (rev 8757) @@ -0,0 +1,30 @@ + +Thread #3 was created + at 0x........: clone (in /...libc...) + by 0x........: ... + by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (rwlock_race.c:48) + +Thread #2 was created + at 0x........: clone (in /...libc...) + by 0x........: ... + by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...) + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (rwlock_race.c:47) + +Possible data race during write of size 4 at 0x........ by thread #3 + at 0x........: thread_func (rwlock_race.c:29) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + by 0x........: ... + by 0x........: ... + This conflicts with a previous access by thread #2 + at 0x........: thread_func (rwlock_race.c:29) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + by 0x........: ... + by 0x........: ... + Location 0x........ is 0 bytes inside local var "s_racy" + declared at rwlock_race.c:18, in frame #0 of thread 3 +Result: 2 + +ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) Added: trunk/helgrind/tests/rwlock_race.stdout.exp =================================================================== Added: trunk/helgrind/tests/rwlock_race.vgtest =================================================================== --- trunk/helgrind/tests/rwlock_race.vgtest (rev 0) +++ trunk/helgrind/tests/rwlock_race.vgtest 2008-11-10 02:01:17 UTC (rev 8757) @@ -0,0 +1 @@ +prog: rwlock_race Added: trunk/helgrind/tests/rwlock_test.stderr.exp-glibc25-amd64 =================================================================== --- trunk/helgrind/tests/rwlock_test.stderr.exp-glibc25-amd64 (rev 0) +++ trunk/helgrind/tests/rwlock_test.stderr.exp-glibc25-amd64 2008-11-10 02:01:17 UTC (rev 8757) @@ -0,0 +1,4 @@ + +Finished. + +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) Added: trunk/helgrind/tests/rwlock_test.stdout.exp =================================================================== Added: trunk/helgrind/tests/rwlock_test.vgtest =================================================================== --- trunk/helgrind/tests/rwlock_test.vgtest (rev 0) +++ trunk/helgrind/tests/rwlock_test.vgtest 2008-11-10 02:01:17 UTC (rev 8757) @@ -0,0 +1 @@ +prog: rwlock_test |
|
From: <sv...@va...> - 2008-11-10 01:16:52
|
Author: sewardj
Date: 2008-11-10 01:16:46 +0000 (Mon, 10 Nov 2008)
New Revision: 8756
Log:
Update expected outputs following a (trivial) change in the source of
tc09 in r8753.
Modified:
trunk/drd/tests/tc09_bad_unlock.stderr.exp
trunk/drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8
Modified: trunk/drd/tests/tc09_bad_unlock.stderr.exp
===================================================================
--- trunk/drd/tests/tc09_bad_unlock.stderr.exp 2008-11-10 00:55:21 UTC (rev 8755)
+++ trunk/drd/tests/tc09_bad_unlock.stderr.exp 2008-11-10 01:16:46 UTC (rev 8756)
@@ -29,6 +29,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
by 0x........: main (tc09_bad_unlock.c:49)
+---------------------
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
Modified: trunk/drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8
===================================================================
--- trunk/drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8 2008-11-10 00:55:21 UTC (rev 8755)
+++ trunk/drd/tests/tc09_bad_unlock.stderr.exp-glibc2.8 2008-11-10 01:16:46 UTC (rev 8756)
@@ -29,6 +29,7 @@
Destroying locked mutex: mutex 0x........, recursion count 1, owner 1.
at 0x........: nearly_main (tc09_bad_unlock.c:45)
by 0x........: (below main) (in /...libc...)
+---------------------
Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1.
at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
|
|
From: <sv...@va...> - 2008-11-10 00:55:31
|
Author: sewardj
Date: 2008-11-10 00:55:21 +0000 (Mon, 10 Nov 2008)
New Revision: 8755
Log:
Add a new expected output that applies to glibc-2.7 and later.
Added:
trunk/helgrind/tests/tc20_verifywrap.stderr.exp-glibc28-amd64
Modified:
trunk/helgrind/tests/Makefile.am
Modified: trunk/helgrind/tests/Makefile.am
===================================================================
--- trunk/helgrind/tests/Makefile.am 2008-11-10 00:46:52 UTC (rev 8754)
+++ trunk/helgrind/tests/Makefile.am 2008-11-10 00:55:21 UTC (rev 8755)
@@ -74,6 +74,7 @@
tc20_verifywrap.stderr.exp-glibc23-amd64 \
tc20_verifywrap.stderr.exp-glibc25-amd64 \
tc20_verifywrap.stderr.exp-glibc25-x86 \
+ tc20_verifywrap.stderr.exp-glibc28-amd64 \
tc21_pthonce.vgtest tc21_pthonce.stdout.exp \
tc21_pthonce.stderr.exp-glibc23-amd64 \
tc21_pthonce.stderr.exp-glibc25-amd64 \
Added: trunk/helgrind/tests/tc20_verifywrap.stderr.exp-glibc28-amd64
===================================================================
--- trunk/helgrind/tests/tc20_verifywrap.stderr.exp-glibc28-amd64 (rev 0)
+++ trunk/helgrind/tests/tc20_verifywrap.stderr.exp-glibc28-amd64 2008-11-10 00:55:21 UTC (rev 8755)
@@ -0,0 +1,165 @@
+
+
+
+------ This is output for >= glibc 2.4 ------
+
+---------------- pthread_create/join ----------------
+
+Thread #1 is the program's root thread
+
+Thread #2 was created
+ at 0x........: clone (in /...libc...)
+ by 0x........: ...
+ by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
+ by 0x........: pthread_create@* (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:76)
+
+Possible data race during write of size 2 at 0x........ by thread #1
+ at 0x........: main (tc20_verifywrap.c:78)
+ This conflicts with a previous access by thread #2
+ at 0x........: racy_child (tc20_verifywrap.c:34)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ by 0x........: ...
+ by 0x........: ...
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:27
+
+Thread #1's call to pthread_join failed
+ with error code 35 (EDEADLK: Resource deadlock would occur)
+ at 0x........: pthread_join (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:83)
+
+---------------- pthread_mutex_lock et al ----------------
+
+
+Thread #1's call to pthread_mutex_init failed
+ with error code 95 (EOPNOTSUPP: Operation not supported on transport endpoint)
+ at 0x........: pthread_mutex_init (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:92)
+
+Thread #1: pthread_mutex_destroy of a locked mutex
+ at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:102)
+
+Thread #1's call to pthread_mutex_destroy failed
+ with error code 16 (EBUSY: Device or resource busy)
+ at 0x........: pthread_mutex_destroy (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:102)
+
+Thread #1's call to pthread_mutex_lock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:108)
+
+Thread #1's call to pthread_mutex_trylock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_trylock (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:116)
+
+Thread #1's call to pthread_mutex_timedlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_timedlock (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:121)
+
+Thread #1 unlocked an invalid lock at 0x........
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:125)
+
+Thread #1's call to pthread_mutex_unlock failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:125)
+
+---------------- pthread_cond_wait et al ----------------
+
+
+Thread #1: pthread_cond_{timed}wait called with un-held mutex
+ at 0x........: pthread_cond_wait@* (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:147)
+
+Thread #1's call to pthread_cond_wait failed
+ with error code 1 (EPERM: Operation not permitted)
+ at 0x........: pthread_cond_wait@* (hg_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
+
+
+Thread #1: pthread_cond_{timed}wait called with un-held mutex
+ at 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:165)
+
+Thread #1's call to pthread_cond_timedwait failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: pthread_cond_timedwait@* (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:165)
+
+---------------- pthread_rwlock_* ----------------
+
+
+Thread #1 unlocked a not-locked lock at 0x........
+ at 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:179)
+ Lock at 0x........ was first observed
+ at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:178)
+(1) no error on next line
+(2) no error on next line
+(3) ERROR on next line
+
+Thread #1 unlocked a not-locked lock at 0x........
+ at 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:196)
+ Lock at 0x........ was first observed
+ at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:186)
+(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
+
+Thread #1 unlocked a not-locked lock at 0x........
+ at 0x........: pthread_rwlock_unlock (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:212)
+ Lock at 0x........ was first observed
+ at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:186)
+
+---------------- sem_* ----------------
+
+
+Thread #1's call to sem_init failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: sem_init@* (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:228)
+
+FIXME: can't figure out how to verify wrap of sem_destroy
+
+
+Thread #1: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post
+ at 0x........: sem_wait_WRK (hg_intercepts.c:...)
+ by 0x........: sem_wait (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:242)
+
+Thread #1's call to sem_post failed
+ with error code 22 (EINVAL: Invalid argument)
+ at 0x........: sem_post_WRK (hg_intercepts.c:...)
+ by 0x........: sem_post (hg_intercepts.c:...)
+ by 0x........: main (tc20_verifywrap.c:245)
+
+FIXME: can't figure out how to verify wrap of sem_post
+
+
+------------ dealloc of mem holding locks ------------
+
+
+Thread #1: Exiting thread still holds 1 lock
+ at 0x........: _Exit (in /...libc...)
+ by 0x........: ...
+ by 0x........: (below main) (in /...libc...)
+
+ERROR SUMMARY: 21 errors from 21 contexts (suppressed: 0 from 0)
|
|
From: <sv...@va...> - 2008-11-10 00:46:59
|
Author: sewardj Date: 2008-11-10 00:46:52 +0000 (Mon, 10 Nov 2008) New Revision: 8754 Log: Add a new expected output that applies to glibc-2.7 and later. Added: trunk/helgrind/tests/tc18_semabuse.stderr.exp-glibc28-amd64 Modified: trunk/helgrind/tests/Makefile.am Modified: trunk/helgrind/tests/Makefile.am =================================================================== --- trunk/helgrind/tests/Makefile.am 2008-11-10 00:16:34 UTC (rev 8753) +++ trunk/helgrind/tests/Makefile.am 2008-11-10 00:46:52 UTC (rev 8754) @@ -66,6 +66,7 @@ tc18_semabuse.vgtest tc18_semabuse.stdout.exp \ tc18_semabuse.stderr.exp-glibc25-amd64 \ tc18_semabuse.stderr.exp-glibc25-x86 \ + tc18_semabuse.stderr.exp-glibc28-amd64 \ tc19_shadowmem.vgtest tc19_shadowmem.stdout.exp \ tc19_shadowmem.stderr.exp-glibc25-amd64 \ tc19_shadowmem.stderr.exp-glibc25-x86 \ Added: trunk/helgrind/tests/tc18_semabuse.stderr.exp-glibc28-amd64 =================================================================== --- trunk/helgrind/tests/tc18_semabuse.stderr.exp-glibc28-amd64 (rev 0) +++ trunk/helgrind/tests/tc18_semabuse.stderr.exp-glibc28-amd64 2008-11-10 00:46:52 UTC (rev 8754) @@ -0,0 +1,20 @@ + +Thread #1 is the program's root thread + +Thread #1's call to sem_init failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: sem_init@* (hg_intercepts.c:...) + by 0x........: main (tc18_semabuse.c:23) + +Thread #1: Bug in libpthread: sem_wait succeeded on semaphore without prior sem_post + at 0x........: sem_wait_WRK (hg_intercepts.c:...) + by 0x........: sem_wait (hg_intercepts.c:...) + by 0x........: main (tc18_semabuse.c:34) + +Thread #1's call to sem_post failed + with error code 22 (EINVAL: Invalid argument) + at 0x........: sem_post_WRK (hg_intercepts.c:...) + by 0x........: sem_post (hg_intercepts.c:...) + by 0x........: main (tc18_semabuse.c:37) + +ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) |
|
From: <sv...@va...> - 2008-11-10 00:16:42
|
Author: sewardj
Date: 2008-11-10 00:16:34 +0000 (Mon, 10 Nov 2008)
New Revision: 8753
Log:
More updates to expected outputs. This currently gives Helgrind zero
failures on opensuse 10.2 on amd64 (glibc 2.5, gcc-4.1.3).
Modified:
trunk/helgrind/tests/tc09_bad_unlock.c
trunk/helgrind/tests/tc09_bad_unlock.stderr.exp-glibc25-amd64
trunk/helgrind/tests/tc17_sembar.stderr.exp-glibc25-amd64
trunk/helgrind/tests/tc20_verifywrap.stderr.exp-glibc25-amd64
Modified: trunk/helgrind/tests/tc09_bad_unlock.c
===================================================================
--- trunk/helgrind/tests/tc09_bad_unlock.c 2008-11-09 23:33:32 UTC (rev 8752)
+++ trunk/helgrind/tests/tc09_bad_unlock.c 2008-11-10 00:16:34 UTC (rev 8753)
@@ -46,7 +46,7 @@
int main ( void )
{
+ nearly_main(); fprintf(stderr, "---------------------\n" );
nearly_main();
- nearly_main();
return 0;
}
Modified: trunk/helgrind/tests/tc09_bad_unlock.stderr.exp-glibc25-amd64
===================================================================
--- trunk/helgrind/tests/tc09_bad_unlock.stderr.exp-glibc25-amd64 2008-11-09 23:33:32 UTC (rev 8752)
+++ trunk/helgrind/tests/tc09_bad_unlock.stderr.exp-glibc25-amd64 2008-11-10 00:16:34 UTC (rev 8753)
@@ -39,15 +39,8 @@
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:49)
+---------------------
-Thread #1 deallocated location 0x........ containing a locked lock
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:49)
- Lock at 0x........ was first observed
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:49)
-
Thread #1 unlocked a not-locked lock at 0x........
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:27)
@@ -55,8 +48,18 @@
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:23)
+ by 0x........: main (tc09_bad_unlock.c:49)
+
+Thread #1: Attempt to re-lock a non-recursive lock I already hold
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ by 0x........: nearly_main (tc09_bad_unlock.c:32)
by 0x........: main (tc09_bad_unlock.c:50)
+Thread #1: Bug in libpthread: recursive write lock granted on mutex/wrlock which does not support recursion
+ at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
+ by 0x........: nearly_main (tc09_bad_unlock.c:32)
+ by 0x........: main (tc09_bad_unlock.c:50)
+
Thread #3 was created
at 0x........: clone (in /...libc...)
by 0x........: ...
@@ -74,7 +77,7 @@
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
+ by 0x........: main (tc09_bad_unlock.c:49)
Thread #1 unlocked an invalid lock at 0x........
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
@@ -87,12 +90,9 @@
by 0x........: nearly_main (tc09_bad_unlock.c:41)
by 0x........: main (tc09_bad_unlock.c:50)
-Thread #1 deallocated location 0x........ containing a locked lock
- at 0x........: nearly_main (tc09_bad_unlock.c:45)
- by 0x........: main (tc09_bad_unlock.c:50)
- Lock at 0x........ was first observed
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: nearly_main (tc09_bad_unlock.c:31)
- by 0x........: main (tc09_bad_unlock.c:50)
+Thread #1: Exiting thread still holds 1 lock
+ at 0x........: _Exit (in /...libc...)
+ by 0x........: ...
+ by 0x........: (below main) (in /...libc...)
-ERROR SUMMARY: 10 errors from 10 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 11 errors from 11 contexts (suppressed: 0 from 0)
Modified: trunk/helgrind/tests/tc17_sembar.stderr.exp-glibc25-amd64
===================================================================
--- trunk/helgrind/tests/tc17_sembar.stderr.exp-glibc25-amd64 2008-11-09 23:33:32 UTC (rev 8752)
+++ trunk/helgrind/tests/tc17_sembar.stderr.exp-glibc25-amd64 2008-11-10 00:16:34 UTC (rev 8753)
@@ -1,48 +1,5 @@
starting
-Thread #2 was created
- at 0x........: clone (in /...libc...)
- by 0x........: ...
- by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc17_sembar.c:195)
-
-Thread #3 was created
- at 0x........: clone (in /...libc...)
- by 0x........: ...
- by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc17_sembar.c:195)
-
-Thread #4 was created
- at 0x........: clone (in /...libc...)
- by 0x........: ...
- by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc17_sembar.c:195)
-
-Thread #5 was created
- at 0x........: clone (in /...libc...)
- by 0x........: ...
- by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
- by 0x........: pthread_create@* (hg_intercepts.c:...)
- by 0x........: main (tc17_sembar.c:195)
-
-Possible data race during read of size 4 at 0x........
- at 0x........: gomp_barrier_wait (tc17_sembar.c:122)
- by 0x........: child (tc17_sembar.c:161)
- by 0x........: mythread_wrapper (hg_intercepts.c:...)
- by 0x........: ...
- by 0x........: ...
- Old state: shared-modified by threads #2, #3, #4, #5
- New state: shared-modified by threads #2, #3, #4, #5
- Reason: this thread, #2, holds no consistent locks
- Last consistently used lock for 0x........ was first observed
- at 0x........: pthread_mutex_init (hg_intercepts.c:...)
- by 0x........: gomp_barrier_init (tc17_sembar.c:46)
- by 0x........: main (tc17_sembar.c:192)
- Location 0x........ is 0 bytes inside bar.arrived,
- declared at tc17_sembar.c:136, in frame #0 of thread 2
done, result is 88, should be 88
-ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Modified: trunk/helgrind/tests/tc20_verifywrap.stderr.exp-glibc25-amd64
===================================================================
--- trunk/helgrind/tests/tc20_verifywrap.stderr.exp-glibc25-amd64 2008-11-09 23:33:32 UTC (rev 8752)
+++ trunk/helgrind/tests/tc20_verifywrap.stderr.exp-glibc25-amd64 2008-11-10 00:16:34 UTC (rev 8753)
@@ -14,13 +14,15 @@
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:76)
-Possible data race during write of size 2 at 0x........
+Possible data race during write of size 2 at 0x........ by thread #1
at 0x........: main (tc20_verifywrap.c:78)
- Old state: owned exclusively by thread #2
- New state: shared-modified by threads #1, #2
- Reason: this thread, #1, holds no locks at all
- Location 0x........ is 0 bytes inside global var "unprotected"
- declared at tc20_verifywrap.c:27
+ This conflicts with a previous access by thread #2
+ at 0x........: racy_child (tc20_verifywrap.c:34)
+ by 0x........: mythread_wrapper (hg_intercepts.c:...)
+ by 0x........: ...
+ by 0x........: ...
+ Location 0x........ is 0 bytes inside global var "unprotected"
+ declared at tc20_verifywrap.c:27
Thread #1's call to pthread_join failed
with error code 35 (EDEADLK: Resource deadlock would occur)
@@ -149,10 +151,9 @@
------------ dealloc of mem holding locks ------------
-Thread #1 deallocated location 0x........ containing a locked lock
- at 0x........: main (tc20_verifywrap.c:262)
- Lock at 0x........ was first observed
- at 0x........: pthread_rwlock_init (hg_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:216)
+Thread #1: Exiting thread still holds 1 lock
+ at 0x........: _Exit (in /...libc...)
+ by 0x........: ...
+ by 0x........: (below main) (in /...libc...)
ERROR SUMMARY: 20 errors from 20 contexts (suppressed: 0 from 0)
|