Red Hat Bugzilla – Bug 817840
[abrt] pocketsphinx-0.7-1.fc14: fe_process_frames: Process /usr/bin/pocketsphinx_batch was killed by signal 8 (SIGFPE)
Last modified: 2012-05-03 12:19:08 EDT
abrt version: 1.1.18
Attached file: backtrace, 21313 bytes
cmdline: pocketsphinx_batch -hmm /usr/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k -dict /usr/share/pocketsphinx/model/lm/en_US/cmu07a.dic -adcin yes -adchdr 44 -frate 44100 -ctl /home/ryniker/cmd/test_sphinx-control -cepext .wav -hyp /home/ryniker/tmp/sphinx_output
comment: raw audio file, sample rate 44100 ( -frate 44100 ) caused the problem.
Attached file: coredump, 411873280 bytes
reason: Process /usr/bin/pocketsphinx_batch was killed by signal 8 (SIGFPE)
release: Fedora release 14 (Laughlin)
How to reproduce
Created attachment 581395 [details]
Thank you for the report, Richard. Fedora 14 has reached EOL, so there will be no updates. However, I will try to patch this bug for Fedora 15 and later.
This bug has been reported upstream: https://sourceforge.net/tracker/?func=detail&aid=3522793&group_id=1904&atid=101904.
Sample rate is configured with -samprate option, not -frate option. Frate options sets feature frame rate. So this is just an incorrect usage of the engine.
I've just committed additional check in pocketsphinx trunk, now it will issue error in the case frate is not correctly configured.
ERROR: "fe_interface.c", line 77: Frame rate 44100 can not be bigger than sample rate 16000.00
Thank you. I thought it likely this was a user error. The informative message is certainly more valuable than a floating point exception to educate a user.
I tried the failing case on F17, with the same FPE. Your improvement will help users who make the same error in new environments.
Nickolay, thanks for your help. Richard, I'm going to close this and wait patiently for the next release of pocketsphinx.