Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.36 KB | None | 0 0
  1. ==9100== Memcheck, a memory error detector
  2. ==9100== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
  3. ==9100== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
  4. ==9100== Command: ./webspam_example 100 16
  5. ==9100==
  6. Starting reading file...
  7. Reading completed.
  8. Starting training liblinear.
  9. ==9100== Thread 3:
  10. ==9100== Invalid read of size 1
  11. ==9100== at 0x551DB14: PMurHash32_Process (PMurHash.c:253)
  12. ==9100== by 0x551DF86: PMurHash32 (PMurHash.c:289)
  13. ==9100== by 0x596D769: shogun::CHashedDocDotFeatures::calculate_token_hash(char*, int, int, unsigned int) (HashedDocDotFeatures.cpp:139)
  14. ==9100== by 0x596E46B: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:104)
  15. ==9100== by 0x5A9A954: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
  16. ==9100== by 0x9058F8D: start_thread (pthread_create.c:311)
  17. ==9100== by 0x6A6AE1C: clone (clone.S:113)
  18. ==9100== Address 0xb2b5ead is 0 bytes after a block of size 38,941 alloc'd
  19. ==9100== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  20. ==9100== by 0x57AC363: shogun::sg_malloc(unsigned long) (memory.cpp:153)
  21. ==9100== by 0x59A3932: shogun::CStringFeatures<char>::get_feature_vector(int) (memory.h:79)
  22. ==9100== by 0x596E3E7: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:94)
  23. ==9100== by 0x5A9A954: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
  24. ==9100== by 0x9058F8D: start_thread (pthread_create.c:311)
  25. ==9100== by 0x6A6AE1C: clone (clone.S:113)
  26. ==9100==
  27. ==9100== Invalid read of size 1
  28. ==9100== at 0x551DAF3: PMurHash32_Process (PMurHash.c:253)
  29. ==9100== by 0x551DF86: PMurHash32 (PMurHash.c:289)
  30. ==9100== by 0x596D769: shogun::CHashedDocDotFeatures::calculate_token_hash(char*, int, int, unsigned int) (HashedDocDotFeatures.cpp:139)
  31. ==9100== by 0x596E46B: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:104)
  32. ==9100== by 0x5A9A954: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
  33. ==9100== by 0x9058F8D: start_thread (pthread_create.c:311)
  34. ==9100== by 0x6A6AE1C: clone (clone.S:113)
  35. ==9100== Address 0xb2b5ead is 0 bytes after a block of size 38,941 alloc'd
  36. ==9100== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  37. ==9100== by 0x57AC363: shogun::sg_malloc(unsigned long) (memory.cpp:153)
  38. ==9100== by 0x59A3932: shogun::CStringFeatures<char>::get_feature_vector(int) (memory.h:79)
  39. ==9100== by 0x596E3E7: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:94)
  40. ==9100== by 0x5A9A954: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
  41. ==9100== by 0x9058F8D: start_thread (pthread_create.c:311)
  42. ==9100== by 0x6A6AE1C: clone (clone.S:113)
  43. ==9100==
  44. ==9100== Invalid read of size 1
  45. ==9100== at 0x551DAC7: PMurHash32_Process (PMurHash.c:253)
  46. ==9100== by 0x551DF86: PMurHash32 (PMurHash.c:289)
  47. ==9100== by 0x596D769: shogun::CHashedDocDotFeatures::calculate_token_hash(char*, int, int, unsigned int) (HashedDocDotFeatures.cpp:139)
  48. ==9100== by 0x596E46B: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:104)
  49. ==9100== by 0x5A9A954: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
  50. ==9100== by 0x9058F8D: start_thread (pthread_create.c:311)
  51. ==9100== by 0x6A6AE1C: clone (clone.S:113)
  52. ==9100== Address 0xb2b5ead is 0 bytes after a block of size 38,941 alloc'd
  53. ==9100== at 0x4C2CD7B: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  54. ==9100== by 0x57AC363: shogun::sg_malloc(unsigned long) (memory.cpp:153)
  55. ==9100== by 0x59A3932: shogun::CStringFeatures<char>::get_feature_vector(int) (memory.h:79)
  56. ==9100== by 0x596E3E7: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:94)
  57. ==9100== by 0x5A9A954: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
  58. ==9100== by 0x9058F8D: start_thread (pthread_create.c:311)
  59. ==9100== by 0x6A6AE1C: clone (clone.S:113)
  60. ==9100==
  61. ==9100== Thread 4:
  62. ==9100== Use of uninitialised value of size 8
  63. ==9100== at 0x596E475: shogun::CHashedDocDotFeatures::dense_dot(int, double const*, int) (HashedDocDotFeatures.cpp:105)
  64. ==9100== by 0x5A9AA34: shogun::CDotFeatures::dense_dot_range_helper(void*) (DotFeatures.cpp:275)
  65. ==9100== by 0x9058F8D: start_thread (pthread_create.c:311)
  66. ==9100== by 0x6A6AE1C: clone (clone.S:113)
  67. ==9100==
  68. auPRC = 0.943506
  69. ==9100==
  70. ==9100== HEAP SUMMARY:
  71. ==9100== in use at exit: 400 bytes in 1 blocks
  72. ==9100== total heap usage: 54,127 allocs, 54,126 frees, 1,357,357,644 bytes allocated
  73. ==9100==
  74. ==9100== LEAK SUMMARY:
  75. ==9100== definitely lost: 400 bytes in 1 blocks
  76. ==9100== indirectly lost: 0 bytes in 0 blocks
  77. ==9100== possibly lost: 0 bytes in 0 blocks
  78. ==9100== still reachable: 0 bytes in 0 blocks
  79. ==9100== suppressed: 0 bytes in 0 blocks
  80. ==9100== Rerun with --leak-check=full to see details of leaked memory
  81. ==9100==
  82. ==9100== For counts of detected and suppressed errors, rerun with: -v
  83. ==9100== Use --track-origins=yes to see where uninitialised values come from
  84. ==9100== ERROR SUMMARY: 666302 errors from 4 contexts (suppressed: 2 from 2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement