Some tweaks to make more tests pass, or get closer to passing, on

--enable-only32bit builds on my Ubuntu box:

- For all tests, replace all operator new/new[]/delete/delete[] variants
  with a common form, eg. "...operator new...".  This makes
  exp-ptrcheck/tests/ccc and memcheck/tests/mismatches pass.

- For Helgrind tests, replace all libpthread paths with "/...libpthread...",
  as is done for libc paths.  This avoids problems when /lib32/libpthread.so
  is the path.  No extra tests pass, but many of them get a lot closer to
  passing.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9333
This commit is contained in:
Nicholas Nethercote 2009-03-10 03:34:00 +00:00
parent bafed25ae9
commit 1d75b1ac58
65 changed files with 7447 additions and 7516 deletions

View File

@ -10,14 +10,14 @@ Invalid read of size 4
at 0x........: main (ccc.cpp:21)
Address 0x........ is 4 bytes before the accessing pointer's
legitimate range, a block of size 4 alloc'd
at 0x........: operator new(unsigned long) (vg_replace_malloc.c:...)
at 0x........: ...operator new... (vg_replace_malloc.c:...)
by 0x........: main (ccc.cpp:9)
Invalid read of size 4
at 0x........: main (ccc.cpp:22)
Address 0x........ is 4 bytes before the accessing pointer's
legitimate range, a block of size 40 alloc'd
at 0x........: operator new[](unsigned long) (vg_replace_malloc.c:...)
at 0x........: ...operator new...) (vg_replace_malloc.c:...)
by 0x........: main (ccc.cpp:10)
Invalid read of size 4

View File

@ -10,14 +10,14 @@ Invalid read of size 4
at 0x........: main (ccc.cpp:21)
Address 0x........ is 4 bytes before the accessing pointer's
legitimate range, a block of size 4 alloc'd
at 0x........: operator new(unsigned) (vg_replace_malloc.c:...)
at 0x........: ...operator new... (vg_replace_malloc.c:...)
by 0x........: main (ccc.cpp:9)
Invalid read of size 4
at 0x........: main (ccc.cpp:22)
Address 0x........ is 4 bytes before the accessing pointer's
legitimate range, a block of size 40 alloc'd
at 0x........: operator new[](unsigned) (vg_replace_malloc.c:...)
at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
by 0x........: main (ccc.cpp:10)
Invalid read of size 4

View File

@ -10,14 +10,14 @@ Invalid read of size 4
at 0x........: main (ccc.cpp:21)
Address 0x........ is 4 bytes before the accessing pointer's
legitimate range, a block of size 4 alloc'd
at 0x........: operator new(unsigned) (vg_replace_malloc.c:...)
at 0x........: ...operator new... (vg_replace_malloc.c:...)
by 0x........: main (ccc.cpp:9)
Invalid read of size 4
at 0x........: main (ccc.cpp:22)
Address 0x........ is 4 bytes before the accessing pointer's
legitimate range, a block of size 40 alloc'd
at 0x........: operator new[](unsigned) (vg_replace_malloc.c:...)
at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
by 0x........: main (ccc.cpp:10)
Invalid read of size 4

View File

@ -10,14 +10,14 @@ Invalid read of size 4
at 0x........: main (ccc.cpp:21)
Address 0x........ is 4 bytes before the accessing pointer's
legitimate range, a block of size 4 alloc'd
at 0x........: operator new(unsigned long) (vg_replace_malloc.c:...)
at 0x........: ...operator new... (vg_replace_malloc.c:...)
by 0x........: main (ccc.cpp:9)
Invalid read of size 4
at 0x........: main (ccc.cpp:22)
Address 0x........ is 4 bytes before the accessing pointer's
legitimate range, a block of size 40 alloc'd
at 0x........: operator new[](unsigned long) (vg_replace_malloc.c:...)
at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
by 0x........: main (ccc.cpp:10)
Invalid read of size 4

View File

@ -13,10 +13,10 @@ sed "/^Helgrind, a thread error detector/ , /./ d" |
# Anonymise line numbers in hg_intercepts.c
sed "s/hg_intercepts.c:[0-9]*/hg_intercepts.c:.../g" |
# Change (eg) "/lib64/libpthread-2.5.so" into "/lib/libpthread..."
# Change (eg) "/lib64/libpthread-2.5.so" into "/...libpthread..."
sed \
-e "s/lib64/lib/g" \
-e "s/libpthread.*so/libpthread\.\.\./g" |
-e "s/(in \/.*libpthread.*)$/(in \/...libpthread...)/" \
-e "s/(within \/.*libpthread.*)$/(within \/...libpthread...)/" |
# Change (eg) "pthread_create@@GLIBC_2.2.5" into "pthread_create@GLIBC"
# and (eg) "pthread_create@GLIBC_2.1" into "pthread_create@GLIBC"
@ -25,9 +25,9 @@ sed "s/@@*GLIBC_2[0123456789\.]*/@GLIBC_/g" |
# Tidy up in cases where glibc (+ libdl + libpthread + ld) have
# been built with debugging information, hence source locs are present
sed \
-e "s/(createthread.c:[0-9]*)/(in \/lib\/libpthread...)/g" \
-e "s/(createthread.c:[0-9]*)/(in \/...libpthread...)/g" \
-e "s/(clone.S:[0-9]*)/(in \/...libc...)/g" \
-e "s/start_thread (pthread_create.c:[0-9]*)$/start_thread (in \/lib\/libpthread...)/g" |
-e "s/start_thread (pthread_create.c:[0-9]*)$/start_thread (in \/...libpthread...)/g" |
# get rid of the numbers in bits of text "Thread #n", "thread #n",
# "Thread n" and "thread n",

View File

@ -1,8 +1,8 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg02_deadlock.c:36)
@ -10,19 +10,19 @@ Thread #x: lock order "0x........ before 0x........" violated
at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: t2 (hg02_deadlock.c:20)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Required order was established by acquisition of lock at 0x........
at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: t1 (hg02_deadlock.c:9)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
followed by a later acquisition of lock at 0x........
at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: t1 (hg02_deadlock.c:10)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

View File

@ -1,7 +1,7 @@
Thread #3 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg02_deadlock.c:36)

View File

@ -1,7 +1,7 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg02_deadlock.c:36)
@ -9,19 +9,19 @@ Thread #x: lock order "0x........ before 0x........" violated
at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: t2 (hg02_deadlock.c:20)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Required order was established by acquisition of lock at 0x........
at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: t1 (hg02_deadlock.c:9)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
followed by a later acquisition of lock at 0x........
at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: t1 (hg02_deadlock.c:10)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)

View File

@ -1,8 +1,8 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg03_inherit.c:46)
@ -11,7 +11,7 @@ Thread #x is the program's root thread
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: t2 (hg03_inherit.c:28)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous read of size 4 by thread #x
at 0x........: main (hg03_inherit.c:60)
@ -21,7 +21,7 @@ Possible data race during write of size 4 at 0x........ by thread #x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: t2 (hg03_inherit.c:29)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous read of size 4 by thread #x
at 0x........: main (hg03_inherit.c:60)

View File

@ -3,7 +3,7 @@ Thread #1 is the program's root thread
Thread #3 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg03_inherit.c:46)

View File

@ -1,7 +1,7 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg03_inherit.c:46)
@ -10,7 +10,7 @@ Thread #x is the program's root thread
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: t2 (hg03_inherit.c:28)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous read of size 4 by thread #x
at 0x........: main (hg03_inherit.c:60)
@ -20,7 +20,7 @@ Possible data race during write of size 4 at 0x........ by thread #x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: t2 (hg03_inherit.c:29)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous read of size 4 by thread #x
at 0x........: main (hg03_inherit.c:60)

View File

@ -1,27 +1,27 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg04_race.c:21)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg04_race.c:19)
Possible data race during read of size 4 at 0x........ by thread #x
at 0x........: th (hg04_race.c:10)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: th (hg04_race.c:10)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside local var "shared"
declared at hg04_race.c:6, in frame #0 of thread x
@ -29,12 +29,12 @@ Possible data race during read of size 4 at 0x........ by thread #x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: th (hg04_race.c:10)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: th (hg04_race.c:10)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside local var "shared"
declared at hg04_race.c:6, in frame #0 of thread x

View File

@ -1,13 +1,13 @@
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg04_race.c:19)
Thread #3 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg04_race.c:21)

View File

@ -1,25 +1,25 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg04_race.c:21)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg04_race.c:19)
Possible data race during read of size 4 at 0x........ by thread #x
at 0x........: th (hg04_race.c:10)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: th (hg04_race.c:10)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside local var "shared"
declared at hg04_race.c:6, in frame #0 of thread x
@ -27,12 +27,12 @@ Possible data race during read of size 4 at 0x........ by thread #x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: th (hg04_race.c:10)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: th (hg04_race.c:10)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside local var "shared"
declared at hg04_race.c:6, in frame #0 of thread x

View File

@ -1,27 +1,27 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg05_race2.c:29)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg05_race2.c:27)
Possible data race during read of size 4 at 0x........ by thread #x
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
declared at hg05_race2.c:24, in frame #4 of thread x
@ -29,12 +29,12 @@ Possible data race during read of size 4 at 0x........ by thread #x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
declared at hg05_race2.c:24, in frame #4 of thread x

View File

@ -1,13 +1,13 @@
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg05_race2.c:27)
Thread #3 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg05_race2.c:29)

View File

@ -1,25 +1,25 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg05_race2.c:29)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (hg05_race2.c:27)
Possible data race during read of size 4 at 0x........ by thread #x
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
declared at hg05_race2.c:24, in frame #3 of thread x
@ -27,12 +27,12 @@ Possible data race during read of size 4 at 0x........ by thread #x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
declared at hg05_race2.c:24, in frame #3 of thread x

View File

@ -1,13 +1,13 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
@ -15,10 +15,10 @@ Thread #x was created
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)

View File

@ -1,15 +1,15 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
@ -17,10 +17,10 @@ Thread #x was created
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)

View File

@ -1,13 +1,13 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
@ -15,351 +15,351 @@ Thread #x was created
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)

View File

@ -1,15 +1,15 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
@ -17,351 +17,351 @@ Thread #x was created
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)

View File

@ -1,13 +1,13 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
@ -15,10 +15,10 @@ Thread #x was created
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)

View File

@ -1,15 +1,15 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: barriers_and_races (pth_barrier.c:84)
by 0x........: main (pth_barrier.c:107)
@ -17,10 +17,10 @@ Thread #x was created
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: threadfunc (pth_barrier.c:57)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)

View File

@ -1,27 +1,27 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (rwlock_race.c:48)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (rwlock_race.c:47)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: thread_func (rwlock_race.c:29)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: thread_func (rwlock_race.c:29)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside local var "s_racy"
declared at rwlock_race.c:18, in frame #0 of thread x

View File

@ -1,25 +1,25 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (rwlock_race.c:48)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (rwlock_race.c:47)
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: thread_func (rwlock_race.c:29)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: thread_func (rwlock_race.c:29)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside local var "s_racy"
declared at rwlock_race.c:18, in frame #0 of thread x

View File

@ -3,8 +3,8 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc01_simple_race.c:22)
@ -13,7 +13,7 @@ Possible data race during read of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc01_simple_race.c:14)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "x"
declared at tc01_simple_race.c:9
@ -23,7 +23,7 @@ Possible data race during write of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc01_simple_race.c:14)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "x"
declared at tc01_simple_race.c:9

View File

@ -3,7 +3,7 @@ Thread #1 is the program's root thread
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc01_simple_race.c:22)

View File

@ -3,7 +3,7 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc01_simple_race.c:22)
@ -12,7 +12,7 @@ Possible data race during read of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc01_simple_race.c:14)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "x"
declared at tc01_simple_race.c:9
@ -22,7 +22,7 @@ Possible data race during write of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc01_simple_race.c:14)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "x"
declared at tc01_simple_race.c:9

View File

@ -3,8 +3,8 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc05_simple_race.c:27)
@ -13,7 +13,7 @@ Possible data race during read of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc05_simple_race.c:19)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "y"
declared at tc05_simple_race.c:10
@ -23,7 +23,7 @@ Possible data race during write of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc05_simple_race.c:19)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "y"
declared at tc05_simple_race.c:10

View File

@ -3,7 +3,7 @@ Thread #1 is the program's root thread
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc05_simple_race.c:27)

View File

