6164 Commits

Author SHA1 Message Date
Bart Van Assche
c3219e5bf5 Apparently converting a stack address into a symbolic name doesn't work for the hg05_race2 test program on PowerPC systems. Added additional expected output file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8317
2008-06-30 10:50:33 +00:00
Julian Seward
c75bc57408 Track vex r1857 (addition of Imbe_SnoopedStoreBegin and
Imbe_SnoopedStoreEnd).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8316
2008-06-30 10:32:54 +00:00
Bart Van Assche
22a7a01c8b Added to repository.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8306
2008-06-29 07:45:03 +00:00
Bart Van Assche
77782ec334 Added #define _GNU_SOURCE to make sure that this test compiles with older POSIX threads implementations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8305
2008-06-29 07:20:00 +00:00
Bart Van Assche
9c14dd11cb Modified code such that concurrent pthread_cond_wait() and pthread_destroy() calls do no longer trigger an assertion failure in DRD.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8304
2008-06-28 16:55:35 +00:00
Bart Van Assche
a28836bab7 Continued working on the DRD documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8303
2008-06-28 16:47:22 +00:00
Bart Van Assche
22407294e2 Bug fix: only complain about recursive locking before pthread_cond_wait() is called if the calling thread holds the lock.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8302
2008-06-28 16:42:16 +00:00
Bart Van Assche
6e0f1a6ff0 An error message is now printed if the mutex pointer passed to
pthread_cond_wait() does not point to a mutex object, and also if the
mutex pointer passed to pthread_cond_wait() points to a recursive mutex
that has been locked recursively.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8301
2008-06-28 16:28:49 +00:00
Bart Van Assche
a8971abd42 Changed function not_a_mutex() from static to extern.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8300
2008-06-28 16:22:24 +00:00
Bart Van Assche
bfc32949b4 Added comment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8299
2008-06-28 16:06:01 +00:00
Bart Van Assche
8db83fb46a An error message is now printed if two different threads call
pthread_cond_*wait() on the same condition variable but with a different
mutex argument. Added regression test pth_inconsistent_cond_wait.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8298
2008-06-28 16:01:43 +00:00
Bart Van Assche
cceb5509e5 Semaphore and barrier reinitialization are now reported.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8297
2008-06-28 15:03:26 +00:00
Bart Van Assche
d6bb5c34d0 DRD now prints where a mutex appeared for the first time in addition to
the mutex address when an error message is printed for condition
variables.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8296
2008-06-28 13:40:41 +00:00
Bart Van Assche
806d5abe6d Some time ago reporting sending POSIX signals where the mutex associated
with the signal via pthread_cond_wait()/pthread_cond_timedwait() was
disabled. Reenabled this report, made it configurable, and added a
regression test for the new command line option.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8295
2008-06-28 13:01:30 +00:00
Bart Van Assche
58985b01c3 Delayed thread termination such that the "other segment" information is included in the data race reports.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8294
2008-06-28 11:53:01 +00:00
Bart Van Assche
0ea6042a1d Moved shell statements for building Firefox to a separate file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8293
2008-06-28 10:00:37 +00:00
Bart Van Assche
28af04a202 Swapped two mkdir statements.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8292
2008-06-28 09:59:35 +00:00
Bart Van Assche
ce8fccbac1 Renamed "danger set" into "conflict set".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8291
2008-06-28 07:19:56 +00:00
Bart Van Assche
a82e55b5c2 Fixed typo.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8290
2008-06-27 19:25:35 +00:00
Bart Van Assche
3211ffbf8f Moved --trace-segment from regular to debugging options.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8289
2008-06-27 15:00:07 +00:00
Bart Van Assche
9d908446bc Added a reference to a paper about data race detection.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8288
2008-06-27 14:56:48 +00:00
Bart Van Assche
af97950f23 Continued working on the DRD documentation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8287
2008-06-27 14:56:06 +00:00
Bart Van Assche
57e17d3ef7 Fixed filter.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8286
2008-06-27 07:50:11 +00:00
Bart Van Assche
9c5e7c6670 Added extra filtering for the stderr output of malloc_free_fill such that the output of this test becomes independent of the Linux distribution the test is run on. Should fix #162819.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8285
2008-06-27 07:33:18 +00:00
Bart Van Assche
8a111b33ff Let the compiler print a comprehensible error message if it does not provide built-in functions for atomic memory access.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8284
2008-06-26 08:58:25 +00:00
Bart Van Assche
15b27d8ff0 Added configure test for the gcc/icc built-in functions for atomic memory access (__sync_bool_compare_and_swap() a.o.).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8283
2008-06-26 08:43:12 +00:00
Bart Van Assche
1af3a135df Added ppc implementation of atomic compare and swap.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8282
2008-06-26 08:34:53 +00:00
Bart Van Assche
6c54624109 Use same flags for OpenMP regression tests as for the other regression tests.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8281
2008-06-26 07:31:15 +00:00
Bart Van Assche
c2cfeda8fe Minor change of the help text.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8280
2008-06-26 07:30:32 +00:00
Bart Van Assche
b3013e9de9 Reworked test such that file locking is now triggered from two different processes.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8277
2008-06-24 09:54:05 +00:00
Julian Seward
9263da368a Handle apparently-bogus DW_TAG_compilation_unit DIE that shows up in
gcc-4.3 output.  My reading of the DWARF3 standard is that a
DW_TAG_compilation_unit should have either DW_AT_ranges or a
(DW_AT_low_pc, DW_AT_high_pc) pair, but not both.  So I think this is
a gcc bug.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8276
2008-06-24 09:51:55 +00:00
Julian Seward
5187274475 Suppress false positives in Memcheck caused by very clever coding in zlib.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8275
2008-06-24 09:48:39 +00:00
Bart Van Assche
f15fefe571 Added missing mode_t argument to open() system call.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8274
2008-06-23 18:57:48 +00:00
Bart Van Assche
a2422543c7 Changed the unusual "%s", "" back to "".
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8273
2008-06-23 12:41:00 +00:00
Bart Van Assche
b2389ef1a1 Fixed mismatches between format string and argument list. Output should be binary identical to the output before this patch.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8272
2008-06-23 12:29:53 +00:00
Bart Van Assche
bad4b265c9 Result of timerfd() syscall is no longer printed to stdout, which should make this regression test more reproducible.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8271
2008-06-23 12:25:12 +00:00
Bart Van Assche
8cf513b069 Pass the flag -Wno-format-zero-length to gcc (if supported by gcc) while compiling tools. This flag only affects those tools for which -Wformat is enabled (at this time only exp-drd).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8270
2008-06-23 12:11:49 +00:00
Bart Van Assche
857eaf6fdb Added regression test for POSIX advisory locking (fcntl(..., F_SETFL, ...)).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8269
2008-06-23 11:43:28 +00:00
Bart Van Assche
4b1b317c6c Eliminated out-of-line copy of vc_lte().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8268
2008-06-22 13:05:00 +00:00
Bart Van Assche
938e9d01c7 Updated results.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8267
2008-06-21 18:16:40 +00:00
Bart Van Assche
bd28f145d5 Moved support for Linux-specific system call sys_init_module from generic to Linux wrappers. Added wrapper for sys_delete_module system call.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8266
2008-06-21 16:28:24 +00:00
Bart Van Assche
c279a0ffc9 Works now with older kernels too.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8265
2008-06-21 08:07:40 +00:00
Bart Van Assche
3c637bfefd Re-enabled raytrace.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8264
2008-06-20 12:37:41 +00:00
Bart Van Assche
e3ebca1d59 Enabled support for the init_module() system call on amd64. Should fix #164476.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8263
2008-06-20 10:41:12 +00:00
Bart Van Assche
5a37590fbb Disabled radiosity test because it seems to hang when p >= 2. Updated results.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8262
2008-06-20 07:52:28 +00:00
Julian Seward
f2b962ebbd Merge (from 3_3_BRANCH) some parts of r8168 (Fix up suppressions for Ubuntu 8.04.)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8261
2008-06-19 16:24:49 +00:00
Bart Van Assche
31754e41fc Changed cache size passed to FFT again to half of the real cache size such that the test fits again in 2 GB RAM.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8260
2008-06-19 16:14:30 +00:00
Bart Van Assche
512f8c64e6 Restored option -room for radiosity, which had been left out accidentally.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8259
2008-06-19 12:42:43 +00:00
Bart Van Assche
078fb260d9 - The water-n2 and water-sp tests read the number of threads
from their input file. The input file for these tests is now 
  generated and now contains the proper number of threads.
- Some SPLASH2 benchmarks accept the syntax -p${p} but not -p ${p},
  and some accept -p ${p} but not -p${p}.
- Commented out RAYTRACE benchmark because it seems to hang with p > 1.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8256
2008-06-19 07:49:49 +00:00
Bart Van Assche
9e3684c505 Support alternative locations for the pacct file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8255
2008-06-18 16:07:00 +00:00