I've figured out how to make voxin work on Ubuntu Lucid x64.  I don't
understand why the fix works, but here it is:  Just delete the "DBG"
statement from the module_audio_init function in src/modules/ibmtts.c
in the speech-dispatcher package.  Recompile speech-dispatcher on a 32
bit machine, with voxin already installed, and it will create a new
sd_ibmtts file that works in Lucid x64.  Copy that to your 64-bit
machine at /usr/lib/speech-dispatcher-modules/sd_ibmtts.  I've
attached the diff file, which is a one line delete.

I don't understand why this make sd_ibmtts work on Lucid x64.  I did
read that ctime is not thread safe, and that may have something to do
with it.  It may also be interacting with an odd optimization bug.
More likely, something else is trashing a bit of memory.  To cause the
bug to occur, you only need three lines from the DBG macro at the top
of module_audio_init:

  if (Debug){
    time_t t = time(NULL);
    ctime(&t));
  }

Bill
--- ibmtts.c.orig	2010-05-10 05:43:10.242891398 -0400
+++ ibmtts.c	2010-05-10 06:11:53.702991156 -0400
@@ -528,7 +528,6 @@
 
 int
 module_audio_init(char **status_info){
-  DBG("Opening audio");
   return module_audio_init_spd(status_info);
 }
 
-- 
Ubuntu-accessibility mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility

Reply via email to