Advertisement
Guest User

Untitled

a guest
May 7th, 2013
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.16 KB | None | 0 0
  1. ==6364== Memcheck, a memory error detector
  2. ==6364== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  3. ==6364== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  4. ==6364== Command: ./classifier_lda
  5. ==6364==
  6. --6364-- Valgrind options:
  7. --6364-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
  8. --6364-- --show-reachable=yes
  9. --6364-- --leak-check=full
  10. --6364-- -v
  11. --6364-- Contents of /proc/version:
  12. --6364-- Linux version 3.5.0-17-generic (buildd@allspice) (gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) ) #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012
  13. --6364-- Arch and hwcaps: AMD64, amd64-sse3-cx16
  14. --6364-- Page sizes: currently 4096, max supported 4096
  15. --6364-- Valgrind library directory: /usr/lib/valgrind
  16. --6364-- Reading syms from /home/kevin/Dropbox/Projects/shogun/examples/undocumented/libshogun/classifier_lda (0x400000)
  17. --6364-- Reading syms from /lib/x86_64-linux-gnu/ld-2.15.so (0x4000000)
  18. --6364-- Considering /lib/x86_64-linux-gnu/ld-2.15.so ..
  19. --6364-- .. CRC mismatch (computed af0db78b wanted 3003bdf7)
  20. --6364-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.15.so ..
  21. --6364-- .. CRC is valid
  22. --6364-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
  23. --6364-- Considering /usr/lib/valgrind/memcheck-amd64-linux ..
  24. --6364-- .. CRC mismatch (computed 055ede9a wanted 763f0405)
  25. --6364-- object doesn't have a symbol table
  26. --6364-- object doesn't have a dynamic symbol table
  27. --6364-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
  28. --6364-- Reading suppressions file: /usr/lib/valgrind/default.supp
  29. ==6364== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-6364-by-kevin-on-???
  30. ==6364== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-6364-by-kevin-on-???
  31. ==6364== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-6364-by-kevin-on-???
  32. ==6364==
  33. ==6364== TO CONTROL THIS PROCESS USING vgdb (which you probably
  34. ==6364== don't want to do, unless you know exactly what you're doing,
  35. ==6364== or are doing some strange experiment):
  36. ==6364== /usr/lib/valgrind/../../bin/vgdb --pid=6364 ...command...
  37. ==6364==
  38. ==6364== TO DEBUG THIS PROCESS USING GDB: start GDB like this
  39. ==6364== /path/to/gdb ./classifier_lda
  40. ==6364== and then give GDB the following command
  41. ==6364== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=6364
  42. ==6364== --pid is optional if only one valgrind process is running
  43. ==6364==
  44. --6364-- REDIR: 0x40189f0 (strlen) redirected to 0x38061e47 (???)
  45. --6364-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a25000)
  46. --6364-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
  47. --6364-- .. CRC mismatch (computed c9cf2ff8 wanted 4212d7a4)
  48. --6364-- object doesn't have a symbol table
  49. --6364-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c27000)
  50. --6364-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
  51. --6364-- .. CRC mismatch (computed 70153ef6 wanted 49c35013)
  52. --6364-- object doesn't have a symbol table
  53. --6364-- REDIR: 0x4018860 (index) redirected to 0x4c2b970 (index)
  54. --6364-- REDIR: 0x40188e0 (strcmp) redirected to 0x4c2c8d0 (strcmp)
  55. --6364-- Reading syms from /usr/local/lib/libshogun.so.14.0 (0x4e32000)
  56. --6364-- Reading syms from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 (0x638f000)
  57. --6364-- Considering /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 ..
  58. --6364-- .. CRC mismatch (computed 46b694a4 wanted 3f2be0c6)
  59. --6364-- object doesn't have a symbol table
  60. --6364-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x6692000)
  61. --6364-- Considering /lib/x86_64-linux-gnu/libgcc_s.so.1 ..
  62. --6364-- .. CRC mismatch (computed ab1a33f9 wanted c47c7ad4)
  63. --6364-- object doesn't have a symbol table
  64. --6364-- Reading syms from /lib/x86_64-linux-gnu/libc-2.15.so (0x68a8000)
  65. --6364-- Considering /lib/x86_64-linux-gnu/libc-2.15.so ..
  66. --6364-- .. CRC mismatch (computed d3262300 wanted e70c74da)
  67. --6364-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.15.so ..
  68. --6364-- .. CRC is valid
  69. --6364-- Reading syms from /usr/lib/libhdf5.so.7.0.2 (0x6c67000)
  70. --6364-- Considering /usr/lib/libhdf5.so.7.0.2 ..
  71. --6364-- .. CRC mismatch (computed 6ba56f8b wanted c7ea781b)
  72. --6364-- object doesn't have a symbol table
  73. --6364-- Reading syms from /usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 (0x70eb000)
  74. --6364-- object doesn't have a symbol table
  75. --6364-- Reading syms from /usr/lib/lapack/liblapack.so.3.0 (0x7447000)
  76. --6364-- Considering /usr/lib/lapack/liblapack.so.3.0 ..
  77. --6364-- .. CRC mismatch (computed 55d92399 wanted 79907d6c)
  78. --6364-- object doesn't have a symbol table
  79. --6364-- Reading syms from /usr/lib/atlas-base/atlas/libblas.so.3.0 (0x8123000)
  80. --6364-- object doesn't have a symbol table
  81. --6364-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.7 (0x8979000)
  82. --6364-- Considering /lib/x86_64-linux-gnu/libz.so.1.2.7 ..
  83. --6364-- .. CRC mismatch (computed 36808971 wanted 8b2ba634)
  84. --6364-- object doesn't have a symbol table
  85. --6364-- Reading syms from /lib/x86_64-linux-gnu/libm-2.15.so (0x8b90000)
  86. --6364-- Considering /lib/x86_64-linux-gnu/libm-2.15.so ..
  87. --6364-- .. CRC mismatch (computed dbc67c00 wanted dcaf3a72)
  88. --6364-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.15.so ..
  89. --6364-- .. CRC is valid
  90. --6364-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.15.so (0x8e8c000)
  91. --6364-- Considering /lib/x86_64-linux-gnu/libpthread-2.15.so ..
  92. --6364-- .. CRC mismatch (computed ef3f7cd8 wanted cb4f29fe)
  93. --6364-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.15.so ..
  94. --6364-- .. CRC is valid
  95. --6364-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.15.so (0x90a9000)
  96. --6364-- Considering /lib/x86_64-linux-gnu/libdl-2.15.so ..
  97. --6364-- .. CRC mismatch (computed e8a6ea30 wanted 465a7227)
  98. --6364-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.15.so ..
  99. --6364-- .. CRC is valid
  100. --6364-- Reading syms from /lib/x86_64-linux-gnu/liblzma.so.5.0.0 (0x92ad000)
  101. --6364-- Considering /lib/x86_64-linux-gnu/liblzma.so.5.0.0 ..
  102. --6364-- .. CRC mismatch (computed 17d6294d wanted b012040c)
  103. --6364-- object doesn't have a symbol table
  104. --6364-- Reading syms from /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0 (0x94cf000)
  105. --6364-- Considering /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0 ..
  106. --6364-- .. CRC mismatch (computed 1a5f78bc wanted 2540c5d2)
  107. --6364-- object doesn't have a symbol table
  108. --6364-- Reading syms from /usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0 (0x97e3000)
  109. --6364-- Considering /usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0 ..
  110. --6364-- .. CRC mismatch (computed a8f8cf4a wanted 743e932a)
  111. --6364-- object doesn't have a symbol table
  112. --6364-- REDIR: 0x6934e40 (strcasecmp) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  113. --6364-- REDIR: 0x69311e0 (strnlen) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  114. --6364-- REDIR: 0x6937110 (strncasecmp) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  115. --6364-- REDIR: 0x6932b50 (strncpy) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  116. --6364-- REDIR: 0x69312c0 (strncmp) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  117. --6364-- REDIR: 0x6930a50 (strcpy) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  118. --6364-- REDIR: 0x6934ca0 (stpcpy) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  119. --6364-- REDIR: 0x69310b0 (strlen) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  120. --6364-- REDIR: 0x692f500 (index) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  121. --6364-- REDIR: 0x6933c20 (memset) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  122. --6364-- REDIR: 0x6933600 (bcmp) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  123. --6364-- REDIR: 0x692f5c0 (strcmp) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  124. --6364-- REDIR: 0x69b0370 (__memmove_chk) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  125. --6364-- REDIR: 0x69b01a0 (__memcpy_chk) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  126. --6364-- REDIR: 0x69397f0 (memcpy@@GLIBC_2.14) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  127. --6364-- REDIR: 0x6933bd0 (memcpy@GLIBC_2.2.5) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  128. --6364-- REDIR: 0x692f300 (strcat) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
  129. --6364-- REDIR: 0x6932bd0 (__GI_strrchr) redirected to 0x4c2b730 (__GI_strrchr)
  130. --6364-- REDIR: 0x692c2c0 (calloc) redirected to 0x4c29d7e (calloc)
  131. --6364-- REDIR: 0x692af50 (malloc) redirected to 0x4c2b376 (malloc)
  132. --6364-- REDIR: 0x6931100 (__GI_strlen) redirected to 0x4c2bd00 (__GI_strlen)
  133. --6364-- REDIR: 0x6a0ac00 (__strlen_sse2_pminub) redirected to 0x4c2bce0 (strlen)
  134. --6364-- REDIR: 0x69effc0 (__memcpy_ssse3_back) redirected to 0x4c2cbc0 (memcpy@@GLIBC_2.14)
  135. --6364-- REDIR: 0x69d9e40 (__strcmp_sse42) redirected to 0x4c2c830 (strcmp)
  136. --6364-- REDIR: 0xffffffffff600400 (???) redirected to 0x38061e3d (???)
  137. --6364-- REDIR: 0x69332b0 (memchr) redirected to 0x4c2c970 (memchr)
  138. --6364-- REDIR: 0xffffffffff600000 (???) redirected to 0x38061e33 (???)
  139. --6364-- REDIR: 0x692b560 (free) redirected to 0x4c2a6b2 (free)
  140. --6364-- REDIR: 0x6933c60 (__GI_memset) redirected to 0x4c2dcc0 (memset)
  141. --6364-- REDIR: 0x6941990 (__strcat_sse2_unaligned) redirected to 0x4c2b9c0 (strcat)
  142. --6364-- REDIR: 0x693ad10 (strchrnul) redirected to 0x4c2e000 (strchrnul)
  143. --6364-- REDIR: 0x6a05530 (__memcmp_sse4_1) redirected to 0x4c2d8e0 (bcmp)
  144. ==6364== Invalid read of size 8
  145. ==6364== at 0x5A7E79C: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:341)
  146. ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
  147. ==6364== by 0x401183: test() (classifier_lda.cpp:47)
  148. ==6364== by 0x401376: main (classifier_lda.cpp:63)
  149. ==6364== Address 0x9a3b150 is 0 bytes after a block of size 16 alloc'd
  150. ==6364== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  151. ==6364== by 0x58E1E9C: shogun::sg_malloc(unsigned long) (memory.cpp:153)
  152. ==6364== by 0x5752A3D: double* shogun::sg_generic_malloc<double>(unsigned long) (memory.h:79)
  153. ==6364== by 0x5889011: shogun::SGVector<double>::SGVector(int, bool) (SGVector.cpp:43)
  154. ==6364== by 0x5A7E613: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:325)
  155. ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
  156. ==6364== by 0x401183: test() (classifier_lda.cpp:47)
  157. ==6364== by 0x401376: main (classifier_lda.cpp:63)
  158. ==6364==
  159. ==6364== Invalid read of size 8
  160. ==6364== at 0x5A7ECDA: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:392)
  161. ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
  162. ==6364== by 0x401183: test() (classifier_lda.cpp:47)
  163. ==6364== by 0x401376: main (classifier_lda.cpp:63)
  164. ==6364== Address 0x9a3b8e0 is 0 bytes after a block of size 16 alloc'd
  165. ==6364== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  166. ==6364== by 0x58E1E9C: shogun::sg_malloc(unsigned long) (memory.cpp:153)
  167. ==6364== by 0x5752A3D: double* shogun::sg_generic_malloc<double>(unsigned long) (memory.h:79)
  168. ==6364== by 0x5889011: shogun::SGVector<double>::SGVector(int, bool) (SGVector.cpp:43)
  169. ==6364== by 0x5A7EAEB: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:376)
  170. ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
  171. ==6364== by 0x401183: test() (classifier_lda.cpp:47)
  172. ==6364== by 0x401376: main (classifier_lda.cpp:63)
  173. ==6364==
  174. vector=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]
  175. ==6364==
  176. ==6364== HEAP SUMMARY:
  177. ==6364== in use at exit: 0 bytes in 0 blocks
  178. ==6364== total heap usage: 772 allocs, 772 frees, 117,776 bytes allocated
  179. ==6364==
  180. ==6364== All heap blocks were freed -- no leaks are possible
  181. ==6364==
  182. ==6364== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 2 from 2)
  183. ==6364==
  184. ==6364== 1 errors in context 1 of 2:
  185. ==6364== Invalid read of size 8
  186. ==6364== at 0x5A7ECDA: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:392)
  187. ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
  188. ==6364== by 0x401183: test() (classifier_lda.cpp:47)
  189. ==6364== by 0x401376: main (classifier_lda.cpp:63)
  190. ==6364== Address 0x9a3b8e0 is 0 bytes after a block of size 16 alloc'd
  191. ==6364== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  192. ==6364== by 0x58E1E9C: shogun::sg_malloc(unsigned long) (memory.cpp:153)
  193. ==6364== by 0x5752A3D: double* shogun::sg_generic_malloc<double>(unsigned long) (memory.h:79)
  194. ==6364== by 0x5889011: shogun::SGVector<double>::SGVector(int, bool) (SGVector.cpp:43)
  195. ==6364== by 0x5A7EAEB: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:376)
  196. ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
  197. ==6364== by 0x401183: test() (classifier_lda.cpp:47)
  198. ==6364== by 0x401376: main (classifier_lda.cpp:63)
  199. ==6364==
  200. ==6364==
  201. ==6364== 1 errors in context 2 of 2:
  202. ==6364== Invalid read of size 8
  203. ==6364== at 0x5A7E79C: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:341)
  204. ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
  205. ==6364== by 0x401183: test() (classifier_lda.cpp:47)
  206. ==6364== by 0x401376: main (classifier_lda.cpp:63)
  207. ==6364== Address 0x9a3b150 is 0 bytes after a block of size 16 alloc'd
  208. ==6364== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  209. ==6364== by 0x58E1E9C: shogun::sg_malloc(unsigned long) (memory.cpp:153)
  210. ==6364== by 0x5752A3D: double* shogun::sg_generic_malloc<double>(unsigned long) (memory.h:79)
  211. ==6364== by 0x5889011: shogun::SGVector<double>::SGVector(int, bool) (SGVector.cpp:43)
  212. ==6364== by 0x5A7E613: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:325)
  213. ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
  214. ==6364== by 0x401183: test() (classifier_lda.cpp:47)
  215. ==6364== by 0x401376: main (classifier_lda.cpp:63)
  216. ==6364==
  217. --6364--
  218. --6364-- used_suppression: 2 dl-hack3-cond-1
  219. ==6364==
  220. ==6364== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 2 from 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement