================================================= ./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64 ================================================= --- preen_invars.stderr.exp-glibc28-amd64 2014-09-03 03:07:44.831880126 +0100 +++ preen_invars.stderr.out 2014-09-03 03:29:48.273552502 +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-03 03:07:44.829880164 +0100 +++ preen_invars.stdout.out 2014-09-03 03:29:45.302609307 +0100 @@ -1 +0,0 @@ -foo bar 1 ================================================= ./valgrind-new/none/tests/fdleak_ipv4.stderr.diff ================================================= --- fdleak_ipv4.stderr.exp 2014-09-03 03:07:18.446385123 +0100 +++ fdleak_ipv4.stderr.out 2014-09-03 03:21:51.152682236 +0100 @@ -1,10 +1,8 @@ +bind(s, (struct sockaddr *)&addr, sizeof(addr)): Address already in use -FILE DESCRIPTORS: 5 open at exit. -Open AF_INET socket 4: 127.0.0.1:... <-> 127.0.0.1:... - ... - -Open AF_INET socket 3: 127.0.0.1:... <-> unbound +FILE DESCRIPTORS: 4 open at exit. +Open AF_INET socket 3: <-> unbound ... Open file descriptor ...: ... ================================================= ./valgrind-old/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64 ================================================= --- preen_invars.stderr.exp-glibc28-amd64 2014-09-03 02:42:25.852952984 +0100 +++ preen_invars.stderr.out 2014-09-03 03:02:07.670333123 +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-03 02:42:25.850953022 +0100 +++ preen_invars.stdout.out 2014-09-03 03:02:04.736389276 +0100 @@ -1 +0,0 @@ -foo bar 1 ================================================= ./valgrind-old/helgrind/tests/tc22_exit_w_lock.stderr.diff ================================================= --- tc22_exit_w_lock.stderr.exp 2014-09-03 02:42:51.032471036 +0100 +++ tc22_exit_w_lock.stderr.out 2014-09-03 02:56:35.606688550 +0100 @@ -13,6 +13,23 @@ ---Thread-Announcement------------------------------------------ +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (tc22_exit_w_lock.c:42) + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + Address 0x........ is not stack'd, malloc'd or on a free list + +---Thread-Announcement------------------------------------------ + Thread #x was created ... by 0x........: pthread_create@* (hg_intercepts.c:...) @@ -23,10 +40,6 @@ Thread #x: Exiting thread still holds 1 lock ... ----Thread-Announcement------------------------------------------ - -Thread #x is the program's root thread - ---------------------------------------------------------------- Thread #x: Exiting thread still holds 1 lock @@ -34,4 +47,4 @@ by 0x........: main (tc22_exit_w_lock.c:48) -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 19 errors from 4 contexts (suppressed: 0 from 0) ================================================= ./valgrind-old/helgrind/tests/tc22_exit_w_lock.stderr.diff-kfail-x86 ================================================= --- tc22_exit_w_lock.stderr.exp-kfail-x86 2014-09-03 02:42:51.022471228 +0100 +++ tc22_exit_w_lock.stderr.out 2014-09-03 02:56:35.606688550 +0100 @@ -3,7 +3,6 @@ Thread #x was created ... - by 0x........: pthread_create_WRK (hg_intercepts.c:...) by 0x........: pthread_create@* (hg_intercepts.c:...) by 0x........: main (tc22_exit_w_lock.c:39) @@ -14,9 +13,25 @@ ---Thread-Announcement------------------------------------------ +Thread #x is the program's root thread + +---------------------------------------------------------------- + +Possible data race during write of size 1 at 0x........ by thread #x +Locks held: none + ... + by 0x........: pthread_create@* (hg_intercepts.c:...) + by 0x........: main (tc22_exit_w_lock.c:42) + +This conflicts with a previous write of size 1 by thread #x +Locks held: none + ... + Address 0x........ is not stack'd, malloc'd or on a free list + +---Thread-Announcement------------------------------------------ + Thread #x was created ... - by 0x........: pthread_create_WRK (hg_intercepts.c:...) by 0x........: pthread_create@* (hg_intercepts.c:...) by 0x........: main (tc22_exit_w_lock.c:42) @@ -25,14 +40,11 @@ Thread #x: Exiting thread still holds 1 lock ... ----Thread-Announcement------------------------------------------ - -Thread #x is the program's root thread - ---------------------------------------------------------------- Thread #x: Exiting thread still holds 1 lock ... + by 0x........: main (tc22_exit_w_lock.c:48) -ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) +ERROR SUMMARY: 19 errors from 4 contexts (suppressed: 0 from 0)