Bug 654607

Summary: Crash in speech-dispatcher: Update to dotconf version 1.3
Product: [Fedora] Fedora Reporter: Fernando Herrera <fherrera>
Component: dotconfAssignee: Peter Robinson <pbrobinson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: assim.deodia, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: speech-dispatcher-0.7.1-4.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-23 22:56:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 649403    

Description Fernando Herrera 2010-11-18 11:42:49 UTC
Current speech-dispatcher configuration in F14 has this:

Include "clients/*.conf"

Handling of wildcards in older versions of dotconf is buggy, like the one present in F14 and makes speech-dispatcher crash:
#0  0x00110416 in __kernel_vsyscall ()
#1  0x009c9943 in __write_nocancel () from /lib/libpthread.so.0
#2  0x0805e353 in output_send_data ()
#3  0x08051311 in load_output_module ()
#4  0x080524aa in cb_AddModule ()
#5  0x009e235d in dotconf_invoke_command () from /usr/lib/libdotconf-1.0.so.0
#6  0x009e3f70 in dotconf_handle_command () from /usr/lib/libdotconf-1.0.so.0
#7  0x009e3fe4 in dotconf_command_loop () from /usr/lib/libdotconf-1.0.so.0
#8  0x0804dd24 in speechd_load_configuration ()
#9  0x0804ea98 in speechd

with
1318   if ( dotconf_handle_wild_card(cmd,wild_card,path,pre,ext) < 0)
(gdb) p path
$7 = 0x806ee38 "/etc/speech-dispatcher/clients/
(gdb) down
#3  0x009e46d7 in dotconf_handle_wild_card (cmd=0xbfffe0fc, wild_card=-100 '\234', path=0x6374652f <Address 0x6374652f out of bounds>, pre=0x806df18 "", ext=0x806ee28 ".conf") at dotconf.c:792



Updating to dotconf 1.3 and rebuilding speech-dispatcher fixes the problem.

PD: dotconf has been moved to a new website:
http://www.opentts.org/projects/dotconf

Also the .spec file needs to be updated to handle the examples directory

Comment 1 Peter Robinson 2010-12-08 13:31:38 UTC
I've built 1.3 in rawhide and will rebuild speechd against it shortly. I think we should be OK to push this to F-14 too as repoquery tells me the only other thing that depends on it is cpm which looks to be broken anyway, and not overly alive upstream.

Comment 2 Fedora Update System 2011-03-15 09:49:45 UTC
speech-dispatcher-0.7.1-4.fc14, dotconf-1.3-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/speech-dispatcher-0.7.1-4.fc14,dotconf-1.3-2.fc14

Comment 3 Fedora Update System 2011-03-23 22:56:12 UTC
speech-dispatcher-0.7.1-4.fc14, dotconf-1.3-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.