Discussion:
a backtrace of espeakup after speech has ceased
Frank Carmickle
2018-10-18 15:06:25 UTC
Permalink
Let me know if there is more info needed. Thanks in advance to anyone who can shed some light.

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


--FC
Samuel Thibault
2018-11-20 20:07:51 UTC
Permalink
Hello,
Post by Frank Carmickle
Let me know if there is more info needed. Thanks in advance to anyone who can shed some light.
For information, this is an espeak-ng bug,

https://github.com/espeak-ng/espeak-ng/pull/563

This was fixed in Debian's 1.49.2+dfsg-8 version.

Samuel
Didier Spaier
2018-11-20 20:18:47 UTC
Permalink
Hello,
Post by Samuel Thibault
Hello,
Post by Frank Carmickle
Let me know if there is more info needed. Thanks in advance to anyone who can shed some light.
For information, this is an espeak-ng bug,
https://github.com/espeak-ng/espeak-ng/pull/563
I don't see a pull request in
https://github.com/rhdunn/espeak

Should I clone your repo?

Best,
Didier
Samuel Thibault
2018-11-20 20:26:45 UTC
Permalink
Post by Samuel Thibault
Hello,
Post by Samuel Thibault
Hello,
Post by Frank Carmickle
Let me know if there is more info needed. Thanks in advance to anyone who can shed some light.
For information, this is an espeak-ng bug,
https://github.com/espeak-ng/espeak-ng/pull/563
I don't see a pull request in
https://github.com/rhdunn/espeak
Well, it's the same person who manages both?
Post by Samuel Thibault
Should I clone your repo?
Well, you can if you want but I don't keep it up to date.

That's the very serious problem with the github approach: it makes
people fork projects in all directions, leaving people at a loss as to
which one they are supposed to look at.

At any rate, you can just pick up the fix itself:

https://github.com/espeak-ng/espeak-ng/commit/e13b602ce0bd81bb5b84f03631819fb2820fe19f.diff

Samuel
Didier Spaier
2018-11-20 20:31:50 UTC
Permalink
Post by Samuel Thibault
https://github.com/espeak-ng/espeak-ng/commit/e13b602ce0bd81bb5b84f03631819fb2820fe19f.diff
Thanks,
Didier

Loading...