Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac: espeak-ng` occasionally hangs #996

Open
anderoonies opened this issue Aug 1, 2021 · 3 comments
Open

Mac: espeak-ng` occasionally hangs #996

anderoonies opened this issue Aug 1, 2021 · 3 comments

Comments

@anderoonies
Copy link

M1 Mac, MacOS Big Sur
Built espeak-ng from source:
eSpeak NG text-to-speech: 1.51-dev Data at: /usr/local/share/espeak-ng-data

When using espeak-ng both on the command line and as a linked library, there's occasionally no output. When invoking via command line (espeak-ng hello), the executable hangs indefinitely.

There doesn't appear to be any pattern to when it will succeed or fail, but when invoking in C code via the library, espeak-ng will work throughout the run of the program as long as it works at all.

@jaacoppi
Copy link
Collaborator

jaacoppi commented Aug 1, 2021

Potential duplicates: #12, #982

@jaacoppi jaacoppi changed the title espeak-ng occasionally hangs Mac: espeak-ng` occasionally hangs Aug 1, 2021
@anderoonies
Copy link
Author

anderoonies commented Aug 1, 2021 via email

@anderoonies
Copy link
Author

I've isolated this to here:

while ((pthread_cond_wait(&my_cond_stop_is_acknowledged, &my_mutex) == -1) && errno == EINTR)

@anderoonies anderoonies mentioned this issue Aug 8, 2021
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants