Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Espeak crashed when compiling phonemes #102

Open
nlpguyz opened this issue May 5, 2017 · 0 comments
Open

Espeak crashed when compiling phonemes #102

nlpguyz opened this issue May 5, 2017 · 0 comments

Comments

@nlpguyz
Copy link

nlpguyz commented May 5, 2017

I am trying to compile espeak-ng from the master branch. After installing dependencies, running autogen.sh, configure and so on, I could get the binary of espeak-ng but after that, make failed with the following error:

ESPEAK_DATA_PATH=/home/osboxes/work/espeakNG/espeak-ng src/espeak-ng --compile-intonations &&
ESPEAK_DATA_PATH=/home/osboxes/work/espeakNG/espeak-ng src/espeak-ng --compile-phonemes &&
touch phsource/phonemes.stamp
Compiled 26 intonation tunes: 0 errors.
/bin/bash: line 2: 80909 Segmentation fault (core dumped) ESPEAK_DATA_PATH=/home/osboxes/work/espeakNG/espeak-ng src/espeak-ng --compile-phonemes
Makefile:1861: recipe for target 'phsource/phonemes.stamp' failed
make[1]: *** [phsource/phonemes.stamp] Error 139

---- end of compile error ----

I fired up gdb64 to run the binary "src/.libs/espeak-ng" with the same environment variables and arguments, and found it appeared to be a dictionary processing error:

Program received signal SIGSEGV, Segmentation fault.
InitGroups (tr=0x619a70) at src/libespeak-ng/dictionary.c:197
197 while (*p != RULE_GROUP_END)
(gdb) bt
#0 InitGroups (tr=0x619a70) at src/libespeak-ng/dictionary.c:197
#1 LoadDictionary (tr=tr@entry=0x619a70, name=name@entry=0x7fffffffd7a0 "en", no_error=no_error@entry=0)
at src/libespeak-ng/dictionary.c:259
#2 0x00007ffff7b79d3c in LoadVoice (vname=vname@entry=0x7ffff7b9e1aa "", control=control@entry=0) at src/libespeak-ng/voices.c:910
#3 0x00007ffff7b4d653 in espeak_ng_CompilePhonemeDataPath (rate=rate@entry=22050, source_path=source_path@entry=0x0,
destination_path=destination_path@entry=0x0, log=0x7ffff7b33620 <IO_2_1_stdout>, context=context@entry=0x7fffffffdef0)
at src/libespeak-ng/compiledata.c:2534
#4 0x00007ffff7b4e61f in espeak_ng_CompilePhonemeData (rate=rate@entry=22050, log=,
context=context@entry=0x7fffffffdef0) at src/libespeak-ng/compiledata.c:2505
#5 0x00000000004022bb in main (argc=2, argv=0x7fffffffe428) at src/espeak-ng.c:551

Do you have any idea why it happens? My environment is

Ubuntu 16.04.2 LTS
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609

Thanks!


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant