================================================= ./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64 ================================================= --- preen_invars.stderr.exp-glibc28-amd64 2014-09-09 03:03:58.238569913 +0100 +++ preen_invars.stderr.out 2014-09-09 03:24:08.858938137 +0100 @@ -6,4 +6,39 @@ Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so" -ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) +exp-sgcheck: sg_main.c:560 (add_blocks_to_StackTree): Assertion '!already_present' failed. + +host stacktrace: + at 0x........: show_sched_status_wrk (m_libcassert.c:319) + by 0x........: report_and_quit (m_libcassert.c:390) + by 0x........: vgPlain_assert_fail (m_libcassert.c:455) + by 0x........: add_blocks_to_StackTree (sg_main.c:560) + by 0x........: shadowStack_new_frame.isra.12 (sg_main.c:1875) + by 0x........: ??? + by 0x........: ??? + +sched status: + running_tid=1 + +Thread 1: status = VgTs_Runnable + at 0x........: _dl_sort_fini (dl-fini.c:42) + by 0x........: _dl_close_worker (dl-close.c:225) + by 0x........: _dl_close (dl-close.c:776) + by 0x........: _dl_catch_error (dl-error.c:177) + by 0x........: _dlerror_run (dlerror.c:163) + by 0x........: dlclose (dlclose.c:47) + by 0x........: main (preen_invars.c:48) + + +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-new/exp-sgcheck/tests/preen_invars.stdout.diff ================================================= --- preen_invars.stdout.exp 2014-09-09 03:03:58.236569951 +0100 +++ preen_invars.stdout.out 2014-09-09 03:24:05.944995171 +0100 @@ -1 +0,0 @@ -foo bar 1 ================================================= ./valgrind-new/memcheck/tests/err_disable4.stderr.diff ================================================= --- err_disable4.stderr.exp 2014-09-09 03:03:20.514294856 +0100 +++ err_disable4.stderr.out 2014-09-09 03:11:32.387837208 +0100 @@ -1,6 +1,7 @@ -------- Letting 498 threads exit w/ errs disabled ------ +err_disable4: err_disable4.c:85: main: Assertion `!r' failed. WARNING: exiting thread has error reporting disabled. WARNING: possibly as a result of some mistake in the use WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros. @@ -1477,36 +1478,3 @@ WARNING: exiting thread has error reporting disabled. WARNING: possibly as a result of some mistake in the use WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros. -WARNING: exiting thread has error reporting disabled. -WARNING: possibly as a result of some mistake in the use -WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros. -WARNING: exiting thread has error reporting disabled. -WARNING: possibly as a result of some mistake in the use -WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros. -WARNING: exiting thread has error reporting disabled. -WARNING: possibly as a result of some mistake in the use -WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros. -WARNING: exiting thread has error reporting disabled. -WARNING: possibly as a result of some mistake in the use -WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros. -WARNING: exiting thread has error reporting disabled. -WARNING: possibly as a result of some mistake in the use -WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros. -WARNING: exiting thread has error reporting disabled. -WARNING: possibly as a result of some mistake in the use -WARNING: of the VALGRIND_DISABLE_ERROR_REPORTING macros. - --------- Letting 498 threads make an error ------ - -Thread x: -Invalid read of size 1 - at 0x........: err (err_disable4.c:41) - by 0x........: child_fn_2 (err_disable4.c:55) - ... - Address 0x........ is 5 bytes inside a block of size 10 free'd - at 0x........: free (vg_replace_malloc.c:...) - by 0x........: main (err_disable4.c:68) - - --------- Got 498 errors (expected 498 ==> PASS) ------ - ================================================= ./valgrind-old/drd/tests/pth_barrier_thr_cr.stderr.diff ================================================= --- pth_barrier_thr_cr.stderr.exp 2014-09-09 02:41:26.104536409 +0100 +++ pth_barrier_thr_cr.stderr.out 2014-09-09 02:58:08.122296263 +0100 @@ -1,4 +1,15 @@ +Thread 36: +Error in barrier implementation -- barrier_wait() started before barrier_destroy() and finished after barrier_destroy(): 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........: (within libpthread-?.?.so) + 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: 2 errors from 1 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/drd/tests/std_thread2.stderr.diff ================================================= --- std_thread2.stderr.exp 2014-09-09 02:41:26.118536141 +0100 +++ std_thread2.stderr.out 2014-09-09 02:59:58.635174198 +0100 @@ -1,4 +1,9 @@ +Conflicting store by thread 1 at 0x........ size 4 + at 0x........: allocate_stack (allocatestack.c:?) + by 0x........: pthread_create@@GLIBC_2.2.5(within libpthread-?.?.so) +Allocation context: BSS section of libc-2.16.so + Thread 2: Conflicting store by thread 2 at 0x........ size 4 at 0x........: main::{lambda()#1}::operator()() const (std_thread2.cpp:21) @@ -6,4 +11,4 @@ Done. -ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64 ================================================= --- preen_invars.stderr.exp-glibc28-amd64 2014-09-09 02:41:46.256150573 +0100 +++ preen_invars.stderr.out 2014-09-09 03:01:15.308700827 +0100 @@ -6,4 +6,39 @@ Actual: global array "im_a_global_arr" of size 10 in object with soname "preen_invars_so" -ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) +exp-sgcheck: sg_main.c:560 (add_blocks_to_StackTree): Assertion '!already_present' failed. + +host stacktrace: + at 0x........: show_sched_status_wrk (m_libcassert.c:319) + by 0x........: report_and_quit (m_libcassert.c:390) + by 0x........: vgPlain_assert_fail (m_libcassert.c:455) + by 0x........: add_blocks_to_StackTree (sg_main.c:560) + by 0x........: shadowStack_new_frame.isra.12 (sg_main.c:1875) + by 0x........: ??? + by 0x........: ??? + +sched status: + running_tid=1 + +Thread 1: status = VgTs_Runnable + at 0x........: _dl_sort_fini (dl-fini.c:42) + by 0x........: _dl_close_worker (dl-close.c:225) + by 0x........: _dl_close (dl-close.c:776) + by 0x........: _dl_catch_error (dl-error.c:177) + by 0x........: _dlerror_run (dlerror.c:163) + by 0x........: dlclose (dlclose.c:47) + by 0x........: main (preen_invars.c:48) + + +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/exp-sgcheck/tests/preen_invars.stdout.diff ================================================= --- preen_invars.stdout.exp 2014-09-09 02:41:46.253150631 +0100 +++ preen_invars.stdout.out 2014-09-09 03:01:12.448755784 +0100 @@ -1 +0,0 @@ -foo bar 1