@ -3,7 +3,7 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc05_simple_race.c:27)
@ -12,7 +12,7 @@ Possible data race during read of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc05_simple_race.c:19)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "y"
declared at tc05_simple_race.c:10
@ -22,7 +22,7 @@ Possible data race during write of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc05_simple_race.c:19)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "y"
declared at tc05_simple_race.c:10

View File

@ -3,8 +3,8 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc06_two_races.c:26)
@ -13,7 +13,7 @@ Possible data race during read of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc06_two_races.c:14)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprot1"
declared at tc06_two_races.c:9
@ -23,7 +23,7 @@ Possible data race during write of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc06_two_races.c:14)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprot1"
declared at tc06_two_races.c:9
@ -33,7 +33,7 @@ Possible data race during read of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc06_two_races.c:18)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprot2"
declared at tc06_two_races.c:9
@ -43,7 +43,7 @@ Possible data race during write of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc06_two_races.c:18)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprot2"
declared at tc06_two_races.c:9

View File

@ -3,7 +3,7 @@ Thread #1 is the program's root thread
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc06_two_races.c:26)

View File

@ -3,7 +3,7 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc06_two_races.c:26)
@ -12,7 +12,7 @@ Possible data race during read of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc06_two_races.c:14)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprot1"
declared at tc06_two_races.c:9
@ -22,7 +22,7 @@ Possible data race during write of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc06_two_races.c:14)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprot1"
declared at tc06_two_races.c:9
@ -32,7 +32,7 @@ Possible data race during read of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc06_two_races.c:18)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprot2"
declared at tc06_two_races.c:9
@ -42,7 +42,7 @@ Possible data race during write of size 4 at 0x........ by thread #x
This conflicts with a previous write of size 4 by thread #x
at 0x........: child_fn (tc06_two_races.c:18)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprot2"
declared at tc06_two_races.c:9

View File

@ -13,7 +13,7 @@ Thread #1 unlocked a not-locked lock at 0x........
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: ...
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:35)
by 0x........: main (tc09_bad_unlock.c:49)
@ -54,7 +54,7 @@ Thread #1 unlocked a not-locked lock at 0x........
Thread #3 was created
at 0x........: clone (in /...libc...)
by 0x........: ...
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:35)
by 0x........: main (tc09_bad_unlock.c:50)

View File

@ -12,8 +12,8 @@ Thread #x unlocked a not-locked lock at 0x........
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:35)
by 0x........: main (tc09_bad_unlock.c:49)
@ -22,7 +22,7 @@ Thread #x unlocked lock at 0x........ currently held by thread #x
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: child_fn (tc09_bad_unlock.c:11)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
@ -62,8 +62,8 @@ Thread #x: Bug in libpthread: recursive write lock granted on mutex/wrlock which
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:35)
by 0x........: main (tc09_bad_unlock.c:50)
@ -72,7 +72,7 @@ Thread #x unlocked lock at 0x........ currently held by thread #x
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: child_fn (tc09_bad_unlock.c:11)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)

View File

@ -12,7 +12,7 @@ Thread #1 unlocked a not-locked lock at 0x........
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:35)
by 0x........: main (tc09_bad_unlock.c:49)
@ -58,7 +58,7 @@ Thread #1 unlocked a not-locked lock at 0x........
Thread #3 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:35)
by 0x........: main (tc09_bad_unlock.c:50)

View File

@ -12,7 +12,7 @@ Thread #x unlocked a not-locked lock at 0x........
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:35)
by 0x........: main (tc09_bad_unlock.c:49)
@ -21,7 +21,7 @@ Thread #x unlocked lock at 0x........ currently held by thread #x
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: child_fn (tc09_bad_unlock.c:11)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)
@ -61,7 +61,7 @@ Thread #x: Bug in libpthread: recursive write lock granted on mutex/wrlock which
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: nearly_main (tc09_bad_unlock.c:35)
by 0x........: main (tc09_bad_unlock.c:50)
@ -70,7 +70,7 @@ Thread #x unlocked lock at 0x........ currently held by thread #x
at 0x........: pthread_mutex_unlock (hg_intercepts.c:...)
by 0x........: child_fn (tc09_bad_unlock.c:11)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Lock at 0x........ was first observed
at 0x........: pthread_mutex_init (hg_intercepts.c:...)

View File

@ -1,8 +1,8 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc14_laog_dinphils.c:34)
@ -10,7 +10,7 @@ Thread #x: lock order "0x........ before 0x........" violated
at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: dine (tc14_laog_dinphils.c:19)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
ERROR SUMMARY: 1000 errors from 1 contexts (suppressed: 0 from 0)

View File

@ -1,7 +1,7 @@
Thread #6 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc14_laog_dinphils.c:34)

View File

@ -1,7 +1,7 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc14_laog_dinphils.c:34)
@ -9,7 +9,7 @@ Thread #x: lock order "0x........ before 0x........" violated
at 0x........: pthread_mutex_lock (hg_intercepts.c:...)
by 0x........: dine (tc14_laog_dinphils.c:19)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
ERROR SUMMARY: 1000 errors from 1 contexts (suppressed: 0 from 0)

View File

@ -3,8 +3,8 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc16_byterace.c:22)
@ -13,7 +13,7 @@ Possible data race during read of size 1 at 0x........ by thread #x
This conflicts with a previous write of size 1 by thread #x
at 0x........: child_fn (tc16_byterace.c:13)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside bytes[4],
a global variable declared at tc16_byterace.c:7
@ -23,7 +23,7 @@ Possible data race during write of size 1 at 0x........ by thread #x
This conflicts with a previous write of size 1 by thread #x
at 0x........: child_fn (tc16_byterace.c:13)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside bytes[4],
a global variable declared at tc16_byterace.c:7

View File

@ -3,7 +3,7 @@ Thread #1 is the program's root thread
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc16_byterace.c:22)

View File

@ -3,7 +3,7 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc16_byterace.c:22)
@ -12,7 +12,7 @@ Possible data race during read of size 1 at 0x........ by thread #x
This conflicts with a previous write of size 1 by thread #x
at 0x........: child_fn (tc16_byterace.c:13)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside bytes[4],
a global variable declared at tc16_byterace.c:7
@ -22,7 +22,7 @@ Possible data race during write of size 1 at 0x........ by thread #x
This conflicts with a previous write of size 1 by thread #x
at 0x........: child_fn (tc16_byterace.c:13)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside bytes[4],
a global variable declared at tc16_byterace.c:7

View File

@ -2,25 +2,25 @@
starting
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc17_sembar.c:195)
Thread #3 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc17_sembar.c:195)
Thread #4 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc17_sembar.c:195)
Thread #5 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc17_sembar.c:195)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@ Thread #1 is the program's root thread
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: ...
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:76)

View File

@ -9,8 +9,8 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:76)
@ -19,7 +19,7 @@ Possible data race during write of size 2 at 0x........ by thread #x
This conflicts with a previous write of size 2 by thread #x
at 0x........: racy_child (tc20_verifywrap.c:34)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprotected"
declared at tc20_verifywrap.c:27

View File

@ -9,7 +9,7 @@ Thread #1 is the program's root thread
Thread #2 was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:76)

View File

@ -9,7 +9,7 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:76)
@ -18,7 +18,7 @@ Possible data race during write of size 2 at 0x........ by thread #x
This conflicts with a previous write of size 2 by thread #x
at 0x........: racy_child (tc20_verifywrap.c:34)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprotected"
declared at tc20_verifywrap.c:27

View File

@ -9,8 +9,8 @@ Thread #x is the program's root thread
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc20_verifywrap.c:76)
@ -19,7 +19,7 @@ Possible data race during write of size 2 at 0x........ by thread #x
This conflicts with a previous write of size 2 by thread #x
at 0x........: racy_child (tc20_verifywrap.c:34)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside global var "unprotected"
declared at tc20_verifywrap.c:27

View File

@ -2,14 +2,14 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: ...
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc21_pthonce.c:86)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: ...
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc21_pthonce.c:86)

View File

@ -1,27 +1,27 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc21_pthonce.c:86)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc21_pthonce.c:86)
Possible data race during read of size 4 at 0x........ by thread #x
at 0x........: child (tc21_pthonce.c:74)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: child (tc21_pthonce.c:74)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside local var "unprotected2"
declared at tc21_pthonce.c:51, in frame #0 of thread x
@ -29,12 +29,12 @@ Possible data race during read of size 4 at 0x........ by thread #x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: child (tc21_pthonce.c:74)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: child (tc21_pthonce.c:74)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside local var "unprotected2"
declared at tc21_pthonce.c:51, in frame #0 of thread x

View File

@ -1,13 +1,13 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc21_pthonce.c:86)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc21_pthonce.c:86)

View File

@ -1,25 +1,25 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc21_pthonce.c:86)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc21_pthonce.c:86)
Possible data race during read of size 4 at 0x........ by thread #x
at 0x........: child (tc21_pthonce.c:74)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: child (tc21_pthonce.c:74)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside local var "unprotected2"
declared at tc21_pthonce.c:51, in frame #0 of thread x
@ -27,12 +27,12 @@ Possible data race during read of size 4 at 0x........ by thread #x
Possible data race during write of size 4 at 0x........ by thread #x
at 0x........: child (tc21_pthonce.c:74)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
This conflicts with a previous write of size 4 by thread #x
at 0x........: child (tc21_pthonce.c:74)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
by 0x........: start_thread (in /lib/libpthread...)
by 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Location 0x........ is 0 bytes inside local var "unprotected2"
declared at tc21_pthonce.c:51, in frame #0 of thread x

View File

@ -1,24 +1,24 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:39)
Thread #x: Exiting thread still holds 2 locks
at 0x........: start_thread (in /lib/libpthread...)
at 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: do_clone (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: do_clone (in /...libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:42)
Thread #x: Exiting thread still holds 1 lock
at 0x........: start_thread (in /lib/libpthread...)
at 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Thread #x is the program's root thread

View File

@ -1,22 +1,22 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:39)
Thread #x: Exiting thread still holds 2 locks
at 0x........: start_thread (in /lib/libpthread...)
at 0x........: start_thread (in /...libpthread...)
by 0x........: ...
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:42)
Thread #x: Exiting thread still holds 1 lock
at 0x........: start_thread (in /lib/libpthread...)
at 0x........: start_thread (in /...libpthread...)
by 0x........: ...
Thread #x is the program's root thread

View File

@ -1,22 +1,22 @@
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:39)
Thread #x: Exiting thread still holds 2 locks
at 0x........: start_thread (in /lib/libpthread...)
at 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Thread #x was created
at 0x........: clone (in /...libc...)
by 0x........: pthread_create@GLIBC_ (in /lib/libpthread...)
by 0x........: pthread_create@GLIBC_ (in /...libpthread...)
by 0x........: pthread_create@* (hg_intercepts.c:...)
by 0x........: main (tc22_exit_w_lock.c:42)
Thread #x: Exiting thread still holds 1 lock
at 0x........: start_thread (in /lib/libpthread...)
at 0x........: start_thread (in /...libpthread...)
by 0x........: clone (in /...libc...)
Thread #x is the program's root thread

View File

@ -94,7 +94,7 @@ EXTRA_DIST = $(noinst_SCRIPTS) \
memcmptest.stdout.exp memcmptest.vgtest \
mempool.stderr.exp mempool.stderr.exp64 mempool.vgtest \
metadata.stderr.exp metadata.stdout.exp metadata.vgtest \
mismatches.stderr.exp mismatches.stderr.exp64 mismatches.vgtest \
mismatches.stderr.exp mismatches.vgtest \
mmaptest.stderr.exp mmaptest.vgtest \
nanoleak.stderr.exp nanoleak.vgtest \
nanoleak_supp.stderr.exp nanoleak_supp.vgtest nanoleak.supp \

View File

