Files
ftmemsim-valgrind/helgrind/tests/annotate_rwlock.stderr.exp
Florian Krohm 387089d67d Change the backtrace filtering machinery for the helgrind regression
bucket. Instead of removing what we don't want to see in a backtrace
(e.g. path segments through libc and libpthread), we simply keep what
we do want to see. That way .exp files can be generic.
We need to make sure that GCC inlining does not get in the way. So all
the ..._WRK function in hg_intercepts.c are attributed as noinline.
The backtrace filtering is done in the new filter_helgrind script.
filter_stderr is simplified quite a bit.
Fixes bug #281468. See also the comments #5 and #6 there.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12045
2011-09-26 00:29:44 +00:00

118 lines
4.1 KiB
Plaintext

---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (annotate_rwlock.c:164)
---Thread-Announcement------------------------------------------
Thread #x was created
...
by 0x........: pthread_create_WRK (hg_intercepts.c:...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (annotate_rwlock.c:164)
----------------------------------------------------------------
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: rwlock_rdlock (annotate_rwlock.c:71)
by 0x........: thread_func (annotate_rwlock.c:144)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
This conflicts with a previous write of size 4 by thread #x
Locks held: none
at 0x........: rwlock_wrlock (annotate_rwlock.c:106)
by 0x........: thread_func (annotate_rwlock.c:147)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
----------------------------------------------------------------
Possible data race during read of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
by 0x........: thread_func (annotate_rwlock.c:144)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
This conflicts with a previous write of size 4 by thread #x
Locks held: none
at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
by 0x........: thread_func (annotate_rwlock.c:144)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
----------------------------------------------------------------
Possible data race during write of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: rwlock_rdlock (annotate_rwlock.c:81)
by 0x........: thread_func (annotate_rwlock.c:144)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
This conflicts with a previous read of size 4 by thread #x
Locks held: none
at 0x........: rwlock_unlock (annotate_rwlock.c:131)
by 0x........: thread_func (annotate_rwlock.c:149)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
----------------------------------------------------------------
Possible data race during write of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: rwlock_unlock (annotate_rwlock.c:121)
by 0x........: thread_func (annotate_rwlock.c:146)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
This conflicts with a previous read of size 4 by thread #x
Locks held: none
at 0x........: rwlock_unlock (annotate_rwlock.c:131)
by 0x........: thread_func (annotate_rwlock.c:149)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
----------------------------------------------------------------
Possible data race during write of size 4 at 0x........ by thread #x
Locks held: none
at 0x........: rwlock_wrlock (annotate_rwlock.c:106)
by 0x........: thread_func (annotate_rwlock.c:147)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
This conflicts with a previous read of size 4 by thread #x
Locks held: none
at 0x........: rwlock_unlock (annotate_rwlock.c:132)
by 0x........: thread_func (annotate_rwlock.c:149)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
----------------------------------------------------------------
Lock at 0x........ was first observed
at 0x........: rwlock_init (annotate_rwlock.c:54)
by 0x........: main (annotate_rwlock.c:161)
Possible data race during write of size 4 at 0x........ by thread #x
Locks held: 1, at address 0x........
at 0x........: rwlock_unlock (annotate_rwlock.c:127)
by 0x........: thread_func (annotate_rwlock.c:149)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
This conflicts with a previous read of size 4 by thread #x
Locks held: none
at 0x........: rwlock_unlock (annotate_rwlock.c:132)
by 0x........: thread_func (annotate_rwlock.c:149)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
Finished.