================================================= ./valgrind-new/drd/tests/pth_barrier_thr_cr.stderr.diff ================================================= --- pth_barrier_thr_cr.stderr.exp 2022-10-20 02:40:07.140579720 +0100 +++ pth_barrier_thr_cr.stderr.out 2022-10-20 02:54:00.635463363 +0100 @@ -1,4 +1,15 @@ +Thread 6: +Number of concurrent pthread_barrier_wait() calls exceeds the barrier count: barrier 0x........ + at 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?) + by 0x........: thread (pth_barrier_thr_cr.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: start_thread + by 0x........: clone (in /...libc...) +barrier 0x........ was first observed at: + at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?) + by 0x........: main (pth_barrier_thr_cr.c:?) + Done. -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 20 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/pth_mutex_signal.stderr.diff ================================================= --- pth_mutex_signal.stderr.exp 2022-10-20 02:40:07.142579748 +0100 +++ pth_mutex_signal.stderr.out 2022-10-20 02:54:16.776697849 +0100 @@ -6,10 +6,42 @@ signalling sleeping nullHandler running -unlocking +Thread 2: +The impossible happened: mutex is locked simultaneously by two threads: mutex 0x........, recursion count 1, owner 1. + at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) + by 0x........: contender_start (pth_mutex_signal.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: start_thread + by 0x........: clone (in /...libc...) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) + contender locked mutex contender unlocking mutex contender unlocked mutex +unlocking +Thread 1: +Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) + joining thread +Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2. + at 0x........: pthread_join (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) + +Destroying locked mutex: mutex 0x........, recursion count 1, owner 0. + at 0x........: main (pth_mutex_signal.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) + -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/gdbserver_tests/hginfo.stderrB.diff ================================================= --- hginfo.stderrB.exp 2022-10-20 02:40:07.151579875 +0100 +++ hginfo.stderrB.out 2022-10-20 02:45:04.298797348 +0100 @@ -1,5 +1,9 @@ vgdb-error value changed from 0 to 999999 Lock ga 0x........ { + Address 0x........ is 2520 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 2520 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/tls_threads.stderr.diff ================================================= --- tls_threads.stderr.exp 2022-10-20 02:40:07.166580088 +0100 +++ tls_threads.stderr.out 2022-10-20 02:51:48.194549880 +0100 @@ -1,2 +1,3 @@ +--148204:0: sched WARNING: pthread stack cache cannot be disabled! starting join in main finished join in main ================================================= ./valgrind-new/memcheck/tests/overlap.stderr.diff ================================================= --- overlap.stderr.exp 2022-10-20 02:40:07.191580441 +0100 +++ overlap.stderr.out 2022-10-20 02:48:15.234520002 +0100 @@ -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 2022-10-20 02:40:07.221580866 +0100 +++ scalar.stderr.out 2022-10-20 02:50:09.362142499 +0100 @@ -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/drd/tests/pth_barrier_thr_cr.stderr.diff ================================================= --- pth_barrier_thr_cr.stderr.exp 2022-10-20 02:21:04.095552092 +0100 +++ pth_barrier_thr_cr.stderr.out 2022-10-20 02:34:46.710994560 +0100 @@ -1,4 +1,15 @@ +Thread 27: +Number of concurrent pthread_barrier_wait() calls exceeds the barrier count: barrier 0x........ + at 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?) + by 0x........: thread (pth_barrier_thr_cr.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: start_thread + by 0x........: clone (in /...libc...) +barrier 0x........ was first observed at: + at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?) + by 0x........: main (pth_barrier_thr_cr.c:?) + Done. -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 19 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/pth_mutex_signal.stderr.diff ================================================= --- pth_mutex_signal.stderr.exp 2022-10-20 02:21:04.097552120 +0100 +++ pth_mutex_signal.stderr.out 2022-10-20 02:35:02.918224869 +0100 @@ -6,10 +6,42 @@ signalling sleeping nullHandler running -unlocking +Thread 2: +The impossible happened: mutex is locked simultaneously by two threads: mutex 0x........, recursion count 1, owner 1. + at 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?) + by 0x........: contender_start (pth_mutex_signal.c:?) + by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) + by 0x........: start_thread + by 0x........: clone (in /...libc...) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) + contender locked mutex contender unlocking mutex contender unlocked mutex +unlocking +Thread 1: +Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) + joining thread +Mutex still locked at thread exit: mutex 0x........, recursion count 1, owner 2. + at 0x........: pthread_join (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) + +Destroying locked mutex: mutex 0x........, recursion count 1, owner 0. + at 0x........: main (pth_mutex_signal.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (pth_mutex_signal.c:?) + -ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/gdbserver_tests/hginfo.stderrB.diff ================================================= --- hginfo.stderrB.exp 2022-10-20 02:21:04.105552230 +0100 +++ hginfo.stderrB.out 2022-10-20 02:25:52.269564994 +0100 @@ -1,5 +1,9 @@ vgdb-error value changed from 0 to 999999 Lock ga 0x........ { + Address 0x........ is 2520 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 2520 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/tls_threads.stderr.diff ================================================= --- tls_threads.stderr.exp 2022-10-20 02:21:04.119552423 +0100 +++ tls_threads.stderr.out 2022-10-20 02:32:35.931154492 +0100 @@ -1,2 +1,3 @@ +--51301:0: sched WARNING: pthread stack cache cannot be disabled! starting join in main finished join in main ================================================= ./valgrind-old/memcheck/tests/overlap.stderr.diff ================================================= --- overlap.stderr.exp 2022-10-20 02:21:04.146552796 +0100 +++ overlap.stderr.out 2022-10-20 02:29:05.131223952 +0100 @@ -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 2022-10-20 02:21:04.178553238 +0100 +++ scalar.stderr.out 2022-10-20 02:30:57.766785340 +0100 @@ -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)