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

Re: espeakup



Hello Samuel,

Thank you for the response.

> On Jul 24, 2018, at 8:29 PM, Samuel Thibault <sthibault@debian.org> wrote:
> 
> Hello,
> 
> Frank Carmickle, le mar. 17 juil. 2018 12:45:56 -0400, a ecrit:
>> I’m having issues where speech just stops. Killing espeakup and restarting it is the only thing that seems to help. It does not appear to crash. Does anyone have any ideas about how this can be improved?
> 
> Well, by debugging the issue so that we get to know what to fix. You can
> install the espeakup-dbgsym package from the debug Debian archive, and
> then use as root
> 
>    gdb /usr/bin/espeakup $(pidof espeakup)
> 
> and at the gdb> prompt type
> 
>    thread apply all bt full

Reading symbols from /usr/bin/espeakup...Reading symbols from /usr/lib/debug/.build-id/56/d754cfddedf727e80bc4a23ce283a799e36c48.debug...done.
done.
Attaching to program: /usr/bin/espeakup, process 418
[New LWP 419]
[New LWP 420]
[New LWP 421]
[New LWP 422]
[New LWP 658]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fce87f7538d in __pthread_timedjoin_ex () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) thread apply all bt full

Thread 6 (Thread 0x7fce814c6700 (LWP 658)):
#0  0x00007fce87f79e6c in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1  0x00007fce87fdeaaf in ?? () from /usr/lib/x86_64-linux-gnu/libespeak-ng.so.1
No symbol table info available.
#2  0x00007fce87f73f2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#3  0x00007fce87ea6edf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.

Thread 5 (Thread 0x7fce81d20700 (LWP 422)):
#0  0x00007fce87f79e6c in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1  0x000055c86a7757fa in espeak_thread (arg=0x7ffc21207ff0) at espeak.c:356
        s = 0x7ffc21207ff0
#2  0x00007fce87f73f2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#3  0x00007fce87ea6edf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.

Thread 4 (Thread 0x7fce82521700 (LWP 421)):
#0  0x00007fce87e9eacf in select () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x000055c86a77641e in softsynth_thread (arg=<optimized out>) at softsynth.c:281
        s = <optimized out>
        set = {__fds_bits = {136, 0 <repeats 15 times>}}
        length = <optimized out>
        buf = <optimized out>
        cp = <optimized out>
        terminalFD = 3
        greatestFD = 7
#2  0x00007fce87f73f2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#3  0x00007fce87ea6edf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.

Thread 3 (Thread 0x7fce82d37700 (LWP 420)):
#0  0x00007fce87f79e6c in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1  0x00007fce87fdf515 in ?? () from /usr/lib/x86_64-linux-gnu/libespeak-ng.so.1
No symbol table info available.
#2  0x00007fce87f73f2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#3  0x00007fce87ea6edf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.

Thread 2 (Thread 0x7fce837c2700 (LWP 419)):
#0  0x00007fce87de5d1c in sigtimedwait () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1  0x00007fce87f7e46c in sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#2  0x000055c86a775f85 in signal_thread (arg=<optimized out>) at signal.c:54
        temp = {__sigaction_handler = {sa_handler = 0x55c86a775e90 <dummy_handler>, 
            sa_sigaction = 0x55c86a775e90 <dummy_handler>}, sa_mask = {__val = {
              0 <repeats 16 times>}}, sa_flags = 0, sa_restorer = 0x0}
        sigset = {__val = {18446744067267100671, 18446744073709551615 <repeats 15 times>}}
        sig = 0
#3  0x00007fce87f73f2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#4  0x00007fce87ea6edf in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.

Thread 1 (Thread 0x7fce837c3800 (LWP 418)):
#0  0x00007fce87f7538d in __pthread_timedjoin_ex () from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1  0x000055c86a774e33 in main (argc=<optimized out>, argv=0x7ffc212081a8) at espeakup.c:230
        fd = 6
        devnull = <optimized out>
        ret = 0 '\000'
        sigset = {__val = {16386, 0 <repeats 15 times>}}
        err = <optimized out>
        signal_thread_id = 140524945942272
        espeak_thread_id = 140524918015744
        softsynth_thread_id = 140524926408448
        s = {frequency = 5, pitch = 4, punct = 0, rate = 7, 
          voice = "\000\000\000\000\000\000\000\000\000", volume = 6, buf = 0x7fce740015a0 "‡~", 
          len = 44}


> so we have an idea of what it is doing.

I’m not that good with a debugger. I would have thought that you would want me to send a report of a backtrace when it stops speaking, but it stops speaking as soon as it’s running with the debugger attached.

Let me know what else you might need.

Thanks again for the help. It’s very much appreciated.
--FC



Reply to: