================================================= ./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64 ================================================= --- preen_invars.stderr.exp-glibc28-amd64 2012-08-24 02:57:46.842183634 +0100 +++ preen_invars.stderr.out 2012-08-24 03:13:54.770041376 +0100 @@ -6,4 +6,36 @@ 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. + at 0x........: report_and_quit (m_libcassert.c:235) + by 0x........: vgPlain_assert_fail (m_libcassert.c:309) + 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:43) + by 0x........: _dl_close_worker (dl-close.c:226) + by 0x........: _dl_close (dl-close.c:773) + by 0x........: _dl_catch_error (dl-error.c:178) + by 0x........: _dlerror_run (dlerror.c:164) + by 0x........: dlclose (dlclose.c:48) + 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 2012-08-24 02:57:46.845183574 +0100 +++ preen_invars.stdout.out 2012-08-24 03:13:52.221100217 +0100 @@ -1 +0,0 @@ -foo bar 1 ================================================= ./valgrind-new/gdbserver_tests/mcinfcallRU.stderr.diff ================================================= --- mcinfcallRU.stderr.exp 2012-08-24 02:57:44.872222580 +0100 +++ mcinfcallRU.stderr.out 2012-08-24 03:02:49.627208767 +0100 @@ -1,4 +1,12 @@ loops/sleep_ms/burn/threads_spec: 1 0 2000000000 ------B- main ready to sleep and/or burn +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 pid .... Thread .... inferior call pushed from gdb in mcinfcallRU.stdinB.gdb +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 Reset valgrind output to log (orderly_finish) ================================================= ./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff ================================================= --- mcinfcallWSRU.stderrB.exp 2012-08-24 02:57:44.863222758 +0100 +++ mcinfcallWSRU.stderrB.out 2012-08-24 03:02:52.344155201 +0100 @@ -26,6 +26,7 @@ $1 = void [Switching to thread 2 (Thread ....)] #0 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Could not write register "xxx"; remote failure reply 'E. ERROR changing register xxx regno y gdb commands changing registers (pc, sp, ...) (e.g. 'jump', @@ -35,6 +36,7 @@ ' [Switching to thread 3 (Thread ....)] #0 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Could not write register "xxx"; remote failure reply 'E. ERROR changing register xxx regno y gdb commands changing registers (pc, sp, ...) (e.g. 'jump', @@ -44,6 +46,7 @@ ' [Switching to thread 4 (Thread ....)] #0 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Could not write register "xxx"; remote failure reply 'E. ERROR changing register xxx regno y gdb commands changing registers (pc, sp, ...) (e.g. 'jump', ================================================= ./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderr.diff ================================================= --- mcinfcallWSRU.stderr.exp 2012-08-24 02:57:44.874222540 +0100 +++ mcinfcallWSRU.stderr.out 2012-08-24 03:02:52.181158414 +0100 @@ -3,5 +3,13 @@ London ready to sleep and/or burn Petaouchnok ready to sleep and/or burn main ready to sleep and/or burn +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 pid .... Thread .... thread 1 inferior call pushed from gdb in mcinfcallWSRU.stdinB.gdb +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 Reset valgrind output to log (orderly_finish) ================================================= ./valgrind-new/gdbserver_tests/mcmain_pic.stderr.diff ================================================= --- mcmain_pic.stderr.exp 2012-08-24 02:57:44.866222698 +0100 +++ mcmain_pic.stderr.out 2012-08-24 03:03:07.309860141 +0100 @@ -2,6 +2,14 @@ (action at startup) vgdb me ... +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 HEAP SUMMARY: in use at exit: 16 bytes in 1 blocks ================================================= ./valgrind-new/gdbserver_tests/nlcontrolc.stdoutB.diff ================================================= --- nlcontrolc.stdoutB.exp 2012-08-24 02:57:44.854222936 +0100 +++ nlcontrolc.stdoutB.out 2012-08-24 03:03:20.116607653 +0100 @@ -1,13 +1,18 @@ Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [New Thread ....] [New Thread ....] [New Thread ....] 4 Thread .... (tid 4 VgTs_WaitSys) 0x........ in syscall ... + ... 3 Thread .... (tid 3 VgTs_WaitSys) 0x........ in syscall ... + ... 2 Thread .... (tid 2 VgTs_WaitSys) 0x........ in syscall ... + ... * 1 Thread .... (tid 1 VgTs_WaitSys) 0x........ in syscall ... + ... $1 = 0 $2 = 0 $3 = 0 ================================================= ./valgrind-new/gdbserver_tests/nlpasssigalrm.stdoutB.diff ================================================= --- nlpasssigalrm.stdoutB.exp 2012-08-24 02:57:44.860222816 +0100 +++ nlpasssigalrm.stdoutB.out 2012-08-24 03:03:23.131548213 +0100 @@ -5,6 +5,7 @@ Continuing. Program received signal SIGALRM, Alarm clock. 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Signal Stop Print Pass to program Description SIGALRM No No Yes Alarm clock Continuing. @@ -18,4 +19,5 @@ Continuing. Program received signal SIG34, Real-time event 34. 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Continuing. ================================================= ./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x ================================================= --- origin5-bz2.stderr.exp-glibc212-s390x 2012-08-24 02:57:45.348213169 +0100 +++ origin5-bz2.stderr.out 2012-08-24 03:04:42.725979105 +0100 @@ -75,17 +75,6 @@ at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 - at 0x........: mainSort (origin5-bz2.c:2859) - by 0x........: BZ2_blockSort (origin5-bz2.c:3105) - by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) - by 0x........: handle_compress (origin5-bz2.c:4753) - by 0x........: BZ2_bzCompress (origin5-bz2.c:4822) - by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) - by 0x........: main (origin5-bz2.c:6484) - Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6479) - -Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2963) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -131,6 +120,12 @@ Conditional jump or move depends on uninitialised value(s) at 0x........: main (origin5-bz2.c:6512) - Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6479) + Uninitialised value was created by a heap allocation + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: g_serviceFn (origin5-bz2.c:6429) + by 0x........: default_bzalloc (origin5-bz2.c:4470) + by 0x........: BZ2_decompress (origin5-bz2.c:1578) + by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192) + by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678) + by 0x........: main (origin5-bz2.c:6498) ================================================= ./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x ================================================= --- origin5-bz2.stderr.exp-glibc234-s390x 2012-08-24 02:57:45.233215442 +0100 +++ origin5-bz2.stderr.out 2012-08-24 03:04:42.725979105 +0100 @@ -120,6 +120,12 @@ Conditional jump or move depends on uninitialised value(s) at 0x........: main (origin5-bz2.c:6512) - Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6479) + Uninitialised value was created by a heap allocation + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: g_serviceFn (origin5-bz2.c:6429) + by 0x........: default_bzalloc (origin5-bz2.c:4470) + by 0x........: BZ2_decompress (origin5-bz2.c:1578) + by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192) + by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678) + by 0x........: main (origin5-bz2.c:6498) ================================================= ./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64 ================================================= --- origin5-bz2.stderr.exp-glibc25-amd64 2012-08-24 02:57:44.928221472 +0100 +++ origin5-bz2.stderr.out 2012-08-24 03:04:42.725979105 +0100 @@ -120,6 +120,12 @@ Conditional jump or move depends on uninitialised value(s) at 0x........: main (origin5-bz2.c:6512) - Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6479) + Uninitialised value was created by a heap allocation + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: g_serviceFn (origin5-bz2.c:6429) + by 0x........: default_bzalloc (origin5-bz2.c:4470) + by 0x........: BZ2_decompress (origin5-bz2.c:1578) + by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192) + by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678) + by 0x........: main (origin5-bz2.c:6498) ================================================= ./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86 ================================================= --- origin5-bz2.stderr.exp-glibc25-x86 2012-08-24 02:57:45.104217992 +0100 +++ origin5-bz2.stderr.out 2012-08-24 03:04:42.725979105 +0100 @@ -12,7 +12,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: copy_input_until_stop (origin5-bz2.c:4686) by 0x........: handle_compress (origin5-bz2.c:4750) by 0x........: BZ2_bzCompress (origin5-bz2.c:4822) @@ -21,7 +21,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: copy_input_until_stop (origin5-bz2.c:4686) by 0x........: handle_compress (origin5-bz2.c:4750) by 0x........: BZ2_bzCompress (origin5-bz2.c:4822) @@ -30,7 +30,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2820) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -41,7 +41,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2823) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -52,7 +52,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2854) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -63,7 +63,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2858) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -74,7 +74,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2963) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -85,7 +85,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2964) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -96,7 +96,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: fallbackSort (origin5-bz2.c:2269) by 0x........: BZ2_blockSort (origin5-bz2.c:3116) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -107,7 +107,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: fallbackSort (origin5-bz2.c:2275) by 0x........: BZ2_blockSort (origin5-bz2.c:3116) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -120,6 +120,12 @@ Conditional jump or move depends on uninitialised value(s) at 0x........: main (origin5-bz2.c:6512) - Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6479) + Uninitialised value was created by a heap allocation + at 0x........: malloc (vg_replace_malloc.c:...) ================================================= ./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64 ================================================= --- origin5-bz2.stderr.exp-glibc27-ppc64 2012-08-24 02:57:45.172216648 +0100 +++ origin5-bz2.stderr.out 2012-08-24 03:04:42.725979105 +0100 @@ -1,7 +1,7 @@ Conditional jump or move depends on uninitialised value(s) at 0x........: main (origin5-bz2.c:6481) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Conditional jump or move depends on uninitialised value(s) at 0x........: copy_input_until_stop (origin5-bz2.c:4686) @@ -10,7 +10,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: copy_input_until_stop (origin5-bz2.c:4686) @@ -19,7 +19,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: copy_input_until_stop (origin5-bz2.c:4686) @@ -28,7 +28,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2820) @@ -39,7 +39,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2823) @@ -50,7 +50,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2854) @@ -61,7 +61,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2858) @@ -72,7 +72,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2963) @@ -83,7 +83,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2964) @@ -94,7 +94,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: fallbackSort (origin5-bz2.c:2269) @@ -105,7 +105,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 ================================================= ./valgrind-new/memcheck/tests/overlap.stderr.diff ================================================= --- overlap.stderr.exp 2012-08-24 02:57:45.277214572 +0100 +++ overlap.stderr.out 2012-08-24 03:04:46.649901753 +0100 @@ -1,9 +1,9 @@ Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (mc_replace_strmem.c:...) + at 0x........: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:...) by 0x........: main (overlap.c:40) Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (mc_replace_strmem.c:...) + at 0x........: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:...) by 0x........: main (overlap.c:42) Source and destination overlap in strncpy(0x........, 0x........, 21) ================================================= ./valgrind-old/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64 ================================================= --- preen_invars.stderr.exp-glibc28-amd64 2012-08-24 02:41:39.956252842 +0100 +++ preen_invars.stderr.out 2012-08-24 02:57:35.323411382 +0100 @@ -6,4 +6,36 @@ 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. + at 0x........: report_and_quit (m_libcassert.c:235) + by 0x........: vgPlain_assert_fail (m_libcassert.c:309) + 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:43) + by 0x........: _dl_close_worker (dl-close.c:226) + by 0x........: _dl_close (dl-close.c:773) + by 0x........: _dl_catch_error (dl-error.c:178) + by 0x........: _dlerror_run (dlerror.c:164) + by 0x........: dlclose (dlclose.c:48) + 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 2012-08-24 02:41:39.960252764 +0100 +++ preen_invars.stdout.out 2012-08-24 02:57:32.931458684 +0100 @@ -1 +0,0 @@ -foo bar 1 ================================================= ./valgrind-old/gdbserver_tests/mcinfcallRU.stderr.diff ================================================= --- mcinfcallRU.stderr.exp 2012-08-24 02:41:38.025290919 +0100 +++ mcinfcallRU.stderr.out 2012-08-24 02:46:12.046888977 +0100 @@ -1,4 +1,12 @@ loops/sleep_ms/burn/threads_spec: 1 0 2000000000 ------B- main ready to sleep and/or burn +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 pid .... Thread .... inferior call pushed from gdb in mcinfcallRU.stdinB.gdb +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 Reset valgrind output to log (orderly_finish) ================================================= ./valgrind-old/gdbserver_tests/mcinfcallWSRU.stderrB.diff ================================================= --- mcinfcallWSRU.stderrB.exp 2012-08-24 02:41:38.015291118 +0100 +++ mcinfcallWSRU.stderrB.out 2012-08-24 02:46:15.643818083 +0100 @@ -26,6 +26,7 @@ $1 = void [Switching to thread 2 (Thread ....)] #0 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Could not write register "xxx"; remote failure reply 'E. ERROR changing register xxx regno y gdb commands changing registers (pc, sp, ...) (e.g. 'jump', @@ -35,6 +36,7 @@ ' [Switching to thread 3 (Thread ....)] #0 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Could not write register "xxx"; remote failure reply 'E. ERROR changing register xxx regno y gdb commands changing registers (pc, sp, ...) (e.g. 'jump', @@ -44,6 +46,7 @@ ' [Switching to thread 4 (Thread ....)] #0 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Could not write register "xxx"; remote failure reply 'E. ERROR changing register xxx regno y gdb commands changing registers (pc, sp, ...) (e.g. 'jump', ================================================= ./valgrind-old/gdbserver_tests/mcinfcallWSRU.stderr.diff ================================================= --- mcinfcallWSRU.stderr.exp 2012-08-24 02:41:38.026290900 +0100 +++ mcinfcallWSRU.stderr.out 2012-08-24 02:46:15.588819168 +0100 @@ -3,5 +3,13 @@ London ready to sleep and/or burn Petaouchnok ready to sleep and/or burn main ready to sleep and/or burn +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 pid .... Thread .... thread 1 inferior call pushed from gdb in mcinfcallWSRU.stdinB.gdb +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 Reset valgrind output to log (orderly_finish) ================================================= ./valgrind-old/gdbserver_tests/mcmain_pic.stderr.diff ================================================= --- mcmain_pic.stderr.exp 2012-08-24 02:41:38.019291038 +0100 +++ mcmain_pic.stderr.out 2012-08-24 02:46:31.267510148 +0100 @@ -2,6 +2,14 @@ (action at startup) vgdb me ... +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 +vex amd64->IR: unhandled instruction bytes: 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ 0x........ +vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 +vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x........ ESC=NONE +vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 HEAP SUMMARY: in use at exit: 16 bytes in 1 blocks ================================================= ./valgrind-old/gdbserver_tests/nlcontrolc.stdoutB.diff ================================================= --- nlcontrolc.stdoutB.exp 2012-08-24 02:41:38.006291294 +0100 +++ nlcontrolc.stdoutB.out 2012-08-24 02:46:43.369271631 +0100 @@ -1,13 +1,18 @@ Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [New Thread ....] [New Thread ....] [New Thread ....] 4 Thread .... (tid 4 VgTs_WaitSys) 0x........ in syscall ... + ... 3 Thread .... (tid 3 VgTs_WaitSys) 0x........ in syscall ... + ... 2 Thread .... (tid 2 VgTs_WaitSys) 0x........ in syscall ... + ... * 1 Thread .... (tid 1 VgTs_WaitSys) 0x........ in syscall ... + ... $1 = 0 $2 = 0 $3 = 0 ================================================= ./valgrind-old/gdbserver_tests/nlpasssigalrm.stdoutB.diff ================================================= --- nlpasssigalrm.stdoutB.exp 2012-08-24 02:41:38.011291194 +0100 +++ nlpasssigalrm.stdoutB.out 2012-08-24 02:46:45.027238954 +0100 @@ -5,6 +5,7 @@ Continuing. Program received signal SIGALRM, Alarm clock. 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Signal Stop Print Pass to program Description SIGALRM No No Yes Alarm clock Continuing. @@ -18,4 +19,5 @@ Continuing. Program received signal SIG34, Real-time event 34. 0x........ in syscall ... +82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) Continuing. ================================================= ./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x ================================================= --- origin5-bz2.stderr.exp-glibc212-s390x 2012-08-24 02:41:38.526281041 +0100 +++ origin5-bz2.stderr.out 2012-08-24 02:48:04.392674357 +0100 @@ -75,17 +75,6 @@ at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 - at 0x........: mainSort (origin5-bz2.c:2859) - by 0x........: BZ2_blockSort (origin5-bz2.c:3105) - by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) - by 0x........: handle_compress (origin5-bz2.c:4753) - by 0x........: BZ2_bzCompress (origin5-bz2.c:4822) - by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) - by 0x........: main (origin5-bz2.c:6484) - Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6479) - -Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2963) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -131,6 +120,12 @@ Conditional jump or move depends on uninitialised value(s) at 0x........: main (origin5-bz2.c:6512) - Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6479) + Uninitialised value was created by a heap allocation + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: g_serviceFn (origin5-bz2.c:6429) + by 0x........: default_bzalloc (origin5-bz2.c:4470) + by 0x........: BZ2_decompress (origin5-bz2.c:1578) + by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192) + by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678) + by 0x........: main (origin5-bz2.c:6498) ================================================= ./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc234-s390x ================================================= --- origin5-bz2.stderr.exp-glibc234-s390x 2012-08-24 02:41:38.401283506 +0100 +++ origin5-bz2.stderr.out 2012-08-24 02:48:04.392674357 +0100 @@ -120,6 +120,12 @@ Conditional jump or move depends on uninitialised value(s) at 0x........: main (origin5-bz2.c:6512) - Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6479) + Uninitialised value was created by a heap allocation + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: g_serviceFn (origin5-bz2.c:6429) + by 0x........: default_bzalloc (origin5-bz2.c:4470) + by 0x........: BZ2_decompress (origin5-bz2.c:1578) + by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192) + by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678) + by 0x........: main (origin5-bz2.c:6498) ================================================= ./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-amd64 ================================================= --- origin5-bz2.stderr.exp-glibc25-amd64 2012-08-24 02:41:38.080289837 +0100 +++ origin5-bz2.stderr.out 2012-08-24 02:48:04.392674357 +0100 @@ -120,6 +120,12 @@ Conditional jump or move depends on uninitialised value(s) at 0x........: main (origin5-bz2.c:6512) - Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6479) + Uninitialised value was created by a heap allocation + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: g_serviceFn (origin5-bz2.c:6429) + by 0x........: default_bzalloc (origin5-bz2.c:4470) + by 0x........: BZ2_decompress (origin5-bz2.c:1578) + by 0x........: BZ2_bzDecompress (origin5-bz2.c:5192) + by 0x........: BZ2_bzBuffToBuffDecompress (origin5-bz2.c:5678) + by 0x........: main (origin5-bz2.c:6498) ================================================= ./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc25-x86 ================================================= --- origin5-bz2.stderr.exp-glibc25-x86 2012-08-24 02:41:38.278285930 +0100 +++ origin5-bz2.stderr.out 2012-08-24 02:48:04.392674357 +0100 @@ -12,7 +12,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: copy_input_until_stop (origin5-bz2.c:4686) by 0x........: handle_compress (origin5-bz2.c:4750) by 0x........: BZ2_bzCompress (origin5-bz2.c:4822) @@ -21,7 +21,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: copy_input_until_stop (origin5-bz2.c:4686) by 0x........: handle_compress (origin5-bz2.c:4750) by 0x........: BZ2_bzCompress (origin5-bz2.c:4822) @@ -30,7 +30,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2820) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -41,7 +41,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2823) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -52,7 +52,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2854) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -63,7 +63,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2858) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -74,7 +74,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2963) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -85,7 +85,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2964) by 0x........: BZ2_blockSort (origin5-bz2.c:3105) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -96,7 +96,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: fallbackSort (origin5-bz2.c:2269) by 0x........: BZ2_blockSort (origin5-bz2.c:3116) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -107,7 +107,7 @@ Uninitialised value was created by a client request at 0x........: main (origin5-bz2.c:6479) -Use of uninitialised value of size 4 +Use of uninitialised value of size 8 at 0x........: fallbackSort (origin5-bz2.c:2275) by 0x........: BZ2_blockSort (origin5-bz2.c:3116) by 0x........: BZ2_compressBlock (origin5-bz2.c:4034) @@ -120,6 +120,12 @@ Conditional jump or move depends on uninitialised value(s) at 0x........: main (origin5-bz2.c:6512) - Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6479) + Uninitialised value was created by a heap allocation + at 0x........: malloc (vg_replace_malloc.c:...) ================================================= ./valgrind-old/memcheck/tests/origin5-bz2.stderr.diff-glibc27-ppc64 ================================================= --- origin5-bz2.stderr.exp-glibc27-ppc64 2012-08-24 02:41:38.343284648 +0100 +++ origin5-bz2.stderr.out 2012-08-24 02:48:04.392674357 +0100 @@ -1,7 +1,7 @@ Conditional jump or move depends on uninitialised value(s) at 0x........: main (origin5-bz2.c:6481) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Conditional jump or move depends on uninitialised value(s) at 0x........: copy_input_until_stop (origin5-bz2.c:4686) @@ -10,7 +10,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: copy_input_until_stop (origin5-bz2.c:4686) @@ -19,7 +19,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: copy_input_until_stop (origin5-bz2.c:4686) @@ -28,7 +28,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2820) @@ -39,7 +39,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2823) @@ -50,7 +50,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2854) @@ -61,7 +61,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2858) @@ -72,7 +72,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2963) @@ -83,7 +83,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: mainSort (origin5-bz2.c:2964) @@ -94,7 +94,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 at 0x........: fallbackSort (origin5-bz2.c:2269) @@ -105,7 +105,7 @@ by 0x........: BZ2_bzBuffToBuffCompress (origin5-bz2.c:5630) by 0x........: main (origin5-bz2.c:6484) Uninitialised value was created by a client request - at 0x........: main (origin5-bz2.c:6481) + at 0x........: main (origin5-bz2.c:6479) Use of uninitialised value of size 8 ================================================= ./valgrind-old/memcheck/tests/overlap.stderr.diff ================================================= --- overlap.stderr.exp 2012-08-24 02:41:38.444282658 +0100 +++ overlap.stderr.out 2012-08-24 02:48:08.021602742 +0100 @@ -1,9 +1,9 @@ Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (mc_replace_strmem.c:...) + at 0x........: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:...) by 0x........: main (overlap.c:40) Source and destination overlap in memcpy(0x........, 0x........, 21) - at 0x........: memcpy (mc_replace_strmem.c:...) + at 0x........: memcpy@@GLIBC_2.14 (mc_replace_strmem.c:...) by 0x........: main (overlap.c:42) Source and destination overlap in strncpy(0x........, 0x........, 21)