@ -1,41 +1,41 @@
Mismatched free() / delete / delete []
at 0x........: operator delete(void*) (vg_replace_malloc.c:...)
at 0x........: ...operator delete... (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:6)
Address 0x........ is 0 bytes inside a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:5)
Mismatched free() / delete / delete []
at 0x........: operator delete[](void*) (vg_replace_malloc.c:...)
at 0x........: ...operator delete[]... (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:8)
Address 0x........ is 0 bytes inside a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:7)
Mismatched free() / delete / delete []
at 0x........: operator delete(void*) (vg_replace_malloc.c:...)
at 0x........: ...operator delete... (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:13)
Address 0x........ is 0 bytes inside a block of size 40 alloc'd
at 0x........: operator new[](unsigned) (vg_replace_malloc.c:...)
at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:12)
Mismatched free() / delete / delete []
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:15)
Address 0x........ is 0 bytes inside a block of size 40 alloc'd
at 0x........: operator new[](unsigned) (vg_replace_malloc.c:...)
at 0x........: ...operator new[]... (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:14)
Mismatched free() / delete / delete []
at 0x........: operator delete[](void*) (vg_replace_malloc.c:...)
at 0x........: ...operator delete[]... (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:20)
Address 0x........ is 0 bytes inside a block of size 4 alloc'd
at 0x........: operator new(unsigned) (vg_replace_malloc.c:...)
at 0x........: ...operator new... (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:19)
Mismatched free() / delete / delete []
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:22)
Address 0x........ is 0 bytes inside a block of size 4 alloc'd
at 0x........: operator new(unsigned) (vg_replace_malloc.c:...)
at 0x........: ...operator new... (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:21)

View File

@ -1,41 +0,0 @@
Mismatched free() / delete / delete []
at 0x........: __builtin_delete (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:6)
Address 0x........ is 0 bytes inside a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:5)
Mismatched free() / delete / delete []
at 0x........: __builtin_vec_delete (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:8)
Address 0x........ is 0 bytes inside a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:7)
Mismatched free() / delete / delete []
at 0x........: __builtin_delete (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:13)
Address 0x........ is 0 bytes inside a block of size 40 alloc'd
at 0x........: __builtin_vec_new (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:12)
Mismatched free() / delete / delete []
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:15)
Address 0x........ is 0 bytes inside a block of size 40 alloc'd
at 0x........: __builtin_vec_new (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:14)
Mismatched free() / delete / delete []
at 0x........: __builtin_vec_delete (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:20)
Address 0x........ is 0 bytes inside a block of size 4 alloc'd
at 0x........: __builtin_new (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:19)
Mismatched free() / delete / delete []
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:22)
Address 0x........ is 0 bytes inside a block of size 4 alloc'd
at 0x........: __builtin_new (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:21)

View File

@ -1,41 +0,0 @@
Mismatched free() / delete / delete []
at 0x........: operator delete(void*) (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:6)
Address 0x........ is 0 bytes inside a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:5)
Mismatched free() / delete / delete []
at 0x........: operator delete[](void*) (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:8)
Address 0x........ is 0 bytes inside a block of size 10 alloc'd
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:7)
Mismatched free() / delete / delete []
at 0x........: operator delete(void*) (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:13)
Address 0x........ is 0 bytes inside a block of size 40 alloc'd
at 0x........: operator new[](unsigned long) (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:12)
Mismatched free() / delete / delete []
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:15)
Address 0x........ is 0 bytes inside a block of size 40 alloc'd
at 0x........: operator new[](unsigned long) (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:14)
Mismatched free() / delete / delete []
at 0x........: operator delete[](void*) (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:20)
Address 0x........ is 0 bytes inside a block of size 4 alloc'd
at 0x........: operator new(unsigned long) (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:19)
Mismatched free() / delete / delete []
at 0x........: free (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:22)
Address 0x........ is 0 bytes inside a block of size 4 alloc'd
at 0x........: operator new(unsigned long) (vg_replace_malloc.c:...)
by 0x........: main (mismatches.cpp:21)

View File

@ -24,6 +24,19 @@ while (<>)
s/($libc_symbols) \(.+\.[cS]:\d+\)$/$1 (in \/...libc...)/;
# Merge the different C++ operator variations.
s/(at.*)__builtin_new/$1...operator new.../;
s/(at.*)operator new\(unsigned(| int| long)\)/$1...operator new.../;
s/(at.*)__builtin_vec_new/$1...operator new.../;
s/(at.*)operator new\[\]\(unsigned(| int| long)\)/$1...operator new[].../;
s/(at.*)__builtin_delete/$1...operator delete.../;
s/(at.*)operator delete\(void\*\)/$1...operator delete.../;
s/(at.*)__builtin_vec_delete/$1...operator delete[].../;
s/(at.*)operator delete\[\]\(void\*\)/$1...operator delete[].../;
print;
}