Menu

Sphinxbase 5Prealpha ailing make check

Help
2015-11-03
2016-01-19
  • Michael Stanford

    I'm getting somewhat poor recognition results, so I decided to run the make check on both pocketsphinx 5prealpha and sphinxbase 5prealpha. I got three errors in pocketsphinx and two in sphinxbase, so I downloaded fresh binaries today, then autogen'd, configured, made, and installed them. Pocketsphinx comes out without error now, but Sphinxbase still fails this test:

    *** stack smashing detected ***: /home/khtad/sphinxASR/sphinxbase-5prealpha/test/unit/test_fe/.libs/lt-test_pitch terminated
    ../../../test-driver: line 95: 31582 Aborted                 (core dumped) "$@" > $log_file 2>&1
    FAIL: test_pitch
    
    and the output of that log file is:
    ============================================================
       sphinxbase 5prealpha: test/unit/test_fe/test-suite.log
    ============================================================
    
    # TOTAL: 2
    # PASS:  1
    # SKIP:  0
    # XFAIL: 0
    # FAIL:  1
    # XPASS: 0
    # ERROR: 0
    
    .. contents:: :depth: 2
    
    FAIL: test_pitch
    ================
    
    0 0 0 0 0 0 0 0 0 0 183 167 0 0 193 0 0 0 0 84 0 0 0 102 139 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 100 100 0 0 0 0 0 0 0 0 0 0 0 0 0 90 0 0 0 0 0 91 0 0 0 0 0 0 0 0 0 0 97 0 0 0 0 0 0 0 0 0 0 0 0 87 0 0 84 0 0 0 0 0 0 0 11025 0 84 0 0 0 0 88 0 0 0 0 94 0 95 689 101 101 0 0 0 0 92 0 0 94 0 0 0 0 0 0 0 0 0 0 0 290 0 0 119 580 612 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 551 551 0 0 0 0 0 177 0 0 85 84 0 122 0 0 91 0 0 116 84 0 355 87 0 0 0 367 0 0 0 0 0 0 424 0 157 0 0 0 94 0 225 229 0 0 0 0 245 0 136 126 0 0 84 0 0 0 0 0 0 0 0 0 0 0 123 0 0 0 0 84 0 0 0 84 256 250 220 0 0 0 0 0 0 0 92 169 159 234 0 84 0 0 0 0 131 169 111 84 84 100 100 0 113 147 0 105 101 225 153 0 0 177 0 0 229 0 0 0 0 0 0 0 136 0 0 0 1102 0 0 167 123 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 612 0 735 3675 3675 0 0 0 118 97 0 0 0 0 0 0 0 0 0 0 0 84 1837 2205 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 113 101 0 0 0 0 0 0 0 0 117 0 0 121 0 0 0 0 0 0 0 0 0 0 111 108 0 0 0 0 0 0 102 0 0 0 0 0 0 0 0 0 0 96 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 93 0 0 90 0 0 0 0 0 0 0 0 0 92 0 0 0 0 0 0 0 0 0 0 0 111 0 119 0 97 0 0 0 0 0 89 0 0 551 132 0 151 102 0 136 0 91 0 0 91 118 0 147 155 0 104 0 84 84 84 0 0 0 91 0 84 84 122 128 131 0 0 0 84 0 84 84 0 90 99 86 0 0 84 114 0 0 0 0 148 164 0 113 143 89 0 0 0 0 0 0 0 0 0 0 0 0 84 0 0 0 132 91 105 0 0 84 0 95 84 139 104 99 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 91 0 0 551 0 0 0 92 89 0 87 86 87 0 0 0 0 0 0 0 0 689 689 689 0 0 0 0 0 0 0 459 0 106 128 0 0 131 0 0 612 689 0 0 0 0 5512 689 0 118 99 0 0 0 0 0 0 0 0 0 689 0 0 0 0 0 648 0 648 0 84 0 0 0 0 0 0 92 1837 0 0 290 0 0 0 0 0 1837 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 612 0 0 132 0 0 0 0 0 0 0 216 479 0 84 0 0 0 0 0 99 0 0 116 0 121 114 0 0 101 0 84 0 0 84 0 147 89 89 0 111 0 0 0 0 107 0 0 0 0 126 0 126 126 129 108 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 84 95 0 0 103 0 129 0 122 106 0 108 0 0 0 256 107 113 0 0 105 0 134 0 0 0 0 0 84 0 0 0 0 216 0 0 0 0 216 220 220 0 0 220 225 551 0 0 0 0 0 0 0 0 459 408 0 0 0 131 0 186 0 91 0 225 0 0 0 0 0 0 0 200 229 0 0 0 0 0 0 0 0 0 0 0 143 0 123 0 0 0 0 0 0 123 131 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 95 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 11025 0 0 0 0 0 0 2756 97 0 118 0 0 0 0 0 0 0 87 86 0 0 0 0 0 0 0 128 110 110 110 0 91 84 0 0 200 118 131 0 84 0 0 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 95 0 0 0 408 355 2205 0 262 2205 0 0 0 0 84 0 0 118 0 0 84 99 262 86 86 0 84 84 0 93 86 0 208 0 0 0 0 0 0 0 0 0 0 0 0 0 648 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 220 91 0 0 0 0 0 0 0 0 0 689 0 0 0 0 848 1002 0 131 101 111 0 0 0 114 0 0 0 0 97 0 0 0 104 90 0 104 104 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 111 90 0 0 109 0 0 0 0 0 0 0 114 0 0 0 0 0 0 93 0 88 84 86 84 0 0 0 0 250 0 0 0 0 0 0 0 268 0 0 0 0 234 234 88 106 0 256 256 0 239 0 0 0 0 0 216 0 0 0 204 0 0 0 0 0 212 0 118 117 84 0 0 0 190 0 0 0 0 0 0 0 0 0 0 0 196 0 0 0 0 193 0 0 0 0 0 0 220 183 0 0 0 193 84 107 0 0 107 107 84 0 0 0 0 0 105 123 103 0 0 84 0 0 0 0 94 0 147 121 0 0 0 0 0 145 0 132 95 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 148 0 0 94 101 106 84 91 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0 204 204 0 0 0 0 0 0 0 0 200 186 0 105 0 0 84 147 0 0 0 0 0 0 0 0 0 186 297 183 84 84 0 117 0 0 0 0 0 0 0 0 0 84 0 0 0 86 119 121 84 0 84 0 0 121 0 114 0 0 0 0 0 86 0 0 132 90 0 92 119 0 0 0 0 0 0 0 0 0 0 101 0 0 0 0 89 0 112 0 123 0 0 0 0 0 113 0 0 90 0 89 92 0 0 0 0 0 0 84 0 0 101 84 0 141 141 84 0 0 0 0 84 101 101 0 0 0 0 0 0 0 0 119 0 110 0 0 95 136 0 175 0 0 0 0 0 0 0 119 0 180 525 0 0 0 0 132 0 0 0 0 0 0 0 0 0 0 121 0 0 103 0 0 0 0 0 0 0 169 0 0 0 0 0 0 0 0 90 0 112 84 0 0 0 0 0 0 0 208 193 0 0 0 5512 3675 84 105 0 105 0 0 100 100 118 0 147 196 0 0 134 0 0 84 0 0 200 0 169 0 0 250 0 501 0 0 0 0 0 0 0 0 0 0 105 0 0 0 95 95 0 0 0 0 0 0 0 84 0 0 0 175 175 0 0 0 0 0 0 204 0 0 84 88 0 84 84 315 225 290 0 84 0 0 0 0 157 0 424 441 0 459 0 580 525 0 0 0 0 0 0 0 155 0 0 0 0 0 0 0 0 0 0 0 0 0 0 110 0 0 580 0 234 0 0 0 0 0 0 0 0 117 0 0 125 0 0 0 0 0 132 0 0 0 0 0 0 157 0 0 162 129 0 0 129 0 0 0 0 0 0 0 0 0 0 0 122 0 0 0 119 0 0 0 0 153 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 155 0 155 106 11025 11025 0 0 0 84 169 0 0 0 0 0 0 0 123 0 123 0 0 0 0 0 0 0 0 0 137 119 0 0 0 0 0 0 0 0 0 136 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 148 134 134 122 0 134 0 0 0 100 0 100 109 0 0 0 0 0 0 0 408 459 0 0 648 0 122 0 121 0 125 0 0 0 151 0 0 0 0 0 0 0 0 0 0 0 0 0 0 167 0 0 0 0 0 0 0 122 0 0 0 0 0 0 90 0 0 0 109 0 0 0 0 0 0 0 0 0 3675 2756 0 0 117 0 0 108 129 111 0 0 0 0 0 0 0 95 0 0 0 0 0 0 0 92 0 0 0 0 1575 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 84 0 0 88 0 0 0 0 0 0 0 0 0 84 84 0 0 0 89 0 0 0 87 0 0 0 0 0 0 0 0 0 0 0 86 0 0 0 0 0 0 0 0 0 90 0 0 0 0 0 0 0 0 0 0 0 0 5512 0 0 0 0 90 0 0 86 0 0 0 0 0 0 108 100 0 113 113 84 0 0 0 0 0 86 86 0 0 0 84 0 84 84 84 0 0 113 0 0 0 0 0 0 108 0 0 0 0 0 0 96 0 0 0 95 306 297 0 0 0 95 0 92 0 92 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 103 0 0 0 0 0 0 96 0 0 0 0 95 0 0 0 0 0 200 0 0 0 0 0 0 0 0 0 0 501 0 0 0 0 0 0 0 0 177 0 0 183 0 0 0 0 0 0 0 0 0 172 0 0 0 0 162 0 0 0 0 0 0 0 157 0 0 0 175 147 0 103 141 0 93 94 551 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 110 0 0 113 0 0 113 113 0 0 0 91 0 0 0 0 612 0 0 0 0 0 0 84 131 459 0 0 229 0 0 0 
    

    Which I haven't the faintest clue how to parse.

    Is this a known error? Also, is there a place where I can grab known files with known speech recognition outputs using pocketsphinx so that I can test against them? Thank you for your time.

     

    Last edit: Nickolay V. Shmyrev 2015-11-03
    • Nickolay V. Shmyrev

      so I downloaded fresh binaries today, then autogen'd, configured, made, and installed them

      What did you download exactly? You can not compile binaries, they are already compiled.

       
      • Michael Stanford

        Sorry, not the binaries--the source files in tar form.

         
  • Nickolay V. Shmyrev

    Ok, which sources in tar form did you download from where.

    What is your OS, what is compiler version you use. What is machine architecture.

     
  • Egor

    Egor - 2015-12-21

    Hello!
    I have the same issue.

    RPi 2, Raspbian, Linux ProxyHome 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux

    What I did:

    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get install bison
    sudo apt-get install libasound2-dev
    sudo apt-get install swig
    sudo apt-get install python-dev
    sudo apt-get install mplayer
    sudo reboot
    mkdir sphinx
    cd sphinx
    wget http://sourceforge.net/projects/cmusphinx/files/sphinxbase/5prealpha/sphinxbase-5prealpha.tar.gz
    tar -zxvf ./sphinxbase-5prealpha.tar.gz
    cd ./sphinxbase-5prealpha
    ./configure --enable-fixed
    make clean all
    make check
    

    ...
    And here I have the same error:
    ...

    PASS: test_fe
    ../../../test-driver: line 95: 11253 Bus error               "$@" > $log_file 2>&1
    FAIL: test_pitch
    make[6]: Entering directory '/home/pi/sphinx/sphinxbase-5prealpha/test/unit/test_fe'
    make[6]: Nothing to be done for 'all'.
    make[6]: Leaving directory '/home/pi/sphinx/sphinxbase-5prealpha/test/unit/test_fe'
    ============================================================================
    Testsuite summary for sphinxbase 5prealpha
    ============================================================================
    # TOTAL: 2
    # PASS:  1
    # SKIP:  0
    # XFAIL: 0
    # FAIL:  1
    # XPASS: 0
    # ERROR: 0
    ============================================================================
    See test/unit/test_fe/test-suite.log
    ============================================================================
    
    cat test/unit/test_fe/test-suite.log
    ============================================================
       sphinxbase 5prealpha: test/unit/test_fe/test-suite.log
    ============================================================
    
    # TOTAL: 2
    # PASS:  1
    # SKIP:  0
    # XFAIL: 0
    # FAIL:  1
    # XPASS: 0
    # ERROR: 0
    
    .. contents:: :depth: 2
    
    FAIL: test_pitch
    ================
    

    Source tutorial: https://wolfpaulus.com/journal/embedded/raspberrypi2-sr/

    Any help will be grat! Thanks!

     
  • Egor

    Egor - 2015-12-22
    @nshmyrev please help!
    
     
    • Nickolay V. Shmyrev

      This a known bug that test breaks in fixed point mode. I didn't have time to fix it unfortunately. You can ignore and proceed with installation.

       
  • Egor

    Egor - 2015-12-23

    Great, thanks!

     

Log in to post a comment.