linux-speakup / espeakup

a light weight connector for espeak-ng and speakup
GNU General Public License v3.0
32 stars 12 forks source link

espeakup 0.90+ random freezes #45

Open ctirad opened 2 years ago

ctirad commented 2 years ago

I have stability issues on my gentoo based system with espekup 0.90 and espeak-ng on amd64 platform, plenty of RAM, console only. The espeakup randomly crashes (with "killed" debug out) or freezes (daemon stop speech but won't exit). Tested on multiple machines. Also tried latest git version and latest git espeakup-ng git. No difference. What can I try?

sthibaul commented 2 years ago

You can run with core generation enabled:

ulimit -c unlimited

and get the backtrace from gdb:

gdb /usr/bin/espeakup core
gdb> thread apply all bt full

and post that.

Make sure to have debugging symbols available for the backtrace to be informative. I don't know how gentoo provides debugging symbols.

ctirad commented 2 years ago

Thanks. I included gdb and espekup with symbol to my system. I wasn't able to reproduce a full crash, so far, just a couple of freezes. Unfortunately a freezed espeakup does not produce any core dump, it's more like an internal deadlock where it stops talking and reacting to SIGINT signal. It also blocks dmesg command output after a couple of pages. Interesting.

I also noticed, that espekup started without parameters (default english) seems to be pretty stable. With "-V czech" (my native language) it freezes usually in a couple of minutes.

sthibaul commented 2 years ago

Unfortunately a freezed espeakup does not produce any core dump

You can trigger a core dump by sending SIGQUIT

I also noticed, that espekup started without parameters (default english) seems to be pretty stable. With "-V czech" (my native language) it freezes usually in a couple of minutes.

That may then be a problem with espeak-ng's czech support :/