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

Re: espeakup



Samuel,

Did you see the backtrace in my last message?

Thanks
--FC

> On Jul 26, 2018, at 3:10 PM, Frank Carmickle <frank@carmickle.com> wrote:
> 
> Hi,
> 
> Thanks for the direction.
> 
>> On Jul 26, 2018, at 2:14 PM, Samuel Thibault <sthibault@debian.org> wrote:
>> 
>> Hello,
>> 
>> Frank Carmickle, le jeu. 26 juil. 2018 14:07:03 -0400, a ecrit:
>>>> 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,
>> 
>> Yes, that's the idea
>> 
>>> but it stops speaking as soon as it’s running with the debugger attached.
>> 
>> Sure, when the debugger attaches to speakup it pauses the daemon. You
>> should attach only once speakup stopped working.
> 
> Attaching to program: /usr/bin/espeakup, process 424
> [New LWP 425]
> [New LWP 427]
> [New LWP 431]
> [New LWP 432]
> [New LWP 683]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> 0x00007f23761f638d in __pthread_timedjoin_ex () from /lib/x86_64-linux-gnu/libpthread.so.0
> (gdb) thread apply all bt full
> 
> Thread 6 (Thread 0x7f236affd700 (LWP 683)):
> #0  0x00007f23761fae6c in pthread_cond_wait@@GLIBC_2.3.2 ()
>   from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #1  0x00007f237625faaf in ?? () from /usr/lib/x86_64-linux-gnu/libespeak-ng.so.1
> No symbol table info available.
> #2  0x00007f23761f4f2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #3  0x00007f2376127edf in clone () from /lib/x86_64-linux-gnu/libc.so.6
> No symbol table info available.
> 
> Thread 5 (Thread 0x7f236b7fe700 (LWP 432)):
> #0  0x00007f23761fe11c in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #1  0x00007f23761f76c6 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #2  0x00007f23757e3316 in snd_pcm_state () from /usr/lib/x86_64-linux-gnu/libasound.so.2
> No symbol table info available.
> #3  0x00007f23757e32c9 in snd_pcm_state () from /usr/lib/x86_64-linux-gnu/libasound.so.2
> No symbol table info available.
> #4  0x00007f23757e3348 in ?? () from /usr/lib/x86_64-linux-gnu/libasound.so.2
> No symbol table info available.
> #5  0x00007f23757e3ab2 in snd_pcm_drop () from /usr/lib/x86_64-linux-gnu/libasound.so.2
> No symbol table info available.
> #6  0x00007f23757e57dd in snd_pcm_close () from /usr/lib/x86_64-linux-gnu/libasound.so.2
> No symbol table info available.
> #7  0x00007f2375c98f95 in alsa_object_close () from /usr/lib/x86_64-linux-gnu/libpcaudio.so.0
> No symbol table info available.
> #8  0x00007f2375c99119 in alsa_object_flush () from /usr/lib/x86_64-linux-gnu/libpcaudio.so.0
> No symbol table info available.
> #9  0x00007f2376246bcc in espeak_ng_Cancel () from /usr/lib/x86_64-linux-gnu/libespeak-ng.so.1
> No symbol table info available.
> #10 0x00007f2376236bf9 in espeak_Cancel () from /usr/lib/x86_64-linux-gnu/libespeak-ng.so.1
> No symbol table info available.
> #11 0x00005594d78d4c65 in stop_speech () at espeak.c:159
>        rc = <optimized out>
>        rc = <optimized out>
> #12 espeak_thread (arg=0x7ffe129ab390) at espeak.c:359
>        s = 0x7ffe129ab390
> #13 0x00007f23761f4f2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #14 0x00007f2376127edf in clone () from /lib/x86_64-linux-gnu/libc.so.6
> No symbol table info available.
> 
> Thread 4 (Thread 0x7f236bfff700 (LWP 431)):
> #0  0x00007f23761fae6c in pthread_cond_wait@@GLIBC_2.3.2 ()
>   from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #1  0x00005594d78d5509 in request_espeak_stop () at softsynth.c:227
> No locals.
> #2  softsynth_thread (arg=<optimized out>) at softsynth.c:314
>        s = <optimized out>
>        set = {__fds_bits = {128, 0 <repeats 15 times>}}
>        length = <optimized out>
>        buf = <optimized out>
>        cp = 0x7f236bffad30 "\030 thermore comma  an unprivileged user can only increase the  accent  accent nice value tick  tick   left paren i dot e dot  comma  choose a lower\n"
>        terminalFD = 3
>        greatestFD = 7
> #3  0x00007f23761f4f2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #4  0x00007f2376127edf in clone () from /lib/x86_64-linux-gnu/libc.so.6
> No symbol table info available.
> 
> Thread 3 (Thread 0x7f2370fb8700 (LWP 427)):
> #0  0x00007f23761fae6c in pthread_cond_wait@@GLIBC_2.3.2 ()
>   from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #1  0x00007f2376260515 in ?? () from /usr/lib/x86_64-linux-gnu/libespeak-ng.so.1
> No symbol table info available.
> #2  0x00007f23761f4f2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #3  0x00007f2376127edf in clone () from /lib/x86_64-linux-gnu/libc.so.6
> No symbol table info available.
> 
> Thread 2 (Thread 0x7f2371a43700 (LWP 425)):
> #0  0x00007f2376066d1c in sigtimedwait () from /lib/x86_64-linux-gnu/libc.so.6
> No symbol table info available.
> #1  0x00007f23761ff46c in sigwait () from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #2  0x00005594d78d4f85 in signal_thread (arg=<optimized out>) at signal.c:54
>        temp = {__sigaction_handler = {sa_handler = 0x5594d78d4e90 <dummy_handler>, 
>            sa_sigaction = 0x5594d78d4e90 <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  0x00007f23761f4f2a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #4  0x00007f2376127edf in clone () from /lib/x86_64-linux-gnu/libc.so.6
> No symbol table info available.
> 
> Thread 1 (Thread 0x7f2371a44800 (LWP 424)):
> #0  0x00007f23761f638d in __pthread_timedjoin_ex () from /lib/x86_64-linux-gnu/libpthread.so.0
> No symbol table info available.
> #1  0x00005594d78d3e33 in main (argc=<optimized out>, argv=0x7ffe129ab548) 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 = 139790207170304
>        espeak_thread_id = 139790104127232
>        softsynth_thread_id = 139790112519936
>        s = {frequency = 5, pitch = 4, punct = 0, rate = 7, 
>          voice = "\000\000\000\000\000\000\000\000\000", volume = 6, buf = 0x7f2364002bb0 " F", 
>          len = 94}
> (gdb) quit
> A debugging session is active.
> 
> 	Inferior 1 [process 424] will be detached.
> 
> Quit anyway? (y or n) y
> Detaching from program: /usr/bin/espeakup, process 424
> 
> Does this reveal anything?
> 
> --FC
> 


Reply to: