[espeak-ng:master] reported: espeak android latest pree build crashes with the folowing hindi text #github

espeak-ng@groups.io Integration <espeak-ng@...>

[espeak-ng:master] New Comment on Issue #831 espeak android latest pree build crashes with the folowing hindi text
By valdisvi:

I know where it happens, but that also didn't help me much. To get it printed, look here: then it shows:

./seg_wrapper.sh espeak-ng -vhi -X -- "---लच्छेद"
Translate 'लच्छेद'
 36	  439:	ल [lV]

 56	  268:	च (B [c]
 36	  267:	च [cV]
 98	  277:	च्छ (B [c#:]
 78	  276:	च्छ [c#:V]

 55	  174:	C) े [e:]
 36	  173:	 [#X2e:]

 36	  367:	द [dV]

./seg_wrapper.sh: line 3: 4094740 Segmentation fault      (core dumped) "$@"
Reading symbols from espeak-ng...
[New LWP 4094740]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `espeak-ng -vhi -X -- ---लच्छेद'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  CountVowelPosition (plist=0x7ffd7ff67058) at src/libespeak-ng/synthdata.c:478
478			if (plist->ph->type == phVOWEL)
#0  CountVowelPosition (plist=0x7ffd7ff67058) at src/libespeak-ng/synthdata.c:478
#1  0x00007fdd7b22a8de in InterpretCondition (tr=0x55a76c253330, control=256, plist=0x7ffd7ff670d0, p_prog=0x55a76c24691a, 
    worddata=0x7ffd7ff66fb0) at src/libespeak-ng/synthdata.c:657
#2  0x00007fdd7b22af87 in InterpretPhoneme (tr=0x55a76c253330, control=256, plist=0x7ffd7ff670d0, phdata=0x7ffd7ff66fe0, 
    worddata=0x7ffd7ff66fb0) at src/libespeak-ng/synthdata.c:856
#3  0x00007fdd7b220e33 in MakePhonemeList (tr=0x55a76c253330, post_pause=400, start_sentence=true, 
    n_ph_list2=0x7fdd7b29dc4c <n_ph_list2>, ph_list2=0x7fdd7b29b720 <ph_list2>) at src/libespeak-ng/phonemelist.c:351
#4  0x00007fdd7b2389f1 in TranslateClause (tr=0x55a76c253330, tone_out=0x7ffd7ff72874, voice_change=0x7ffd7ff72878)
    at src/libespeak-ng/translate.c:2722
#5  0x00007fdd7b22f8eb in SpeakNextClause (control=0) at src/libespeak-ng/synthesize.c:1573
#6  0x00007fdd7b225be3 in Synthesize (unique_identifier=0, text=0x7ffd7ff747dd, flags=4352) at src/libespeak-ng/speech.c:453
#7  0x00007fdd7b226119 in sync_espeak_Synth (unique_identifier=0, text=0x7ffd7ff747dd, position=0, position_type=POS_CHARACTER, 
    end_position=0, flags=4352, user_data=0x0) at src/libespeak-ng/speech.c:566
#8  0x00007fdd7b226493 in espeak_ng_Synthesize (text=0x7ffd7ff747dd, size=22, position=0, position_type=POS_CHARACTER, 
    end_position=0, flags=4352, unique_identifier=0x7fdd7b2812b8 <temp_identifier>, user_data=0x0) at src/libespeak-ng/speech.c:701
#9  0x00007fdd7b213992 in espeak_Synth (text=0x7ffd7ff747dd, size=22, position=0, position_type=POS_CHARACTER, end_position=0, 
    flags=4352, unique_identifier=0x0, user_data=0x0) at src/libespeak-ng/espeak_api.c:90
#10 0x000055a76b517f31 in main (argc=5, argv=0x7ffd7ff72f88) at src/espeak-ng.c:691

Join espeak-ng@groups.io to automatically receive all group messages.