================================================= ./valgrind-new/drd/tests/pth_barrier_thr_cr.stderr.diff ================================================= --- pth_barrier_thr_cr.stderr.exp 2022-10-16 02:30:04.865225793 +0100 +++ pth_barrier_thr_cr.stderr.out 2022-10-16 02:43:46.788801482 +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: 5 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/drd/tests/pth_mutex_signal.stderr.diff ================================================= --- pth_mutex_signal.stderr.exp 2022-10-16 02:30:04.867225820 +0100 +++ pth_mutex_signal.stderr.out 2022-10-16 02:44:02.294029607 +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-16 02:30:04.875225931 +0100 +++ hginfo.stderrB.out 2022-10-16 02:34:57.300355763 +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-10-16 02:30:04.890226139 +0100 +++ tls_threads.stderr.out 2022-10-16 02:41:37.983946728 +0100 @@ -1,2 +1,3 @@ +--146688: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-16 02:30:04.913226459 +0100 +++ overlap.stderr.out 2022-10-16 02:38:04.825980795 +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-16 02:30:04.943226875 +0100 +++ scalar.stderr.out 2022-10-16 02:39:57.953541055 +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-10-16 02:30:04.990227527 +0100 +++ stack-overflow.stderr.out 2022-10-16 02:47:41.688174009 +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-10-16 02:11:18.755809554 +0100 +++ pth_barrier_thr_cr.stderr.out 2022-10-16 02:24:52.568749701 +0100 @@ -1,4 +1,15 @@ +Thread 10: +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: 16 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/pth_mutex_signal.stderr.diff ================================================= --- pth_mutex_signal.stderr.exp 2022-10-16 02:11:18.757809581 +0100 +++ pth_mutex_signal.stderr.out 2022-10-16 02:25:08.025990368 +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-16 02:11:18.765809686 +0100 +++ hginfo.stderrB.out 2022-10-16 02:16:10.803660871 +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-10-16 02:11:18.779809872 +0100 +++ tls_threads.stderr.out 2022-10-16 02:22:43.953008409 +0100 @@ -1,2 +1,125 @@ +--50541:0: sched WARNING: pthread stack cache cannot be disabled! starting join in main +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (tls_threads.c:88) + +---Thread-Announcement------------------------------------------ + +Thread #x was created + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (tls_threads.c:88) + +---------------------------------------------------------------- + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: level1 (tls_threads.c:69) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 16 bytes inside a block of size 288 alloc'd + at 0x........: calloc (vg_replace_malloc.c:...) + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: level1 (tls_threads.c:69) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: level1 (tls_threads.c:69) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 24 bytes inside a block of size 288 alloc'd + at 0x........: calloc (vg_replace_malloc.c:...) + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: level1 (tls_threads.c:69) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: level1 (tls_threads.c:69) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 32 bytes inside a block of size 288 alloc'd + at 0x........: calloc (vg_replace_malloc.c:...) + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: level1 (tls_threads.c:69) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: level1 (tls_threads.c:69) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Address 0x........ is 40 bytes inside a block of size 288 alloc'd + at 0x........: calloc (vg_replace_malloc.c:...) + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: level1 (tls_threads.c:69) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... + Block was alloc'd by thread #x + +---------------------------------------------------------------- + +Possible data race during write of size 8 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: level1 (tls_threads.c:69) + by 0x........: mythread_wrapper (hg_intercepts.c:...) + ... ================================================= ./valgrind-old/memcheck/tests/overlap.stderr.diff ================================================= --- overlap.stderr.exp 2022-10-16 02:11:18.801810163 +0100 +++ overlap.stderr.out 2022-10-16 02:19:16.352195624 +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-16 02:11:18.831810560 +0100 +++ scalar.stderr.out 2022-10-16 02:21:08.839704254 +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-10-16 02:11:18.873811116 +0100 +++ stack-overflow.stderr.out 2022-10-16 02:28:45.385125941 +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