==3697== Memcheck, a memory error detector ==3697== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==3697== Using Valgrind-3.6.0.SVN and LibVEX; rerun with -h for copyright info ==3697== Command: ./uninit ==3697== --3697-- Valgrind options: --3697-- -v --3697-- Contents of /proc/version: --3697-- Linux version 2.6.28-16-generic (buildd@vernadsky) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 --3697-- Arch and hwcaps: X86, x86-sse1-sse2 --3697-- Page sizes: currently 4096, max supported 4096 --3697-- Valgrind library directory: /usr/local/valgrind-10904/lib/valgrind --3697-- Reading syms from /lib/ld-2.9.so (0x4000000) --3697-- Reading debug info from /lib/ld-2.9.so .. --3697-- .. CRC mismatch (computed 0755dd8f wanted fd1af95b) --3697-- object doesn't have a symbol table --3697-- Reading syms from /home/dank/pdbdemo2x/uninit-linux-g/uninit (0x8048000) --3697-- Reading syms from /usr/local/valgrind-10904/lib/valgrind/memcheck-x86-linux (0x38000000) --3697-- object doesn't have a dynamic symbol table --3697-- Reading suppressions file: /usr/local/valgrind-10904/lib/valgrind/default.supp --3697-- Reading syms from /usr/local/valgrind-10904/lib/valgrind/vgpreload_core-x86-linux.so (0x4020000) --3697-- Reading syms from /usr/local/valgrind-10904/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4023000) --3697-- Reading syms from /lib/tls/i686/cmov/libc-2.9.so (0x403b000) --3697-- Reading debug info from /lib/tls/i686/cmov/libc-2.9.so .. --3697-- .. CRC mismatch (computed 6de3199f wanted 8d898f0d) --3697-- object doesn't have a symbol table --3697-- REDIR: 0x40b2a60 (rindex) redirected to 0x40267e0 (rindex) --3697-- REDIR: 0x40ae930 (malloc) redirected to 0x4025b97 (malloc) --3697-- REDIR: 0x40b7390 (strchrnul) redirected to 0x4027b70 (strchrnul) ==3697== Use of uninitialised value of size 4 ==3697== at 0x40795E6: ??? (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x407D210: vfprintf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x4084B5F: printf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x804841F: inner (uninit.c:6) ==3697== by 0x804845C: mid (mid.c:3) ==3697== by 0x8048441: main (uninit.c:11) ==3697== ==3697== Conditional jump or move depends on uninitialised value(s) ==3697== at 0x40795EE: ??? (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x407D210: vfprintf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x4084B5F: printf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x804841F: inner (uninit.c:6) ==3697== by 0x804845C: mid (mid.c:3) ==3697== by 0x8048441: main (uninit.c:11) ==3697== ==3697== Conditional jump or move depends on uninitialised value(s) ==3697== at 0x407B60E: vfprintf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x4084B5F: printf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x804841F: inner (uninit.c:6) ==3697== by 0x804845C: mid (mid.c:3) ==3697== by 0x8048441: main (uninit.c:11) ==3697== ==3697== Conditional jump or move depends on uninitialised value(s) ==3697== at 0x407DAF6: vfprintf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x4084B5F: printf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x804841F: inner (uninit.c:6) ==3697== by 0x804845C: mid (mid.c:3) ==3697== by 0x8048441: main (uninit.c:11) ==3697== ==3697== Conditional jump or move depends on uninitialised value(s) ==3697== at 0x407B6BA: vfprintf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x4084B5F: printf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x804841F: inner (uninit.c:6) ==3697== by 0x804845C: mid (mid.c:3) ==3697== by 0x8048441: main (uninit.c:11) ==3697== *p is 0 ==3697== Syscall param exit_group(status) contains uninitialised byte(s) ==3697== at 0x40007F2: ??? (in /lib/ld-2.9.so) ==3697== by 0x405177C: (below main) (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== --3697-- REDIR: 0x40ac520 (free) redirected to 0x40257b1 (free) ==3697== ==3697== HEAP SUMMARY: ==3697== in use at exit: 11 bytes in 1 blocks ==3697== total heap usage: 1 allocs, 0 frees, 11 bytes allocated ==3697== ==3697== Searching for pointers to 1 not-freed blocks ==3697== Checked 52,060 bytes ==3697== ==3697== LEAK SUMMARY: ==3697== definitely lost: 11 bytes in 1 blocks ==3697== indirectly lost: 0 bytes in 0 blocks ==3697== possibly lost: 0 bytes in 0 blocks ==3697== still reachable: 0 bytes in 0 blocks ==3697== suppressed: 0 bytes in 0 blocks ==3697== Rerun with --leak-check=full to see details of leaked memory ==3697== ==3697== Use --track-origins=yes to see where uninitialised values come from ==3697== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 16 from 11) ==3697== ==3697== 1 errors in context 1 of 6: ==3697== Syscall param exit_group(status) contains uninitialised byte(s) ==3697== at 0x40007F2: ??? (in /lib/ld-2.9.so) ==3697== by 0x405177C: (below main) (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== ==3697== ==3697== 1 errors in context 2 of 6: ==3697== Conditional jump or move depends on uninitialised value(s) ==3697== at 0x407B6BA: vfprintf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x4084B5F: printf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x804841F: inner (uninit.c:6) ==3697== by 0x804845C: mid (mid.c:3) ==3697== by 0x8048441: main (uninit.c:11) ==3697== ==3697== ==3697== 1 errors in context 3 of 6: ==3697== Conditional jump or move depends on uninitialised value(s) ==3697== at 0x407DAF6: vfprintf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x4084B5F: printf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x804841F: inner (uninit.c:6) ==3697== by 0x804845C: mid (mid.c:3) ==3697== by 0x8048441: main (uninit.c:11) ==3697== ==3697== ==3697== 1 errors in context 4 of 6: ==3697== Conditional jump or move depends on uninitialised value(s) ==3697== at 0x407B60E: vfprintf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x4084B5F: printf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x804841F: inner (uninit.c:6) ==3697== by 0x804845C: mid (mid.c:3) ==3697== by 0x8048441: main (uninit.c:11) ==3697== ==3697== ==3697== 1 errors in context 5 of 6: ==3697== Conditional jump or move depends on uninitialised value(s) ==3697== at 0x40795EE: ??? (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x407D210: vfprintf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x4084B5F: printf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x804841F: inner (uninit.c:6) ==3697== by 0x804845C: mid (mid.c:3) ==3697== by 0x8048441: main (uninit.c:11) ==3697== ==3697== ==3697== 1 errors in context 6 of 6: ==3697== Use of uninitialised value of size 4 ==3697== at 0x40795E6: ??? (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x407D210: vfprintf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x4084B5F: printf (in /lib/tls/i686/cmov/libc-2.9.so) ==3697== by 0x804841F: inner (uninit.c:6) ==3697== by 0x804845C: mid (mid.c:3) ==3697== by 0x8048441: main (uninit.c:11) ==3697== --3697-- --3697-- used_suppression: 16 dl-hack3-cond-1 ==3697== ==3697== ERROR SUMMARY: 6 errors from 6 contexts (suppressed: 16 from 11)