pocketsphinx
pocketsphinx copied to clipboard
segmentation fault after n x 4096 bytes written to a text file
I'm trying to run this command pocketsphinx_continuous -hmm /home/richard/test/PSAudio/en-us-adapt -lm /home/richard/test/PSAudio/en-us.lm.bin -dict /home/richard/test/PSAudio/newmerge01.dict -infile ./1001.wav > ./result1001.txt
and I get a segmentation fault. The file ./1001.wav is ~ 191Mbytes I've tried chopping ~10Mbytes off the front of the file, and this seems to have the effect of changing the number of bytes written to the text file. Thus far: 0; 4096; 8192
The version of pocketsphinx is from Debian|stable: pocketsphinx_0.8+5prealpha-2+b1_amd64.deb
I'm unfamiliar with the working of pocketsphinx, and it's been a while since I ran a debugger, so I'll need some guidance on which files you may need to investigate this.
Hmm. This sounds bad, though it is almost certainly something to do with the memory problems in the 5prealpha front-end.
If you are still interested in trying this, please try the latest version, something like:
pocketsphinx single -hmm en-us-adapt -lm en-us.lm.b-n -dict newmergedict01.dict 1001.wav