================================================= ./valgrind-new/gdbserver_tests/hginfo.stderrB.diff ================================================= --- hginfo.stderrB.exp 2023-03-22 02:30:59.449444617 +0000 +++ hginfo.stderrB.out 2023-03-22 02:36:03.449950600 +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-22 02:30:59.458444754 +0000 +++ pth_mempcpy_false_races.stderr.out 2023-03-22 02:42:37.308682906 +0000 @@ -0,0 +1,202 @@ +---Thread-Announcement------------------------------------------ + +Thread #x is the program's root thread + +---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........: main (pth_mempcpy_false_races.c:44) + 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........: main (pth_mempcpy_false_races.c:44) + 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........: main (pth_mempcpy_false_races.c:44) + 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........: main (pth_mempcpy_false_races.c:44) + 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 + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (pth_mempcpy_false_races.c:38) + +---------------------------------------------------------------- + +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,852 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:...) ================================================= ./valgrind-new/memcheck/tests/overlap.stderr.diff ================================================= --- overlap.stderr.exp 2023-03-22 02:30:59.490445239 +0000 +++ overlap.stderr.out 2023-03-22 02:39:23.298865979 +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-22 02:30:59.523445739 +0000 +++ scalar.stderr.out 2023-03-22 02:41:35.242778550 +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-22 02:11:38.036906720 +0000 +++ hginfo.stderrB.out 2023-03-22 02:16:28.406990070 +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-22 02:11:38.045906849 +0000 +++ pth_mempcpy_false_races.stderr.out 2023-03-22 02:22:47.386372857 +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-22 02:11:38.075907280 +0000 +++ overlap.stderr.out 2023-03-22 02:19:43.294731111 +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-22 02:11:38.106907725 +0000 +++ scalar.stderr.out 2023-03-22 02:21:47.163496162 +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)