You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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.
The text was updated successfully, but these errors were encountered: