================================================= ./valgrind-new/drd/tests/pth_barrier_thr_cr.stderr.diff ================================================= --- pth_barrier_thr_cr.stderr.exp 2022-09-13 02:30:18.947369232 +0100 +++ pth_barrier_thr_cr.stderr.out 2022-09-13 02:44:26.708602475 +0100 @@ -1,4 +1,15 @@ +Thread 3: +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: 15 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/pth_mutex_signal.stderr.diff ================================================= --- pth_mutex_signal.stderr.exp 2022-09-13 02:30:18.950369274 +0100 +++ pth_mutex_signal.stderr.out 2022-09-13 02:44:42.147828528 +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-09-13 02:30:18.957369374 +0100 +++ hginfo.stderrB.out 2022-09-13 02:35:26.364773796 +0100 @@ -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/tls_threads.stderr.diff ================================================= --- tls_threads.stderr.exp 2022-09-13 02:30:18.972369586 +0100 +++ tls_threads.stderr.out 2022-09-13 02:42:16.408680261 +0100 @@ -1,2 +1,3 @@ +--146706: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-09-13 02:30:19.007370082 +0100 +++ overlap.stderr.out 2022-09-13 02:38:39.542564818 +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-09-13 02:30:19.024370322 +0100 +++ scalar.stderr.out 2022-09-13 02:40:37.952264019 +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-new/none/tests/linux/stack-overflow.stderr.diff ================================================= --- stack-overflow.stderr.exp 2022-09-13 02:30:19.064370889 +0100 +++ stack-overflow.stderr.out 2022-09-13 02:48:21.949072034 +0100 @@ -1,9 +1,7 @@ -Stack overflow in thread #1: can't grow stack to 0x........ Process terminating with default action of signal 11 (SIGSEGV) Access not within mapped region at address 0x........ -Stack overflow in thread #1: can't grow stack to 0x........ at 0x........: main (stack-overflow.c:5) If you believe this happened as a result of a stack overflow in your program's main thread (unlikely but ================================================= ./valgrind-old/drd/tests/pth_barrier_thr_cr.stderr.diff ================================================= --- pth_barrier_thr_cr.stderr.exp 2022-09-13 02:11:09.759215096 +0100 +++ pth_barrier_thr_cr.stderr.out 2022-09-13 02:25:06.175905137 +0100 @@ -1,4 +1,15 @@ +Thread 9: +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: 5 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/pth_mutex_signal.stderr.diff ================================================= --- pth_mutex_signal.stderr.exp 2022-09-13 02:11:09.761215123 +0100 +++ pth_mutex_signal.stderr.out 2022-09-13 02:25:21.838129715 +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-09-13 02:11:09.769215232 +0100 +++ hginfo.stderrB.out 2022-09-13 02:16:15.167413167 +0100 @@ -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/tls_threads.stderr.diff ================================================= --- tls_threads.stderr.exp 2022-09-13 02:11:09.784215437 +0100 +++ tls_threads.stderr.out 2022-09-13 02:22:56.871028305 +0100 @@ -1,2 +1,3 @@ +--50550: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-09-13 02:11:09.819215914 +0100 +++ overlap.stderr.out 2022-09-13 02:19:27.062090698 +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-09-13 02:11:09.835216132 +0100 +++ scalar.stderr.out 2022-09-13 02:21:21.807685767 +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/none/tests/linux/stack-overflow.stderr.diff ================================================= --- stack-overflow.stderr.exp 2022-09-13 02:11:09.874216663 +0100 +++ stack-overflow.stderr.out 2022-09-13 02:28:59.359241519 +0100 @@ -1,9 +1,7 @@ -Stack overflow in thread #1: can't grow stack to 0x........ Process terminating with default action of signal 11 (SIGSEGV) Access not within mapped region at address 0x........ -Stack overflow in thread #1: can't grow stack to 0x........ at 0x........: main (stack-overflow.c:5) If you believe this happened as a result of a stack overflow in your program's main thread (unlikely but