Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==27810== Memcheck, a memory error detector
- ==27810== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
- ==27810== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
- ==27810== Command: ./t
- ==27810==
- --27810-- Valgrind options:
- --27810-- -v
- --27810-- --track-origins=yes
- --27810-- Contents of /proc/version:
- --27810-- Linux version 3.12.2-1-ARCH (tobias@T-POWA-LX) (gcc version 4.8.2 (GCC) ) #1 SMP PREEMPT Fri Nov 29 21:14:15 CET 2013
- --27810-- Arch and hwcaps: AMD64, amd64-cx16-rdtscp-sse3
- --27810-- Page sizes: currently 4096, max supported 4096
- --27810-- Valgrind library directory: /usr/lib/valgrind
- --27810-- Reading syms from /home/printesoi/t
- --27810-- Reading syms from /usr/lib/ld-2.18.so
- --27810-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux
- --27810-- object doesn't have a symbol table
- --27810-- object doesn't have a dynamic symbol table
- --27810-- Scheduler: using generic scheduler lock implementation.
- --27810-- Reading suppressions file: /usr/lib/valgrind/default.supp
- ==27810== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-27810-by-printesoi-on-???
- ==27810== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-27810-by-printesoi-on-???
- ==27810== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-27810-by-printesoi-on-???
- ==27810==
- ==27810== TO CONTROL THIS PROCESS USING vgdb (which you probably
- ==27810== don't want to do, unless you know exactly what you're doing,
- ==27810== or are doing some strange experiment):
- ==27810== /usr/lib/valgrind/../../bin/vgdb --pid=27810 ...command...
- ==27810==
- ==27810== TO DEBUG THIS PROCESS USING GDB: start GDB like this
- ==27810== /path/to/gdb ./t
- ==27810== and then give GDB the following command
- ==27810== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=27810
- ==27810== --pid is optional if only one valgrind process is running
- ==27810==
- --27810-- REDIR: 0x4017680 (strlen) redirected to 0x38067461 (???)
- --27810-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
- --27810-- object doesn't have a symbol table
- --27810-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
- --27810-- object doesn't have a symbol table
- --27810-- REDIR: 0x40175d0 (index) redirected to 0x4c2a820 (index)
- --27810-- REDIR: 0x4017650 (strcmp) redirected to 0x4c2b900 (strcmp)
- --27810-- Reading syms from /usr/lib/libc-2.18.so
- --27810-- REDIR: 0x4eb6ff0 (strcasecmp) redirected to 0x4a22730 (_vgnU_ifunc_wrapper)
- --27810-- REDIR: 0x4eb92e0 (strncasecmp) redirected to 0x4a22730 (_vgnU_ifunc_wrapper)
- --27810-- REDIR: 0x4eb67c0 (memcpy@GLIBC_2.2.5) redirected to 0x4a22730 (_vgnU_ifunc_wrapper)
- --27810-- REDIR: 0x4eb57a0 (__GI_strrchr) redirected to 0x4c2a640 (__GI_strrchr)
- --27810-- REDIR: 0x4eae4f0 (calloc) redirected to 0x4c297e0 (calloc)
- --27810-- REDIR: 0xffffffffff600000 (???) redirected to 0x38067443 (???)
- --27810-- REDIR: 0x4eb3a50 (strlen) redirected to 0x4c2abb0 (strlen)
- --27810-- REDIR: 0x4eae010 (free) redirected to 0x4c28970 (free)
- --27810-- REDIR: 0x4eadbf0 (malloc) redirected to 0x4c276c0 (malloc)
- --27810-- REDIR: 0x4eb34d0 (__GI_strcpy) redirected to 0x4c2acd0 (__GI_strcpy)
- --27810-- REDIR: 0x4eb2040 (__GI_strcmp) redirected to 0x4c2b8b0 (__GI_strcmp)
- --27810-- REDIR: 0x4ebcf00 (strchrnul) redirected to 0x4c2d5f0 (strchrnul)
- ==27810== Conditional jump or move depends on uninitialised value(s)
- ==27810== at 0x4E78E57: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- ==27810== Use of uninitialised value of size 8
- ==27810== at 0x4E784EB: _itoa_word (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4E7C5BC: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- ==27810== Conditional jump or move depends on uninitialised value(s)
- ==27810== at 0x4E784F5: _itoa_word (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4E7C5BC: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- ==27810== Conditional jump or move depends on uninitialised value(s)
- ==27810== at 0x4E7C608: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- ==27810== Conditional jump or move depends on uninitialised value(s)
- ==27810== at 0x4E78F1F: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- ==27810== Conditional jump or move depends on uninitialised value(s)
- ==27810== at 0x4E78F9F: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- [10:50:56.074322] t.c:150:main [DEBUGEXT] CALLOC: 0X51DD040 nmemb 1, size 32
- ==27810==
- ==27810== HEAP SUMMARY:
- ==27810== in use at exit: 0 bytes in 0 blocks
- ==27810== total heap usage: 8 allocs, 8 frees, 2,125 bytes allocated
- ==27810==
- ==27810== All heap blocks were freed -- no leaks are possible
- ==27810==
- ==27810== ERROR SUMMARY: 14 errors from 6 contexts (suppressed: 2 from 2)
- ==27810==
- ==27810== 2 errors in context 1 of 6:
- ==27810== Conditional jump or move depends on uninitialised value(s)
- ==27810== at 0x4E78F9F: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- ==27810==
- ==27810== 2 errors in context 2 of 6:
- ==27810== Conditional jump or move depends on uninitialised value(s)
- ==27810== at 0x4E78F1F: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- ==27810==
- ==27810== 2 errors in context 3 of 6:
- ==27810== Conditional jump or move depends on uninitialised value(s)
- ==27810== at 0x4E7C608: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- ==27810==
- ==27810== 2 errors in context 4 of 6:
- ==27810== Conditional jump or move depends on uninitialised value(s)
- ==27810== at 0x4E78E57: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- ==27810==
- ==27810== 3 errors in context 5 of 6:
- ==27810== Conditional jump or move depends on uninitialised value(s)
- ==27810== at 0x4E784F5: _itoa_word (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4E7C5BC: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- ==27810==
- ==27810== 3 errors in context 6 of 6:
- ==27810== Use of uninitialised value of size 8
- ==27810== at 0x4E784EB: _itoa_word (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4E7C5BC: vfprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
- ==27810== by 0x4009A1: tlog (t.c:68)
- ==27810== by 0x400A50: main (t.c:150)
- ==27810== Uninitialised value was created by a stack allocation
- ==27810== at 0x4009F2: main (t.c:147)
- ==27810==
- --27810--
- --27810-- used_suppression: 2 dl-hack3-cond-1 /usr/lib/valgrind/default.supp:1196
- ==27810==
- ==27810== ERROR SUMMARY: 14 errors from 6 contexts (suppressed: 2 from 2)
Advertisement
Add Comment
Please, Sign In to add comment