[mlpack-git] [mlpack] segmentation fault with LogisticRegression API (#428)

Ryan Curtin notifications at github.com
Tue Mar 31 08:52:03 EDT 2015


Adding `ARMA_64BIT_WORD` is not something you want to do unless you recompile mlpack against Armadillo that has `ARMA_64BIT_WORD` enabled.  The reason for this is that what `ARMA_64BIT_WORD` actually controls is whether the Armadillo internal type `uword` is 32 bits or 64 bits.  If mlpack is compiled with 32-bit `uword` and your program is compiled with 64-bit `uword`, disaster ensues (as you can see in your last two posts).  Right when you enter a function in libmlpack.so, the Armadillo structures are now completely misaligned and suddenly you have a horrible disaster.  So, when I asked, I was trying to make sure that you hadn't done that. :)

Anyway, it sounds like `ARMA_64BIT_WORD` is not the issue, like I had originally thought.  Can you provide a minimal working example of the original error, so I can try to reproduce and figure out what is going on?

Thanks!

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/428#issuecomment-88072121
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150331/23a1c7f3/attachment.html>


More information about the mlpack-git mailing list