================================================= ./valgrind-new/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64 ================================================= --- preen_invars.stderr.exp-glibc28-amd64 2013-04-18 03:09:15.914734513 +0100 +++ preen_invars.stderr.out 2013-04-18 03:30:17.756634254 +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:260) + by 0x........: vgPlain_assert_fail (m_libcassert.c:340) + 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 2013-04-18 03:09:15.917734454 +0100 +++ preen_invars.stdout.out 2013-04-18 03:30:15.176684753 +0100 @@ -1 +0,0 @@ -foo bar 1 ================================================= ./valgrind-new/gdbserver_tests/mcbreak.stderrB.diff ================================================= --- mcbreak.stderrB.exp 2013-04-18 03:14:26.435255237 +0100 +++ mcbreak.stderrB.out 2013-04-18 03:19:35.979192251 +0100 @@ -1,7 +1,28 @@ relaying data between gdb and process .... vgdb-error value changed from 0 to 999999 vgdb-error value changed from 999999 to 0 -n_errs_found 1 n_errs_shown 1 (vgdb-error 0) -vgdb-error value changed from 0 to 0 -monitor command request to kill this process -Remote connection closed +The program being debugged exited while in a function called from GDB. +Evaluation of the expression containing the function +(whoami) will be abandoned. +No symbol "i" in current context. +No registers. +No registers. +The program is not being run. +You can't do that without a process to debug. +No symbol "i" in current context. +The program is not being run. +You can't do that without a process to debug. +No symbol "i" in current context. +The program is not being run. +You can't do that without a process to debug. +No symbol "i" in current context. +You can't do that without a process to debug. +The program is not being run. +The program is not being run. +The program is not being run. +The program is not being run. +"monitor" command not supported by this target. +No registers. +"monitor" command not supported by this target. +The program is not being run. +"monitor" command not supported by this target. ================================================= ./valgrind-new/gdbserver_tests/mcbreak.stdoutB.diff ================================================= --- mcbreak.stdoutB.exp 2013-04-18 03:14:26.424255439 +0100 +++ mcbreak.stdoutB.out 2013-04-18 03:19:35.960192624 +0100 @@ -12,43 +12,10 @@ 113 for (i = len-1; i >= 0; i=i-2) old_pc has changed after step 114 undefined[i] = undef; -$1 = void +Program terminated with signal SIGSEGV, Segmentation fault. +The program no longer exists. +$1 = "undefined" $2 = "undefined" -$3 = 8 -113 for (i = len-1; i >= 0; i=i-2) -old_pc has changed after step -114 undefined[i] = undef; -old_pc has changed after step -113 for (i = len-1; i >= 0; i=i-2) -$4 = void -$5 = "undefi?e?" -$6 = 6 -114 undefined[i] = undef; -$7 = void -$8 = "undefi?e?" -$9 = 4 -113 for (i = len-1; i >= 0; i=i-2) -$10 = void -$11 = "unde?i?e?" -$12 = 4 -$13 = 1 -$14 = void -Continuing. -Breakpoint 2, main (argc=1, argv=0x........) at t.c:117 -117 breakme(__LINE__); //break2 -breakme (line=117) at t.c:100 -100 if (line > 1000) -Run till exit from #0 breakme (line=117) at t.c:100 -main (argc=1, argv=0x........) at t.c:119 -119 if (argc > 1) +$3 = "undefined" +$4 = "undefined" Delete all breakpoints? (y or n) [answered Y; input not from terminal] -Continuing. -Program received signal SIGTRAP, Trace/breakpoint trap. -0x........ in make_error (s=0x........ "called from level") at t.c:40 -40 if (int_und == 0) -43 printf ("%s int_und is not zero\n", s); -old_pc has changed after step -Continuing. -Program received signal SIGTRAP, Trace/breakpoint trap. -0x........ in make_error (s=0x........ "called from main") at t.c:40 -40 if (int_und == 0) ================================================= ./valgrind-new/gdbserver_tests/mcbreak.stdout.diff ================================================= --- mcbreak.stdout.exp 2013-04-18 03:14:26.429255347 +0100 +++ mcbreak.stdout.out 2013-04-18 03:19:35.889194016 +0100 @@ -1,8 +0,0 @@ -pid .... Thread .... first -pid .... Thread .... second -pid .... Thread .... third -pid .... Thread .... fourth -pid .... Thread .... after next: inferior call pushed from mcbreak.stdinB.gdb -pid .... Thread .... called from level -called from level int_und is not zero -pid .... Thread .... called from main ================================================= ./valgrind-new/gdbserver_tests/mcinfcallRU.stderr.diff ================================================= --- mcinfcallRU.stderr.exp 2013-04-18 03:14:26.425255421 +0100 +++ mcinfcallRU.stderr.out 2013-04-18 03:19:42.226069746 +0100 @@ -1,4 +1,11 @@ loops/sleep_ms/burn/threads_spec: 1 0 2000000000 ------B- main ready to sleep and/or burn -pid .... Thread .... inferior call pushed from gdb in mcinfcallRU.stdinB.gdb -Reset valgrind output to log (orderly_finish) +Process terminating with default action of signal 11 (SIGSEGV) + Bad permissions for mapped region at address 0x........ + ... +HEAP SUMMARY: + in use at exit: 156 bytes in 2 blocks + total heap usage: 2 allocs, 0 frees, 156 bytes allocated +For a detailed leak analysis, rerun with: --leak-check=full +For counts of detected and suppressed errors, rerun with: -v +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderrB.diff ================================================= --- mcinfcallWSRU.stderrB.exp 2013-04-18 03:14:26.420255512 +0100 +++ mcinfcallWSRU.stderrB.out 2013-04-18 03:19:45.897997747 +0100 @@ -23,33 +23,15 @@ [Switching to thread 1 (Thread ....)] #0 0x........ in do_burn () at sleepers.c:39 39 for (i = 0; i < burn; i++) loopnr++; -$1 = void -[Switching to thread 2 (Thread ....)] -#0 0x........ in syscall ... -Could not write register "xxx"; remote failure reply 'E. -ERROR changing register xxx regno y -gdb commands changing registers (pc, sp, ...) (e.g. 'jump', -set pc, calling from gdb a function in the debugged process, ...) -can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state -Thread status is VgTs_WaitSys -' -[Switching to thread 3 (Thread ....)] -#0 0x........ in syscall ... -Could not write register "xxx"; remote failure reply 'E. -ERROR changing register xxx regno y -gdb commands changing registers (pc, sp, ...) (e.g. 'jump', -set pc, calling from gdb a function in the debugged process, ...) -can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state -Thread status is VgTs_WaitSys -' -[Switching to thread 4 (Thread ....)] -#0 0x........ in syscall ... -Could not write register "xxx"; remote failure reply 'E. -ERROR changing register xxx regno y -gdb commands changing registers (pc, sp, ...) (e.g. 'jump', -set pc, calling from gdb a function in the debugged process, ...) -can only be accepted if the thread is VgTs_Runnable or VgTs_Yielding state -Thread status is VgTs_WaitSys -' -monitor command request to kill this process -Remote connection closed +Program terminated with signal SIGKILL, Killed. +The program no longer exists. +The program being debugged exited while in a function called from GDB. +Evaluation of the expression containing the function +(whoami) will be abandoned. +Thread ID 2 not known. +You can't do that without a process to debug. +Thread ID 3 not known. +You can't do that without a process to debug. +Thread ID 4 not known. +You can't do that without a process to debug. +"monitor" command not supported by this target. ================================================= ./valgrind-new/gdbserver_tests/mcinfcallWSRU.stderr.diff ================================================= --- mcinfcallWSRU.stderr.exp 2013-04-18 03:14:26.413255641 +0100 +++ mcinfcallWSRU.stderr.out 2013-04-18 03:19:45.748000686 +0100 @@ -3,5 +3,12 @@ London ready to sleep and/or burn Petaouchnok ready to sleep and/or burn main ready to sleep and/or burn -pid .... Thread .... thread 1 inferior call pushed from gdb in mcinfcallWSRU.stdinB.gdb -Reset valgrind output to log (orderly_finish) +Process terminating with default action of signal 11 (SIGSEGV) + Bad permissions for mapped region at address 0x........ + ... +HEAP SUMMARY: + in use at exit: 983 bytes in 5 blocks + total heap usage: 5 allocs, 0 frees, 983 bytes allocated +For a detailed leak analysis, rerun with: --leak-check=full +For counts of detected and suppressed errors, rerun with: -v +ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ================================================= ./valgrind-new/gdbserver_tests/mcmain_pic.stderrB.diff ================================================= --- mcmain_pic.stderrB.exp 2013-04-18 03:14:26.418255549 +0100 +++ mcmain_pic.stderrB.out 2013-04-18 03:20:02.789672168 +0100 @@ -1,2 +1,6 @@ relaying data between gdb and process .... vgdb-error value changed from 0 to 999999 +The program being debugged exited while in a function called from GDB. +Evaluation of the expression containing the function +(another_func) will be abandoned. +The program is not being run. ================================================= ./valgrind-new/gdbserver_tests/mcmain_pic.stderr.diff ================================================= --- mcmain_pic.stderr.exp 2013-04-18 03:14:26.426255402 +0100 +++ mcmain_pic.stderr.out 2013-04-18 03:20:02.731673290 +0100 @@ -3,6 +3,10 @@ +Process terminating with default action of signal 11 (SIGSEGV) + Bad permissions for mapped region at address 0x........ + ... + HEAP SUMMARY: in use at exit: 16 bytes in 1 blocks total heap usage: 1 allocs, 0 frees, 16 bytes allocated ================================================= ./valgrind-new/gdbserver_tests/mcmain_pic.stdoutB.diff ================================================= --- mcmain_pic.stdoutB.exp 2013-04-18 03:14:26.407255751 +0100 +++ mcmain_pic.stdoutB.out 2013-04-18 03:20:02.765672632 +0100 @@ -2,8 +2,7 @@ Continuing. Breakpoint 1, main (argc=1, argv=0x........) at main_pic.c:11 11 printf("address of another_func %p\n", &another_func); -$1 = void -$2 = (int (*)(int, char **)) 0x........
-$3 = (void (*)(char *)) 0x........ -Continuing. -Program exited normally. +Program terminated with signal SIGSEGV, Segmentation fault. +The program no longer exists. +$1 = (int (*)(int, char **)) 0x........
+$2 = (void (*)(char *)) 0x........ ================================================= ./valgrind-new/gdbserver_tests/mcmain_pic.stdout.diff ================================================= --- mcmain_pic.stdout.exp 2013-04-18 03:14:26.422255476 +0100 +++ mcmain_pic.stdout.out 2013-04-18 03:20:02.709673716 +0100 @@ -1,4 +1 @@ address of main 0x........ -another func called msg called from gdb -address of another_func 0x........ -another func called msg called from main ================================================= ./valgrind-new/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x ================================================= --- origin5-bz2.stderr.exp-glibc212-s390x 2013-04-18 03:12:10.239277483 +0100 +++ origin5-bz2.stderr.out 2013-04-18 03:21:59.152424936 +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 2013-04-18 03:12:06.504351554 +0100 +++ origin5-bz2.stderr.out 2013-04-18 03:21:59.152424936 +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 2013-04-18 03:12:10.312276035 +0100 +++ origin5-bz2.stderr.out 2013-04-18 03:21:59.152424936 +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 2013-04-18 03:12:10.746267428 +0100 +++ origin5-bz2.stderr.out 2013-04-18 03:21:59.152424936 +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 2013-04-18 03:12:02.424432468 +0100 +++ origin5-bz2.stderr.out 2013-04-18 03:21:59.152424936 +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/exp-sgcheck/tests/preen_invars.stderr.diff-glibc28-amd64 ================================================= --- preen_invars.stderr.exp-glibc28-amd64 2013-04-18 02:52:18.187861578 +0100 +++ preen_invars.stderr.out 2013-04-18 03:07:11.738195685 +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:260) + by 0x........: vgPlain_assert_fail (m_libcassert.c:340) + 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 2013-04-18 02:52:18.190861519 +0100 +++ preen_invars.stdout.out 2013-04-18 03:07:09.241245133 +0100 @@ -1 +0,0 @@ -foo bar 1 ================================================= ./valgrind-old/gdbserver_tests/mcinfcallRU.stderr.diff ================================================= --- mcinfcallRU.stderr.exp 2013-04-18 02:52:17.727870705 +0100 +++ mcinfcallRU.stderr.out 2013-04-18 02:56:52.629420766 +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.stderr.diff ================================================= --- mcinfcallWSRU.stderr.exp 2013-04-18 02:52:17.729870665 +0100 +++ mcinfcallWSRU.stderr.out 2013-04-18 02:56:56.250349031 +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 2013-04-18 02:52:17.750870249 +0100 +++ mcmain_pic.stderr.out 2013-04-18 02:57:08.335109607 +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=0F +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=0F +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/memcheck/tests/origin5-bz2.stderr.diff-glibc212-s390x ================================================= --- origin5-bz2.stderr.exp-glibc212-s390x 2013-04-18 02:52:15.280919256 +0100 +++ origin5-bz2.stderr.out 2013-04-18 02:58:47.543143506 +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 2013-04-18 02:52:15.135922133 +0100 +++ origin5-bz2.stderr.out 2013-04-18 02:58:47.543143506 +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 2013-04-18 02:52:15.382917232 +0100 +++ origin5-bz2.stderr.out 2013-04-18 02:58:47.543143506 +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 2013-04-18 02:52:15.624912431 +0100 +++ origin5-bz2.stderr.out 2013-04-18 02:58:47.543143506 +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 2013-04-18 02:52:15.049923840 +0100 +++ origin5-bz2.stderr.out 2013-04-18 02:58:47.543143506 +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