The following patch compensates recent changes in Valgrind -- please
apply this patch to the trunk. Result on openSUSE 10.3 after applying
the patch (revision 7218):
$ perl tests/vg_regtest exp-drd
-- Running  tests in exp-drd/tests -------------------------------------
fp_race:         valgrind   ./fp_race
fp_race2:        valgrind   ./fp_race -m
pth_broadcast:   valgrind   ./pth_broadcast
pth_cond_race:   valgrind   ./pth_cond_race
pth_cond_race2:  valgrind   ./pth_cond_race -m
pth_create_chain: valgrind   ./pth_create_chain 10
pth_detached:    valgrind   ./pth_detached 1 1
pth_detached2:   valgrind   ./pth_detached 10 10
sigalrm:         valgrind   ./sigalrm
*** sigalrm failed (stderr) ***
-- Finished tests in exp-drd/tests -------------------------------------


Index: exp-drd/tests/filter_stderr
===================================================================
--- exp-drd/tests/filter_stderr (revision 7218)
+++ exp-drd/tests/filter_stderr (working copy)
@@ -9,7 +9,7 @@
 # Remove libpthread's version number.
 # Remove line numbers from stack traces.
 sed \
--e "/^drd, a data race detector\.$/d" \
+-e "/^exp-drd, a data race detector\.$/d" \
 -e "/^NOTE: This is an Experimental-Class Valgrind Tool.$/d"  \
 -e "/^Copyright (C) 2006-200., and GNU GPL'd, by Bart Van Assche.$/d" \
 -e "s/in [^ ]*libpthread-[0-9]*\.[0-9]*\.so/in libpthread-?.?.so/" \
Index: glibc-2.X-drd.supp
===================================================================
--- glibc-2.X-drd.supp  (revision 7218)
+++ glibc-2.X-drd.supp  (working copy)
@@ -78,6 +78,30 @@
 {
    pthread
    exp-drd:ConflictingAccess
+   obj:/lib64/libpthread-2.6.1.so
+   fun:start_thread
+   fun:clone
+}
+{
+   pthread
+   exp-drd:ConflictingAccess
+   obj:/lib64/libc-2.6.1.so
+   fun:__libc_thread_freeres
+   fun:start_thread
+   fun:clone
+}
+{
+   pthread
+   exp-drd:ConflictingAccess
+   obj:/lib64/libc-2.6.1.so
+   obj:/lib64/libc-2.6.1.so
+   fun:__libc_thread_freeres
+   fun:start_thread
+   fun:clone
+}
+{
+   pthread
+   exp-drd:ConflictingAccess
    fun:__nptl_deallocate_tsd
    fun:start_thread
    fun:clone

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers

Reply via email to