|
From: <ma...@bu...> - 2023-09-03 00:34:16
|
valgrind revision: valgrind-3.22.0.GIT-1e197de36e-20230902
C compiler: gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)
GDB: GNU gdb (GDB) Fedora Linux 13.2-3.fc38
Assembler: GNU assembler version 2.39-9.fc38
C library: GNU C Library (GNU libc) stable release version 2.37.
uname -mrs: Linux 6.4.10-200.fc38.s390x s390x
Vendor version: Fedora Linux 38 (Thirty Eight)
Nightly build on lfedora1 ( Fedora release 38 (Thirty Eight), s390x )
Started at 2023-09-03 00:00:01 UTC
Ended at 2023-09-03 00:24:31 UTC
Results differ from 24 hours ago
Checking out Valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 834 tests, 3 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/getaddrinfo (stderr)
none/tests/s390x/dfp-1 (stdout)
Last 20 lines of verbose log follow echo
system: valgrind ./system
thread-exits: valgrind ./thread-exits
threaded-fork: valgrind ./threaded-fork
threadederrno: valgrind -q ./threadederrno
timestamp: valgrind --time-stamp=yes ./timestamp
tls: valgrind ./tls
unit_debuglog: valgrind -q ./unit_debuglog
vgprintf: valgrind ./vgprintf
vgprintf_nvalgrind: valgrind ./vgprintf_nvalgrind
-- Finished tests in none/tests
== 834 tests, 3 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/getaddrinfo (stderr)
none/tests/s390x/dfp-1 (stdout)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1440: regtest] Error 1
=================================================
== Results from 24 hours ago ==
=================================================
Checking out Valgrind source tree ... done
Configuring valgrind ... done
Building valgrind ... done
Running regression tests ... failed
Regression test results follow
== 821 tests, 4 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/bar_bad_xml (stderr)
drd/tests/getaddrinfo (stderr)
none/tests/s390x/dfp-1 (stdout)
Last 20 lines of verbose log follow echo
thread-exits: valgrind ./thread-exits
threaded-fork: valgrind ./threaded-fork
threadederrno: valgrind -q ./threadederrno
timestamp: valgrind --time-stamp=yes ./timestamp
tls: valgrind ./tls
unit_debuglog: valgrind -q ./unit_debuglog
vgprintf: valgrind ./vgprintf
vgprintf_nvalgrind: valgrind ./vgprintf_nvalgrind
-- Finished tests in none/tests
== 821 tests, 4 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/bar_bad_xml (stderr)
drd/tests/getaddrinfo (stderr)
none/tests/s390x/dfp-1 (stdout)
...checking makefile consistency
...checking header files and include directives
make: *** [Makefile:1438: regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short 2023-09-03 00:12:16.062535136 +0000
--- new.short 2023-09-03 00:24:31.962544543 +0000
***************
*** 8,13 ****
! == 821 tests, 4 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
- drd/tests/bar_bad_xml (stderr)
drd/tests/getaddrinfo (stderr)
--- 8,12 ----
! == 834 tests, 3 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/getaddrinfo (stderr)
***************
*** 17,18 ****
--- 16,18 ----
Last 20 lines of verbose log follow echo
+ system: valgrind ./system
thread-exits: valgrind ./thread-exits
***************
*** 27,32 ****
! == 821 tests, 4 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
- drd/tests/bar_bad_xml (stderr)
drd/tests/getaddrinfo (stderr)
--- 27,31 ----
! == 834 tests, 3 stderr failures, 1 stdout failure, 0 stderrB failures, 0 stdoutB failures, 0 post failures ==
memcheck/tests/vbit-test/vbit-test (stderr)
helgrind/tests/pth_mempcpy_false_races (stderr)
drd/tests/getaddrinfo (stderr)
***************
*** 36,37 ****
...checking header files and include directives
! make: *** [Makefile:1438: regtest] Error 1
--- 35,36 ----
...checking header files and include directives
! make: *** [Makefile:1440: regtest] Error 1
=================================================
./valgrind-new/drd/tests/getaddrinfo.stderr.diff
=================================================
--- getaddrinfo.stderr.exp 2023-09-03 00:12:16.392535136 +0000
+++ getaddrinfo.stderr.out 2023-09-03 00:20:25.862544543 +0000
@@ -0,0 +1,432 @@
+Thread 4:
+Conflicting store by thread 4 at 0x........ size 2
+ at 0x........: memcpy (vg_replace_strmem.c:?)
+ by 0x........: _dl_exception_create_format (dl-exception.c:188)
+ by 0x........: _dl_lookup_symbol_x (dl-lookup.c:793)
+ by 0x........: do_dlsym (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlsym (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+Address 0x........ is at offset 24 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: UnknownInlinedFun (rtld-malloc.h:56)
+ by 0x........: _dl_exception_create_format (dl-exception.c:157)
+ by 0x........: _dl_lookup_symbol_x (dl-lookup.c:793)
+ by 0x........: do_dlsym (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlsym (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: _dl_open (dl-open.c:933)
+ by 0x........: do_dlopen (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlopen_mode (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+ by 0x........: getaddrinfo (in /...libc...)
+Other segment end (thread 2)
+ at 0x........: __lll_lock_wait (in /...libc...)
+ by 0x........: pthread_mutex_lock@@GLIBC_2.2 (in /...libc...)
+ by 0x........: pthread_mutex_lock (drd_pthread_intercepts.c:?)
+ by 0x........: _dl_close (dl-close.c:748)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+ by 0x........: getaddrinfo (in /...libc...)
+
+Conflicting store by thread 4 at 0x........ size 2
+ at 0x........: memcpy (vg_replace_strmem.c:?)
+ by 0x........: _dl_exception_create_format (dl-exception.c:188)
+ by 0x........: _dl_lookup_symbol_x (dl-lookup.c:793)
+ by 0x........: do_dlsym (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlsym (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+Address 0x........ is at offset 26 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: UnknownInlinedFun (rtld-malloc.h:56)
+ by 0x........: _dl_exception_create_format (dl-exception.c:157)
+ by 0x........: _dl_lookup_symbol_x (dl-lookup.c:793)
+ by 0x........: do_dlsym (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlsym (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: _dl_open (dl-open.c:933)
+ by 0x........: do_dlopen (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlopen_mode (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+ by 0x........: getaddrinfo (in /...libc...)
+Other segment end (thread 2)
+ at 0x........: __lll_lock_wait (in /...libc...)
<truncated beyond 100 lines>
=================================================
./valgrind-new/helgrind/tests/pth_mempcpy_false_races.stderr.diff
=================================================
--- pth_mempcpy_false_races.stderr.exp 2023-09-03 00:12:16.492535136 +0000
+++ pth_mempcpy_false_races.stderr.out 2023-09-03 00:18:54.082544543 +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
<truncated beyond 100 lines>
=================================================
./valgrind-new/memcheck/tests/vbit-test/vbit-test.stderr.diff
=================================================
--- vbit-test.stderr.exp 2023-09-03 00:12:16.762535136 +0000
+++ vbit-test.stderr.out 2023-09-03 00:18:00.522544543 +0000
@@ -0,0 +1,3 @@
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
=================================================
./valgrind-new/none/tests/s390x/dfp-1.stdout.diff
=================================================
--- dfp-1.stdout.exp 2023-09-03 00:12:17.502535136 +0000
+++ dfp-1.stdout.out 2023-09-03 00:23:40.172544543 +0000
@@ -8,11 +8,11 @@
a230000000000194 - 222c000000000005 = a22c000000000cc5 cc = 1
2230000000000194 - 2230000000000194 = 2230000000000000 cc = 0
64-bit MULTIPLY
-2230000000000194 * 2238000000000007 = 22300000000008de cc = 0
+2230000000000194 * 2238000000000007 = 22300000000008de cc = 2
a230000000000194 * 2238000000000007 = a2300000000008de cc = 0
a230000000000194 * 2238000000000000 = a230000000000000 cc = 0
64-bit DIVIDE
-2238000000000022 / 2238000000000007 = 2dfcc2d74c2d74c3 cc = 0
+2238000000000022 / 2238000000000007 = 2dfcc2d74c2d74c3 cc = 2
a238000000000022 / 2238000000000007 = adfcc2d74c2d74c3 cc = 0
2238000000000000 / 2238000000000007 = 2238000000000000 cc = 0
128-bit ADD
@@ -24,10 +24,10 @@
a20780000000000000000194 - 220740000000000000000005 = a20740000000000000000cc5 cc = 1
220780000000000000000194 - 220780000000000000000194 = 220780000000000000000000 cc = 0
128-bit MULTIPLY
-220780000000000000000194 * 220800000000000000000007 = 2207800000000000000008de cc = 0
+220780000000000000000194 * 220800000000000000000007 = 2207800000000000000008de cc = 2
a20780000000000000000194 * 220800000000000000000007 = a207800000000000000008de cc = 0
220780000000000000000194 * 220800000000000000000000 = 220780000000000000000000 cc = 0
128-bit DIVIDE
-220800000000000000000022 / 220800000000000000000007 = 2dffcc2d74c2d74c2d74c2d74c2d74c3 cc = 0
+220800000000000000000022 / 220800000000000000000007 = 2dffcc2d74c2d74c2d74c2d74c2d74c3 cc = 2
a20800000000000000000022 / 220800000000000000000007 = adffcc2d74c2d74c2d74c2d74c2d74c3 cc = 0
220800000000000000000000 / 220800000000000000000007 = 220800000000000000000000 cc = 0
=================================================
./valgrind-old/drd/tests/bar_bad_xml.stderr.diff
=================================================
--- bar_bad_xml.stderr.exp 2023-09-03 00:00:14.892555137 +0000
+++ bar_bad_xml.stderr.out 2023-09-03 00:08:18.852545146 +0000
@@ -155,11 +155,13 @@
destroy a barrier that has waiting threads
+
+destroy a barrier that was never initialised
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
+ <kind>GenericErr</kind>
+ <what>Not a barrier</what>
<stack>
<frame>
<ip>0x........</ip>
@@ -178,33 +180,9 @@
<line>...</line>
</frame>
</stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- </first_observed_at>
</error>
-destroy a barrier that was never initialised
-
<status>
<state>FINISHED</state>
<time>...</time>
=================================================
./valgrind-old/drd/tests/bar_bad_xml.stderr.diff-freebsd
=================================================
--- bar_bad_xml.stderr.exp-freebsd 2023-09-03 00:00:14.892555137 +0000
+++ bar_bad_xml.stderr.out 2023-09-03 00:08:18.852545146 +0000
@@ -155,86 +155,18 @@
destroy a barrier that has waiting threads
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- </first_observed_at>
-</error>
-
destroy a barrier that was never initialised
<error>
<unique>0x........</unique>
<tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>free</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
+ <kind>GenericErr</kind>
+ <what>Not a barrier</what>
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>pthread_barrier_init</fn>
+ <fn>pthread_barrier_destroy</fn>
<dir>...</dir>
<file>drd_pthread_intercepts.c</file>
<line>...</line>
@@ -248,7 +180,6 @@
<line>...</line>
</frame>
</stack>
- </first_observed_at>
</error>
<truncated beyond 100 lines>
=================================================
./valgrind-old/drd/tests/bar_bad_xml.stderr.diff-nohang
=================================================
--- bar_bad_xml.stderr.exp-nohang 2023-09-03 00:00:14.892555137 +0000
+++ bar_bad_xml.stderr.out 2023-09-03 00:08:18.852545146 +0000
@@ -155,53 +155,6 @@
destroy a barrier that has waiting threads
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- </first_observed_at>
-</error>
-
destroy a barrier that was never initialised
<error>
@@ -239,10 +192,6 @@
<pair>
<count>...</count>
<unique>0x........</unique>
- </pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
</pair>
<pair>
<count>...</count>
=================================================
./valgrind-old/drd/tests/bar_bad_xml.stderr.diff-solaris
=================================================
--- bar_bad_xml.stderr.exp-solaris 2023-09-03 00:00:14.892555137 +0000
+++ bar_bad_xml.stderr.out 2023-09-03 00:08:18.852545146 +0000
@@ -155,53 +155,6 @@
destroy a barrier that has waiting threads
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of a barrier with active waiters: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_destroy</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- </first_observed_at>
-</error>
-
destroy a barrier that was never initialised
<error>
@@ -229,53 +182,6 @@
</stack>
</error>
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>free</fn>
- <dir>...</dir>
- <file>vg_replace_malloc.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
- <file>bar_bad.c</file>
- <line>...</line>
- </frame>
- </stack>
- <first_observed_at>
- <what>barrier</what>
- <address>0x........</address>
- <stack>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>pthread_barrier_init</fn>
- <dir>...</dir>
- <file>drd_pthread_intercepts.c</file>
- <line>...</line>
- </frame>
- <frame>
- <ip>0x........</ip>
- <obj>...</obj>
- <fn>main</fn>
- <dir>...</dir>
<truncated beyond 100 lines>
=================================================
./valgrind-old/drd/tests/getaddrinfo.stderr.diff
=================================================
--- getaddrinfo.stderr.exp 2023-09-03 00:00:14.892555137 +0000
+++ getaddrinfo.stderr.out 2023-09-03 00:08:36.522545146 +0000
@@ -0,0 +1,213 @@
+Thread 4:
+Conflicting store by thread 4 at 0x........ size 2
+ at 0x........: memcpy (vg_replace_strmem.c:?)
+ by 0x........: _dl_exception_create_format (dl-exception.c:188)
+ by 0x........: _dl_lookup_symbol_x (dl-lookup.c:793)
+ by 0x........: do_dlsym (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlsym (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+Address 0x........ is at offset 22 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: UnknownInlinedFun (rtld-malloc.h:56)
+ by 0x........: _dl_exception_create_format (dl-exception.c:157)
+ by 0x........: _dl_lookup_symbol_x (dl-lookup.c:793)
+ by 0x........: do_dlsym (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlsym (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: _dl_open (dl-open.c:933)
+ by 0x........: do_dlopen (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlopen_mode (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+ by 0x........: getaddrinfo (in /...libc...)
+Other segment end (thread 2)
+ at 0x........: socket (in /...libc...)
+ by 0x........: ??? (in /usr/lib64/libnss_resolve.so.2)
+ by 0x........: _nss_resolve_gethostbyname3_r (in /usr/lib64/libnss_resolve.so.2)
+ by 0x........: _nss_resolve_gethostbyname2_r (in /usr/lib64/libnss_resolve.so.2)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+ by 0x........: getaddrinfo (in /...libc...)
+ by 0x........: resolve (getaddrinfo.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: start_thread
+ by 0x........: ??? (in /...libc...)
+ by 0x........: ???
+
+Conflicting store by thread 4 at 0x........ size 2
+ at 0x........: memcpy (vg_replace_strmem.c:?)
+ by 0x........: _dl_exception_create_format (dl-exception.c:188)
+ by 0x........: _dl_lookup_symbol_x (dl-lookup.c:793)
+ by 0x........: do_dlsym (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlsym (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+Address 0x........ is at offset 24 from 0x......... Allocation context:
+ at 0x........: malloc (vg_replace_malloc.c:...)
+ by 0x........: UnknownInlinedFun (rtld-malloc.h:56)
+ by 0x........: _dl_exception_create_format (dl-exception.c:157)
+ by 0x........: _dl_lookup_symbol_x (dl-lookup.c:793)
+ by 0x........: do_dlsym (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlsym (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+Other segment start (thread 2)
+ at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?)
+ by 0x........: _dl_open (dl-open.c:933)
+ by 0x........: do_dlopen (in /...libc...)
+ by 0x........: _dl_catch_exception (dl-catch.c:237)
+ by 0x........: _dl_catch_error (dl-catch.c:256)
+ by 0x........: dlerror_run (in /...libc...)
+ by 0x........: __libc_dlopen_mode (in /...libc...)
+ by 0x........: module_load (in /...libc...)
+ by 0x........: __nss_module_get_function (in /...libc...)
+ by 0x........: __nss_next2 (in /...libc...)
+ by 0x........: gethostbyname2_r@@GLIBC_2.2 (in /...libc...)
+ by 0x........: getaddrinfo (in /...libc...)
+Other segment end (thread 2)
+ at 0x........: socket (in /...libc...)
+ by 0x........: ??? (in /usr/lib64/libnss_resolve.so.2)
<truncated beyond 100 lines>
=================================================
./valgrind-old/helgrind/tests/pth_mempcpy_false_races.stderr.diff
=================================================
--- pth_mempcpy_false_races.stderr.exp 2023-09-03 00:00:14.902555137 +0000
+++ pth_mempcpy_false_races.stderr.out 2023-09-03 00:07:01.912545146 +0000
@@ -0,0 +1,186 @@
+---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 6 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 16 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 17 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 18 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 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 256 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:...)
<truncated beyond 100 lines>
=================================================
./valgrind-old/memcheck/tests/vbit-test/vbit-test.stderr.diff
=================================================
--- vbit-test.stderr.exp 2023-09-03 00:00:14.932555137 +0000
+++ vbit-test.stderr.out 2023-09-03 00:06:06.322545146 +0000
@@ -0,0 +1,3 @@
+Conditional jump or move depends on uninitialised value(s)
+ ...
+
=================================================
./valgrind-old/none/tests/s390x/dfp-1.stdout.diff
=================================================
--- dfp-1.stdout.exp 2023-09-03 00:00:15.002555137 +0000
+++ dfp-1.stdout.out 2023-09-03 00:11:27.202535136 +0000
@@ -8,11 +8,11 @@
a230000000000194 - 222c000000000005 = a22c000000000cc5 cc = 1
2230000000000194 - 2230000000000194 = 2230000000000000 cc = 0
64-bit MULTIPLY
-2230000000000194 * 2238000000000007 = 22300000000008de cc = 0
+2230000000000194 * 2238000000000007 = 22300000000008de cc = 2
a230000000000194 * 2238000000000007 = a2300000000008de cc = 0
a230000000000194 * 2238000000000000 = a230000000000000 cc = 0
64-bit DIVIDE
-2238000000000022 / 2238000000000007 = 2dfcc2d74c2d74c3 cc = 0
+2238000000000022 / 2238000000000007 = 2dfcc2d74c2d74c3 cc = 2
a238000000000022 / 2238000000000007 = adfcc2d74c2d74c3 cc = 0
2238000000000000 / 2238000000000007 = 2238000000000000 cc = 0
128-bit ADD
@@ -24,10 +24,10 @@
a20780000000000000000194 - 220740000000000000000005 = a20740000000000000000cc5 cc = 1
220780000000000000000194 - 220780000000000000000194 = 220780000000000000000000 cc = 0
128-bit MULTIPLY
-220780000000000000000194 * 220800000000000000000007 = 2207800000000000000008de cc = 0
+220780000000000000000194 * 220800000000000000000007 = 2207800000000000000008de cc = 2
a20780000000000000000194 * 220800000000000000000007 = a207800000000000000008de cc = 0
220780000000000000000194 * 220800000000000000000000 = 220780000000000000000000 cc = 0
128-bit DIVIDE
-220800000000000000000022 / 220800000000000000000007 = 2dffcc2d74c2d74c2d74c2d74c2d74c3 cc = 0
+220800000000000000000022 / 220800000000000000000007 = 2dffcc2d74c2d74c2d74c2d74c2d74c3 cc = 2
a20800000000000000000022 / 220800000000000000000007 = adffcc2d74c2d74c2d74c2d74c2d74c3 cc = 0
220800000000000000000000 / 220800000000000000000007 = 220800000000000000000000 cc = 0
|