================================================= ./valgrind-new/gdbserver_tests/hginfo.stderrB.diff ================================================= --- hginfo.stderrB.exp 2023-03-13 02:30:43.853247765 +0000 +++ hginfo.stderrB.out 2023-03-13 02:36:11.004186059 +0000 @@ -1,5 +1,9 @@ vgdb-error value changed from 0 to 999999 Lock ga 0x........ { + Address 0x........ is 2648 bytes inside data symbol "_rtld_local" + kind mbRec +} +Lock ga 0x........ { Address 0x........ is 0 bytes inside data symbol "mx" kind mbRec { W1:thread #x tid #x } @@ -11,6 +15,10 @@ ... Block was alloc'd by thread #x Lock ga 0x........ { + Address 0x........ is 2648 bytes inside data symbol "_rtld_local" + kind mbRec +} +Lock ga 0x........ { Address 0x........ is 0 bytes inside data symbol "mx" kind mbRec { W1:thread #x tid #x } ================================================= ./valgrind-new/helgrind/tests/pth_mempcpy_false_races.stderr.diff ================================================= --- pth_mempcpy_false_races.stderr.exp 2023-03-13 02:30:43.862247895 +0000 +++ pth_mempcpy_false_races.stderr.out 2023-03-13 02:42:42.557926833 +0000 @@ -0,0 +1,224 @@ +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (pth_mempcpy_false_races.c:38) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (pth_mempcpy_false_races.c:37) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,602 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 2 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,604 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,612 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,613 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 2 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,732 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x ================================================= ./valgrind-new/memcheck/tests/overlap.stderr.diff ================================================= --- overlap.stderr.exp 2023-03-13 02:30:43.919248719 +0000 +++ overlap.stderr.out 2023-03-13 02:39:28.544091748 +0000 @@ -1,11 +1,3 @@ -Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (vg_replace_strmem.c:...) - by 0x........: main (overlap.c:40) - -Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (vg_replace_strmem.c:...) - by 0x........: main (overlap.c:42) - Source and destination overlap in strncpy(0x........, 0x........, 21) at 0x........: strncpy (vg_replace_strmem.c:...) by 0x........: main (overlap.c:45) ================================================= ./valgrind-new/memcheck/tests/x86-linux/scalar.stderr.diff ================================================= --- scalar.stderr.exp 2023-03-13 02:30:43.938248993 +0000 +++ scalar.stderr.out 2023-03-13 02:41:41.267029842 +0000 @@ -981,3256 +981,4 @@ by 0x........: main (scalar.c:393) Address 0x........ is not stack'd, malloc'd or (recently) free'd ------------------------------------------------------ - 81: __NR_setgroups 2s 1m ------------------------------------------------------ -Syscall param setgroups16(size) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:397) - -Syscall param setgroups16(list) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:397) - -Syscall param setgroups16(list) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:397) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 82: __NR_select 1s 5m ------------------------------------------------------ -Syscall param old_select(args) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:403) - -Syscall param old_select(args) points to uninitialised byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is on thread 1's stack - in frame #1, created by main (scalar.c:29) - -Syscall param old_select(readfds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(writefds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(exceptfds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(timeout) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 83: __NR_symlink 2s 2m ------------------------------------------------------ -Syscall param symlink(oldpath) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:408) - -Syscall param symlink(newpath) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:408) - -Syscall param symlink(oldpath) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:408) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param symlink(newpath) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:408) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 84: __NR_oldlstat n/a ------------------------------------------------------ ------------------------------------------------------ - 85: __NR_readlink 3s 2m ------------------------------------------------------ -Syscall param readlink(path) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(buf) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(bufsiz) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(path) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:416) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param readlink(buf) points to unaddressable byte(s) ================================================= ./valgrind-old/gdbserver_tests/hginfo.stderrB.diff ================================================= --- hginfo.stderrB.exp 2023-03-13 02:11:17.359632412 +0000 +++ hginfo.stderrB.out 2023-03-13 02:16:12.032737436 +0000 @@ -1,5 +1,9 @@ vgdb-error value changed from 0 to 999999 Lock ga 0x........ { + Address 0x........ is 2648 bytes inside data symbol "_rtld_local" + kind mbRec +} +Lock ga 0x........ { Address 0x........ is 0 bytes inside data symbol "mx" kind mbRec { W1:thread #x tid #x } @@ -11,6 +15,10 @@ ... Block was alloc'd by thread #x Lock ga 0x........ { + Address 0x........ is 2648 bytes inside data symbol "_rtld_local" + kind mbRec +} +Lock ga 0x........ { Address 0x........ is 0 bytes inside data symbol "mx" kind mbRec { W1:thread #x tid #x } ================================================= ./valgrind-old/helgrind/tests/pth_mempcpy_false_races.stderr.diff ================================================= --- pth_mempcpy_false_races.stderr.exp 2023-03-13 02:11:17.369632551 +0000 +++ pth_mempcpy_false_races.stderr.out 2023-03-13 02:22:30.599063748 +0000 @@ -0,0 +1,224 @@ +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (pth_mempcpy_false_races.c:38) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (pth_mempcpy_false_races.c:37) + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,602 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 2 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,604 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,612 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,613 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 2 at 0x........ by thread #x +Locks held: none + ... + by 0x........: thread3 (pth_mempcpy_false_races.c:19) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 1,732 bytes inside a block of size 4,096 alloc'd + at 0x........: malloc (vg_replace_malloc.c:...) + ... + by 0x........: thread2 (pth_mempcpy_false_races.c:30) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x ================================================= ./valgrind-old/memcheck/tests/overlap.stderr.diff ================================================= --- overlap.stderr.exp 2023-03-13 02:11:17.416633205 +0000 +++ overlap.stderr.out 2023-03-13 02:19:28.651475178 +0000 @@ -1,11 +1,3 @@ -Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (vg_replace_strmem.c:...) - by 0x........: main (overlap.c:40) - -Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (vg_replace_strmem.c:...) - by 0x........: main (overlap.c:42) - Source and destination overlap in strncpy(0x........, 0x........, 21) at 0x........: strncpy (vg_replace_strmem.c:...) by 0x........: main (overlap.c:45) ================================================= ./valgrind-old/memcheck/tests/x86-linux/scalar.stderr.diff ================================================= --- scalar.stderr.exp 2023-03-13 02:11:17.435633469 +0000 +++ scalar.stderr.out 2023-03-13 02:21:29.521193203 +0000 @@ -981,3256 +981,4 @@ by 0x........: main (scalar.c:393) Address 0x........ is not stack'd, malloc'd or (recently) free'd ------------------------------------------------------ - 81: __NR_setgroups 2s 1m ------------------------------------------------------ -Syscall param setgroups16(size) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:397) - -Syscall param setgroups16(list) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:397) - -Syscall param setgroups16(list) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:397) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 82: __NR_select 1s 5m ------------------------------------------------------ -Syscall param old_select(args) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:403) - -Syscall param old_select(args) points to uninitialised byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is on thread 1's stack - in frame #1, created by main (scalar.c:29) - -Syscall param old_select(readfds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(writefds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(exceptfds) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param old_select(timeout) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:403) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 83: __NR_symlink 2s 2m ------------------------------------------------------ -Syscall param symlink(oldpath) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:408) - -Syscall param symlink(newpath) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:408) - -Syscall param symlink(oldpath) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:408) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param symlink(newpath) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:408) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - ------------------------------------------------------ - 84: __NR_oldlstat n/a ------------------------------------------------------ ------------------------------------------------------ - 85: __NR_readlink 3s 2m ------------------------------------------------------ -Syscall param readlink(path) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(buf) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(bufsiz) contains uninitialised byte(s) - ... - by 0x........: main (scalar.c:416) - -Syscall param readlink(path) points to unaddressable byte(s) - ... - by 0x........: main (scalar.c:416) - Address 0x........ is not stack'd, malloc'd or (recently) free'd - -Syscall param readlink(buf) points to unaddressable byte(s)