Guest User

Untitled

a guest
Apr 11th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. ==10432== Memcheck, a memory error detector
  2. ==10432== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  3. ==10432== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
  4. ==10432== Command: ./a.out
  5. ==10432==
  6. 58 3
  7. ==10432== Use of uninitialised value of size 8
  8. ==10432== at 0x4095E1: col (Mat_meat.hpp:2588)
  9. ==10432== by 0x4095E1: MyFunction::Evaluate(arma::Mat<double> const&, unsigned long) const (find_equ.cpp:41)
  10. ==10432== by 0x40D569: mlpack::optimization::SGD<MyFunction>::Optimize(arma::Mat<double>&) (sgd_impl.hpp:100)
  11. ==10432== by 0x8000000000C53133: ???
  12. ==10432== by 0x8000000000003A3E: ???
  13. ==10432== by 0xBF1E1DDF0F6194C3: ???
  14. ==10432== by 0x800000426406D9DC: ???
  15. ==10432== by 0x800000462B6BF58B: ???
  16. ==10432== by 0x7FFFFFFFFFFFFFFF: ???
  17. ==10432== by 0x3EFF75104D551D68: ???
  18. ==10432== by 0x270F: ???
  19. ==10432== by 0x3E112E0BE826D694: ???
  20. ==10432==
  21. ==10432== Invalid read of size 4
  22. ==10432== at 0x4095E1: col (Mat_meat.hpp:2588)
  23. ==10432== by 0x4095E1: MyFunction::Evaluate(arma::Mat<double> const&, unsigned long) const (find_equ.cpp:41)
  24. ==10432== by 0x40D569: mlpack::optimization::SGD<MyFunction>::Optimize(arma::Mat<double>&) (sgd_impl.hpp:100)
  25. ==10432== by 0x8000000000C53133: ???
  26. ==10432== by 0x8000000000003A3E: ???
  27. ==10432== by 0xBF1E1DDF0F6194C3: ???
  28. ==10432== by 0x800000426406D9DC: ???
  29. ==10432== by 0x800000462B6BF58B: ???
  30. ==10432== by 0x7FFFFFFFFFFFFFFF: ???
  31. ==10432== by 0x3EFF75104D551D68: ???
  32. ==10432== by 0x270F: ???
  33. ==10432== by 0x3E112E0BE826D694: ???
  34. ==10432== Address 0x8000000000000004 is not stack'd, malloc'd or (recently) free'd
  35. ==10432==
  36. ==10432==
  37. ==10432== Process terminating with default action of signal 11 (SIGSEGV)
  38. ==10432== General Protection Fault
  39. ==10432== at 0x4095E1: col (Mat_meat.hpp:2588)
  40. ==10432== by 0x4095E1: MyFunction::Evaluate(arma::Mat<double> const&, unsigned long) const (find_equ.cpp:41)
  41. ==10432== by 0x40D569: mlpack::optimization::SGD<MyFunction>::Optimize(arma::Mat<double>&) (sgd_impl.hpp:100)
  42. ==10432== by 0x8000000000C53133: ???
  43. ==10432== by 0x8000000000003A3E: ???
  44. ==10432== by 0xBF1E1DDF0F6194C3: ???
  45. ==10432== by 0x800000426406D9DC: ???
  46. ==10432== by 0x800000462B6BF58B: ???
  47. ==10432== by 0x7FFFFFFFFFFFFFFF: ???
  48. ==10432== by 0x3EFF75104D551D68: ???
  49. ==10432== by 0x270F: ???
  50. ==10432== by 0x3E112E0BE826D694: ???
  51. ==10432==
  52. ==10432== HEAP SUMMARY:
  53. ==10432== in use at exit: 18,394 bytes in 160 blocks
  54. ==10432== total heap usage: 426 allocs, 266 frees, 58,683 bytes allocated
  55. ==10432==
  56. ==10432== LEAK SUMMARY:
  57. ==10432== definitely lost: 0 bytes in 0 blocks
  58. ==10432== indirectly lost: 0 bytes in 0 blocks
  59. ==10432== possibly lost: 1,361 bytes in 33 blocks
  60. ==10432== still reachable: 17,033 bytes in 127 blocks
  61. ==10432== suppressed: 0 bytes in 0 blocks
  62. ==10432== Rerun with --leak-check=full to see details of leaked memory
  63. ==10432==
  64. ==10432== For counts of detected and suppressed errors, rerun with: -v
  65. ==10432== Use --track-origins=yes to see where uninitialised values come from
  66. ==10432== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
  67. Segmentation fault
Add Comment
Please, Sign In to add comment