Menu

sphinx3_decode.exe crashes in windows

Help
utkarsh
2011-12-30
2012-09-22
  • utkarsh

    utkarsh - 2011-12-30

    i have downloaded and built sphinxTrain, sphinxbase and sphinx3 in windows
    7(32 bit) using the nightly versions from cmusphinx.
    after successfully training with the AN4 model (NIST's sph format from
    www.speech.cs.cmu.edu), when i try to deocde the model, the following is
    displayed in cmd prompt:

    Decoding 130 segments starting at 0 (part 1 of 1)
    0%
    

    and "sphinx3_decode.exe has stopped working" is prompted with the following
    details:

    Problem signature:
      Problem Event Name:   APPCRASH
      Application Name: sphinx3_decode.exe
      Application Version:  0.0.0.0
      Application Timestamp:    4efbf6f0
      Fault Module Name:    ntdll.dll
      Fault Module Version: 6.1.7600.16695
      Fault Module Timestamp:   4cc7ab44
      Exception Code:   c0000005
      Exception Offset: 0002fa7b
      OS Version:   6.1.7600.2.0.0.256.1
      Locale ID:    1033
      Additional Information 1: 0a9e
      Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
      Additional Information 3: 0a9e
      Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
    

    Also, on debugging the application with Visual Studio In-time-Debugger, i get
    the following error is identified:

    Unhandled exception at 0x7731fa7b in sphinx3_decode.exe: 0xC0000005: Access violation writing location 0x00000014.[\code]
    
    I have tried the following without help:
    1.tried all the above using cygwin, but same problem
    2.ensured that sphinx3_decode.exe and sphinxbase.dll is present in "....\an4\bin"
    3.put sphinxbase.dll and s3decoder.dll in "C:\Perl\bin", on reading one of the threads
    4.added "...sphinxbase\bin\Release" and "...sphinx3\bin\release" to PATH environment variable.
    5.Also, the svn snapshots of sphinxbase, sphinx3 fail to build on my system.
    
    Please tell me how to solve the problem?
    
     
  • utkarsh

    utkarsh - 2011-12-30

    i use this command to decode:

     perl scripts_pl\decode\slave.pl
    
     
  • Nickolay V. Shmyrev

    Also, the svn snapshots of sphinxbase, sphinx3 fail to build on my system.
    Please tell me how to solve the problem?

    Describe what exact issue do you have to build sphinx3 and sphinxbase
    snapshots.

     
  • utkarsh

    utkarsh - 2011-12-30

    the sphinxbase.sln of svn snapshots was writtrn for visual studio format
    version 10.00 and would not execute. so (after googling) i replaced the first
    2 lines of the .sln:

    Microsoft Visual Studio Solution File, Format Version 11.00
    # Visual C++ Express 2010
    

    with:

    Microsoft Visual Studio Solution File, Format Version 10.00
    # Visual C++ Express 2008
    

    the .sln then opens in visual studio but the visual studio conversion wizard
    automatically opens up citing:

    The solution or project you are opening was created in a previous version of Visual studio. It must be converted to the format used by this version.....
    

    After the process is finished, none of the .vcxproj are correctly converted
    preventing building of the executables. the following error is generated for
    each .vcxproj:

     Conversion issues- sphinx_fe:
    cannot load the file due to corrupt project file
    

    Also, I matched the .sln files of the nightly version and svn snapshots (or
    those in download section of cmusphinx.sourceforge) word-by-word, but i could
    find no difference. what can be the problem in format conversion?

     
  • utkarsh

    utkarsh - 2011-12-31

    i know the snapshots work fine with VS2010. But they should be backward
    compatible to VS2008 also. I thought I dint need to install VS2010 if i have
    VS2008 which works fine for me. Was i wrong?

     
  • Nickolay V. Shmyrev

    You need VS2010 to work with CMUSphinx.

     

Log in to post a comment.