Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==6364== Memcheck, a memory error detector
- ==6364== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
- ==6364== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
- ==6364== Command: ./classifier_lda
- ==6364==
- --6364-- Valgrind options:
- --6364-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp
- --6364-- --show-reachable=yes
- --6364-- --leak-check=full
- --6364-- -v
- --6364-- Contents of /proc/version:
- --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
- --6364-- Arch and hwcaps: AMD64, amd64-sse3-cx16
- --6364-- Page sizes: currently 4096, max supported 4096
- --6364-- Valgrind library directory: /usr/lib/valgrind
- --6364-- Reading syms from /home/kevin/Dropbox/Projects/shogun/examples/undocumented/libshogun/classifier_lda (0x400000)
- --6364-- Reading syms from /lib/x86_64-linux-gnu/ld-2.15.so (0x4000000)
- --6364-- Considering /lib/x86_64-linux-gnu/ld-2.15.so ..
- --6364-- .. CRC mismatch (computed af0db78b wanted 3003bdf7)
- --6364-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.15.so ..
- --6364-- .. CRC is valid
- --6364-- Reading syms from /usr/lib/valgrind/memcheck-amd64-linux (0x38000000)
- --6364-- Considering /usr/lib/valgrind/memcheck-amd64-linux ..
- --6364-- .. CRC mismatch (computed 055ede9a wanted 763f0405)
- --6364-- object doesn't have a symbol table
- --6364-- object doesn't have a dynamic symbol table
- --6364-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp
- --6364-- Reading suppressions file: /usr/lib/valgrind/default.supp
- ==6364== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-6364-by-kevin-on-???
- ==6364== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-6364-by-kevin-on-???
- ==6364== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-6364-by-kevin-on-???
- ==6364==
- ==6364== TO CONTROL THIS PROCESS USING vgdb (which you probably
- ==6364== don't want to do, unless you know exactly what you're doing,
- ==6364== or are doing some strange experiment):
- ==6364== /usr/lib/valgrind/../../bin/vgdb --pid=6364 ...command...
- ==6364==
- ==6364== TO DEBUG THIS PROCESS USING GDB: start GDB like this
- ==6364== /path/to/gdb ./classifier_lda
- ==6364== and then give GDB the following command
- ==6364== target remote | /usr/lib/valgrind/../../bin/vgdb --pid=6364
- ==6364== --pid is optional if only one valgrind process is running
- ==6364==
- --6364-- REDIR: 0x40189f0 (strlen) redirected to 0x38061e47 (???)
- --6364-- Reading syms from /usr/lib/valgrind/vgpreload_core-amd64-linux.so (0x4a25000)
- --6364-- Considering /usr/lib/valgrind/vgpreload_core-amd64-linux.so ..
- --6364-- .. CRC mismatch (computed c9cf2ff8 wanted 4212d7a4)
- --6364-- object doesn't have a symbol table
- --6364-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c27000)
- --6364-- Considering /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so ..
- --6364-- .. CRC mismatch (computed 70153ef6 wanted 49c35013)
- --6364-- object doesn't have a symbol table
- --6364-- REDIR: 0x4018860 (index) redirected to 0x4c2b970 (index)
- --6364-- REDIR: 0x40188e0 (strcmp) redirected to 0x4c2c8d0 (strcmp)
- --6364-- Reading syms from /usr/local/lib/libshogun.so.14.0 (0x4e32000)
- --6364-- Reading syms from /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 (0x638f000)
- --6364-- Considering /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17 ..
- --6364-- .. CRC mismatch (computed 46b694a4 wanted 3f2be0c6)
- --6364-- object doesn't have a symbol table
- --6364-- Reading syms from /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x6692000)
- --6364-- Considering /lib/x86_64-linux-gnu/libgcc_s.so.1 ..
- --6364-- .. CRC mismatch (computed ab1a33f9 wanted c47c7ad4)
- --6364-- object doesn't have a symbol table
- --6364-- Reading syms from /lib/x86_64-linux-gnu/libc-2.15.so (0x68a8000)
- --6364-- Considering /lib/x86_64-linux-gnu/libc-2.15.so ..
- --6364-- .. CRC mismatch (computed d3262300 wanted e70c74da)
- --6364-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.15.so ..
- --6364-- .. CRC is valid
- --6364-- Reading syms from /usr/lib/libhdf5.so.7.0.2 (0x6c67000)
- --6364-- Considering /usr/lib/libhdf5.so.7.0.2 ..
- --6364-- .. CRC mismatch (computed 6ba56f8b wanted c7ea781b)
- --6364-- object doesn't have a symbol table
- --6364-- Reading syms from /usr/lib/x86_64-linux-gnu/libxml2.so.2.8.0 (0x70eb000)
- --6364-- object doesn't have a symbol table
- --6364-- Reading syms from /usr/lib/lapack/liblapack.so.3.0 (0x7447000)
- --6364-- Considering /usr/lib/lapack/liblapack.so.3.0 ..
- --6364-- .. CRC mismatch (computed 55d92399 wanted 79907d6c)
- --6364-- object doesn't have a symbol table
- --6364-- Reading syms from /usr/lib/atlas-base/atlas/libblas.so.3.0 (0x8123000)
- --6364-- object doesn't have a symbol table
- --6364-- Reading syms from /lib/x86_64-linux-gnu/libz.so.1.2.7 (0x8979000)
- --6364-- Considering /lib/x86_64-linux-gnu/libz.so.1.2.7 ..
- --6364-- .. CRC mismatch (computed 36808971 wanted 8b2ba634)
- --6364-- object doesn't have a symbol table
- --6364-- Reading syms from /lib/x86_64-linux-gnu/libm-2.15.so (0x8b90000)
- --6364-- Considering /lib/x86_64-linux-gnu/libm-2.15.so ..
- --6364-- .. CRC mismatch (computed dbc67c00 wanted dcaf3a72)
- --6364-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libm-2.15.so ..
- --6364-- .. CRC is valid
- --6364-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.15.so (0x8e8c000)
- --6364-- Considering /lib/x86_64-linux-gnu/libpthread-2.15.so ..
- --6364-- .. CRC mismatch (computed ef3f7cd8 wanted cb4f29fe)
- --6364-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libpthread-2.15.so ..
- --6364-- .. CRC is valid
- --6364-- Reading syms from /lib/x86_64-linux-gnu/libdl-2.15.so (0x90a9000)
- --6364-- Considering /lib/x86_64-linux-gnu/libdl-2.15.so ..
- --6364-- .. CRC mismatch (computed e8a6ea30 wanted 465a7227)
- --6364-- Considering /usr/lib/debug/lib/x86_64-linux-gnu/libdl-2.15.so ..
- --6364-- .. CRC is valid
- --6364-- Reading syms from /lib/x86_64-linux-gnu/liblzma.so.5.0.0 (0x92ad000)
- --6364-- Considering /lib/x86_64-linux-gnu/liblzma.so.5.0.0 ..
- --6364-- .. CRC mismatch (computed 17d6294d wanted b012040c)
- --6364-- object doesn't have a symbol table
- --6364-- Reading syms from /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0 (0x94cf000)
- --6364-- Considering /usr/lib/x86_64-linux-gnu/libgfortran.so.3.0.0 ..
- --6364-- .. CRC mismatch (computed 1a5f78bc wanted 2540c5d2)
- --6364-- object doesn't have a symbol table
- --6364-- Reading syms from /usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0 (0x97e3000)
- --6364-- Considering /usr/lib/x86_64-linux-gnu/libquadmath.so.0.0.0 ..
- --6364-- .. CRC mismatch (computed a8f8cf4a wanted 743e932a)
- --6364-- object doesn't have a symbol table
- --6364-- REDIR: 0x6934e40 (strcasecmp) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x69311e0 (strnlen) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x6937110 (strncasecmp) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x6932b50 (strncpy) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x69312c0 (strncmp) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x6930a50 (strcpy) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x6934ca0 (stpcpy) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x69310b0 (strlen) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x692f500 (index) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x6933c20 (memset) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x6933600 (bcmp) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x692f5c0 (strcmp) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x69b0370 (__memmove_chk) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x69b01a0 (__memcpy_chk) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x69397f0 (memcpy@@GLIBC_2.14) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x6933bd0 (memcpy@GLIBC_2.2.5) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x692f300 (strcat) redirected to 0x4a256fe (_vgnU_ifunc_wrapper)
- --6364-- REDIR: 0x6932bd0 (__GI_strrchr) redirected to 0x4c2b730 (__GI_strrchr)
- --6364-- REDIR: 0x692c2c0 (calloc) redirected to 0x4c29d7e (calloc)
- --6364-- REDIR: 0x692af50 (malloc) redirected to 0x4c2b376 (malloc)
- --6364-- REDIR: 0x6931100 (__GI_strlen) redirected to 0x4c2bd00 (__GI_strlen)
- --6364-- REDIR: 0x6a0ac00 (__strlen_sse2_pminub) redirected to 0x4c2bce0 (strlen)
- --6364-- REDIR: 0x69effc0 (__memcpy_ssse3_back) redirected to 0x4c2cbc0 (memcpy@@GLIBC_2.14)
- --6364-- REDIR: 0x69d9e40 (__strcmp_sse42) redirected to 0x4c2c830 (strcmp)
- --6364-- REDIR: 0xffffffffff600400 (???) redirected to 0x38061e3d (???)
- --6364-- REDIR: 0x69332b0 (memchr) redirected to 0x4c2c970 (memchr)
- --6364-- REDIR: 0xffffffffff600000 (???) redirected to 0x38061e33 (???)
- --6364-- REDIR: 0x692b560 (free) redirected to 0x4c2a6b2 (free)
- --6364-- REDIR: 0x6933c60 (__GI_memset) redirected to 0x4c2dcc0 (memset)
- --6364-- REDIR: 0x6941990 (__strcat_sse2_unaligned) redirected to 0x4c2b9c0 (strcat)
- --6364-- REDIR: 0x693ad10 (strchrnul) redirected to 0x4c2e000 (strchrnul)
- --6364-- REDIR: 0x6a05530 (__memcmp_sse4_1) redirected to 0x4c2d8e0 (bcmp)
- ==6364== Invalid read of size 8
- ==6364== at 0x5A7E79C: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:341)
- ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
- ==6364== by 0x401183: test() (classifier_lda.cpp:47)
- ==6364== by 0x401376: main (classifier_lda.cpp:63)
- ==6364== Address 0x9a3b150 is 0 bytes after a block of size 16 alloc'd
- ==6364== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6364== by 0x58E1E9C: shogun::sg_malloc(unsigned long) (memory.cpp:153)
- ==6364== by 0x5752A3D: double* shogun::sg_generic_malloc<double>(unsigned long) (memory.h:79)
- ==6364== by 0x5889011: shogun::SGVector<double>::SGVector(int, bool) (SGVector.cpp:43)
- ==6364== by 0x5A7E613: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:325)
- ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
- ==6364== by 0x401183: test() (classifier_lda.cpp:47)
- ==6364== by 0x401376: main (classifier_lda.cpp:63)
- ==6364==
- ==6364== Invalid read of size 8
- ==6364== at 0x5A7ECDA: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:392)
- ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
- ==6364== by 0x401183: test() (classifier_lda.cpp:47)
- ==6364== by 0x401376: main (classifier_lda.cpp:63)
- ==6364== Address 0x9a3b8e0 is 0 bytes after a block of size 16 alloc'd
- ==6364== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6364== by 0x58E1E9C: shogun::sg_malloc(unsigned long) (memory.cpp:153)
- ==6364== by 0x5752A3D: double* shogun::sg_generic_malloc<double>(unsigned long) (memory.h:79)
- ==6364== by 0x5889011: shogun::SGVector<double>::SGVector(int, bool) (SGVector.cpp:43)
- ==6364== by 0x5A7EAEB: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:376)
- ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
- ==6364== by 0x401183: test() (classifier_lda.cpp:47)
- ==6364== by 0x401376: main (classifier_lda.cpp:63)
- ==6364==
- 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]
- ==6364==
- ==6364== HEAP SUMMARY:
- ==6364== in use at exit: 0 bytes in 0 blocks
- ==6364== total heap usage: 772 allocs, 772 frees, 117,776 bytes allocated
- ==6364==
- ==6364== All heap blocks were freed -- no leaks are possible
- ==6364==
- ==6364== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 2 from 2)
- ==6364==
- ==6364== 1 errors in context 1 of 2:
- ==6364== Invalid read of size 8
- ==6364== at 0x5A7ECDA: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:392)
- ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
- ==6364== by 0x401183: test() (classifier_lda.cpp:47)
- ==6364== by 0x401376: main (classifier_lda.cpp:63)
- ==6364== Address 0x9a3b8e0 is 0 bytes after a block of size 16 alloc'd
- ==6364== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6364== by 0x58E1E9C: shogun::sg_malloc(unsigned long) (memory.cpp:153)
- ==6364== by 0x5752A3D: double* shogun::sg_generic_malloc<double>(unsigned long) (memory.h:79)
- ==6364== by 0x5889011: shogun::SGVector<double>::SGVector(int, bool) (SGVector.cpp:43)
- ==6364== by 0x5A7EAEB: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:376)
- ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
- ==6364== by 0x401183: test() (classifier_lda.cpp:47)
- ==6364== by 0x401376: main (classifier_lda.cpp:63)
- ==6364==
- ==6364==
- ==6364== 1 errors in context 2 of 2:
- ==6364== Invalid read of size 8
- ==6364== at 0x5A7E79C: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:341)
- ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
- ==6364== by 0x401183: test() (classifier_lda.cpp:47)
- ==6364== by 0x401376: main (classifier_lda.cpp:63)
- ==6364== Address 0x9a3b150 is 0 bytes after a block of size 16 alloc'd
- ==6364== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==6364== by 0x58E1E9C: shogun::sg_malloc(unsigned long) (memory.cpp:153)
- ==6364== by 0x5752A3D: double* shogun::sg_generic_malloc<double>(unsigned long) (memory.h:79)
- ==6364== by 0x5889011: shogun::SGVector<double>::SGVector(int, bool) (SGVector.cpp:43)
- ==6364== by 0x5A7E613: shogun::CMCLDA::train_machine(shogun::CFeatures*) (MCLDA.cpp:325)
- ==6364== by 0x5B2952E: shogun::CMachine::train(shogun::CFeatures*) (Machine.cpp:67)
- ==6364== by 0x401183: test() (classifier_lda.cpp:47)
- ==6364== by 0x401376: main (classifier_lda.cpp:63)
- ==6364==
- --6364--
- --6364-- used_suppression: 2 dl-hack3-cond-1
- ==6364==
- ==6364== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 2 from 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement