mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Change things so that helgrind regtests pass on my machine -- changed stderr
filters to strip out varying things, and changed outputs correspondingly. Yell if this breaks them for you. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1952
This commit is contained in:
parent
2b04cbba29
commit
f24e49d184
@ -1,15 +1,15 @@
|
||||
|
||||
Thread 3:
|
||||
Mutex 0x........(m1) locked in inconsistent order
|
||||
at 0x........: __pthread_mutex_lock (vg_libpthread.c:945)
|
||||
at 0x........: __pthread_mutex_lock (vg_libpthread.c:...)
|
||||
by 0x........: t2 (deadlock.c:20)
|
||||
by 0x........: thread_wrapper (vg_libpthread.c:661)
|
||||
by 0x........: thread_wrapper (vg_libpthread.c:...)
|
||||
by 0x........: do__quit (vg_scheduler.c:1791)
|
||||
while holding locks 0x........(m2)
|
||||
0x........(m2) last locked at
|
||||
at 0x........: __pthread_mutex_lock (vg_libpthread.c:945)
|
||||
at 0x........: __pthread_mutex_lock (vg_libpthread.c:...)
|
||||
by 0x........: t2 (deadlock.c:19)
|
||||
by 0x........: thread_wrapper (vg_libpthread.c:661)
|
||||
by 0x........: thread_wrapper (vg_libpthread.c:...)
|
||||
by 0x........: do__quit (vg_scheduler.c:1791)
|
||||
while depending on locks 0x........(m1)
|
||||
|
||||
|
||||
@ -7,11 +7,13 @@ dir=`dirname $0`
|
||||
$dir/../../tests/filter_stderr_basic |
|
||||
$dir/../../tests/filter_addresses |
|
||||
|
||||
# Anonymise paths like "section of /foo/bar/helgrind/tests/baz)"
|
||||
sed "s/section of \/.*helgrind\/tests.*$/section of \/...helgrind\/tests.../" |
|
||||
|
||||
# Output looks like...
|
||||
#
|
||||
# ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
||||
# [0] = { }
|
||||
# ==27116== 0 possible data races found
|
||||
|
||||
sed "/ERROR SUMMARY:/ , /0 possible data races found/ d"
|
||||
|
||||
|
||||
@ -0,0 +1,2 @@
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
Thread 3:
|
||||
Possible data race writing variable at 0x........ (shared)
|
||||
at 0x........: th (race.c:10)
|
||||
by 0x........: thread_wrapper (vg_libpthread.c:661)
|
||||
by 0x........: thread_wrapper (vg_libpthread.c:...)
|
||||
by 0x........: do__quit (vg_scheduler.c:1791)
|
||||
Address 0x........ is in BSS section of /home/jeremy/cvs/valgrind/helgrind/tests/race
|
||||
Address 0x........ is in BSS section of /...helgrind/tests...
|
||||
Previous state: shared RO, no locks
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
Thread 3:
|
||||
Possible data race writing variable at 0x........
|
||||
at 0x........: th (race2.c:17)
|
||||
by 0x........: thread_wrapper (vg_libpthread.c:661)
|
||||
by 0x........: thread_wrapper (vg_libpthread.c:...)
|
||||
by 0x........: do__quit (vg_scheduler.c:1791)
|
||||
Address 0x........ == &(f->poot[5].plop[11]) at race2.c:17
|
||||
Previous state: shared RO, no locks
|
||||
|
||||
@ -20,6 +20,9 @@ sed "s/vg_replace_malloc.c:[0-9]\+/vg_replace_malloc.c:.../" |
|
||||
# Anonymise vg_intercept lines
|
||||
sed "s/vg_intercept.c:[0-9]\+/vg_intercept.c:.../" |
|
||||
|
||||
# Anonymise vg_libpthread lines
|
||||
sed "s/vg_libpthread.c:[0-9]\+/vg_libpthread.c:.../" |
|
||||
|
||||
# Reduce some libc incompatibility
|
||||
sed "s/ __getsockname / getsockname /" |
|
||||
sed "s/ __sigaction / sigaction /" |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user