Menu

Segmentation fault

Help
2010-08-18
2012-09-22
  • Alexander Savvopulo

    I am unable to test sphinx.
    I have done all steps from "Hello World Decoder QuickStart Guide".
    When I try to start sphinx3 for reconginzing raw data, I see "Segmentation
    fault".

    command line: sphinx3_livepretend ./sounds/ctlfile ./sounds/ cfgfile
    results:

    INFO: Initialization of the log add table
    INFO: Log-Add table size = 29356 x 2 >> 0
    INFO:
    INFO: feat.c(848): Initializing feature stream to type: '1s_c_d_dd',
    ceplen=13, CMN='current', VARNORM='no', AGC='none'
    INFO: cmn.c(142): mean= 12.00, mean= 0.0
    INFO: kbcore.c(489): .cont.
    INFO: Initialization of feat_t, report:
    INFO: Feature type = 1s_c_d_dd
    INFO: Cepstral size = 13
    INFO: Number of streams = 1
    INFO: Vector size of stream: 39
    INFO: Number of subvectors = 0
    INFO: Whether CMN is used = 1
    INFO: Whether AGC is used = 0
    INFO: Whether variance is normalized = 0
    INFO:
    INFO: Reading HMM in Sphinx 3 Model format
    INFO: Model Definition File:
    /usr/src/sphinx/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/mdef
    INFO: Mean File:
    /usr/src/sphinx/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/means
    INFO: Variance File:
    /usr/src/sphinx/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/variances
    INFO: Mixture Weight File: /usr/src/sphinx/sphinx3/model/hmm/hub4_cd_continuou
    s_8gau_1s_c_d_dd/mixture_weights
    INFO: Transition Matrices File: /usr/src/sphinx/sphinx3/model/hmm/hub4_cd_cont
    inuous_8gau_1s_c_d_dd/transition_matrices
    INFO: mdef.c(683): Reading model definition:
    /usr/src/sphinx/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/mdef
    INFO: Initialization of mdef_t, report:
    INFO: 48 CI-phone, 133500 CD-phone, 3 emitstate/phone, 144 CI-sen, 6144 Sen,
    32639 Sen-Seq
    INFO:
    INFO: kbcore.c(299): Using optimized GMM computation for Continuous HMM, -topn
    will be ignored
    INFO: cont_mgau.c(164): Reading mixture gaussian file
    '/usr/src/sphinx/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/means'
    INFO: cont_mgau.c(423): 6144 mixture Gaussians, 8 components, 1 streams,
    veclen 39
    INFO: cont_mgau.c(164): Reading mixture gaussian file '/usr/src/sphinx/sphinx3
    /model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/variances'
    INFO: cont_mgau.c(423): 6144 mixture Gaussians, 8 components, 1 streams,
    veclen 39
    INFO: cont_mgau.c(524): Reading mixture weights file '/usr/src/sphinx/sphinx3/
    model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/mixture_weights'
    WARNING: "cont_mgau.c", line 667: Weight normalization failed for 3 senones
    INFO: cont_mgau.c(679): Read 6144 x 8 mixture weights
    INFO: cont_mgau.c(707): Removing uninitialized Gaussian densities
    6 7 8
    WARNING: "cont_mgau.c", line 781: 24 densities removed (3 mixtures removed
    entirely)
    INFO: cont_mgau.c(797): Applying variance floor
    INFO: cont_mgau.c(815): 0 variance values floored
    INFO: cont_mgau.c(863): Precomputing Mahalanobis distance invariants
    INFO: tmat.c(169): Reading HMM transition probability matrices: /usr/src/sphin
    x/sphinx3/model/hmm/hub4_cd_continuous_8gau_1s_c_d_dd/transition_matrices
    WARNING: "tmat.c", line 242: Normalization failed for tmat 2 from state 0
    WARNING: "tmat.c", line 242: Normalization failed for tmat 2 from state 1
    WARNING: "tmat.c", line 242: Normalization failed for tmat 2 from state 2
    INFO: Initialization of tmat_t, report:
    INFO: Read 48 transition matrices of size 3x4
    INFO:
    INFO: dict.c(385): Reading main dictionary:
    /usr/src/sphinx/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp.sphinx.dic
    INFO: dict.c(388): 5900 words read
    INFO: dict.c(393): Reading filler dictionary:
    /usr/src/sphinx/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp.sphinx.filler
    INFO: dict.c(396): 3 words read
    INFO: dict.c(429): Added 0 fillers from mdef file
    INFO: Initialization of dict_t, report:
    INFO: No of CI phone: 0
    INFO: Max word: 9999
    INFO: No of word: 5903
    INFO:
    INFO: lm.c(608): LM
    read('/usr/src/sphinx/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp_3gram.arpa.DMP', lw=
    9.50, wip= 0.70, uw= 0.70)
    INFO: lm.c(610): Reading LM file
    /usr/src/sphinx/lm_giga_5k_nvp_3gram/lm_giga_5k_nvp_3gram.arpa.DMP (LM name
    "default")
    INFO: lm_3g_dmp.c(631): Reading LM in 16 bits format
    INFO: lm_3g_dmp.c(687): Read 5000 unigrams
    INFO: lm_3g_dmp.c(760): 2821547 bigrams
    INFO: lm_3g_dmp.c(833): 8095821 bigrams
    INFO: lm_3g_dmp.c(903): 45171 bigram prob entries
    INFO: lm_3g_dmp.c(937): 16932 trigram bowt entries
    INFO: lm_3g_dmp.c(968): 48498 trigram prob entries
    INFO: lm_3g_dmp.c(999): 5511 trigram segtable entries (512 segsize)
    INFO: lm_3g_dmp.c(1054): 5000 word strings
    Segmentation fault

    Could you help me, how i can resolve this issue?

     
  • Nickolay V. Shmyrev

    Could you help me, how i can resolve this issue?

    I don't see any issue here. You are trying to use some outdated software using
    the outdated unauthorized manual. Not strange it doesn't work.

    To test CMUSphinx you just need to install pocketsphinx-0.6.1 and run
    pocketsphinx_continuous without arguments. No additional steps is required.
    For more information about CMUSphinx visit out website
    http://cmusphinx.sourceforge.net

    Also, when you report about crash learn to provide software versions you are
    using, it's hard to understand what's going on without that.

     
  • Alexander Savvopulo

    Ok, I will. Thank you very much

     

Log in to post a comment.