[g-a-devel]GNOME Speech Weirdness



Hi All,

It seems this weirdness, or an incantation of it, is reproduceable with the new festival driver as well. I've attached a stack trace of a crash on my machine, reproduceable with the following steps:

1. Run the test-speech program
2. Select the Festival driver (number 2 on my system)
3. Select the parameter test (number 1)
4. Pick the "rate" parameter (number 1)
5. Set it to any value.
6. Choose zero to exit the test.
7. Choose 1 from the tests menu again

Blam!

It looks to me as though something has caused the stack to blow up (entry to g_malloc shows n_bytes to be corrupted)a but the value passed to g_malloc from CORBA_string_alloc looks OK. It appears to be attempting to throw a "COM failure" exception, but this is the same behavior I was seeing with the Viavoice driver when it was simply trying to demarshal a string within a sequence of structs.

Hmmm...

I have a bad feeling that this is something dumb I'm doing and not seeing... Flames welcome <sigh> :)

Marc

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 1278)]
0x4206f59c in _int_malloc () from /lib/i686/libc.so.6
(gdb) bt
#0  0x4206f59c in _int_malloc () from /lib/i686/libc.so.6
#1  0x4206eca5 in malloc () from /lib/i686/libc.so.6
#2  0x40238ec6 in g_malloc (n_bytes=1108452192) at gmem.c:137
#3  0x4016fedd in ORBit_alloc_string (string_length=35) at allocators.c:223
#4  0x4016fa44 in CORBA_string_dup (
    str=0x401809a0 "IDL:omg.org/CORBA/COMM_FAILURE:1.0") at corba-string.c:22
#5  0x4016f673 in CORBA_exception_set (ev=0xbffff850,
    major=CORBA_SYSTEM_EXCEPTION,
    except_repos_id=0x401809a0 "IDL:omg.org/CORBA/COMM_FAILURE:1.0",
    param=0x14) at corba-env.c:112
#6  0x4016f62c in CORBA_exception_set_system (ev=0xbffff850,
    except_repos_id=0x401809a0 "IDL:omg.org/CORBA/COMM_FAILURE:1.0",
    completed=1108452212) at corba-env.c:98
#7  0x4016becc in ORBit_small_invoke_stub (obj=0x8056f10, m_data=0x400345e0,
    ret=0xbffff7a8, args=0x0, ctx=0x0, ev=0xbffff850) at orbit-small.c:665
#8  0x4016bda4 in ORBit_small_invoke_stub_n (object=0x8056f10, methods=0x14,
    index=1108452212, ret=0xbffff7a8, args=0x0, ctx=0x0, ev=0xbffff850)
    at orbit-small.c:573
#9  0x40031a54 in GNOME_Speech_SynthesisDriver_getSupportedParameters (
    _obj=0x8056f10, ev=0xbffff850) at GNOME_Speech_SynthesisDriver-stubs.c:183
#10 0x08048e2b in parameter_tests (driver=0x8056f10) at test-speech.c:66
#11 0x080492ce in do_test (driver=0x8056f10) at test-speech.c:191
#12 0x08049381 in main (argc=1, argv=0xbffff9d4) at test-speech.c:234
#13 0x420155d4 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) quit
The program is running.  Exit anyway? (y or n)





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]