|
From: Rich C. <rc...@wi...> - 2016-10-17 03:01:19
|
valgrind revision: 16045
VEX revision: 3263
C compiler: gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064]
GDB: GNU gdb (GDB; openSUSE 13.2) 7.8
Assembler: GNU assembler (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1
C library: GNU C Library (GNU libc) stable release version 2.19 (git 9a869d822025)
uname -mrs: Linux 3.16.7-29-desktop x86_64
Vendor version: openSUSE 13.2 (Harlequin)
Nightly build on ultra ( gcc (SUSE Linux) 4.8.3 20140627 [gcc-4_8-branch revision 212064] Linux 3.16.7-29-desktop x86_64 )
Started at 2016-10-16 21:30:01 CDT
Ended at 2016-10-16 22:01:07 CDT
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
== 657 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
drd/tests/bar_bad_xml (stderr)
Last 20 lines of verbose log follow echo
stackerr: valgrind --num-callers=3 ./stackerr
-- Finished tests in exp-sgcheck/tests ---------------------------------
-- Running tests in exp-bbv/tests/amd64-linux -------------------------
clone_test: valgrind --interval-size=100000 --bb-out-file=clone_test.out.bb --pc-out-file=clone_test.out.pc ./clone_test
complex_rep: valgrind --interval-size=100000 --bb-out-file=complex_rep.out.bb ./complex_rep
fldcw_check: valgrind --interval-size=10000 --bb-out-file=fldcw_check.out.bb ./fldcw_check
ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll
million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million
rep_prefix: valgrind --interval-size=100000 --bb-out-file=rep_prefix.out.bb ./rep_prefix
-- Finished tests in exp-bbv/tests/amd64-linux -------------------------
== 657 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
drd/tests/bar_bad_xml (stderr)
...checking makefile consistency
...checking header files and include directives
Makefile:1319: recipe for target 'regtest' failed
make: *** [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
== 657 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
Last 20 lines of verbose log follow echo
clone_test: valgrind --interval-size=100000 --bb-out-file=clone_test.out.bb --pc-out-file=clone_test.out.pc ./clone_test
complex_rep: valgrind --interval-size=100000 --bb-out-file=complex_rep.out.bb ./complex_rep
fldcw_check: valgrind --interval-size=10000 --bb-out-file=fldcw_check.out.bb ./fldcw_check
ll: valgrind --interval-size=1000 --bb-out-file=ll.out.bb ./ll
million: valgrind --interval-size=100000 --bb-out-file=million.out.bb ./million
rep_prefix: valgrind --interval-size=100000 --bb-out-file=rep_prefix.out.bb ./rep_prefix
-- Finished tests in exp-bbv/tests/amd64-linux -------------------------
== 657 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
...checking makefile consistency
memcheck/tests/Makefile.am:1: error: leak-pool-3.stderr.exp is missing in EXTRA_DIST
memcheck/tests/Makefile.am:1: error: leak-pool-3.vgtest is missing in EXTRA_DIST
...checking header files and include directives
Makefile:1319: recipe for target 'regtest' failed
make: *** [regtest] Error 1
=================================================
== Difference between 24 hours ago and now ==
=================================================
*** old.short Sun Oct 16 21:45:38 2016
--- new.short Sun Oct 16 22:01:07 2016
***************
*** 8,13 ****
! == 657 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
- drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
--- 8,12 ----
! == 657 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
drd/tests/bar_bad_xml (stderr)
***************
*** 16,17 ****
--- 15,19 ----
Last 20 lines of verbose log follow echo
+ stackerr: valgrind --num-callers=3 ./stackerr
+ -- Finished tests in exp-sgcheck/tests ---------------------------------
+ -- Running tests in exp-bbv/tests/amd64-linux -------------------------
clone_test: valgrind --interval-size=100000 --bb-out-file=clone_test.out.bb --pc-out-file=clone_test.out.pc ./clone_test
***************
*** 24,29 ****
! == 657 tests, 3 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
- drd/tests/bar_bad (stderr)
drd/tests/bar_bad_xml (stderr)
--- 26,30 ----
! == 657 tests, 2 stderr failures, 0 stdout failures, 0 stderrB failures, 1 stdoutB failure, 0 post failures ==
gdbserver_tests/hgtls (stdoutB)
helgrind/tests/hg05_race2 (stderr)
drd/tests/bar_bad_xml (stderr)
***************
*** 31,34 ****
...checking makefile consistency
- memcheck/tests/Makefile.am:1: error: leak-pool-3.stderr.exp is missing in EXTRA_DIST
- memcheck/tests/Makefile.am:1: error: leak-pool-3.vgtest is missing in EXTRA_DIST
...checking header files and include directives
--- 32,33 ----
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff
=================================================
--- bar_bad_xml.stderr.exp 2016-10-16 21:47:36.704094636 -0500
+++ bar_bad_xml.stderr.out 2016-10-16 21:58:18.498541904 -0500
@@ -204,32 +204,152 @@
destroy a barrier that was never initialised
+</valgrindoutput>
-<status>
- <state>FINISHED</state>
- <time>...</time>
-</status>
-
-<errorcounts>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
-</errorcounts>
+drd: drd_barrier.c:352 (vgDrd_barrier_pre_wait): Assertion 'p' failed.
-<suppcounts>...</suppcounts>
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:?)
+ by 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:?)
+ by 0x........: vgDrd_barrier_pre_wait (drd_barrier.c:?)
+ by 0x........: handle_client_request (drd_clientreq.c:?)
+ by 0x........: wrap_tool_handle_client_request (m_tooliface.c:?)
+ by 0x........: do_client_request (scheduler.c:?)
+ by 0x........: vgPlain_scheduler (scheduler.c:?)
+ by 0x........: thread_wrapper (syswrap-linux.c:103)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:156)
+ by 0x........: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:325)
+ by 0x........: ??? (in /home/coe/src/vg/nightly/valgrind-new/drd/drd-amd64-linux)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=4
+
+Thread 1: status = VgTs_Yielding (lwpid 29018)
+ <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>
+
+Thread 2: status = VgTs_WaitSys (lwpid 29020)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+
+Thread 3: status = VgTs_WaitSys (lwpid 29021)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-nohang
=================================================
--- bar_bad_xml.stderr.exp-nohang 2016-10-16 21:47:36.637097304 -0500
+++ bar_bad_xml.stderr.out 2016-10-16 21:58:18.498541904 -0500
@@ -204,11 +204,31 @@
destroy a barrier that was never initialised
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>GenericErr</kind>
- <what>Not a barrier</what>
+</valgrindoutput>
+
+drd: drd_barrier.c:352 (vgDrd_barrier_pre_wait): Assertion 'p' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:?)
+ by 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:?)
+ by 0x........: vgDrd_barrier_pre_wait (drd_barrier.c:?)
+ by 0x........: handle_client_request (drd_clientreq.c:?)
+ by 0x........: wrap_tool_handle_client_request (m_tooliface.c:?)
+ by 0x........: do_client_request (scheduler.c:?)
+ by 0x........: vgPlain_scheduler (scheduler.c:?)
+ by 0x........: thread_wrapper (syswrap-linux.c:103)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:156)
+ by 0x........: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:325)
+ by 0x........: ??? (in /home/coe/src/vg/nightly/valgrind-new/drd/drd-amd64-linux)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=4
+
+Thread 1: status = VgTs_Yielding (lwpid 29018)
<stack>
<frame>
<ip>0x........</ip>
@@ -227,38 +247,109 @@
<line>...</line>
</frame>
</stack>
-</error>
+
+Thread 2: status = VgTs_WaitSys (lwpid 29020)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+
+Thread 3: status = VgTs_WaitSys (lwpid 29021)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+
+Thread 4: status = VgTs_Runnable (lwpid 29022)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
<truncated beyond 100 lines>
=================================================
./valgrind-new/drd/tests/bar_bad_xml.stderr.diff-solaris
=================================================
--- bar_bad_xml.stderr.exp-solaris 2016-10-16 21:47:36.710094397 -0500
+++ bar_bad_xml.stderr.out 2016-10-16 21:58:18.498541904 -0500
@@ -204,11 +204,31 @@
destroy a barrier that was never initialised
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>GenericErr</kind>
- <what>Not a barrier</what>
+</valgrindoutput>
+
+drd: drd_barrier.c:352 (vgDrd_barrier_pre_wait): Assertion 'p' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:?)
+ by 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:?)
+ by 0x........: vgDrd_barrier_pre_wait (drd_barrier.c:?)
+ by 0x........: handle_client_request (drd_clientreq.c:?)
+ by 0x........: wrap_tool_handle_client_request (m_tooliface.c:?)
+ by 0x........: do_client_request (scheduler.c:?)
+ by 0x........: vgPlain_scheduler (scheduler.c:?)
+ by 0x........: thread_wrapper (syswrap-linux.c:103)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:156)
+ by 0x........: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:325)
+ by 0x........: ??? (in /home/coe/src/vg/nightly/valgrind-new/drd/drd-amd64-linux)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=4
+
+Thread 1: status = VgTs_Yielding (lwpid 29018)
<stack>
<frame>
<ip>0x........</ip>
@@ -227,89 +247,109 @@
<line>...</line>
</frame>
</stack>
-</error>
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
+Thread 2: status = VgTs_WaitSys (lwpid 29020)
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>free</fn>
+ <fn>sleep1</fn>
<dir>...</dir>
- <file>vg_replace_malloc.c</file>
+ <file>bar_bad.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>main</fn>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+
+Thread 3: status = VgTs_WaitSys (lwpid 29021)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+
+Thread 4: status = VgTs_Runnable (lwpid 29022)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
<dir>...</dir>
<truncated beyond 100 lines>
=================================================
./valgrind-new/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2016-10-16 21:45:43.905587169 -0500
+++ hgtls.stdoutB.out 2016-10-16 21:50:41.452737493 -0500
@@ -26,10 +26,10 @@
test static_extern tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-new/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2016-10-16 21:46:22.144064155 -0500
+++ hg05_race2.stderr.out 2016-10-16 21:56:25.520039079 -0500
@@ -26,8 +26,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +41,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/bar_bad.stderr.diff
=================================================
--- bar_bad.stderr.exp 2016-10-16 21:31:51.625726915 -0500
+++ bar_bad.stderr.out 2016-10-16 21:42:33.772160898 -0500
@@ -35,4 +35,77 @@
destroy a barrier that was never initialised
-ERROR SUMMARY: 5 errors from 4 contexts (suppressed: 0 from 0)
+drd: drd_barrier.c:352 (vgDrd_barrier_pre_wait): Assertion 'p' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:?)
+ by 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:?)
+ by 0x........: vgDrd_barrier_pre_wait (drd_barrier.c:?)
+ by 0x........: handle_client_request (drd_clientreq.c:?)
+ by 0x........: wrap_tool_handle_client_request (m_tooliface.c:?)
+ by 0x........: do_client_request (scheduler.c:?)
+ by 0x........: vgPlain_scheduler (scheduler.c:?)
+ by 0x........: thread_wrapper (syswrap-linux.c:103)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:156)
+ by 0x........: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:325)
+ by 0x........: ??? (in /home/coe/src/vg/nightly/valgrind-old/drd/drd-amd64-linux)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=4
+
+Thread 1: status = VgTs_Yielding (lwpid 9697)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: _L_lock_19(within libpthread-?.?.so)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
+ by 0x........: main (bar_bad.c:?)
+
+Thread 2: status = VgTs_WaitSys (lwpid 9699)
+ at 0x........: ??? (in /...libc...)
+ by 0x........: sleep (in /...libc...)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 3: status = VgTs_WaitSys (lwpid 9700)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+
+Thread 4: status = VgTs_Runnable (lwpid 9701)
+ at 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 5: status = VgTs_WaitSys (lwpid 9702)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+
+Thread 6: status = VgTs_WaitSys (lwpid 9703)
+ at 0x........: ??? (in /...libc...)
+ by 0x........: sleep (in /...libc...)
+ by 0x........: exit1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
+
=================================================
./valgrind-old/drd/tests/bar_bad.stderr.diff-nohang
=================================================
--- bar_bad.stderr.exp-nohang 2016-10-16 21:31:51.572729022 -0500
+++ bar_bad.stderr.out 2016-10-16 21:42:33.772160898 -0500
@@ -34,9 +34,78 @@
destroy a barrier that was never initialised
-Not a barrier
- at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
+
+drd: drd_barrier.c:352 (vgDrd_barrier_pre_wait): Assertion 'p' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:?)
+ by 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:?)
+ by 0x........: vgDrd_barrier_pre_wait (drd_barrier.c:?)
+ by 0x........: handle_client_request (drd_clientreq.c:?)
+ by 0x........: wrap_tool_handle_client_request (m_tooliface.c:?)
+ by 0x........: do_client_request (scheduler.c:?)
+ by 0x........: vgPlain_scheduler (scheduler.c:?)
+ by 0x........: thread_wrapper (syswrap-linux.c:103)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:156)
+ by 0x........: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:325)
+ by 0x........: ??? (in /home/coe/src/vg/nightly/valgrind-old/drd/drd-amd64-linux)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=4
+
+Thread 1: status = VgTs_Yielding (lwpid 9697)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: _L_lock_19(within libpthread-?.?.so)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Thread 2: status = VgTs_WaitSys (lwpid 9699)
+ at 0x........: ??? (in /...libc...)
+ by 0x........: sleep (in /...libc...)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 3: status = VgTs_WaitSys (lwpid 9700)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+
+Thread 4: status = VgTs_Runnable (lwpid 9701)
+ at 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 5: status = VgTs_WaitSys (lwpid 9702)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+
+Thread 6: status = VgTs_WaitSys (lwpid 9703)
+ at 0x........: ??? (in /...libc...)
+ by 0x........: sleep (in /...libc...)
+ by 0x........: exit1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
-ERROR SUMMARY: 6 errors from 5 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/bar_bad.stderr.diff-solaris
=================================================
--- bar_bad.stderr.exp-solaris 2016-10-16 21:31:51.631726677 -0500
+++ bar_bad.stderr.out 2016-10-16 21:42:33.772160898 -0500
@@ -34,16 +34,78 @@
destroy a barrier that was never initialised
-Not a barrier
- at 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
- by 0x........: main (bar_bad.c:?)
-Destruction of barrier that is being waited upon: barrier 0x........
- at 0x........: free (vg_replace_malloc.c:...)
- by 0x........: main (bar_bad.c:?)
-barrier 0x........ was first observed at:
- at 0x........: pthread_barrier_init (drd_pthread_intercepts.c:?)
+drd: drd_barrier.c:352 (vgDrd_barrier_pre_wait): Assertion 'p' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:?)
+ by 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:?)
+ by 0x........: vgDrd_barrier_pre_wait (drd_barrier.c:?)
+ by 0x........: handle_client_request (drd_clientreq.c:?)
+ by 0x........: wrap_tool_handle_client_request (m_tooliface.c:?)
+ by 0x........: do_client_request (scheduler.c:?)
+ by 0x........: vgPlain_scheduler (scheduler.c:?)
+ by 0x........: thread_wrapper (syswrap-linux.c:103)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:156)
+ by 0x........: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:325)
+ by 0x........: ??? (in /home/coe/src/vg/nightly/valgrind-old/drd/drd-amd64-linux)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=4
+
+Thread 1: status = VgTs_Yielding (lwpid 9697)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: _L_lock_19(within libpthread-?.?.so)
+ by 0x........: (within libpthread-?.?.so)
+ by 0x........: pthread_barrier_destroy (drd_pthread_intercepts.c:?)
by 0x........: main (bar_bad.c:?)
+Thread 2: status = VgTs_WaitSys (lwpid 9699)
+ at 0x........: ??? (in /...libc...)
+ by 0x........: sleep (in /...libc...)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 3: status = VgTs_WaitSys (lwpid 9700)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+
+Thread 4: status = VgTs_Runnable (lwpid 9701)
+ at 0x........: pthread_barrier_wait (drd_pthread_intercepts.c:?)
+ by 0x........: sleep1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+Thread 5: status = VgTs_WaitSys (lwpid 9702)
+ at 0x........: (within libpthread-?.?.so)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+
+Thread 6: status = VgTs_WaitSys (lwpid 9703)
+ at 0x........: ??? (in /...libc...)
+ by 0x........: sleep (in /...libc...)
+ by 0x........: exit1 (bar_bad.c:?)
+ by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?)
+ by 0x........: (within libpthread-?.?.so)
+
+
+Note: see also the FAQ in the source distribution.
+It contains workarounds to several common problems.
+In particular, if Valgrind aborted or crashed after
+identifying problems in your program, there's a good chance
+that fixing those problems will prevent Valgrind aborting or
+crashing, especially if it happened in m_mallocfree.c.
+
+If that doesn't help, please report this bug to: www.valgrind.org
+
+In the bug report, send all the above text, the valgrind
+version, and what OS and version you are using. Thanks.
-ERROR SUMMARY: 7 errors from 6 contexts (suppressed: 0 from 0)
=================================================
./valgrind-old/drd/tests/bar_bad_xml.stderr.diff
=================================================
--- bar_bad_xml.stderr.exp 2016-10-16 21:31:51.640726319 -0500
+++ bar_bad_xml.stderr.out 2016-10-16 21:42:49.189546713 -0500
@@ -204,32 +204,152 @@
destroy a barrier that was never initialised
+</valgrindoutput>
-<status>
- <state>FINISHED</state>
- <time>...</time>
-</status>
-
-<errorcounts>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
- <pair>
- <count>...</count>
- <unique>0x........</unique>
- </pair>
-</errorcounts>
+drd: drd_barrier.c:352 (vgDrd_barrier_pre_wait): Assertion 'p' failed.
-<suppcounts>...</suppcounts>
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:?)
+ by 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:?)
+ by 0x........: vgDrd_barrier_pre_wait (drd_barrier.c:?)
+ by 0x........: handle_client_request (drd_clientreq.c:?)
+ by 0x........: wrap_tool_handle_client_request (m_tooliface.c:?)
+ by 0x........: do_client_request (scheduler.c:?)
+ by 0x........: vgPlain_scheduler (scheduler.c:?)
+ by 0x........: thread_wrapper (syswrap-linux.c:103)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:156)
+ by 0x........: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:325)
+ by 0x........: ??? (in /home/coe/src/vg/nightly/valgrind-old/drd/drd-amd64-linux)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=4
+
+Thread 1: status = VgTs_Yielding (lwpid 9753)
+ <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>
+
+Thread 2: status = VgTs_WaitSys (lwpid 9755)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+
+Thread 3: status = VgTs_WaitSys (lwpid 9756)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
<truncated beyond 100 lines>
=================================================
./valgrind-old/drd/tests/bar_bad_xml.stderr.diff-nohang
=================================================
--- bar_bad_xml.stderr.exp-nohang 2016-10-16 21:31:51.588728386 -0500
+++ bar_bad_xml.stderr.out 2016-10-16 21:42:49.189546713 -0500
@@ -204,11 +204,31 @@
destroy a barrier that was never initialised
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>GenericErr</kind>
- <what>Not a barrier</what>
+</valgrindoutput>
+
+drd: drd_barrier.c:352 (vgDrd_barrier_pre_wait): Assertion 'p' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:?)
+ by 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:?)
+ by 0x........: vgDrd_barrier_pre_wait (drd_barrier.c:?)
+ by 0x........: handle_client_request (drd_clientreq.c:?)
+ by 0x........: wrap_tool_handle_client_request (m_tooliface.c:?)
+ by 0x........: do_client_request (scheduler.c:?)
+ by 0x........: vgPlain_scheduler (scheduler.c:?)
+ by 0x........: thread_wrapper (syswrap-linux.c:103)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:156)
+ by 0x........: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:325)
+ by 0x........: ??? (in /home/coe/src/vg/nightly/valgrind-old/drd/drd-amd64-linux)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=4
+
+Thread 1: status = VgTs_Yielding (lwpid 9753)
<stack>
<frame>
<ip>0x........</ip>
@@ -227,38 +247,109 @@
<line>...</line>
</frame>
</stack>
-</error>
+
+Thread 2: status = VgTs_WaitSys (lwpid 9755)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+
+Thread 3: status = VgTs_WaitSys (lwpid 9756)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+
+Thread 4: status = VgTs_Runnable (lwpid 9760)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
+ <dir>...</dir>
+ <file>bar_bad.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
<truncated beyond 100 lines>
=================================================
./valgrind-old/drd/tests/bar_bad_xml.stderr.diff-solaris
=================================================
--- bar_bad_xml.stderr.exp-solaris 2016-10-16 21:31:51.647726041 -0500
+++ bar_bad_xml.stderr.out 2016-10-16 21:42:49.189546713 -0500
@@ -204,11 +204,31 @@
destroy a barrier that was never initialised
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>GenericErr</kind>
- <what>Not a barrier</what>
+</valgrindoutput>
+
+drd: drd_barrier.c:352 (vgDrd_barrier_pre_wait): Assertion 'p' failed.
+
+host stacktrace:
+ at 0x........: show_sched_status_wrk (m_libcassert.c:?)
+ by 0x........: report_and_quit (m_libcassert.c:?)
+ by 0x........: vgPlain_assert_fail (m_libcassert.c:?)
+ by 0x........: vgDrd_barrier_pre_wait (drd_barrier.c:?)
+ by 0x........: handle_client_request (drd_clientreq.c:?)
+ by 0x........: wrap_tool_handle_client_request (m_tooliface.c:?)
+ by 0x........: do_client_request (scheduler.c:?)
+ by 0x........: vgPlain_scheduler (scheduler.c:?)
+ by 0x........: thread_wrapper (syswrap-linux.c:103)
+ by 0x........: run_a_thread_NORETURN (syswrap-linux.c:156)
+ by 0x........: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:325)
+ by 0x........: ??? (in /home/coe/src/vg/nightly/valgrind-old/drd/drd-amd64-linux)
+ by 0x........: ???
+ by 0x........: ???
+ by 0x........: ???
+
+sched status:
+ running_tid=4
+
+Thread 1: status = VgTs_Yielding (lwpid 9753)
<stack>
<frame>
<ip>0x........</ip>
@@ -227,89 +247,109 @@
<line>...</line>
</frame>
</stack>
-</error>
-<error>
- <unique>0x........</unique>
- <tid>...</tid>
- <kind>BarrierErr</kind>
- <what>Destruction of barrier that is being waited upon: barrier 0x........</what>
+Thread 2: status = VgTs_WaitSys (lwpid 9755)
<stack>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>free</fn>
+ <fn>sleep1</fn>
<dir>...</dir>
- <file>vg_replace_malloc.c</file>
+ <file>bar_bad.c</file>
<line>...</line>
</frame>
<frame>
<ip>0x........</ip>
<obj>...</obj>
- <fn>main</fn>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+
+Thread 3: status = VgTs_WaitSys (lwpid 9756)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>vgDrd_thread_wrapper</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ </stack>
+
+Thread 4: status = VgTs_Runnable (lwpid 9760)
+ <stack>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>pthread_barrier_wait</fn>
+ <dir>...</dir>
+ <file>drd_pthread_intercepts.c</file>
+ <line>...</line>
+ </frame>
+ <frame>
+ <ip>0x........</ip>
+ <obj>...</obj>
+ <fn>sleep1</fn>
<dir>...</dir>
<truncated beyond 100 lines>
=================================================
./valgrind-old/gdbserver_tests/hgtls.stdoutB.diff
=================================================
--- hgtls.stdoutB.exp 2016-10-16 21:30:19.196400514 -0500
+++ hgtls.stdoutB.out 2016-10-16 21:34:56.170392665 -0500
@@ -26,10 +26,10 @@
test static_extern tls_ip 0x........ ip 0x........ equal 1
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
-test so_extern tls_ip 0x........ ip 0x........ equal 1
+test so_extern tls_ip 0x........ ip 0x........ equal 0
Breakpoint 1, tls_ptr (p=0x........) at tls.c:55
55 int here = 0;
test so_local tls_ip 0x........ ip 0x........ equal 1
=================================================
./valgrind-old/helgrind/tests/hg05_race2.stderr.diff
=================================================
--- hg05_race2.stderr.exp 2016-10-16 21:30:59.807786397 -0500
+++ hg05_race2.stderr.out 2016-10-16 21:40:38.650747317 -0500
@@ -26,8 +26,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
----------------------------------------------------------------
@@ -42,8 +41,7 @@
at 0x........: th (hg05_race2.c:17)
by 0x........: mythread_wrapper (hg_intercepts.c:...)
...
- Location 0x........ is 0 bytes inside foo.poot[5].plop[11],
- declared at hg05_race2.c:24, in frame #x of thread x
+ Address 0x........ is on thread #x's stack
ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
|