[mlpack-git] [mlpack] segmentation fault with LogisticRegression API (#428)
John Lees
notifications at github.com
Tue Mar 31 07:10:04 EDT 2015
No, I hadn't touched it - thanks for the tip!
I've now uncommented the required line in /include/armadillo_bits/config.hpp and recompiled mlpack. However, I now get an out of memory error:
error: arma::memory::acquire(): out of memory
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Program received signal SIGABRT, Aborted.
When I look at the backtrace in gdb, I find that upon initialising the zero matrix, arma requests 4294970366 (i.e. 2^32 +/- rounding error) elements and then fails to allocate memory for it
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/428#issuecomment-88046399
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150331/c9a1e0d3/attachment.html>
More information about the mlpack-git
mailing list