printesoi

Valgrind error

Dec 7th, 2013
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.11 KB | None | 0 0
  1. ==27810== Memcheck, a memory error detector
  2. ==27810== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  3. ==27810== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info
  4. ==27810== Command: ./t
  5. ==27810==
  6. --27810-- Valgrind options:
  7. --27810-- -v
  8. --27810-- --track-origins=yes
  9. --27810-- Contents of /proc/version:
  10. --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
  11. --27810-- Arch and hwcaps: AMD64, amd64-cx16-rdtscp-sse3
  12. --27810-- Page sizes: currently 4096, max supported 4096
  13. --27810-- Valgrind library directory: /usr/lib/valgrind
  14. --27810-- Reading syms from /home/printesoi/t
  15. --27810-- Reading syms from /usr/lib/ld-2.18.so
  16. --27810-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux
  17. --27810-- object doesn't have a symbol table
  18. --27810-- object doesn't have a dynamic symbol table
  19. --27810-- Scheduler: using generic scheduler lock implementation.
  20. --27810-- Reading suppressions file: /usr/lib/valgrind/default.supp
  21. ==27810== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-27810-by-printesoi-on-???
  22. ==27810== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-27810-by-printesoi-on-???
  23. ==27810== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-27810-by-printesoi-on-???
  24. ==27810==
  25. ==27810== TO CONTROL THIS PROCESS USING vgdb (which you probably
  26. ==27810== don't want to do, unless you know exactly what you're doing,
  27. ==27810== or are doing some strange experiment):
  28. ==27810== /usr/lib/valgrind/../../bin/vgdb --pid=27810 ...command...
  29. ==27810==
  30. ==27810== TO DEBUG THIS PROCESS USING GDB: start GDB like this
  31. ==27810== /path/to/gdb ./t
  32. ==27810== and then give GDB the following command
  33. ==27810== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=27810
  34. ==27810== --pid is optional if only one valgrind process is running
  35. ==27810==
  36. --27810-- REDIR: 0x4017680 (strlen) redirected to 0x38067461 (???)
  37. --27810-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so
  38. --27810-- object doesn't have a symbol table
  39. --27810-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so
  40. --27810-- object doesn't have a symbol table
  41. --27810-- REDIR: 0x40175d0 (index) redirected to 0x4c2a820 (index)
  42. --27810-- REDIR: 0x4017650 (strcmp) redirected to 0x4c2b900 (strcmp)
  43. --27810-- Reading syms from /usr/lib/libc-2.18.so
  44. --27810-- REDIR: 0x4eb6ff0 (strcasecmp) redirected to 0x4a22730 (_vgnU_ifunc_wrapper)
  45. --27810-- REDIR: 0x4eb92e0 (strncasecmp) redirected to 0x4a22730 (_vgnU_ifunc_wrapper)
  46. --27810-- REDIR: 0x4eb67c0 (memcpy@GLIBC_2.2.5) redirected to 0x4a22730 (_vgnU_ifunc_wrapper)
  47. --27810-- REDIR: 0x4eb57a0 (__GI_strrchr) redirected to 0x4c2a640 (__GI_strrchr)
  48. --27810-- REDIR: 0x4eae4f0 (calloc) redirected to 0x4c297e0 (calloc)
  49. --27810-- REDIR: 0xffffffffff600000 (???) redirected to 0x38067443 (???)
  50. --27810-- REDIR: 0x4eb3a50 (strlen) redirected to 0x4c2abb0 (strlen)
  51. --27810-- REDIR: 0x4eae010 (free) redirected to 0x4c28970 (free)
  52. --27810-- REDIR: 0x4eadbf0 (malloc) redirected to 0x4c276c0 (malloc)
  53. --27810-- REDIR: 0x4eb34d0 (__GI_strcpy) redirected to 0x4c2acd0 (__GI_strcpy)
  54. --27810-- REDIR: 0x4eb2040 (__GI_strcmp) redirected to 0x4c2b8b0 (__GI_strcmp)
  55. --27810-- REDIR: 0x4ebcf00 (strchrnul) redirected to 0x4c2d5f0 (strchrnul)
  56. ==27810== Conditional jump or move depends on uninitialised value(s)
  57. ==27810== at 0x4E78E57: vfprintf (in /usr/lib/libc-2.18.so)
  58. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  59. ==27810== by 0x4009A1: tlog (t.c:68)
  60. ==27810== by 0x400A50: main (t.c:150)
  61. ==27810== Uninitialised value was created by a stack allocation
  62. ==27810== at 0x4009F2: main (t.c:147)
  63. ==27810==
  64. ==27810== Use of uninitialised value of size 8
  65. ==27810== at 0x4E784EB: _itoa_word (in /usr/lib/libc-2.18.so)
  66. ==27810== by 0x4E7C5BC: vfprintf (in /usr/lib/libc-2.18.so)
  67. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  68. ==27810== by 0x4009A1: tlog (t.c:68)
  69. ==27810== by 0x400A50: main (t.c:150)
  70. ==27810== Uninitialised value was created by a stack allocation
  71. ==27810== at 0x4009F2: main (t.c:147)
  72. ==27810==
  73. ==27810== Conditional jump or move depends on uninitialised value(s)
  74. ==27810== at 0x4E784F5: _itoa_word (in /usr/lib/libc-2.18.so)
  75. ==27810== by 0x4E7C5BC: vfprintf (in /usr/lib/libc-2.18.so)
  76. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  77. ==27810== by 0x4009A1: tlog (t.c:68)
  78. ==27810== by 0x400A50: main (t.c:150)
  79. ==27810== Uninitialised value was created by a stack allocation
  80. ==27810== at 0x4009F2: main (t.c:147)
  81. ==27810==
  82. ==27810== Conditional jump or move depends on uninitialised value(s)
  83. ==27810== at 0x4E7C608: vfprintf (in /usr/lib/libc-2.18.so)
  84. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  85. ==27810== by 0x4009A1: tlog (t.c:68)
  86. ==27810== by 0x400A50: main (t.c:150)
  87. ==27810== Uninitialised value was created by a stack allocation
  88. ==27810== at 0x4009F2: main (t.c:147)
  89. ==27810==
  90. ==27810== Conditional jump or move depends on uninitialised value(s)
  91. ==27810== at 0x4E78F1F: vfprintf (in /usr/lib/libc-2.18.so)
  92. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  93. ==27810== by 0x4009A1: tlog (t.c:68)
  94. ==27810== by 0x400A50: main (t.c:150)
  95. ==27810== Uninitialised value was created by a stack allocation
  96. ==27810== at 0x4009F2: main (t.c:147)
  97. ==27810==
  98. ==27810== Conditional jump or move depends on uninitialised value(s)
  99. ==27810== at 0x4E78F9F: vfprintf (in /usr/lib/libc-2.18.so)
  100. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  101. ==27810== by 0x4009A1: tlog (t.c:68)
  102. ==27810== by 0x400A50: main (t.c:150)
  103. ==27810== Uninitialised value was created by a stack allocation
  104. ==27810== at 0x4009F2: main (t.c:147)
  105. ==27810==
  106. [10:50:56.074322] t.c:150:main [DEBUGEXT] CALLOC: 0X51DD040 nmemb 1, size 32
  107. ==27810==
  108. ==27810== HEAP SUMMARY:
  109. ==27810== in use at exit: 0 bytes in 0 blocks
  110. ==27810== total heap usage: 8 allocs, 8 frees, 2,125 bytes allocated
  111. ==27810==
  112. ==27810== All heap blocks were freed -- no leaks are possible
  113. ==27810==
  114. ==27810== ERROR SUMMARY: 14 errors from 6 contexts (suppressed: 2 from 2)
  115. ==27810==
  116. ==27810== 2 errors in context 1 of 6:
  117. ==27810== Conditional jump or move depends on uninitialised value(s)
  118. ==27810== at 0x4E78F9F: vfprintf (in /usr/lib/libc-2.18.so)
  119. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  120. ==27810== by 0x4009A1: tlog (t.c:68)
  121. ==27810== by 0x400A50: main (t.c:150)
  122. ==27810== Uninitialised value was created by a stack allocation
  123. ==27810== at 0x4009F2: main (t.c:147)
  124. ==27810==
  125. ==27810==
  126. ==27810== 2 errors in context 2 of 6:
  127. ==27810== Conditional jump or move depends on uninitialised value(s)
  128. ==27810== at 0x4E78F1F: vfprintf (in /usr/lib/libc-2.18.so)
  129. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  130. ==27810== by 0x4009A1: tlog (t.c:68)
  131. ==27810== by 0x400A50: main (t.c:150)
  132. ==27810== Uninitialised value was created by a stack allocation
  133. ==27810== at 0x4009F2: main (t.c:147)
  134. ==27810==
  135. ==27810==
  136. ==27810== 2 errors in context 3 of 6:
  137. ==27810== Conditional jump or move depends on uninitialised value(s)
  138. ==27810== at 0x4E7C608: vfprintf (in /usr/lib/libc-2.18.so)
  139. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  140. ==27810== by 0x4009A1: tlog (t.c:68)
  141. ==27810== by 0x400A50: main (t.c:150)
  142. ==27810== Uninitialised value was created by a stack allocation
  143. ==27810== at 0x4009F2: main (t.c:147)
  144. ==27810==
  145. ==27810==
  146. ==27810== 2 errors in context 4 of 6:
  147. ==27810== Conditional jump or move depends on uninitialised value(s)
  148. ==27810== at 0x4E78E57: vfprintf (in /usr/lib/libc-2.18.so)
  149. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  150. ==27810== by 0x4009A1: tlog (t.c:68)
  151. ==27810== by 0x400A50: main (t.c:150)
  152. ==27810== Uninitialised value was created by a stack allocation
  153. ==27810== at 0x4009F2: main (t.c:147)
  154. ==27810==
  155. ==27810==
  156. ==27810== 3 errors in context 5 of 6:
  157. ==27810== Conditional jump or move depends on uninitialised value(s)
  158. ==27810== at 0x4E784F5: _itoa_word (in /usr/lib/libc-2.18.so)
  159. ==27810== by 0x4E7C5BC: vfprintf (in /usr/lib/libc-2.18.so)
  160. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  161. ==27810== by 0x4009A1: tlog (t.c:68)
  162. ==27810== by 0x400A50: main (t.c:150)
  163. ==27810== Uninitialised value was created by a stack allocation
  164. ==27810== at 0x4009F2: main (t.c:147)
  165. ==27810==
  166. ==27810==
  167. ==27810== 3 errors in context 6 of 6:
  168. ==27810== Use of uninitialised value of size 8
  169. ==27810== at 0x4E784EB: _itoa_word (in /usr/lib/libc-2.18.so)
  170. ==27810== by 0x4E7C5BC: vfprintf (in /usr/lib/libc-2.18.so)
  171. ==27810== by 0x4EA40B8: vsnprintf (in /usr/lib/libc-2.18.so)
  172. ==27810== by 0x4009A1: tlog (t.c:68)
  173. ==27810== by 0x400A50: main (t.c:150)
  174. ==27810== Uninitialised value was created by a stack allocation
  175. ==27810== at 0x4009F2: main (t.c:147)
  176. ==27810==
  177. --27810--
  178. --27810-- used_suppression: 2 dl-hack3-cond-1 /usr/lib/valgrind/default.supp:1196
  179. ==27810==
  180. ==27810== ERROR SUMMARY: 14 errors from 6 contexts (suppressed: 2 from 2)
Advertisement
Add Comment
Please, Sign In to add comment