Bug 924831 - Segmentation fault (core dumped) in espeak
Summary: Segmentation fault (core dumped) in espeak
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: espeak
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-22 15:13 UTC by Joachim Backes
Modified: 2013-04-30 03:19 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-04-20 19:30:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Joachim Backes 2013-03-22 15:13:35 UTC
Description of problem:
Starting espeak, then piping some text to espeak STDIN. The text is spoken, but espeak dies after the last word of the text has been spoken.

Debug info:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeceff700 (LWP 21993)]
0x00007ffff78855fe in LookupDict2(Translator*, char const*, char const*, char*, unsigned int*, int, WORD_TAB*) () from /lib64/libespeak.so.1
(gdb) tb
Temporary breakpoint 1 at 0x7ffff78855fe
(gdb) bt
#0  0x00007ffff78855fe in LookupDict2(Translator*, char const*, char const*, char*, unsigned int*, int, WORD_TAB*) () from /lib64/libespeak.so.1
#1  0x00007ffff7885f0e in LookupDictList(Translator*, char**, char*, unsigned int*, int, WORD_TAB*) () from /lib64/libespeak.so.1
#2  0x00007ffff78861cb in Lookup(Translator*, char const*, char*) () from /lib64/libespeak.so.1
#3  0x00007ffff78923c8 in LookupLetter(Translator*, unsigned int, int, char*, int) () from /lib64/libespeak.so.1
#4  0x00007ffff7892872 in TranslateLetter(Translator*, char*, char*, int) () from /lib64/libespeak.so.1
#5  0x00007ffff78992ba in SpeakIndividualLetters(Translator*, char*, char*, int) () from /lib64/libespeak.so.1
#6  0x00007ffff789b1a7 in TranslateWord(Translator*, char*, int, WORD_TAB*, char*) () from /lib64/libespeak.so.1
#7  0x00007ffff789c05e in TranslateWord2(Translator*, char*, WORD_TAB*, int, int) () from /lib64/libespeak.so.1
#8  0x00007ffff789dc90 in TranslateClause(Translator*, _IO_FILE*, void const*, int*, char**) () from /lib64/libespeak.so.1
#9  0x00007ffff7898fe3 in SpeakNextClause(_IO_FILE*, void const*, int) () from /lib64/libespeak.so.1
#10 0x00007ffff787eadb in Synthesize(unsigned int, void const*, int) [clone .isra.1] () from /lib64/libespeak.so.1
#11 0x00007ffff787ef9c in sync_espeak_Synth(unsigned int, void const*, unsigned long, unsigned int, espeak_POSITION_TYPE, unsigned int, unsigned int, void*)
    () from /lib64/libespeak.so.1
#12 0x00007ffff78a9aac in process_espeak_command(t_espeak_command*) () from /lib64/libespeak.so.1
#13 0x00007ffff78aa790 in say_thread(void*) () from /lib64/libespeak.so.1
#14 0x00007ffff6b4bd15 in start_thread () from /lib64/libpthread.so.0
#15 0x00007ffff709b48d in clone () from /lib64/libc.so.6


Version-Release number of selected component (if applicable):


How reproducible:
espeak-1.47.03-1.fc18.x86_64

Steps to Reproduce:
1.

Start espeak inside a gnome-terminal, with no params, and send the following text to STDIN (I read it on http://en.wikipedia.org/wiki/Nasalization, chapter "Other nasal(ized) consonants":), copied with ^C, pasted with Ctrl+Shift+V to
the gnome-terminal:


Nasalized versions of other consonant sounds also exist, though they are much rarer than either nasal occlusives or nasal vowels. Some of the South Arabic languages have phonemic nasalized fricatives, such as /z̃/, which sounds something like a simultaneous [n] and [z]. The sound written ⟨r⟩ in Mandarin has an odd history; for example, it has been borrowed into Japanese as both [z] and [n]. It seems likely that it was once a nasalized fricative, perhaps a palatal [ʝ̃]. In the Hupa velar nasal /ŋ/, the tongue often does not make full contact, resulting in a nasalized approximant, [ɰ̃]. This is cognate with a nasalized palatal approximant [ȷ̃] in other Athabaskan languages. In Umbundu, phonemic /ṽ/ contrasts with the (allophonically) nasalized approximant [w̃], and so is likely to be a true fricative rather than an approximant.[further explanation needed] In Old and Middle Irish, the lenited ⟨m⟩ was a nasalized bilabial fricative.[1] Sundanese has an allophonic nasalized glottal stop [ʔ̃]; nasalized stops can only occur with pharyngeal articulation or lower, or else they'd be simple nasals.[2] Nasal flaps are common allophonically. Many West African languages have a nasal flap [ɾ̃] (or [n̆]) as an allophone of /ɾ/ before a nasal vowel; Pashto, however, has a phonemic nasal retroflex lateral flap.

2. 
3.
  
Actual results:

After the last word "flap" is spoken, espeak crashes

Expected results:
No crash!

Additional info:

Comment 1 Jaroslav Škarvada 2013-03-22 15:30:10 UTC
Confirmed

Comment 2 Fedora Update System 2013-04-09 08:02:41 UTC
espeak-1.47.05-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/espeak-1.47.05-1.fc19

Comment 3 Fedora Update System 2013-04-09 08:04:49 UTC
espeak-1.47.05-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/espeak-1.47.05-1.fc18

Comment 4 Fedora Update System 2013-04-09 17:01:17 UTC
Package espeak-1.47.05-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing espeak-1.47.05-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-5208/espeak-1.47.05-1.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-04-16 12:26:20 UTC
espeak-1.47.06-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/espeak-1.47.06-1.fc18

Comment 6 Fedora Update System 2013-04-19 09:42:24 UTC
espeak-1.47.07-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/espeak-1.47.07-1.fc18

Comment 7 Fedora Update System 2013-04-20 19:30:04 UTC
espeak-1.47.05-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-04-30 03:19:59 UTC
espeak-1.47.07-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.