Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed the julius and julius-voxforge packages on Ubuntu 12.04 LTS, and now I'm trying to run the julius command on a WAV file called test.wav. I ran this command:

julius -input raw test.wav

but it simply says "Segmentation fault" without any further information. I've been searching the documentation for a few hours now, and I can't find any relevant information.

share|improve this question
Not of much help I'm afraid but I Googled julius segmentation fault and found Voice Recognition in Ubuntu which mentions encountering a segmentation fault way down the page in the section titled "Running on YouTube Videos". Maybe you could contact the blogger? – user25656 Dec 13 '12 at 6:32
Just try pocketsphinx, it works without a problem for me. Voxforge models for pocketsphinx are even more accurate. See for details – Nikolay Shmyrev Dec 14 '12 at 9:04
@NikolayShmyrev Any more information? All I see in the repositories are libraries, e.g. for Python. Is there a terminal application built around this that I'm missing? – Ricardo Altamirano Dec 18 '12 at 22:52
Yes, there is pocketsphinx_continuous binary. To decode 16khz 16bit mono wav file use pocketsphinx_continuous -infile file.wav – Nikolay Shmyrev Dec 19 '12 at 6:54
@NikolayShmyrev The command you suggest returns an error of Unknown argument name '-infile', and according to its man page, no such argument exists for the pocketsphinx_continuous binary, which is installed as part of the pocketsphinx_utils package. Any other ideas? – Ricardo Altamirano Jan 20 '13 at 18:37
up vote 1 down vote accepted

I was also able to confirm this behaviour in Ubuntu 12.04

Your best course of action would be to file a bug, so that you can get proper support from the developers.

share|improve this answer

I think that you forgot to call configuration file. Like: -C config

share|improve this answer
Like this, for example? julius -input raw test.wav -C julius.jconf – Ricardo Altamirano Dec 15 '12 at 21:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.