[mlpack-git] [mlpack] Segmentation faults for hmm_generate, hmm_viterbi and hmm_loglik (#474)

davudadiguezel notifications at github.com
Wed Nov 18 05:58:27 EST 2015


Hi,
I am trying to run hmm_viterbi and get Segment faults. I run it like this:
./hmm_viterbi -i test.csv -m hmm_gmm_testout.xml -o viterbi_out_test.txt

gdb gives me this error message:
Program received signal SIGSEGV, Segmentation fault.
__GI___libc_free (mem=0x100000001) at malloc.c:2929
2929    malloc.c: No such file or directory.
(gdb) bt
#0  __GI___libc_free (mem=0x100000001) at malloc.c:2929
#1  0x00007ffff7b89aef in mlpack::util::SaveRestoreUtility::LoadParameter(arma::Mat<double>&, std::string const&) () from /org/share/home/adigueze/mlpack-1.0.12/bin/lib/libmlpack.so.1
#2  0x00000000004100fc in void mlpack::hmm::LoadHMM<mlpack::gmm::GMM<mlpack::gmm::EMFit<mlpack::kmeans::KMeans<mlpack::metric::LMetric<2, false>, mlpack::kmeans::RandomPartition, mlpack::kmeans::MaxVarianceNewCluster>, mlpack::gmm::PositiveDefiniteConstraint> > >(mlpack::hmm::HMM<mlpack::gmm::GMM<mlpack::gmm::EMFit<mlpack::kmeans::KMeans<mlpack::metric::LMetric<2, false>, mlpack::kmeans::RandomPartition, mlpack::kmeans::MaxVarianceNewCluster>, mlpack::gmm::PositiveDefiniteConstraint> > >&, mlpack::util::SaveRestoreUtility&) ()
#3  0x000000000040b8a0 in main ()

But I don't understand it. Don't know which file is missing, because all files in the command above do exist. Hmm_generate and _viterbi give the same error.
Thanks for any help!
Greetings
Davud

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/474
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20151118/64d9bb7c/attachment.html>


More information about the mlpack-git mailing list