Age | Commit message (Collapse) | Author |
|
Add a new Race suppression.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15622 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
both --read-inline-info=yes or =no
Some piece of code in glibc produces an error to be suppressed
with default helgrind supp file.
The stacktrace with inline info is:
==14392== Possible data race during write of size 1 at 0x5BB36A7 by thread #1
==14392== Locks held: none
==14392== at 0x4C2B3B5: mempcpy (vg_replace_strmem.c:1354)
==14392== by 0x40107FD: _dl_allocate_tls_init (dl-tls.c:437)
==14392== by 0x4E3BF0F: get_cached_stack (allocatestack.c:250)
==14392== by 0x4E3BF0F: allocate_stack (allocatestack.c:486)
==14392== by 0x4E3BF0F: pthread_create@@GLIBC_2.2.5 (pthread_create.c:460)
==14392== by 0x4C3039C: pthread_create_WRK (hg_intercepts.c:270)
==14392== by 0x4C304AB: pthread_create@* (hg_intercepts.c:301)
==14392== by 0x400926: main (tc22_exit_w_lock.c:42)
stack trace without inline info:
==5432== at 0x4C2B3B5: mempcpy (vg_replace_strmem.c:1354)
==5432== by 0x40107FD: _dl_allocate_tls_init (dl-tls.c:437)
==5432== by 0x4E3BF0F: pthread_create@@GLIBC_2.2.5 (allocatestack.c:250)
==5432== by 0x4C3039C: pthread_create_WRK (hg_intercepts.c:270)
==5432== by 0x4C304AB: pthread_create@* (hg_intercepts.c:301)
==5432== by 0x400926: main (tc22_exit_w_lock.c:42)
The suppression supposed to match the above is:
{
helgrind---_dl_allocate_tls
Helgrind:Race
fun:mempcpy
fun:_dl_allocate_tls_init
fun:pthread_create@@GLIBC_2.2*
fun:pthread_create_WRK
fun:pthread_create@*
}
This only matches the 2nd stack trace, does not match the one
with inline info.
2 solutions:
* only match the last top 2 fun, i.e. a suppression such as:
{
helgrind---_dl_allocate_tls
Helgrind:Race
fun:mempcpy
fun:_dl_allocate_tls_init
}
Or alternatively use ...
{
helgrind---_dl_allocate_tls
Helgrind:Race
fun:mempcpy
fun:_dl_allocate_tls_init
...
fun:pthread_create@@GLIBC_2.2*
fun:pthread_create_WRK
fun:pthread_create@*
}
As helgrind suppressions are usually precise and/or use ...,
this last approach chosen
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14436 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
Reported-by: Dejan Jevtic <dejan.jevtic@rt-rk.com>
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13745 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
explicitly matches /lib/... needs to match /usr/lib/... as well.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12400 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
race between mythread_wrapper and the wrapper for pthread_create. The
previous scheme could lead to false race reports in obscure cases.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11102 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
number of races which have to be expensively suppressed, so it's
better not to do so.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10676 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
I tried using 'svn merge' to do the merge but it did a terrible job and
there were bazillions of conflicts. So instead I just took the diff between
the branch and trunk at r10155, applied the diff to the trunk, 'svn add'ed
the added files (no files needed to be 'svn remove'd) and committed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10156 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9265 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9097 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
regard for any calling frames. Needed to hide the fact that we can't
see stdio locking stuff and hence end up reporting a lot of errors in
multithreaded stdio working.
MERGE TO 3_4_BRANCH.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9028 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
clever interim solution to the problem of Helgrind reporting lots of
false races in glibc's stdio functions, due to it not seeing the
relevant (inlined, alas) locking that glibc uses.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8897 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
his gets rid of a bunch of more specific suppressions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8886 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8870 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
near-duplication on the suppressions concerning combinations of
libc, ld and libpthread.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8865 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8844 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
pthread_exit.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8819 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8785 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8766 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
minor changes to make stack unwinding on amd64-linux approximately
twice as fast as it was before.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8707 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8140 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7286 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7280 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
entries in file.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7182 a5019735-40e9-0310-863c-91ae7b9d1cf9
|
|
glibc-2.7.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7181 a5019735-40e9-0310-863c-91ae7b9d1cf9
|