Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==10432== Memcheck, a memory error detector
- ==10432== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
- ==10432== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
- ==10432== Command: ./a.out
- ==10432==
- 58 3
- ==10432== Use of uninitialised value of size 8
- ==10432== at 0x4095E1: col (Mat_meat.hpp:2588)
- ==10432== by 0x4095E1: MyFunction::Evaluate(arma::Mat<double> const&, unsigned long) const (find_equ.cpp:41)
- ==10432== by 0x40D569: mlpack::optimization::SGD<MyFunction>::Optimize(arma::Mat<double>&) (sgd_impl.hpp:100)
- ==10432== by 0x8000000000C53133: ???
- ==10432== by 0x8000000000003A3E: ???
- ==10432== by 0xBF1E1DDF0F6194C3: ???
- ==10432== by 0x800000426406D9DC: ???
- ==10432== by 0x800000462B6BF58B: ???
- ==10432== by 0x7FFFFFFFFFFFFFFF: ???
- ==10432== by 0x3EFF75104D551D68: ???
- ==10432== by 0x270F: ???
- ==10432== by 0x3E112E0BE826D694: ???
- ==10432==
- ==10432== Invalid read of size 4
- ==10432== at 0x4095E1: col (Mat_meat.hpp:2588)
- ==10432== by 0x4095E1: MyFunction::Evaluate(arma::Mat<double> const&, unsigned long) const (find_equ.cpp:41)
- ==10432== by 0x40D569: mlpack::optimization::SGD<MyFunction>::Optimize(arma::Mat<double>&) (sgd_impl.hpp:100)
- ==10432== by 0x8000000000C53133: ???
- ==10432== by 0x8000000000003A3E: ???
- ==10432== by 0xBF1E1DDF0F6194C3: ???
- ==10432== by 0x800000426406D9DC: ???
- ==10432== by 0x800000462B6BF58B: ???
- ==10432== by 0x7FFFFFFFFFFFFFFF: ???
- ==10432== by 0x3EFF75104D551D68: ???
- ==10432== by 0x270F: ???
- ==10432== by 0x3E112E0BE826D694: ???
- ==10432== Address 0x8000000000000004 is not stack'd, malloc'd or (recently) free'd
- ==10432==
- ==10432==
- ==10432== Process terminating with default action of signal 11 (SIGSEGV)
- ==10432== General Protection Fault
- ==10432== at 0x4095E1: col (Mat_meat.hpp:2588)
- ==10432== by 0x4095E1: MyFunction::Evaluate(arma::Mat<double> const&, unsigned long) const (find_equ.cpp:41)
- ==10432== by 0x40D569: mlpack::optimization::SGD<MyFunction>::Optimize(arma::Mat<double>&) (sgd_impl.hpp:100)
- ==10432== by 0x8000000000C53133: ???
- ==10432== by 0x8000000000003A3E: ???
- ==10432== by 0xBF1E1DDF0F6194C3: ???
- ==10432== by 0x800000426406D9DC: ???
- ==10432== by 0x800000462B6BF58B: ???
- ==10432== by 0x7FFFFFFFFFFFFFFF: ???
- ==10432== by 0x3EFF75104D551D68: ???
- ==10432== by 0x270F: ???
- ==10432== by 0x3E112E0BE826D694: ???
- ==10432==
- ==10432== HEAP SUMMARY:
- ==10432== in use at exit: 18,394 bytes in 160 blocks
- ==10432== total heap usage: 426 allocs, 266 frees, 58,683 bytes allocated
- ==10432==
- ==10432== LEAK SUMMARY:
- ==10432== definitely lost: 0 bytes in 0 blocks
- ==10432== indirectly lost: 0 bytes in 0 blocks
- ==10432== possibly lost: 1,361 bytes in 33 blocks
- ==10432== still reachable: 17,033 bytes in 127 blocks
- ==10432== suppressed: 0 bytes in 0 blocks
- ==10432== Rerun with --leak-check=full to see details of leaked memory
- ==10432==
- ==10432== For counts of detected and suppressed errors, rerun with: -v
- ==10432== Use --track-origins=yes to see where uninitialised values come from
- ==10432== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
- Segmentation fault
Add Comment
Please, Sign In to add comment