Author: sewardj
Date: 2007-11-05 03:17:07 +0000 (Mon, 05 Nov 2007)
New Revision: 7095
Log:
Update expected outputs for glibc25-x86.
Added:
branches/THRCHECK/thrcheck/tests/tc22_exit_w_lock.stderr.exp-glibc25-x86
branches/THRCHECK/thrcheck/tests/tc23_bogus_condwait.stderr.exp-glibc25-x86
Modified:
branches/THRCHECK/thrcheck/tests/Makefile.am
branches/THRCHECK/thrcheck/tests/tc20_verifywrap.stderr.exp-glibc25-x86
Modified: branches/THRCHECK/thrcheck/tests/Makefile.am
===================================================================
--- branches/THRCHECK/thrcheck/tests/Makefile.am 2007-11-05 03:00:05 UTC
(rev 7094)
+++ branches/THRCHECK/thrcheck/tests/Makefile.am 2007-11-05 03:17:07 UTC
(rev 7095)
@@ -78,8 +78,10 @@
tc21_pthonce.stderr.exp-glibc25-x86 \
tc22_exit_w_lock.vgtest tc22_exit_w_lock.stdout.exp \
tc22_exit_w_lock.stderr.exp-glibc25-amd64 \
+ tc22_exit_w_lock.stderr.exp-glibc25-x86 \
tc23_bogus_condwait.vgtest tc23_bogus_condwait.stdout.exp \
- tc23_bogus_condwait.stderr.exp-glibc25-amd64
+ tc23_bogus_condwait.stderr.exp-glibc25-amd64 \
+ tc23_bogus_condwait.stderr.exp-glibc25-x86
check_PROGRAMS = \
hg01_all_ok \
Modified:
branches/THRCHECK/thrcheck/tests/tc20_verifywrap.stderr.exp-glibc25-x86
===================================================================
--- branches/THRCHECK/thrcheck/tests/tc20_verifywrap.stderr.exp-glibc25-x86
2007-11-05 03:00:05 UTC (rev 7094)
+++ branches/THRCHECK/thrcheck/tests/tc20_verifywrap.stderr.exp-glibc25-x86
2007-11-05 03:17:07 UTC (rev 7095)
@@ -68,12 +68,9 @@
---------------- pthread_cond_wait et al ----------------
-Thread #1 unlocked a not-locked lock at 0x........
+Thread #1: pthread_cond_{timed}wait called with un-held mutex
at 0x........: [EMAIL PROTECTED] (tc_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:147)
- Lock at 0x........ was first observed
- at 0x........: pthread_mutex_init (tc_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:145)
Thread #1's call to pthread_cond_wait failed
with error code 1 (EPERM: Operation not permitted)
@@ -86,6 +83,10 @@
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........: [EMAIL PROTECTED] (tc_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........: [EMAIL PROTECTED] (tc_intercepts.c:...)
@@ -146,15 +147,9 @@
Thread #1 deallocated location 0x........ containing a locked lock
- at 0x........: main (tc20_verifywrap.c:262)
+ at 0x........: main (tc20_verifywrap.c:261)
Lock at 0x........ was first observed
at 0x........: pthread_rwlock_init (tc_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:216)
-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_mutex_init (tc_intercepts.c:...)
- by 0x........: main (tc20_verifywrap.c:145)
-
ERROR SUMMARY: 20 errors from 20 contexts (suppressed: 0 from 0)
Added: branches/THRCHECK/thrcheck/tests/tc22_exit_w_lock.stderr.exp-glibc25-x86
===================================================================
--- branches/THRCHECK/thrcheck/tests/tc22_exit_w_lock.stderr.exp-glibc25-x86
(rev 0)
+++ branches/THRCHECK/thrcheck/tests/tc22_exit_w_lock.stderr.exp-glibc25-x86
2007-11-05 03:17:07 UTC (rev 7095)
@@ -0,0 +1,46 @@
+
+Thread #2 was created
+ at 0x........: clone (in /...libc...)
+ by 0x........: [EMAIL PROTECTED] (in /lib/libpthread...)
+ by 0x........: [EMAIL PROTECTED] (tc_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:39)
+
+Thread #2: Exiting thread still holds 2 locks
+ at 0x........: start_thread (in /lib/libpthread...)
+ by 0x........: ...
+
+Thread #1 is the program's root thread
+
+Possible data race during write of size 4 at 0x........
+ at 0x........: mempcpy (in /lib/ld-2.5.so)
+ by 0x........: [EMAIL PROTECTED] (in /lib/libpthread...)
+ by 0x........: [EMAIL PROTECTED] (tc_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+ Old state: owned exclusively by thread #2
+ New state: shared-modified by threads #1, #2
+ Reason: this thread, #1, holds no locks at all
+
+Possible data race during write of size 4 at 0x........
+ at 0x........: memset (in /lib/ld-2.5.so)
+ by 0x........: [EMAIL PROTECTED] (in /lib/libpthread...)
+ by 0x........: [EMAIL PROTECTED] (tc_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+ Old state: owned exclusively by thread #2
+ New state: shared-modified by threads #1, #2
+ Reason: this thread, #1, holds no locks at all
+
+Thread #3 was created
+ at 0x........: clone (in /...libc...)
+ by 0x........: [EMAIL PROTECTED] (in /lib/libpthread...)
+ by 0x........: [EMAIL PROTECTED] (tc_intercepts.c:...)
+ by 0x........: main (tc22_exit_w_lock.c:42)
+
+Thread #3: Exiting thread still holds 1 lock
+ at 0x........: start_thread (in /lib/libpthread...)
+ by 0x........: ...
+
+Thread #1: Exiting thread still holds 1 lock
+ at 0x........: kill (in /...libc...)
+ by 0x........: (below main) (in /...libc...)
+
+ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
Added:
branches/THRCHECK/thrcheck/tests/tc23_bogus_condwait.stderr.exp-glibc25-x86
===================================================================
--- branches/THRCHECK/thrcheck/tests/tc23_bogus_condwait.stderr.exp-glibc25-x86
(rev 0)
+++ branches/THRCHECK/thrcheck/tests/tc23_bogus_condwait.stderr.exp-glibc25-x86
2007-11-05 03:17:07 UTC (rev 7095)
@@ -0,0 +1,30 @@
+
+Thread #1 is the program's root thread
+
+Thread #1: pthread_cond_{timed}wait called with invalid mutex
+ at 0x........: [EMAIL PROTECTED] (tc_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:62)
+
+Thread #1: pthread_cond_{timed}wait called with un-held mutex
+ at 0x........: [EMAIL PROTECTED] (tc_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:65)
+
+Thread #1: pthread_cond_{timed}wait called with mutex of type pthread_rwlock_t*
+ at 0x........: [EMAIL PROTECTED] (tc_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:68)
+
+Thread #3 was created
+ at 0x........: clone (in /...libc...)
+ by 0x........: [EMAIL PROTECTED] (in /lib/libpthread...)
+ by 0x........: [EMAIL PROTECTED] (tc_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:71)
+
+Thread #3: Exiting thread still holds 1 lock
+ at 0x........: start_thread (in /lib/libpthread...)
+ by 0x........: ...
+
+Thread #1: pthread_cond_{timed}wait called with mutex held by a different
thread
+ at 0x........: [EMAIL PROTECTED] (tc_intercepts.c:...)
+ by 0x........: main (tc23_bogus_condwait.c:73)
+
+ERROR SUMMARY: 5 errors from 5 contexts (suppressed: 0 from 0)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Valgrind-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers